x402Fix: x402 endpoint doctor
check_x402_endpointx402 endpoint doctor: probes a paid x402 URL unpaid (never pays) and grades it A-F: 402 on GET / HEAD / empty POST, CORS, v2 PAYMENT-REQUIRED header and v1 body, accepts (USDC asset, EIP-712 domain, Solana feePayer, amounts, payTo), multichain consistency and the Bazaar declaration. Free preview tier: grade, score, status and counts. The paid x402 endpoints /v1/lite ($0.005), /v1/check ($0.02, adds the facilitator validate verdict, payee checks and generated fixes) and /v1/site ($0.05, whole origin) return the fix list.
[x402Fix via YourAITools MCP Hub] Free tier: same as x402Fix's own MCP server (call without payment and without tier). Paid: lite $0.005 / check $0.02 / site $0.05 per call, with a credits key (Authorization: Bearer yatc_...) or x402 (USDC; the hub returns the payment terms). Failed tool calls aren't charged: credits are refunded automatically and x402 payments only settle on success.
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": "check_x402_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full https URL of the paid x402 route (site tier: the origin or API base URL) | |
| tier | No | Paid tier: lite $0.005, check $0.02, site $0.05. Omit tier (with no credits key or x402 payment) to use the free tier. | |
| method | No | Method your paid route uses (default: from its Bazaar declaration, else GET) | |
| framework | No | (paid calls only) | hono |