{"uid":"cap_mLV7VIrEId2hpwclRLf6W","slug":"cryptoshark-block-number-lookup-5f542c6d","name":"CryptoShark Block Number Lookup","description":"Block number for Base, Ethereum, or Ethereum Classic using redundant public RPC workers","url":"https://cryptoshark.duckdns.org/chain/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":{"hash":{"type":"string","description":"Required by transaction and receipt routes"},"address":{"type":"string","description":"Required by balance and code routes"},"network":{"enum":["base","ethereum","etc"],"type":"string","default":"base"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":null,"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_Hc6z1LhhfH6wNgCCCkYRI","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 Base, Ethereum, or Ethereum Classic blockchain networks using redundant public RPC workers","exampleAgentPrompt":"What is the current block number on the Base network right now?","exampleUseCases":[{"title":"Smart contract deployment timing","prompt":"Before I deploy my contract, can you check what block number we're at on Ethereum mainnet?"},{"title":"Cross-chain block height comparison","prompt":"Can you get me the current block numbers for both Base and Ethereum so I can compare how far along each chain is?"},{"title":"Blockchain sync monitoring","prompt":"Keep checking the current block number on Ethereum Classic for me — I want to know what block height it's at right now."}],"resultDescription":"Returns the current block number (block height) as an integer for the requested blockchain network (Base, Ethereum, or Ethereum Classic), reflecting the latest confirmed block on-chain via redundant public RPC nodes.","failureModes":["Unsupported network value returns an error (only 'base', 'ethereum', 'etc' are valid)","RPC node temporarily unavailable causing timeout or stale data","Network congestion on the underlying RPC provider causing delayed response","Missing or malformed query parameters result in a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, low-cost way to fetch the current block number for Base, Ethereum, or Ethereum Classic without setting up your own RPC infrastructure. It is ideal for monitoring chain progress, gating time-sensitive operations, or confirming chain state in agent workflows. Prefer it over full node queries or heavier blockchain APIs when block height is the only data needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-19T06:44:40.028Z","isFirstParty":false}