{"uid":"cap_11kRoSp7ZrCHQg8es_sqA","slug":"explorer-gateway-api-bitcoin-block-list-f8551b66","name":"Explorer Gateway API — Bitcoin Block List","description":"Blockchain explorer gateway — Solana, Bitcoin, Bitcoin Cash, Ethereum","url":"https://api.blockchain.com/explorer-gateway-kt/x402/btc/blocks?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after":{"type":["integer","null"],"format":"int64","description":"Cursor for pagination — block height to start from (inclusive, descending). Omit to start from the current chain tip."},"limit":{"type":"integer","default":10,"maximum":50,"minimum":1,"description":"Number of blocks to return (capped at 50)"}}},"responseSchema":{"type":"json","format":"application/json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_cQ3MlOm2UTW7ZT1RHb1YK","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 a paginated list of recent Bitcoin blocks from the blockchain.com explorer gateway, starting from the chain tip or a specified block height.","exampleAgentPrompt":"Can you pull the last 20 Bitcoin blocks from the blockchain.com explorer, starting from the current chain tip?","exampleUseCases":[{"title":"Monitor latest Bitcoin chain activity","prompt":"Fetch me the 10 most recent Bitcoin blocks from the blockchain.com explorer so I can see what's been mined recently."},{"title":"Paginate back through BTC block history","prompt":"I need to browse through older Bitcoin blocks — start from block height 850000 and give me 25 blocks going back from there using the blockchain.com explorer gateway."},{"title":"Audit a range of blocks for research","prompt":"Pull 50 Bitcoin blocks starting at height 840000 from blockchain.com's explorer — I'm doing research on block timing and need as many as I can get in one call."}],"resultDescription":"A JSON array of Bitcoin block records, up to 50 blocks, ordered descending by block height. Each record contains block metadata (height, hash, timestamp, transaction count, etc.) for the requested range of the Bitcoin chain.","failureModes":["Invalid 'after' cursor height returns an error or empty result","Limit exceeding 50 is rejected or capped","Network or gateway timeout if the Bitcoin node is slow to respond","Malformed request body returns a 400 error","Payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need a paginated list of Bitcoin blocks from a trusted, established block explorer (blockchain.com) with x402 micropayment access. Prefer this over alternatives when you need BTC-specific block listings with cursor-based pagination and don't require full transaction details per block.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:44:04.218Z","isFirstParty":false,"canonicalSlug":"explorer-gateway-api-bitcoin-block-list-f8551b66"}