agentsvc.io

services / domain-compliance

dataoperational · 1329 ms

Domain to Company Compliance Check

Takes a website domain, reads the imprint to find the legal entity (DACH sites), then runs the KYB check on it: grade A to F, ALLOW, CAUTION or BLOCK, reasons, sanctions, VAT and domain security. Use to vet a counterparty from its website. Needs an imprint on the site (Germany, Austria, Switzerland); otherwise errors with Not charged, then use kyb-check with the company name.

Run free trial ↗3 free calls per day with the example input. Paid: $0.060 USDC, no limit.

Call it

import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agentsvc.io/api/v1/proxy/domain-compliance", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({"domain":"sap.com"}),
});
const { data, payment } = await res.json();  // payment.status "settling"; header X-Payment-Settle: sync returns payment.transaction

Input

FieldTypeDescription
domain *stringWebsite domain, e.g. example.de

Output

FieldTypeDescription
gradestring
scorenumber
recommendationstring
imprintobject
reasonsarray