{"uid":"cap__elYGllsMW6nDt4GxBNCi","slug":"x402fix-site-tier-auditor-b69d7da0","name":"x402fix Site Tier Auditor","description":"x402 endpoint doctor for sellers: probes a paid x402 URL unpaid (GET, HEAD, empty POST, POST {}, CORS preflight; never pays) and returns a grade A-F, a numbered fix list and every check: v2 PAYMENT-REQUIRED header, v1 body, accepts (canonical USDC, EIP-712 domain, Solana feePayer, atomic amounts, payTo), multichain consistency and the Bazaar declaration validated against its own JSON Schema. The check tier adds the CDP facilitator validate verdict and index status, discovery-doc consistency, payee checks and a generated, self-validated extensions.bazaar block with multichain accepts. The site tier audits up to 8 paid routes of an origin.","url":"https://x402fix.agentgate.workers.dev/v1/site?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Full https URL of the paid x402 route (site tier: the origin or API base URL)"},"method":{"enum":["GET","POST"],"type":"string","description":"Method your paid route uses (default: from its Bazaar declaration, else GET)"},"framework":{"enum":["hono","express","next"],"type":"string","description":"Server framework for the generated snippet (check tier, default hono)"}},"description":"Search intents: x402 site audit, x402 discovery check, well-known x402 validator, openapi x402 drift, x402 route grades, paid api audit"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"url":{"type":"string"},"tier":{"type":"string"},"grade":{"type":"string"},"score":{"type":"number"},"routes":{"type":"array"},"status":{"type":"string"},"summary":{"type":"string"},"discovery":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"url":"https://api.youraitools.co/counterpartycheck","tier":"site","grade":"A","score":100,"routes":[{"url":"https://api.youraitools.co/counterpartycheck/v1/lite","grade":"A","score":100,"status":"pass"}],"status":"pass","summary":"A (100/100) across 3 of 3 paid route(s); 3 pass, 0 need fixes.","discovery":{"openapi":"https://api.youraitools.co/counterpartycheck/openapi.json","well_known":"https://api.youraitools.co/counterpartycheck/.well-known/x402","routes_found":3,"routes_checked":3}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Tch74Sjf6CCMT28fCuqKW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Audits all paid x402 routes of an origin URL, returning a letter grade, numbered fix list, and detailed compliance checks for each discovered route","exampleAgentPrompt":"Can you run a full x402 site audit on https://api.myaitools.co and tell me if all my paid routes are properly configured — I want the grade, score, and a fix list for anything that's broken?","exampleUseCases":[{"title":"Pre-launch x402 API compliance check","prompt":"Before I go live, audit https://api.myservice.co for x402 compliance across all paid routes and give me a grade plus a list of everything I need to fix."},{"title":"Diagnosing multichain x402 header failures","prompt":"My x402 API at https://api.cryptotools.io is rejecting payments on some chains — can you do a site-wide audit and tell me which routes have multichain consistency problems?"},{"title":"Validating Bazaar declaration on a new origin","prompt":"I just added a Bazaar declaration to https://api.agentpayments.dev — can you check all the paid routes and confirm the declaration validates correctly and gets an A grade?"}],"resultDescription":"Returns a JSON object with: overall grade (A-F), overall score (0-100), per-route breakdown with individual grades and pass/fail status, a numbered fix list for any failing checks, discovery document details (OpenAPI URL, .well-known/x402, routes found vs checked), and a plain-English summary line. Each route is checked for v2 PAYMENT-REQUIRED headers, v1 body, accepted payment methods (USDC, EIP-712 domain, Solana feePayer, atomic amounts, payTo), multichain consistency, CDP facilitator validate verdict, index status, and Bazaar declaration schema validity.","failureModes":["URL not reachable or returns non-402 responses — routes may not be discovered","Origin has no x402-compliant routes — returns grade F with empty routes array","Discovery doc missing or malformed — discovery fields return null or errors","Bazaar declaration JSON Schema validation fails — flagged in fix list","Network timeout on probe requests — partial results or error response","Invalid URL format in query parameter — request rejected with validation error"],"whenToPreferThis":"Use this site-tier endpoint when you need to audit an entire API origin (up to 8 paid routes) rather than a single URL. Prefer this over a single-route check when you want to discover all paid routes automatically, verify multichain consistency across your whole API, or get a holistic compliance grade before launch or after infrastructure changes. Best suited for API sellers who want a full diagnostic of their x402 seller setup in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:32:55.852Z","isFirstParty":false,"canonicalSlug":"x402fix-site-tier-auditor-b69d7da0"}