audit_x402_payability
x402 endpoint audit: can a paying agent actually pay this API? Probes any x402 URL and validates its 402 payment requirements (CAIP-2 network, USDC asset, payTo checksum, amount, EIP-712 domain, resource URL, Bazaar discovery). Returns pass, warn or fail, a 0-100 score and a fix for every failure. Price: $0.01 USDC on Base via x402.
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": "audit_x402_payability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public https URL of the paid x402 endpoint to audit | |
| body | No | Example JSON body the endpoint accepts | |
| expect | No | What the paying caller needs: fails the audit if the endpoint cannot be paid this way | |
| method | No | Defaults to POST when body is supplied, otherwise GET | |
| headers | No | Non-credential headers the endpoint needs before its paywall (e.g. Idempotency-Key) |