{"uid":"cap_FDYsQYPS23YLiSm4a5fz9","slug":"horizon-pulse-chain-head-api-a82bb7e3","name":"Horizon Pulse Chain Head API","description":"Block height API: current block number, slot or ledger index for Base, Polygon, Ethereum, Solana and XRPL in one GET. Optional network (comma list; default all five). Per network: chainId, height, headTime, headAgeSeconds, finalizedHeight and finalityGap (EVM finalized tag, Solana finalized slot, XRPL validated ledger). Free public RPCs, read-only. Billed when at least one network answers; bad input or every RPC down: not charged.","url":"https://horizonpulse.dev/api/chain/head?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":[],"properties":{"network":{"type":"string","description":"Optional comma list of base, polygon, ethereum, solana, xrpl (or CAIP-2 ids). Default: all five."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","description":"Horizon Pulse chain head: per network chainId, height (block, slot or ledger index), headTime, headAgeSeconds, finalizedHeight, finalityGap. The example is a trimmed real response recorded from GET /api/demo/chain-head at 2026-10-16T15:31Z UTC; live values differ on every call."}}}}},"responseSchema":null,"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_0iLMYTWHVujoLyxphUnsH","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":"Returns the current block height, finalization status, and head age for Base, Polygon, Ethereum, Solana, and XRPL in a single GET request","exampleAgentPrompt":"What's the current block height, finalized height, and finality gap for Ethereum and Base right now?","exampleUseCases":[{"title":"Cross-chain finality monitoring dashboard","prompt":"Pull the current block height and finality gap for all five chains — Base, Polygon, Ethereum, Solana, and XRPL — so I can see which ones are lagging behind on finalization."},{"title":"Solana slot staleness check","prompt":"What's the current Solana slot number and how many seconds old is the latest block? I want to know if the network is running normally."},{"title":"XRPL ledger index lookup","prompt":"Give me the current validated ledger index on XRPL along with the head timestamp so I can verify a recent transaction landed in a closed ledger."}],"resultDescription":"A JSON object keyed by network name containing, for each requested chain: chainId, current block height (or slot/ledger index), headTime (ISO timestamp of latest block), headAgeSeconds (seconds since that block), finalizedHeight (EVM finalized tag, Solana finalized slot, or XRPL validated ledger), and finalityGap (difference between head and finalized heights). Returns data for all five networks by default or only for the requested subset.","failureModes":["Invalid network name in comma list returns an error or is ignored","If every RPC for a requested network is down, that network is omitted from the response","If all requested RPCs are down, the call is not billed and returns an error","Malformed query parameter (e.g. typo in network name) results in no data for that network"],"whenToPreferThis":"Choose this endpoint when you need real-time block height or finality data across multiple chains simultaneously without managing your own RPC connections. It covers five major chains (Base, Polygon, Ethereum, Solana, XRPL) in one call, provides both head and finalized heights with a finality gap metric, and charges only when at least one network answers — making it ideal for multi-chain monitoring, transaction confirmation checks, and cross-chain latency dashboards. Prefer alternatives if you need raw transaction data, event logs, or contract calls rather than just chain head metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:38:29.290Z","isFirstParty":false,"canonicalSlug":"horizon-pulse-chain-head-api-a82bb7e3"}