{"uid":"cap_1QAPMPJt1tKQ79EcxVcUq","slug":"explorer-gateway-api-ethereum-block-lookup-97262509","name":"Explorer Gateway API – Ethereum Block Lookup","description":"Blockchain explorer gateway — Solana, Bitcoin, Bitcoin Cash, Ethereum","url":"https://api.blockchain.com/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_ksdZ4L7F9v55C2sH8KQ9_","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 details for a specific Ethereum block by block hash or block number via blockchain.com's explorer gateway","exampleAgentPrompt":"Can you pull up the details for Ethereum block number 0 — the genesis block — from blockchain.com's explorer gateway on the ETH network?","exampleUseCases":[{"title":"Verify transaction inclusion in block","prompt":"I need to check whether a transaction appeared in Ethereum block 19000000 — can you fetch the full block details from blockchain.com's explorer so I can inspect its transaction list?"},{"title":"Audit historical block metadata","prompt":"Pull up the details for Ethereum block hash 0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3 from blockchain.com's explorer gateway — I need the miner, timestamp, and gas used."},{"title":"Monitor specific block for DeFi analysis","prompt":"Fetch the data for Ethereum block 18500000 on the ETH network from blockchain.com's explorer — I'm analyzing gas prices and miner rewards around that block for a DeFi report."}],"resultDescription":"Returns a JSON object containing detailed Ethereum block data, likely including the block hash, block number, timestamp, miner/validator address, gas limit, gas used, transaction count and/or transaction hashes, block reward, parent hash, and other standard Ethereum block header fields.","failureModes":["Neither hash nor blockId provided — request rejected with validation error","Block not found for given hash or block number — 404 or empty response","Invalid hash format (not a valid hex string) — 400 bad request","Block number out of range or negative — validation error","Network field missing or set to unsupported chain — error response","Payment not included or insufficient — 402 Payment Required","Rate limiting or upstream node unavailability — 503 or timeout"],"whenToPreferThis":"Choose this endpoint when you need to look up a single Ethereum block by its exact hash or block number and want data from a reputable, blockchain.com-hosted explorer gateway. It is ideal for agents that need block-level metadata (miner, gas, timestamp, transactions) on Ethereum mainnet. Prefer it over raw RPC calls when you want a REST/JSON interface without managing your own Ethereum node or API key — and are comfortable with a per-call micropayment via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T18:40:16.017Z","isFirstParty":false,"canonicalSlug":"explorer-gateway-api-ethereum-block-lookup-97262509"}