x402_compliance
Probes paid x402 endpoints without paying to validate 402 challenges, schema, network, asset, and payment enforcement; returns a compliance score and per-check verdict.
Instructions
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. Costs 0.002 USDC on Base per successful call (x402). Without a payment key this tool returns the 402 challenge.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "x402_compliance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Paid endpoint URL to test | |
| method | No | GET (default) or POST |