{"uid":"cap_v99d8ySVK6tHWZ76_37Z5","slug":"agent-utils-x402-x402-compliance-checker-a1e5d032","name":"agent-utils-x402 x402 Compliance Checker","description":"Small pay-per-call utility APIs for AI agents. Pay per request in USDC on Base via x402 (v2, exact scheme). No accounts, no API keys.","url":"https://agent-utils-x402-production.revenue-agent-jw.workers.dev/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":["url"],"properties":{"url":{"type":"string","description":"https URL of the x402-protected endpoint"},"method":{"enum":["GET","POST"],"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"score":84,"issues":[{"msg":"no extensions.bazaar block","code":"NO_BAZAAR","level":"warn"}],"status":402}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pEH-E0E3RN6cZP_CYZIhC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a given HTTPS endpoint correctly implements the x402 payment protocol and returns a compliance score with detailed issues","exampleAgentPrompt":"Can you check whether my x402-protected endpoint at https://myapi.example.com/v1/data is compliant and tell me its score and any issues?","exampleUseCases":[{"title":"Debugging a new x402 API endpoint","prompt":"I just set up my x402-protected endpoint at https://myservice.workers.dev/api/search — can you run a compliance check on it and tell me the score and what issues to fix?"},{"title":"Pre-launch x402 listing audit","prompt":"Before I list my pay-per-call API on x402scan, can you validate that https://tools.mycompany.com/v1/summarize is fully compliant and flag any warnings?"},{"title":"Diagnosing a broken x402 payment flow","prompt":"My x402 endpoint at https://agent-api.example.com/v1/generate is rejecting payments — can you audit it and tell me what's misconfigured?"}],"resultDescription":"Returns a JSON object containing a numeric compliance score (0-100), an array of issue objects each with a message, error code, and severity level (warn/error), and the HTTP status code observed from the target endpoint.","failureModes":["Target URL is not reachable or returns a non-402 response — score may reflect missing x402 headers","Malformed or non-HTTPS URL provided — likely results in a validation error","Endpoint is behind auth that blocks the checker — compliance cannot be fully assessed","x402 response missing required fields — reflected as specific issue codes like NO_BAZAAR in the issues array"],"whenToPreferThis":"Use this endpoint when you need to programmatically validate that an x402-protected API is correctly configured — especially useful before listing an endpoint on a discovery platform, debugging payment failures, or confirming spec compliance after changes. Prefer this over manual inspection when you need a structured score and machine-readable issue codes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:35:42.870Z","isFirstParty":false,"canonicalSlug":"agent-utils-x402-x402-compliance-checker-a1e5d032"}