{"uid":"cap_PFfbTCGHPCqXUYXhk15QO","slug":"fastapi-online-latest-block-lookup-214ba8c5","name":"fastapi.online — Latest Block Lookup","description":"Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.","url":"https://api.fastapi.online/latest-block?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"enum":["ethereum","base","polygon","arbitrum","optimism"],"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0005","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_z0cSIO6U-bh9Sn5ChXxn_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0005","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 and metadata for a specified EVM-compatible blockchain network","exampleAgentPrompt":"What is the latest block number on Base right now?","exampleUseCases":[{"title":"Monitor Ethereum chain progress","prompt":"Can you check what the latest block number is on Ethereum for me right now?"},{"title":"Verify Polygon sync status","prompt":"What's the current block on Polygon? I want to make sure my node is in sync with the network."},{"title":"Track Arbitrum block height","prompt":"Fetch the latest block on Arbitrum — I need to know the current chain height for my app."}],"resultDescription":"Returns the latest block number and associated metadata (such as timestamp, hash, or block height) for the specified EVM-compatible chain (ethereum, base, polygon, arbitrum, or optimism).","failureModes":["Unsupported chain name returns a validation error","Network connectivity issues may cause timeouts","Payment failure (insufficient USDC) results in HTTP 402 before processing"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call lookup of the current block height or latest block metadata on a major EVM network without needing a full blockchain node or RPC subscription. Particularly useful for lightweight agents that need occasional blockchain state checks without ongoing infrastructure costs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T22:27:15.902Z","isFirstParty":false,"canonicalSlug":"fastapi-online-latest-block-lookup-214ba8c5"}