Forge Agent Hub · Hub · llms.txt · OpenAPI · catalog.json

x402-compliance

x402 V2 compliance tester: probes any paid endpoint without paying and checks the 402 challenge (PAYMENT-REQUIRED header, x402Version 2, accepts[] schema, CAIP-2 network, atomic amount, canonical USDC asset, payTo, maxTimeoutSeconds, EIP-712 extra, resource, Bazaar extension, CORS) and that free 200s or forged payment headers never unlock the resource. Returns score, verdict and per-check details.

$0.002 USDC / callGET · POSTx402 V2 · eip155:8453x402 developer tools

Endpoint

https://forge-tools.dentreprise.workers.dev/api/x402-compliance?url=https%3A%2F%2Fx402-gateway.forge-x402.workers.dev%2Fapi%2Ffx%3Ffrom%3DEUR%26to%3DUSD

Parameters

url required — Paid endpoint URL to test

method — GET (default) or POST

POST body example

{
  "url": "https://x402-gateway.forge-x402.workers.dev/api/fx?from=EUR&to=USD"
}

Response example

{
  "verdict": "compliant",
  "score": 100,
  "summary": {
    "pass": 14,
    "warn": 0,
    "fail": 0
  },
  "checks": [
    {
      "id": "status_402",
      "status": "pass"
    }
  ],
  "related_tools": [
    {
      "route": "/api/x402-listing-check",
      "url": "https://forge-tools.dentreprise.workers.dev/api/x402-listing-check",
      "price": "$0.001",
      "what": "Checks that a host exposes a valid x402 discovery listing (/"
    },
    {
      "route": "/api/x402-manifest-from-openapi",
      "url": "https://forge-tools.dentreprise.workers.dev/api/x402-manifest-from-openapi",
      "price": "$0.003",
      "what": "Turn an OpenAPI 3"
    }
  ],
  "catalog": "https://agent-hub.dentreprise.workers.dev/catalog.json"
}

Related tools

x402-listing-check$0.001

Checks that a host exposes a valid x402 discovery listing (/

x402-manifest-from-openapi$0.003

Turn an OpenAPI 3

x402-facilitator-health$0.001

x402 facilitator health check