{"uid":"cap_4IIovxBaaI1uaLH5YPQyy","slug":"ethereum-block-data-lookup-d5f8e607","name":"Ethereum Block Data Lookup","description":"Latest block number and block details on Ethereum, or any block by decimal number: hash, timestamp, transaction count, gas used and limit, base fee in gwei and producer. Use for timestamps and confirmation counts; for current fees use eth_gas. A block that does not exist yet returns 404, uncharged.","url":"https://agent-data-tools.revmesh2074.workers.dev/eth/block?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"number":{"type":"string","description":"Block number, or 'latest' (default)"}}},"responseSchema":{"type":"object","properties":{"hash":{"type":"string"},"chain":{"type":"string"},"miner":{"type":"string"},"number":{"type":"number"},"chainId":{"type":"number"},"gasUsed":{"type":"string"},"gasLimit":{"type":"string"},"timestamp":{"type":"string"},"baseFeeGwei":{"type":"string"},"transactions":{"type":"number"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wIiMB7VoWrcw6Zq3SW64G","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the latest Ethereum block metadata including block number, hash, gas usage, base fee, miner, and timestamp","exampleAgentPrompt":"What does the latest Ethereum block look like — give me the block number, base fee in Gwei, gas used, and how many transactions it contains.","exampleUseCases":[{"title":"Gas fee monitoring for transaction timing","prompt":"What's the current base fee on Ethereum right now? I want to know if it's a good time to send a transaction."},{"title":"Block explorer cross-check","prompt":"Can you pull the latest Ethereum block details for me — hash, number, miner, and timestamp — so I can verify it against what Etherscan is showing?"},{"title":"On-chain congestion dashboard","prompt":"I'm building a report on Ethereum network activity. Grab the latest block's gas used, gas limit, and transaction count so I can track congestion levels."}],"resultDescription":"Returns a JSON object with the latest Ethereum block's hash, chain name, chain ID, miner address, block number, gas used, gas limit, timestamp (ISO 8601), base fee in Gwei, and transaction count.","failureModes":["Network or RPC node unavailability returns an error response; call is not charged on failure","Rate limiting or upstream provider outage may cause transient errors","Invalid or missing query parameters may return a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-use read of the latest Ethereum block without setting up your own RPC node or managing API keys. At $0.001 per call with no account required and no charge on failed calls, it is ideal for lightweight agents that occasionally need block metadata such as current base fee, block height, or miner info on Ethereum mainnet specifically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:35:21.593Z","isFirstParty":false,"canonicalSlug":"ethereum-block-data-lookup-d5f8e607"}