{"uid":"cap_warLhhRgOqhkP9fNvPjwM","slug":"chainread-block-number-lookup-bc7f49d1","name":"ChainRead Block Number Lookup","description":"Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, basewatch, chainread, check-sanctions, chgwatch, company-facts, composite, edgar, feednews, pageaudit, solcheck, token-dd, txpreflight, walletcheck, webmd, webread, websearch, x402index. Each operation describes its service.","url":"https://api.firstmention.uk/s/x402check/block?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"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","properties":{"url":{"type":"string","description":"seller URL for /check"},"hash":{"type":"string","description":"0x transaction hash for /tx"},"chain":{"enum":["base","eth"],"type":"string","description":"which chain to read, default base"},"token":{"type":"string","description":"ERC20 contract 0x address for /erc20"},"address":{"type":"string","description":"0x eth address for /balance or /nonce"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"chain":{"type":"string"},"block_hex":{"type":"string"},"block_number":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"chain":"base","block_hex":"0x1b6a0f1","block_number":28741233}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_S5QIV_hFm4ZmTYBWwklF_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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 hex equivalent) for a specified EVM chain (Base or Ethereum)","exampleAgentPrompt":"What is the current block number on the Base blockchain right now?","exampleUseCases":[{"title":"Real-time Base block height check","prompt":"Can you fetch the current block number on Base for me? I need to know how far along the chain is right now."},{"title":"Ethereum block height monitoring","prompt":"What block is Ethereum mainnet on right now? Give me the current block number and its hex value."},{"title":"Block synchronization verification","prompt":"I want to verify my node is in sync — what is the latest block number on Base so I can compare it against my local node?"}],"resultDescription":"Returns a JSON object with the chain name (e.g. 'base' or 'eth'), the current block number as an integer (e.g. 28741233), and the block number in hex format (e.g. '0x1b6a0f1').","failureModes":["Invalid or unsupported chain value returns an error response","Network or RPC node unavailability may cause a timeout or 5xx error","Missing or malformed query parameters may return a 400 bad request","Payment failure (insufficient USDC balance or x402 issue) results in 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call lookup of the current block number on Base or Ethereum without maintaining your own RPC node. It is ideal for agents that need occasional block height checks without a full node subscription, especially when paying via USDC on Base using x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T00:32:03.771Z","isFirstParty":false,"canonicalSlug":"chainread-block-number-lookup-bc7f49d1"}