{"uid":"cap_CCyfvbBeDI7TnEIa1JtnH","slug":"scanpay-x402-auditor-642447c3","name":"ScanPay x402 Auditor","description":"Pay-per-call x402 APIs for AI agents: OpenAI-compatible LLM chat, perp funding and arbitrage spreads, crypto prices, gas, FX, Solana SPL mint audit, token price by contract, x402 delivery-receipt verification, web search, clean page extraction, batch tools and deterministic code-security scanning. USDC on Base or Solana, no signup, no API key, from $0.0001 a call.","url":"https://scanpay-edge.alextaghiashvili.workers.dev/api/v1/x402-check?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":["target"],"properties":{"target":{"type":"string","format":"uri","pattern":"^https://","maxLength":2048,"minLength":8,"description":"Public HTTPS paid endpoint to check before paying it; probes its unpaid GET challenge, never sends payment"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"note":"Unpaid fetch only. Reports whether an autonomous x402 client can parse and pay your 402 challenge.","score":0,"checks":[{"ok":false,"check":"reachability","detail":"request failed: timed out"},{"ok":false,"check":"cors_exposes_payment_headers","detail":"access-control-expose-headers=missing (JS clients cannot read the challenge in browsers)"}],"target":"https://example.com/api/paid","accepts":null,"product":"scanpay.x402check","verdict":"broken","findings":[],"price_usd":0.0001,"latency_ms":125,"http_status":null}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0001","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.0001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WOL99jp6JaTa_fDMKfbGd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a public paid endpoint unpaid, validates its x402 payment challenge compliance, and returns a scored checklist covering version, accepts fields, resource match, CORS, and latency.","exampleAgentPrompt":"Can you run an x402 compliance audit on my paid API endpoint at https://myapi.example.com/premium — I want to see if the 402 challenge, accepts fields, resource match, CORS, and latency all pass the x402 spec?","exampleUseCases":[{"title":"Pre-launch x402 endpoint compliance check","prompt":"Before I go live, can you audit my paid endpoint at https://api.myproject.com/data to make sure the 402 challenge is fully x402-compliant — check the version, accepts fields, resource match, and CORS exposure?"},{"title":"Debugging a broken x402 payment flow","prompt":"My x402 payment endpoint at https://paywall.myservice.io/report keeps failing for clients — can you run a full compliance check and tell me which fields in the 402 challenge are misconfigured?"},{"title":"Third-party x402 API vetting","prompt":"I want to integrate a paid API at https://partner.example.com/feed — can you audit its x402 implementation and give me a scored checklist of whether it properly follows the spec before I build against it?"}],"resultDescription":"A scored compliance checklist detailing: x402Version correctness, accepts field validity, resource match between request URL and challenge, GET/POST parity, CORS header exposure, and latency measurement — each item marked pass/warn/fail with an overall compliance score.","failureModes":["Target endpoint is not publicly accessible or times out — latency check fails","Target endpoint does not return a 402 status at all — no challenge to validate","Malformed or missing x402Version field in the 402 response — flagged as non-compliant","CORS headers absent or misconfigured — CORS check fails with warning","Network error reaching the target from the Cloudflare Worker edge — returns error","Input URL missing or invalid — request rejected before audit begins"],"whenToPreferThis":"Use this endpoint when you need to verify that a specific public HTTP endpoint correctly implements the x402 payment protocol spec — covering challenge format, field completeness, CORS safety, and latency. Prefer this over manual inspection or generic HTTP testing tools when you want a machine-readable, scored compliance report specifically calibrated to the x402 standard.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T14:14:56.140Z","isFirstParty":false,"canonicalSlug":"scanpay-x402-auditor-642447c3"}