{"uid":"cap__5dDO-K325so9glDs56oo","slug":"evm-block-number-lookup-base-ethereum-arbitrum-313b2ab1","name":"EVM Block Number Lookup — Base, Ethereum, Arbitrum","description":"Read the current block height directly from a supported Base, Ethereum, or Arbitrum public JSON-RPC provider.","url":"https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/evm_block_number","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":{"chain":{"type":"string","description":"base, ethereum, or arbitrum; defaults to base."}},"additionalProperties":true}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["success","network","chain_id","block_number","block_number_hex"],"properties":{"network":{"type":"string"},"success":{"type":"boolean"},"chain_id":{"type":"integer"},"block_number":{"type":"string"},"block_number_hex":{"type":"string"}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"network":"base","success":true,"chain_id":8453,"block_number":"33752215","block_number_hex":"0x2030877"}},"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__XRQjkwnAF_IzqSXkKJFF","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 latest block number for a specified EVM chain (Base, Ethereum, or Arbitrum), including decimal and hex representations.","exampleAgentPrompt":"What's the current block number on Base right now? Give me both the decimal and hex values.","exampleUseCases":[{"title":"Real-time block height monitoring","prompt":"Keep checking the current block number on Base and let me know when it passes block 34000000."},{"title":"Cross-chain block sync comparison","prompt":"Fetch the latest block numbers for Base, Ethereum, and Arbitrum so I can compare how far along each chain is right now."},{"title":"On-chain timestamp anchoring","prompt":"I need the current Ethereum block number to use as a reference point for a smart contract deployment — what block are we at?"}],"resultDescription":"A JSON object containing: success (boolean), network (chain name string), chain_id (integer), block_number (latest block as a decimal string), and block_number_hex (latest block in hexadecimal). Example: {\"network\":\"base\",\"success\":true,\"chain_id\":8453,\"block_number\":\"33752215\",\"block_number_hex\":\"0x2030877\"}.","failureModes":["Unsupported chain name returns an error or defaults to Base","Network timeout if the RPC provider is temporarily unavailable","Missing or malformed query param may cause a 400 or default behavior","Rate limiting or payment failure (x402) returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a quick, real-time block number lookup for Base, Ethereum, or Arbitrum without setting up your own RPC node. It's ideal for agents that need to anchor events to block heights, verify chain progress, or synchronize on-chain logic. At $0.001 USDC per call via x402, it's cost-effective for sporadic or automated polling use cases.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:57:24.302Z","isFirstParty":false}