{"uid":"cap_9S5SErnNeZmFelB_NYPae","slug":"saylor-innovations-ethereum-block-lookup-b1ae1c01","name":"Saylor Innovations Ethereum Block Lookup","description":"Ethereum block by number or latest - hash, time, transaction count, gas used, base fee and miner","url":"https://saylorinnovations.com/api/evm/ethereum/block/:number?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","pathParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["number"],"properties":{"number":{"type":"string","description":"block number (decimal or 0x) or latest (path)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["chain","number","hash"],"properties":{"hash":{"type":"string","description":"Hash of the item"},"time":{"type":"string","description":"Time"},"chain":{"type":"string","description":"Blockchain the data is for"},"miner":{"type":"string","description":"Address of the block producer"},"number":{"type":["number","null"],"description":"Number that was looked up"},"gas_used":{"type":["number","null"],"description":"Gas consumed"},"tx_count":{"type":["number","null"],"description":"Number of tx"},"gas_limit":{"type":["number","null"],"description":"Gas limit"},"timestamp":{"type":["number","null"],"description":"Time of the record"},"tx_hashes":{"type":"array","items":{"type":"string"},"description":"Transaction hashes in the block"},"parent_hash":{"type":"string","description":"Hash of the parent block"},"base_fee_gwei":{"type":["number","null"],"description":"Base fee per gas in gwei"}},"additionalProperties":true},"description":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","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_S9fklN1CxEKpPGHn4tLJP","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 Ethereum block metadata by block number (or 'latest'), returning hash, timestamp, transaction count, gas usage, base fee, and miner address.","exampleAgentPrompt":"What are the details of Ethereum block 21000000 — hash, timestamp, transaction count, gas used, base fee, and who mined it?","exampleUseCases":[{"title":"Monitor latest Ethereum block activity","prompt":"What's in the latest Ethereum block right now — give me the block number, hash, how many transactions it has, the base fee in gwei, and who mined it."},{"title":"Audit gas usage for a specific block","prompt":"Pull up Ethereum block 20500000 for me — I need the gas used, gas limit, and base fee so I can analyze network congestion at that point."},{"title":"Verify block timestamp for a transaction","prompt":"I need to confirm when Ethereum block 19876543 was produced — can you get me the timestamp, block hash, and the list of transaction hashes in it?"}],"resultDescription":"A JSON object containing the chain identifier ('ethereum'), block number, block hash, parent hash, ISO timestamp and Unix timestamp, miner address, gas used, gas limit, base fee per gas in gwei, transaction count, and an array of transaction hashes included in the block.","failureModes":["Block number does not exist yet (future block) — returns error or empty response","Invalid block identifier format — malformed hex or non-numeric string returns an error","Network or RPC node unavailability causes timeout or 5xx response","'latest' keyword returns a snapshot that may differ slightly across redundant nodes","Rate limiting or payment failure returns 402 or 429 error"],"whenToPreferThis":"Use this endpoint when you need structured, normalized Ethereum block metadata without running your own node or integrating a heavy RPC library. It is ideal for agents that need quick block-level facts (gas, fees, miner, tx count) in a clean JSON format for a single block lookup, especially in cost-sensitive agentic workflows at $0.01 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-28T18:31:45.250Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-ethereum-block-lookup-b1ae1c01"}