{"uid":"cap_P1vd8UhyIS2gVq93xCEou","slug":"agent-data-tools-revmesh2074-workers-dev-api-health-check-pack-uptime-12627937","name":"API Health Check Pack: Uptime, Latency, Headers & x402","description":"One call to health-check an API endpoint: up or down with status and response time over three requests (min, median, max), the redirect chain, HTTP security headers, whether it is a paid x402 endpoint and what its payment terms are, and the API's OpenAPI document when one is found at the usual places. Cheaper than the tools bought one by one. Use for API monitoring, before integrating a third-party API, or to check your own after a deploy.","url":"https://agent-data-tools.revmesh2074.workers.dev/pack/api-health?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"The API endpoint URL"}}},"responseSchema":{"type":"object","properties":{"up":{"type":"boolean"},"url":{"type":"string"},"pack":{"type":"string"},"x402":{"type":"object","properties":{"paid":{"type":"boolean"}}},"failed":{"type":"object","properties":{}},"status":{"type":"number"},"openapi":{"type":"object","properties":{"found":{"type":"boolean"},"title":{"type":"string"},"specUrl":{"type":"string"},"operationCount":{"type":"number"}}},"security":{"type":"object","properties":{"grade":{"type":"string"}}},"latencyMs":{"type":"object","properties":{"max":{"type":"number"},"min":{"type":"number"},"median":{"type":"number"}}},"redirects":{"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_qH8ZczCHgoaTSPL8lB-xm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agent-data-tools.revmesh2074.workers.dev","brandSlug":"agent-data-tools-revmesh2074-workers-dev-x402","brandBaseUrl":"https://agent-data-tools.revmesh2074.workers.dev","brandDocsUrl":null,"whatItDoes":"Performs a comprehensive health check on any API endpoint in a single call, returning uptime status, latency statistics, redirect chain, HTTP security headers, x402 payment terms, and discovered OpenAPI spec.","exampleAgentPrompt":"Can you run a full health check on https://api.example.com/v1/prices — I want to know if it's up, how fast it responds, whether it needs x402 payment, and if there's an OpenAPI spec available?","exampleUseCases":[{"title":"Pre-integration API due diligence","prompt":"Before I start building against https://api.openweathermap.org/data/2.5/weather, can you check if it's up, how slow or fast it is, whether it has an OpenAPI doc, and if it has any HTTP security header issues?"},{"title":"Post-deploy API sanity check","prompt":"I just deployed my API at https://myapp.example.com/api/v2/health — can you verify it's responding correctly, check the latency across a few requests, and confirm the security headers look good?"},{"title":"Evaluating a paid x402 API","prompt":"I found this API at https://agent-data-tools.revmesh2074.workers.dev/weather and I want to know if it's a paid x402 endpoint, what the payment terms are, and how fast it responds before I commit to using it."}],"resultDescription":"Returns a JSON object containing: whether the API is up (boolean), the HTTP status code, min/median/max latency across three requests, number of redirects in the chain, an HTTP security headers grade, x402 payment status and terms (if applicable), and OpenAPI discovery results including the spec URL, title, and operation count if a spec was found.","failureModes":["URL unreachable or DNS failure — 'up' returns false with failed details","API returns non-2xx status — still reports status code and latency but 'up' may be false","No OpenAPI spec found at standard paths — openapi.found returns false","x402 endpoint without parseable payment terms — x402.paid may be true but details sparse","Network timeout on one or more of the three probes — latency stats may be partial"],"whenToPreferThis":"Choose this endpoint when you need a holistic view of an API's health in a single cheap call ($0.02) rather than calling separate uptime, latency, header, and x402 tools individually. Ideal for pre-integration API evaluation, post-deployment smoke testing, or periodic API monitoring where bundling multiple checks saves both cost and round-trips.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T06:54:09.595Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-api-health-check-pack-uptime-12627937"}