{"uid":"cap_jExOP4eKhsQ1XMMfnTlNf","slug":"base-mainnet-current-block-number-27d6408e","name":"Base Mainnet Current Block Number","description":"Current Base mainnet block number. Use when an agent needs the latest Base block to time or sanity-check a transaction.","url":"https://x402-data-api.sigrunner.workers.dev/chain/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","required":["block_number","chain"],"properties":{"chain":{"enum":["base"],"type":"string"},"block_number":{"type":"integer","minimum":0}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"chain":"base","block_number":27738421}},"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":{"p10Cents":"0.1000","medianCents":"0.1000","p90Cents":"0.1000","minCents":"0.1000","maxCents":"0.1000","p95Cents":"0.1000","sampleCount":1,"varies":false,"failureChargeRate":1},"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_-EiItgbZ2HHI4itFlD7Im","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":"Returns the current block number on the Base mainnet blockchain.","exampleAgentPrompt":"What's the current block number on Base mainnet right now?","exampleUseCases":null,"resultDescription":"Returns the current block number (chain height) of the Base mainnet as an integer, reflecting the latest confirmed block at time of request.","failureModes":["RPC node unavailable — returns 5xx error","Rate limit exceeded — returns 429 with retry-after header","Payment not provided or invalid — returns 402 requiring x402 payment","Network timeout if Base node is syncing"],"whenToPreferThis":"Use this endpoint when you need the current Base mainnet block number for timing, confirmation depth checks, or synchronizing on-chain events. Prefer this over general Ethereum block number APIs when working specifically on the Base L2 network.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:31:23.909Z","isFirstParty":false,"canonicalSlug":"base-mainnet-current-block-number-27d6408e"}