{"uid":"cap_ya2yue47AJPVTxWY6HOsP","slug":"x402-endpoint-health-8da5c6af","name":"x402 Endpoint Health","description":"Is this paid endpoint answering right now? Returns whether it serves a payment challenge, how many well-formed priced offers it carries, which warnings would actually break a payment as opposed to merely making the call harder to construct, and a single payable_now flag. Reports only what was observed; it makes no judgement about the seller.","url":"https://api.zfinia.com/x402/v1/x402-endpoint-health?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048},"body":{"type":"object"},"method":{"enum":["GET","POST"],"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rFD3Uso9bolEPe3NeU2GL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether an x402 paid endpoint is currently live by probing it for a valid payment challenge, counting well-formed priced offers, and returning a single payable_now flag along with any payment-breaking warnings.","exampleAgentPrompt":"Check whether the x402 endpoint at https://api.example.com/premium/data is live and actually payable right now — probe it with a GET and tell me if the payment challenge is valid, how many priced offers it has, and whether there are any warnings that would block a payment.","exampleUseCases":[{"title":"Pre-payment liveness check for agent","prompt":"Before my agent pays to call https://api.someprovider.com/ai/generate, can you verify the x402 endpoint is healthy and that the payment challenge looks valid? I want to know if it's payable_now and whether any warnings would actually break the payment."},{"title":"Diagnosing a broken x402 integration","prompt":"My calls to https://api.partner.com/data/feed keep failing at the payment step — can you probe it with a POST and tell me how many well-formed priced offers it returns and list any warnings that could be blocking the payment?"},{"title":"Monitoring paid endpoint uptime","prompt":"I need to know if https://api.marketplace.io/reports/weekly is still serving a valid x402 payment challenge right now — check its health and let me know if payable_now is true or if something is broken."}],"resultDescription":"Returns a payable_now boolean flag, whether a payment challenge was observed, the count of well-formed priced offers in the challenge, and a list of warnings categorized by whether they would actually break a payment versus just make it harder to construct. Reports only observed facts without seller judgment.","failureModes":["URL uses unsupported scheme, includes credentials, a port, or a fragment — request refused","Target origin is not on the reviewed allowlist — request refused","Endpoint returns no 402 response — challenge_present: false, payable_now: false","Endpoint is unreachable or times out — connection error reported","Priced offers are malformed or zero — offer_count: 0, payable_now: false"],"whenToPreferThis":"Use this endpoint when you need to verify an x402 endpoint is live and genuinely payable before committing funds or building payment logic around it. Prefer this over x402 Endpoint Preflight when your primary concern is health/availability rather than decoding the full pricing details. Prefer this over x402 Metadata Drift when you have no prior challenge to compare against. Ideal for pre-flight health checks in agent payment workflows or uptime monitoring of monetized APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T15:08:51.232Z","isFirstParty":false,"canonicalSlug":"x402-endpoint-health-8da5c6af"}