{"uid":"cap_8yExC9QlJPBfYreMMxNHQ","slug":"x402-preflight-check-312cca6d","name":"x402 Preflight Check","description":"Preflight before paying an x402 service: is it working right now, and did it work the past 30 days? One live probe of the exact resource URL you intend to pay (status, latency, x402 validity, the payTo/price the service itself publishes in its 402, manifest presence) plus our own monitoring history of the host (30-day uptime, last check, recent changes such as payTo or price drift). Optionally verifies that the pay_to you intend to pay matches the live 402. Facts only — no scores.","url":"https://agentdata-api.sander-van-aard.workers.dev/x402/preflight","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_mlv3WTebe-e-mBkkvMTlQ","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":"Probes a target x402 resource URL live and returns its current status, latency, 402 validity, and 30-day monitoring history before you pay","exampleAgentPrompt":"Before I pay for that x402 API at https://api.example.com/data, can you do a preflight check — probe it live right now and pull its 30-day uptime history, and confirm the payTo address actually matches 0xAbC123...?","exampleUseCases":[{"title":"Verify paid API health before deployment","prompt":"We're about to integrate that x402 endpoint into our data pipeline. Can you probe it live right now, check its uptime over the last month, and make sure the payment address and price haven't drifted from what we expect?"},{"title":"Audit unfamiliar service before payment","prompt":"My colleague shared this x402 API endpoint that claims to have market data. Before I send any USDC to it, can you do a live check to see if it's actually responding, grab its 30-day history, and verify the payTo address is legitimate?"},{"title":"Monitor third-party endpoint reliability","prompt":"We're considering paying for this x402 service long-term. Can you check if it's up and stable right now, pull its recent uptime stats, and flag if the price or payment address has changed in the last month?"}],"resultDescription":"Returns live probe results for the target URL (HTTP status, latency, whether the 402 response is valid, the payTo address and price the service currently publishes, and whether a manifest is present), plus 30-day monitoring history (uptime percentage, last check timestamp, and any recent changes to payTo address or price).","failureModes":["Target URL is unreachable — returns probe failure with connection error details","Target URL does not return a 402 response — flagged as not a valid x402 service","pay_to mismatch — live 402 payTo does not match the provided expected address","No monitoring history available for this host — history section returns empty or null","Malformed request body — missing required fields returns validation error","Target service times out — latency recorded, status flagged as timeout"],"whenToPreferThis":"Use this endpoint when you are about to pay an x402 service and want to confirm it is live, correctly configured, and has a reliable uptime history before committing funds. Especially valuable when paying an unfamiliar endpoint, when you want to detect price or payTo drift, or when you need to programmatically gate payment on service health.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:47:29.454Z","isFirstParty":false}