{"uid":"cap_Wx1qTBtrNFHRCtRoldqnJ","slug":"evm-block-height-bbfd8eb6","name":"EVM Block Height","description":"60 paid endpoints with no metering, no API key and no account. Each endpoint has one flat price per call, whatever the size of the request: LLM completions with automatic failover across several large models, read-only EVM tooling over Base, Ethereum, Polygon, Arbitrum and Optimism, and pure crypto utilities that touch no network.","url":"https://flat-rate-llm.kikoribera03.workers.dev/v1/evm/block","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"type":"string","description":"base | ethereum | polygon | arbitrum | optimism."}}},"responseSchema":{"type":"object","properties":{"timestamp":{"type":"number"},"ageSeconds":{"type":"number"},"blockNumber":{"type":"number"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_V3HPSvtTCANTpgic33qX9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the latest block number, timestamp, and staleness (age in seconds) for any supported EVM chain, useful for checking node sync status.","exampleAgentPrompt":"What's the current block height on Ethereum right now, and how stale is the chain head — is the node in sync?","exampleUseCases":[{"title":"Node sync health check","prompt":"Check if the Base node is in sync — give me the latest block number and tell me how many seconds old the chain head is."},{"title":"Smart contract deployment readiness","prompt":"Before I deploy my contract, can you confirm the Polygon chain head is current — what's the latest block number and how fresh is it?"},{"title":"Automated chain monitoring alert","prompt":"Every few minutes, grab the latest block height and age on Arbitrum and let me know if the chain head goes stale by more than 30 seconds."}],"resultDescription":"A JSON object containing the latest block number (blockNumber), the Unix timestamp of that block (timestamp), and how many seconds ago that block was produced (ageSeconds), allowing an agent to determine whether the chain is actively producing blocks and the node is in sync.","failureModes":["Unsupported chain returns an error or empty response","Network timeout if the upstream RPC node is unresponsive","Payment failure (402) if USDC balance is insufficient","Stale data if upstream node itself is out of sync — ageSeconds will be large but call still succeeds"],"whenToPreferThis":"Use this endpoint when you need a quick, cheap ($0.001) single-chain block height and freshness check — ideal before submitting transactions, monitoring node health, or confirming a chain is live. Prefer the sibling 'Chain health check' endpoint if you need to check multiple chains at once. This endpoint is purpose-built for sync status checks via eth_getBlockByNumber and returns a minimal, clean payload.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:45:35.960Z","isFirstParty":false}