{"uid":"cap_5w7J9fVmxjVayu_jKqTOB","slug":"explorer-gateway-api-bitcoin-block-lookup-615d89e4","name":"Explorer Gateway API — Bitcoin Block Lookup","description":"Blockchain explorer gateway — Solana, Bitcoin, Bitcoin Cash, Ethereum","url":"https://api.blockchain.com/explorer-gateway-kt/x402/btc/block?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"hash":{"type":"string","example":"000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f","description":"Block hash — exactly 64 hex characters. Provide either hash or height, not both."},"height":{"type":"integer","format":"int64","example":850000,"description":"Block height (non-negative integer). Provide either hash or height, not both."},"includeTransactions":{"type":"boolean","default":true,"description":"Set false to omit the `txs` array from the response — several MB smaller on a busy block. `txCount`, `coinbaseTx` and `aggregates` are returned either way, and page the transactions themselves with `/{chain}/block/transactions`.\n"}}},"responseSchema":{"type":"json","format":"application/json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_v2FgS9i-k8qlQ5Bi4FKR_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves detailed information about a specific Bitcoin block by its hash or height","exampleAgentPrompt":"Look up the Bitcoin block at height 850000 on the Blockchain.com explorer and give me the block details including its hash and transactions.","exampleUseCases":[{"title":"Verify Bitcoin block confirmation","prompt":"Can you check Bitcoin block hash 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f and confirm it exists on the blockchain with its details?"},{"title":"Audit block at specific height","prompt":"Pull up the Bitcoin block at height 840000 and tell me when it was mined, how many transactions it contains, and who mined it."},{"title":"Historical block research","prompt":"I'm researching the Bitcoin halving event — can you fetch the block details for BTC block height 840000 so I can see the block reward and transaction count?"}],"resultDescription":"Returns a JSON object containing detailed information about the requested Bitcoin block, including block hash, height, timestamp, number of transactions, miner/coinbase data, block size, difficulty, nonce, and parent block hash.","failureModes":["Invalid or malformed block hash (not 64 hex characters) returns a 4xx error","Block height not yet mined or negative value returns not-found error","Providing both hash and height simultaneously may return an error or ambiguous result","Network or gateway timeout for very recent blocks not yet indexed","Rate limit or payment failure returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need structured Bitcoin block data (by hash or height) from a production-grade explorer API with pay-per-call pricing. Prefer it over running a full Bitcoin node or scraping block explorer websites when you need reliable, programmatic access to BTC block metadata without infrastructure overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:38:41.754Z","isFirstParty":false,"canonicalSlug":"explorer-gateway-api-bitcoin-block-lookup-615d89e4"}