{"uid":"cap_EHYQjqcCt3ODZRiOVy6zo","slug":"explorer-gateway-api-bitcoin-block-lookup-ed463147","name":"Explorer Gateway API — Bitcoin Block Lookup","description":"Paid AI-agent access to Blockchain.com Explorer API","url":"https://api.blockchain.info/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_dM72Gr4UENfiVPgMsZMdI","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 data about a specific Bitcoin block by its hash or height via the Blockchain.com explorer gateway","exampleAgentPrompt":"Pull up the full block data for Bitcoin block number 850000 from Blockchain.com — I want to see the transactions, timestamp, and miner details.","exampleUseCases":[{"title":"Verify a specific Bitcoin block","prompt":"Can you look up Bitcoin block hash 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f on the Blockchain.com explorer and tell me when it was mined and how many transactions it contains?"},{"title":"Inspect Bitcoin block at a milestone height","prompt":"Fetch the Bitcoin block at height 840000 — I want to know the block reward, total fees, and number of transactions included."},{"title":"Cross-check a recently confirmed block","prompt":"I just saw block height 850123 got confirmed — can you pull up its details from Blockchain.com so I can see the timestamp, size, and which miner found it?"}],"resultDescription":"Returns a JSON object containing detailed Bitcoin block information, including block hash, height, timestamp, miner/coinbase data, transaction IDs, total transaction count, block size, difficulty, nonce, and confirmation count.","failureModes":["Block hash is not exactly 64 hex characters — returns validation error","Both hash and height provided simultaneously — returns bad request error","Block height is negative or exceeds current chain tip — returns not found error","Block hash does not exist on the Bitcoin chain — returns 404 not found","Network or gateway timeout — returns 5xx error","Insufficient payment or missing x402 payment header — returns 402 payment required"],"whenToPreferThis":"Use this endpoint when you need authoritative, on-chain Bitcoin block data (by hash or height) via the Blockchain.com explorer, especially in agent workflows requiring on-chain verification, transaction auditing, or block-level analytics. Prefer this over free public APIs when reliable uptime, pay-per-use pricing, and AI-agent-native x402 payment integration matter. If you need Ethereum, Solana, or Bitcoin Cash block data, sibling endpoints on the same gateway may be more appropriate.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:31:27.306Z","isFirstParty":false,"canonicalSlug":"explorer-gateway-api-bitcoin-block-lookup-ed463147"}