{"uid":"cap_wqPylm41x194H6O-lFWSH","slug":"chain-heartbeat-blockchain-network-health-gas-status-71ac3182","name":"Chain Heartbeat — Blockchain Network Health & Gas Status","description":"Machine-payable data APIs for AI agents across web search, on-chain reads, trading data, market judgment, and AI visibility. The canonical x402 catalog currently exposes 85 paid routes. Pay per call in USDC via x402 on Base. No API keys, no signup.","url":"https://store.agentexchange.work/chain/heartbeat","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":{"chain":{"type":"string","description":"base|ethereum|optimism|arbitrum|polygon|gnosis|robinhood (default base)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"gas":{"type":"object"},"fees":{"type":"object"},"health":{"type":"string"},"latest":{"type":"object"},"chain_id":{"type":"number"},"finality":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"gas":{"price_gwei":0.006},"fees":{"trend":"flat"},"chain":"base","health":"HEALTHY","latest":{"age_seconds":2,"block_number":49464704},"chain_id":8453,"finality":{"safe_block":49464680,"finalized_block":49464620}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.09","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.09/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7ToRynoTfvSg4eNjpNFOY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.09","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current health, latest block, gas price, fee trend, and finality status for a specified blockchain network","exampleAgentPrompt":"What's the current health of the Base network — can you check the latest block age and gas price right now?","exampleUseCases":[{"title":"Pre-transaction network health check","prompt":"Before I send this transaction, check if the Base network is healthy and tell me the current gas price and how recent the latest block is."},{"title":"Gas price monitoring on Ethereum","prompt":"What's the current gas price on Ethereum in gwei, and is the fee trend going up or down?"},{"title":"Finality status for cross-chain agent","prompt":"Check the finality status on Arbitrum — what are the current safe and finalized block numbers, and is the chain healthy?"}],"resultDescription":"A JSON object containing: the chain name and EIP-155 chain ID, a health string (e.g. 'HEALTHY'), the latest block number and its age in seconds, the current gas price in gwei, a fee trend indicator (e.g. 'flat'), and the safe and finalized block numbers for finality tracking.","failureModes":["Unsupported chain name returns an error or defaults to Base","Network or RPC outage may return degraded health status or timeout","Invalid query parameter format returns a 400-level error","Payment not included or insufficient USDC triggers a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a single unified snapshot of a chain's operational status — health, gas, latest block, and finality — in one call, rather than making separate eth_blockNumber, eth_gasPrice, and sync-status RPC calls. Ideal for pre-flight checks before submitting transactions, real-time dashboards, or agent decision loops that need to know if a chain is safe to interact with right now.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:55:01.661Z","isFirstParty":false}