{"uid":"cap_l09ARoV1CtfzKYDetCBJt","slug":"multi-chain-rpc-health-probe-82b6227d","name":"Multi-Chain RPC Health Probe","description":"Multi-chain RPC health probe. Use before routing work to a chain: one call returns every configured testnet/mainnet RPC status, latest block height and latency.","url":"https://seeker.4itools.store/paid/chain.health?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","properties":{"format":{"enum":["json"],"type":"string"},"chainIds":{"type":"string","description":"Optional comma-separated chain IDs to filter, e.g. 8453,84532"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","schema":{"type":"object","properties":{"task":{"type":"string"},"chains":{"type":"array","items":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{},"chainId":{"type":"integer"},"latencyMs":{"type":"integer"},"blockNumber":{"type":"integer"}}}},"checkedAt":{"type":"string"}}},"example":{"task":"chain.health","chains":[{"ok":true,"error":null,"chainId":84532,"latencyMs":120,"blockNumber":12345678}],"checkedAt":"2026-11-01T12:00:00.000Z"}},"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":"down","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_h4OhplSqBUDLw1Uap2Ua3","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":"Returns real-time health status, latest block height, and latency for all configured testnet and mainnet RPC endpoints across multiple chains.","exampleAgentPrompt":"Before you send that transaction, check the health of all configured RPC endpoints and tell me which chains are live, their current block heights, and which ones have the lowest latency right now.","exampleUseCases":[{"title":"Pre-flight check before cross-chain swap","prompt":"Before routing my cross-chain swap, check all RPC endpoints and tell me which networks are healthy and what their current block heights are so we pick the most reliable chain."},{"title":"Detect testnet outage during development","prompt":"Are any of the testnets currently down or showing high latency? Give me a full health snapshot across all configured chains so I know where to point my dev environment."},{"title":"Automated chain routing for agent pipeline","prompt":"Run a health probe across all supported chains and return the status, block number, and latency for each one — I need to route my agent's next task to the fastest live network."}],"resultDescription":"A JSON object containing a 'chains' array where each entry includes the chainId, a boolean 'ok' field indicating RPC health, the latest 'blockNumber', 'latencyMs' for the RPC call, and an 'error' field (null if healthy). Also includes a 'checkedAt' ISO timestamp and the task name 'chain.health'.","failureModes":["RPC endpoint temporarily unreachable — chain entry returns ok:false with error message populated","All chains down — full array returned with ok:false for each entry","Payment not received or insufficient — 402 Payment Required before data is returned","Request timeout — latencyMs may be null or elevated with a timeout error","Invalid query parameter — non-JSON format value may return 400 or be ignored"],"whenToPreferThis":"Use this endpoint when an agent needs to pre-validate which blockchain networks are reachable before committing to a transaction, routing task, or cross-chain operation. It is the right choice when you need a single aggregated view of multiple chain statuses rather than probing each RPC individually, and when low-latency confirmation of block sync state matters for correctness. Prefer this over chain-specific RPC calls when operating across multiple chains or testnets simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-15T19:28:46.341Z","isFirstParty":false,"canonicalSlug":"multi-chain-rpc-health-probe-82b6227d"}