{"uid":"cap_yfeVNYx1GFM9KtgSJ38AW","slug":"explorer-gateway-api-ethereum-block-lookup-955d0e83","name":"Explorer Gateway API – Ethereum Block Lookup","description":"Paid AI-agent access to Blockchain.com Explorer API","url":"https://api.blockchain.info/explorer-gateway-kt/x402/eth/block?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"hash":{"type":["string","null"],"example":"0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3","description":"Block hash; provide this or blockId"},"blockId":{"type":["integer","null"],"format":"int64","minimum":0,"description":"Block number (non-negative); provide this or hash"},"network":{"type":"string","example":"ETH"},"includeTransactions":{"type":"boolean","default":true,"description":"Set false to omit `transactions` and `internalTransactions` from the response. `transactionCount`, `internalTransactionCount` and `aggregates` are returned either way, and page the transactions themselves with `/eth/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_7w4shPGg3gpwOdglmq5bw","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 Ethereum block by block hash or block number via the Blockchain.com Explorer Gateway","exampleAgentPrompt":"Can you pull up the details for Ethereum block number 18,000,000 — I want to see the block hash, timestamp, miner, and transaction count?","exampleUseCases":[{"title":"Verify a specific Ethereum block","prompt":"I need to verify that block 0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3 exists on Ethereum and find out how many transactions it contained and when it was mined."},{"title":"Audit on-chain block metadata","prompt":"Can you fetch the details for Ethereum block number 17,500,000 so I can check the gas used, the miner, and the exact timestamp it was finalized?"},{"title":"Research genesis block contents","prompt":"Look up Ethereum block number 0 for me — I want to see all the metadata for the genesis block including its hash and any transactions in it."}],"resultDescription":"Returns a JSON object containing details about the requested Ethereum block, including block hash, block number, timestamp, miner/validator address, gas limit, gas used, transaction count or list, parent hash, and other block header fields standard to Ethereum block explorers.","failureModes":["Neither hash nor blockId provided — request fails with validation error","Block hash or number does not exist on the network — returns not found error","Invalid hash format (non-hex or wrong length) — returns parsing or validation error","Network field mismatch (e.g. passing a non-ETH network identifier) — may return wrong-chain or unsupported error","Malformed request body — returns 400 or schema validation error","Payment failure or insufficient USDC balance — returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need to look up a specific Ethereum block by its exact block number or block hash from a reliable, paid explorer-grade API. It is ideal for on-chain auditing, transaction verification, block metadata retrieval, and dApp analytics where Blockchain.com's explorer data quality and x402 micropayment access model are acceptable. Prefer it over free RPC node calls when you need structured explorer-formatted block data without running your own node.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:31:30.117Z","isFirstParty":false,"canonicalSlug":"explorer-gateway-api-ethereum-block-lookup-955d0e83"}