{"uid":"cap_mYaFa4-dgkbza6CTdgu_h","slug":"agenttools-api-health-check-cb70b2fb","name":"AgentTools API Health Check","description":"Probe a GET endpoint several times and report status codes and latency statistics (min/avg/max). The cheap way for an agent to verify an API — for example one found on the x402 Bazaar — responds before spending real money calling it. Use this when an agent needs to status and latency stats — test an API before relying on it.","url":"https://agentstoolshub.com/api/v1/dev/api-health-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","description":"GET endpoint"},"runs":{"type":"number","description":"Test requests"},"timeoutMs":{"type":"number","description":"Timeout per request (ms)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-JFtxfdOpGZhlRndCuXjm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Probes a GET endpoint multiple times and returns status codes along with latency statistics (min, avg, max) to verify API responsiveness before committing to paid calls.","exampleAgentPrompt":"Before I start calling that API I found on the x402 Bazaar, probe it 5 times with a 3000ms timeout and tell me the status codes and min/avg/max latency so I know it's actually responding.","exampleUseCases":[{"title":"Pre-purchase API verification","prompt":"I found a promising API on the x402 Bazaar but I don't want to waste money if it's down — can you hit it 10 times with a 2000ms timeout and show me the status codes and latency stats?"},{"title":"Latency baseline before automation","prompt":"I'm about to build a workflow that calls https://api.example.com/data every minute — probe it 5 times with a 5000ms timeout and tell me the average and max response times so I can size my timeouts correctly."},{"title":"Quick uptime sanity check","prompt":"Can you do a quick health check on https://myservice.io/api/status — hit it 3 times and let me know if it's returning 200s and how fast it's responding?"}],"resultDescription":"Returns HTTP status codes observed across the probe runs alongside latency statistics including minimum, average, and maximum response times in milliseconds, giving the agent a clear picture of endpoint health and performance before committing to real usage.","failureModes":["Target URL is unreachable or returns connection errors — reported status codes will reflect network failures","Timeout too short for slow endpoints — all runs may time out, returning only timeout errors","Invalid or malformed URL provided — request fails with input validation error","Target endpoint requires authentication — 401 or 403 status codes returned rather than success","DNS resolution failure for the target URL — all probe runs fail with network error"],"whenToPreferThis":"Choose this endpoint when an agent needs a cheap, low-risk way to verify that a GET API endpoint is live and performant before spending money on actual API calls — especially useful when evaluating newly discovered APIs from the x402 Bazaar or other unknown sources. Prefer this over ad-hoc single calls when you need statistical confidence (min/avg/max) across multiple runs rather than a one-shot ping.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:50:48.290Z","isFirstParty":false,"canonicalSlug":"agenttools-api-health-check-cb70b2fb"}