78trust / 100

Risk Check Batch

by x402check in Security & trust

x402 APIPassing, checked 2 h ago

Up to 25 counterparty risk checks in one call, billed per item, each with a signed ES256 attestation.

POST https://x402check.xyz/v1/risk-check/batch

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
714 ms typical, 883 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402check.xyz/v1/risk-check/batch" \
  -H "content-type: application/json" \
  -d '{"requests":[{"chain":"base","context":"Permit2 signature: unlimited USDC allowance to this spender","domain":"https://app.example-dapp.org","interaction":{"type":"permit_signature","unlimited":true},"wallet":"0x7a3e8f0c2b1d4e5f6a7b8c9d0e1f2a3b4c5d6e7f"},{"chain":"base","wallet":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}]}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:43114",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402check.xyz%2Fv1%2Frisk-check%2Fbatch
const res = await pay("https://x402check.xyz/v1/risk-check/batch", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"requests":[{"chain":"base","context":"Permit2 signature: unlimited USDC allowance to this spender","domain":"https://app.example-dapp.org","interaction":{"type":"permit_signature","unlimited":true},"wallet":"0x7a3e8f0c2b1d4e5f6a7b8c9d0e1f2a3b4c5d6e7f"},{"chain":"base","wallet":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}]}),
});
console.log(await res.json());

Example input

{
  "requests": [
    {
      "chain": "base",
      "context": "Permit2 signature: unlimited USDC allowance to this spender",
      "domain": "https://app.example-dapp.org",
      "interaction": {
        "type": "permit_signature",
        "unlimited": true
      },
      "wallet": "0x7a3e8f0c2b1d4e5f6a7b8c9d0e1f2a3b4c5d6e7f"
    },
    {
      "chain": "base",
      "wallet": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
    }
  ]
}

Example output

{
  "results": [
    {
      "categories": [
        "approval_to_eoa",
        "unlimited_approval",
        "new_address"
      ],
      "checked": true,
      "checked_at": "2026-09-30T12:00:00.000Z",
      "evidence": {
        "onchain": {
          "activity": "none",
          "is_contract": false
        },
        "sanctions": {
          "list": "ofac-sdn",
          "status": "not_listed"
        }
      },
      "expires_at": "2026-09-30T13:00:00.000Z",
      "jws": "eyJhbGciOiJFUzI1NiIsImtpZCI6Impldi1hdHRlc3QtdjEiLCJ0eXAiOiJyaXNrLWNoZWNrK2p3dCJ9…",
      "provider": "did:web:x402check.xyz",
      "score": 40,
      "tier": "high"
    }
  ]
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402714 ms$0.002
5 h agoPassed402750 ms$0.002
9 h agoPassed4021.4 s$0.002
13 h agoPassed402817 ms$0.002
17 h agoPassed402630 ms$0.002
20 h agoPassed402599 ms$0.002
24 h agoPassed402613 ms$0.002
27 h agoPassed402745 ms$0.002
31 h agoPassed402883 ms$0.002
36 h agoPassed402701 ms$0.002