{"uid":"cap_6NOGAE0EwR2kOcY2GfErG","slug":"aayat-ai-x402-endpoint-health-check-fb3278e6","name":"Aayat AI x402 Endpoint Health Check","description":"Live health check of any x402 endpoint before you pay it: is it up and answering 402, is the payment request valid, prices in USD per network, pay-to wallets, x402 version, Bazaar discovery metadata, response time, and its buyers in the Bazaar. Never pays the endpoint. Give the endpoint's URL and how it is called (GET or POST). For our own endpoints the answer comes from our in-process monitor (a Worker can't call its own address).","url":"https://aayatai.com/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","format":"uri","maxLength":2048,"description":"The x402 endpoint to check."},"method":{"enum":["GET","POST"],"type":"string","default":"GET","description":"How the endpoint is called."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["url","up","status","x402","prices","checkedAt"],"properties":{"up":{"type":"boolean","description":"Answered at all (any HTTP status)."},"url":{"type":"string"},"x402":{"type":"object","description":"Whether a valid x402 payment request came back, and any problems."},"trust":{"type":"object","description":"Third-party text, cleaned: read trust.notice; removed = what we stripped."},"prices":{"type":"array","items":{"type":"object"}},"status":{"type":["integer","null"]},"catalogue":{"type":["object","null"],"description":"Its Bazaar listing in our snapshot, if any."},"checkedAt":{"type":"string"},"latencyMs":{"type":["integer","null"]}}}}}}},"responseSchema":{"type":"json","example":{"up":true,"url":"https://aayatai.com/dns","x402":{"from":"PAYMENT-REQUIRED header","valid":true,"version":2,"problems":[],"description":"DNS lookup for any domain","bazaarDiscovery":true},"prices":[{"asset":"0x8335...","payTo":"0xabc...","amount":"1000","scheme":"exact","network":"eip155:8453","priceUsd":0.001}],"status":402,"catalogue":{"listed":true,"calls30d":900,"buyers30d":40,"lastCalledAt":"2026-09-28T10:00:00Z"},"checkedAt":"2026-09-28T12:00:00Z","latencyMs":180}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nSzwVWJoEPzPbjpAX7vz-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Probes any x402 pay-per-request endpoint to verify it is live, returns a valid 402 payment request, and reports its pricing, pay-to wallets, version, latency, and Bazaar discovery metadata — without making any payment.","exampleAgentPrompt":"Before I pay for it, can you check whether https://api.example.com/paid is up, returning a valid x402 payment request, and tell me the price in USD and the wallet it pays to?","exampleUseCases":[{"title":"Pre-payment endpoint validation","prompt":"Before my agent tries to call https://aayatai.com/dns, can you verify it's live, returning a proper x402 402 response, and show me the USD price and pay-to wallet?"},{"title":"Bazaar listing discovery check","prompt":"Is https://someservice.com/api/data listed in the Bazaar? Check if it's up, how many buyers it has, and what it costs per call."},{"title":"Debugging a broken paid API","prompt":"My agent is failing to call https://partner-api.io/premium — can you probe it and tell me if it's actually up, whether its x402 payment request is valid, and if there are any problems with it?"}],"resultDescription":"A JSON object containing: whether the endpoint responded at all (up: boolean), HTTP status code, x402 payment request validity and any detected problems, a list of accepted prices with asset, network, amount in USD, and pay-to wallet per network, x402 protocol version, Bazaar catalogue metadata (listing status, 30-day call and buyer counts, last called timestamp), response latency in milliseconds, and the timestamp of the check.","failureModes":["Target URL is unreachable — returns up: false with null status and null latencyMs","Target returns non-402 status — returns up: true but x402.valid: false with problems listed","Malformed or missing payment request header — x402 object populated with problem descriptions","Invalid URL format passed — request rejected with validation error","Target endpoint is slow or times out — latencyMs may be null and up may be false"],"whenToPreferThis":"Use this endpoint when you need to verify an x402 pay-per-use API is healthy and correctly configured before committing a payment, when you want to discover its exact USD pricing and recipient wallets across networks, or when you want to check its Bazaar listing and buyer activity. It is the right choice over generic HTTP health checkers because it understands the x402 payment protocol specifically and surfaces payment-relevant metadata like price, wallet, version, and Bazaar catalogue data without ever making a payment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:23:29.707Z","isFirstParty":false,"canonicalSlug":"aayat-ai-x402-endpoint-health-check-fb3278e6"}