GET /x402/audit $0.25/call
The 'why am I not getting sales' diagnostic for x402 sellers. Everything in the linter, plus live behavior tests: does a malformed payment header crash you with a 5xx? Does your cold start time out directory probes (x402#2157)? Do you serve the discovery surface crawlers actually read (/.well-known/x402, llms.txt)? And definitively: are you in the CDP Bazaar catalog — a live scan of all ~14,000 entries by your host AND payTo. Because from inside your own service, a rejected bazaar declaration is indistinguishable from absence of demand. $0.25 per run.
Parameters
| name | required | description |
|---|---|---|
url | yes | public URL of the x402 endpoint to audit |
method | no | HTTP method to probe with (default GET) |
Example
GET /x402/audit?url=https://your-api.com/paid/endpoint
→ {"score":81,"grade":"B","bazaar":{"indexed":false,"scanned":14246,"total":14246},"findings":[…],"report_md":"# 402check report…"}
Payment (x402)
Call without payment to receive HTTP 402 with a base64 envelope in the payment-required header — price, payTo, network (USDC on Base), and I/O schemas. Pay automatically with @x402/fetch:
const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://sepolia.402arcade.dev/x402/audit?…");
No API keys. No accounts. Machine-readable: openapi.json · llms.txt · catalog