{"uid":"cap_jqb3QaeVi8keG-NBYuDtK","slug":"evm-block-data-lookup-b2c9e9b0","name":"EVM Block Data Lookup","description":"Batch block lookup: latest block plus up to 10 block numbers (comma-separated) on Base, Ethereum, Arbitrum or Optimism in one paid call. Same fields as /v1/evm/block (number, hash, timestamp, tx count, gas, base fee). Costs less than 10 single calls. Deterministic, no LLM.","url":"https://138-197-15-135.sslip.io/v1/evm/blocks?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":["queryParams"],"properties":{"queryParams":{"type":"object","required":[],"properties":{"chain":{"type":"string","description":"Chain: base (default), ethereum, arbitrum, optimism"},"numbers":{"type":"string","description":"Comma-separated block numbers (max 10). Omit for latest only."}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":[],"properties":{"chain":{"type":["string","null"]},"blocks":{"type":["array","null"]},"latest":{"type":["integer","null"]}}}}}}},"responseSchema":{"type":"json","example":{"chain":"base","blocks":[{"iso":"2026-01-01T00:00:00.000Z","hash":"0x…","number":1,"gasUsed":"1","txCount":100,"gasLimit":"1","timestamp":1700000000,"baseFeeGwei":"0.01"}],"latest":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.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_L0-dnPrjHHJHJBiyqaTXu","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":"Fetches block metadata (hash, timestamp, gas, tx count, base fee) for one or more EVM chain blocks by number, or returns the latest block","exampleAgentPrompt":"What were the gas used, transaction count, and base fee for blocks 21000000 and 21000001 on Base?","exampleUseCases":[{"title":"Monitor latest Base block","prompt":"What is the latest block number on Base right now, and what's the current base fee in gwei?"},{"title":"Audit gas usage for specific blocks","prompt":"Can you pull the gas used and transaction count for blocks 19500000, 19500001, and 19500002 on Ethereum?"},{"title":"Reconstruct block timeline on Arbitrum","prompt":"I need the timestamps and hashes for blocks 150000000 through 150000005 on Arbitrum so I can reconstruct the sequence of events."}],"resultDescription":"Returns a JSON object with the chain name, latest block number, and an array of block objects each containing block number, ISO timestamp, Unix timestamp, block hash, gas used, gas limit, transaction count, and base fee in gwei.","failureModes":["More than 10 block numbers requested — API enforces max 10 per call","Invalid or unsupported chain name — defaults to Base or returns error","Block number not yet mined — returns null or missing block entry","Payment failure via x402 — 402 response requiring USDC payment on Base","Malformed block number input (non-numeric or bad comma separation)"],"whenToPreferThis":"Use this endpoint when you need lightweight block-level metadata (timestamps, gas, tx count, base fee) for Base, Ethereum, Arbitrum, or Optimism without running a full node. It accepts up to 10 block numbers per call and is pay-per-use via x402/USDC, making it ideal for agent workflows that need occasional onchain lookups without a long-term API subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:34:25.630Z","isFirstParty":false,"canonicalSlug":"evm-block-data-lookup-b2c9e9b0"}