{"uid":"cap_ODI4IN5s-uE9_ot0IMLqD","slug":"blockchain-block-number-lookup-ed10f7a1","name":"Blockchain Block Number Lookup","description":"Machine-payable x402 utilities for hashing, Base64, UUID generation, unit and timezone conversion, realtime crypto market data, webpage/document extraction, URL-to-Markdown, metadata, RAG ingestion and deterministic website change detection.","url":"https://x402-gateway-production-1f21.up.railway.app/chain/block-number?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{"network":{"enum":["base","ethereum"],"type":"string","default":"base"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"status":"ready"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_58ECa1nFbo9VLfrt6yIkW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current block number for a specified blockchain network (Base or Ethereum) via a machine-payable x402 API.","exampleAgentPrompt":"What is the current block number on the Base network right now?","exampleUseCases":[{"title":"Monitor Base chain block height","prompt":"Can you tell me the current block number on Base so I can check if my transaction has been confirmed?"},{"title":"Track Ethereum block progression","prompt":"What block is Ethereum on right now? I want to know how far along the chain is for a time-sensitive smart contract interaction."},{"title":"Sync blockchain indexing position","prompt":"Fetch the latest block number on Base so I can figure out where my indexer is lagging behind the live chain."}],"resultDescription":"Returns a JSON object containing the current block number for the requested blockchain network (Base or Ethereum), along with a status field indicating readiness. The block number reflects the most recently mined block at the time of the request.","failureModes":["Invalid network value (not 'base' or 'ethereum') returns a validation error","Payment failure via x402 protocol results in 402 Payment Required response","Network connectivity issues to the blockchain node may return a timeout or error","Missing required 'network' field in request body may cause a 400 error"],"whenToPreferThis":"Choose this endpoint when you need a quick, real-time block number lookup for Base or Ethereum without running your own node, and you are operating in a machine-payable (x402) environment. Ideal for agents that need on-chain timing references, confirmation checks, or synchronization points at low cost ($0.001 USDC per call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:43:04.035Z","isFirstParty":false,"canonicalSlug":"blockchain-block-number-lookup-ed10f7a1"}