{"uid":"cap_dC1R3o3ivTSiaUrznkTgc","slug":"x402-preflight-bba7fec3","name":"x402-preflight","description":"Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.","url":"https://api.firstmention.uk/s/x402-preflight/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","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","properties":{"url":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"asset":{"type":"string"},"network":{"type":"string"},"verdict":{"type":"string"},"problems":{"type":"array"},"price_usd":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"x402":{"asset":"USDC","payTo":"0x...","network":"base","price_usd":"0.01"},"verdict":"payable","problems":[]}},"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_tnz_sZwSBNcUQZBCYcV26","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 and audits any x402-paid HTTP endpoint, returning a structural health score, TLS checks, response headers, and uptime signals.","exampleAgentPrompt":"Run a preflight audit on my x402 endpoint at https://api.myservice.com/data using a GET request and tell me the health score, any failed checks, and whether TLS is valid.","exampleUseCases":[{"title":"Diagnose broken x402 integration","prompt":"My x402-gated API at https://api.example.com/premium keeps rejecting payments — can you probe it with a GET and show me which checks are failing and what the health score is?"},{"title":"Validate new pay-per-call endpoint","prompt":"I just launched a paid API at https://api.mybusiness.com/report — can you do a GET preflight check on it and confirm the x402 challenge structure looks correct before I go live?"},{"title":"Check TLS and headers on production API","prompt":"Can you inspect the TLS certificate and response headers on my production x402 endpoint https://api.fintech.io/stream using HEAD and tell me if anything looks misconfigured?"}],"resultDescription":"Returns a JSON object with an overall health score (0–1 number), the HTTP status received, a pass/fail breakdown of individual checks (e.g. TLS validity, correct 402 status, well-formed payment header, response headers), and the target URL. Failures include descriptive check names so the caller can identify exactly what is misconfigured.","failureModes":["Target URL is unreachable — returns a failed check result rather than a score","Non-x402 URL provided — structural checks will fail or score will be very low","Invalid HTTP method supplied (only GET, HEAD, DELETE accepted)","Target endpoint requires auth or IP allowlisting — probe may see a different response than real clients","TLS errors on the target may cause connection-level failures before checks run"],"whenToPreferThis":"Use this endpoint when you need to verify that an x402-gated HTTP API is correctly implementing the 402 Payment Required challenge, check TLS configuration, or diagnose integration issues before going live. It is purpose-built for x402 compliance auditing and is the right choice over generic HTTP monitoring tools when the target is a payment-gated endpoint following the x402 protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-25T00:45:49.496Z","isFirstParty":false,"canonicalSlug":"x402-preflight-bba7fec3"}