{"uid":"cap_x3fK37M8FFXBLHfCsj89n","slug":"sitecheck-evm-block-lookup-30416290","name":"SiteCheck EVM Block Lookup","description":"An EVM block by number, or the latest one: hash, time, transaction count, gas used and limit, and base fee in gwei. Read over public RPC.","url":"https://api.sitecheck-api.workers.dev/api/evm/block?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"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"chain":{"type":"string","description":"base (default), ethereum, arbitrum, optimism or polygon"},"number":{"type":"string","description":"Block number, or latest (default)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"hash":"0x5dcedf991c9e3995db2c96d014395d030d829269776aebe2869c0b33cc3cc025","time":"2026-10-14T04:15:47.000Z","chain":"base","number":52581000,"source":"https://base-rpc.publicnode.com (eth_getBlockByNumber)","gasUsed":39201775,"gasLimit":400000000,"checkedAt":"2026-10-14T04:49:18.585Z","disclaimer":"Information only, not financial advice.","baseFeeGwei":0.005,"transactionCount":187}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rMb_yxDDBW3jb7jbf8Jqu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches block details (hash, timestamp, gas usage, transaction count, base fee) for a specified block on EVM-compatible chains like Base, Ethereum, Arbitrum, Optimism, or Polygon.","exampleAgentPrompt":"What are the details of the latest block on Base — hash, timestamp, gas used, and transaction count?","exampleUseCases":[{"title":"Monitor current gas fees on Base","prompt":"What's the current base fee in Gwei on Base? Pull the latest block so I can see what gas costs look like right now."},{"title":"Verify on-chain block for audit trail","prompt":"Can you fetch the details for Ethereum block 21000000 — I need the hash, timestamp, gas used, and transaction count for a record I'm putting together."},{"title":"Compare block throughput across chains","prompt":"Pull the latest block on Arbitrum and tell me how many transactions it contained and how much gas was used — I'm comparing throughput across EVM chains."}],"resultDescription":"Returns a JSON object containing the block hash, ISO timestamp, chain name, block number, gas used, gas limit, base fee in Gwei, transaction count, the RPC source used, and a checked-at timestamp.","failureModes":["Invalid chain name returns an error (only base, ethereum, arbitrum, optimism, polygon supported)","Non-existent block number returns an error or empty response","Network or RPC provider unavailability may cause timeouts","Latest block may lag by a few seconds due to RPC propagation delay"],"whenToPreferThis":"Use this endpoint when you need lightweight, pay-per-call EVM block metadata (hash, gas, transaction count, base fee) across multiple chains without setting up your own RPC node. Particularly useful for agents monitoring gas conditions, verifying block timestamps, or building audit trails across Base, Ethereum, Arbitrum, Optimism, or Polygon.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:44:05.510Z","isFirstParty":false,"canonicalSlug":"sitecheck-evm-block-lookup-30416290"}