{"uid":"cap_B3VvBZNVL9XqNrx_vJqpo","slug":"agent-data-tools-base-latest-block-90987ce6","name":"Agent Data Tools: Base Latest Block","description":"Latest block number and block details on Base, 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 base_gas. A block that does not exist yet returns 404, uncharged.","url":"https://agent-data-tools.revmesh2074.workers.dev/base/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":{"number":{"type":"string","examples":["latest"],"description":"Block number, or 'latest' (default)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"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"}}}}}}},"responseSchema":{"type":"json","example":{"hash":"0xabc…","chain":"Base","miner":"0x…","number":123456789,"chainId":8453,"gasUsed":"21000000","gasLimit":"30000000","timestamp":"2026-10-18T12:00:00.000Z","baseFeeGwei":"0.012","transactions":154}},"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_xrkn-9YLgc7PvN7bZM3bw","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 the latest block data from the Base blockchain, including block hash, number, miner, gas stats, timestamp, and transaction count","exampleAgentPrompt":"What's the latest block on the Base network — give me the block number, timestamp, gas used, and base fee?","exampleUseCases":[{"title":"Monitor Base chain block height","prompt":"What's the current block number on Base and when was it mined?"},{"title":"Check Base network gas conditions","prompt":"What's the current base fee in gwei and gas usage on the latest Base block?"},{"title":"Verify recent Base chain activity","prompt":"How many transactions were in the latest Base block and what was the miner address?"}],"resultDescription":"Returns a JSON object with the latest Base block's hash, chain name, miner address, block number, chain ID (8453), gas used, gas limit, ISO timestamp, base fee in gwei, and transaction count.","failureModes":["Network timeout if Base RPC is temporarily unreachable","Payment failure if USDC balance is insufficient (call not charged)","Rate limiting if the underlying RPC node is saturated","Malformed response if Base network is undergoing an upgrade or hard fork"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call read of the latest Base block without setting up an RPC node or API key. Ideal for AI agents needing real-time chain head data on Base at $0.001/call with no account setup. Prefer over self-hosted RPC for lightweight, low-frequency polling or one-off checks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:45:13.403Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-base-latest-block-90987ce6"}