{"uid":"cap_1xxjxs4gbUgwfoPhTFSZE","slug":"evm-block-number-lookup-276d5ca5","name":"EVM Block Number Lookup","description":"Global current weather, hourly forecasts, foreign-exchange rates, EVM reads, and deterministic utilities for AI agents. Pay per call with MPP or x402; no API key.","url":"https://agent-chain-kit-solana.vercel.app/v1/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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"network":{"enum":["ethereum","base","arbitrum","polygon"],"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"hex":"0x20f85d2","network":"base","block_number":34567890}},"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_y3z1xVq9JL2J6dZMIvXnn","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 for a specified EVM-compatible blockchain network (Ethereum, Base, Arbitrum, or Polygon).","exampleAgentPrompt":"What's the current block number on Base right now?","exampleUseCases":[{"title":"Smart contract timing reference","prompt":"What's the current block number on Ethereum? I need it to calculate how many blocks have passed since a transaction at block 20000000."},{"title":"Cross-chain block height comparison","prompt":"Can you grab the current block numbers on both Arbitrum and Polygon so I can compare how far along each chain is?"},{"title":"Real-time blockchain sync monitoring","prompt":"What block is Base at right now? I want to make sure my indexer isn't falling behind the chain tip."}],"resultDescription":"A JSON object containing the current block number as a decimal integer, its hexadecimal representation, and the queried network name. Example: {\"hex\":\"0x20f85d2\",\"network\":\"base\",\"block_number\":34567890}.","failureModes":["Unsupported network value returns a validation error","Missing or malformed query parameter causes 400 Bad Request","Payment not provided or invalid results in 402 Payment Required","Upstream RPC node temporarily unavailable causing 503 or timeout","Network congestion may cause slightly stale block number"],"whenToPreferThis":"Choose this endpoint when you need the current block height for Ethereum, Base, Arbitrum, or Polygon without managing your own RPC node or API key. It is ideal for AI agents that need quick, pay-per-call blockchain reads without provisioning infrastructure. Prefer it over self-hosted RPC when low-setup cost matters and sub-second latency is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:50:49.920Z","isFirstParty":false,"canonicalSlug":"evm-block-number-lookup-276d5ca5"}