{"uid":"cap_fR9gL9z2mRzrYaMHDvdg_","slug":"agent-data-tools-x402-endpoint-compliance-check-1f954172","name":"Agent Data Tools: x402 Endpoint Compliance Check","description":"Check an x402 seller before you pay it: decode any public endpoint's 402 payment requirements without paying (v1 body or v2 header) into USD price for native USDC, network, asset, recipient, scheme and timeout, plus a listing-quality score for https resource URL, atomic amount, facilitator minimum, description, Bazaar metadata and output schema. Never signs. Use before buying from an unfamiliar seller or to audit your own x402 listing.","url":"https://agent-data-tools.revmesh2074.workers.dev/x402/check?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Absolute public https URL of the paid endpoint, with any query it needs"}}},"responseSchema":{"type":"object","properties":{"url":{"type":"string"},"score":{"type":"number"},"checks":{"type":"array","items":{"type":"object","properties":{"pass":{"type":"boolean"},"check":{"type":"string"}}}},"status":{"type":"number"},"accepts":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string"},"payTo":{"type":"string"},"scheme":{"type":"string"},"network":{"type":"string"},"priceUsd":{"type":"number"},"amountAtomic":{"type":"string"},"assetIsNativeUsdc":{"type":"boolean"},"maxTimeoutSeconds":{"type":"number"}}}},"resource":{"type":"object","properties":{"url":{"type":"string"},"mimeType":{"type":"string"},"description":{"type":"string"}}},"paywalled":{"type":"boolean"},"x402Version":{"type":"number"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_R8xDNrwVf9vf0nikgEsMC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates whether a given URL correctly implements the x402 HTTP payment protocol, returning a compliance score, payment requirements, and resource metadata","exampleAgentPrompt":"Can you check whether https://agent-data-tools.revmesh2074.workers.dev/btc-fees is a properly implemented x402 endpoint — tell me if it's paywalled, what it costs in USDC, and whether it passes all compliance checks?","exampleUseCases":[{"title":"Verify new x402 endpoint before integrating","prompt":"Before I wire up my agent to call https://api.example.com/token-prices, can you check if it's a valid x402 endpoint and tell me the exact USDC price and which network it uses for payment?"},{"title":"Debug broken x402 payment flow","prompt":"My agent is failing to pay for https://agent-data-tools.revmesh2074.workers.dev/wallet-portfolio — can you run the x402 compliance check on it and tell me which checks are failing and what the payment details look like?"},{"title":"Discover payment terms before calling","prompt":"I want to know what it will cost to call https://agent-data-tools.revmesh2074.workers.dev/ofac-screen before I commit — can you probe it with the x402 check and show me the price, asset, and resource description?"}],"resultDescription":"Returns a JSON object with: a compliance score (0–1), the HTTP status code observed, an array of named checks each with pass/fail, the full x402 payment requirements (asset contract, payTo address, scheme, network, price in USD, atomic amount, USDC flag, timeout), the resource metadata (URL, MIME type, description), a boolean indicating whether the endpoint is paywalled, and the x402 protocol version number.","failureModes":["Non-HTTPS or unreachable URL returns an error or low compliance score","URL that does not implement x402 returns paywalled:false and score near 0","Malformed payment headers cause specific checks to fail with pass:false","Network timeout if the target endpoint is slow to respond","Invalid or relative URL in the query parameter causes a 400 error"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify that a URL correctly implements the x402 HTTP payment protocol before attempting a paid call — especially useful for agent orchestration systems that need to discover payment terms, validate compliance, or debug failed payment flows. Prefer this over manually inspecting HTTP headers when you want a structured compliance score and full payment metadata in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-25T06:28:21.558Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-x402-endpoint-compliance-check-1f954172"}