{"uid":"cap_WuHQzXuRKrsiPsuji_zJN","slug":"base-blockchain-current-block-number-36289a35","name":"Base Blockchain Current Block Number","description":"Look up the latest Base mainnet block returned by the upstream RPC, including its number, timestamp (Unix and ISO) and gas used. No parameters. An upstream block response does not independently establish chain liveness or data freshness.","url":"https://heb-utils-x402.hebutils-api.workers.dev/base-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"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"block_number":1,"timestamp_iso":"2026-10-10T00:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__ZvbX-v_FSu1z2Gb9sfTQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current block number and its ISO timestamp on the Base blockchain network","exampleAgentPrompt":"What is the current block number on Base right now, and when was that block timestamped?","exampleUseCases":[{"title":"Smart contract deployment timing","prompt":"What block is Base on right now? I need to know the current block number and timestamp before I deploy my contract so I can set the correct starting block for event indexing."},{"title":"On-chain data freshness check","prompt":"Can you grab the latest Base block number and its timestamp so I can verify my local node is in sync with the actual chain?"},{"title":"Blockchain activity monitoring","prompt":"Check the current Base blockchain block number for me — I want to track how fast blocks are being produced and compare it to what I checked an hour ago."}],"resultDescription":"A JSON object containing the current Base blockchain block number as an integer and the block's timestamp in ISO 8601 format (e.g. {\"block_number\": 12345678, \"timestamp_iso\": \"2025-01-01T00:00:00.000Z\"})","failureModes":["Base RPC node unavailable — returns an error if the underlying Base node is unreachable","Rate limiting — too many requests without valid x402 payment may result in 402 Payment Required","Network congestion — slight delays in block propagation may cause minor staleness in response","Invalid payment — missing or invalid USDC payment header returns 402"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call lookup of the current Base L2 block number and timestamp without managing your own RPC node or API keys. Prefer it over raw RPC calls when you want a simple REST interface with micropayment billing and no monthly subscription commitment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-04T00:41:15.919Z","isFirstParty":false,"canonicalSlug":"base-blockchain-current-block-number-36289a35"}