{"uid":"cap_EqmNuSGA1B5OWPCj69adO","slug":"phantom-api-latest-block-lookup-5e680186","name":"Phantom API — Latest Block Lookup","description":"Lightning-fast access to blockchain data, smart contract insights, and Web3 infrastructure across 57+ networks. Pay-per-call via x402.","url":"https://phantom-api-omega.vercel.app/api/stable/block/latest?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","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"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_H7ojn8mj4pBT-XKRpwVlL","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":"Retrieves the most recent (latest) block data from a blockchain network via Phantom's multi-chain infrastructure","exampleAgentPrompt":"What's the latest block on the blockchain right now? Use Phantom API to fetch the most recent block data so I can see the current block number, hash, and timestamp.","exampleUseCases":[{"title":"Monitor live chain head for DeFi app","prompt":"Keep an eye on the current block number so I know when a new block is confirmed — fetch the latest block from the chain right now."},{"title":"Verify transaction inclusion window","prompt":"I need to know what block the chain is currently on so I can check if my transaction was included in the last few blocks — grab the latest block info."},{"title":"Sync blockchain state for analytics dashboard","prompt":"Pull the most recent block data from the blockchain so my dashboard can display the current chain height and timestamp in real time."}],"resultDescription":"Returns structured data about the most recently confirmed block on the target blockchain network, typically including block number (height), block hash, parent hash, timestamp, transaction count, and other block-level metadata depending on the chain.","failureModes":["Network or RPC node unavailability returns an error or timeout","Unsupported or unrecognized chain identifier returns a 400 or 422 error","Payment failure or insufficient USDC balance returns a 402 Payment Required","Malformed request body (wrong bodyType or missing required fields) returns a 400 Bad Request","Rate limiting or quota exhaustion may return a 429 Too Many Requests"],"whenToPreferThis":"Choose this endpoint when you need real-time, up-to-the-second latest block data across any of 57+ supported networks via a pay-per-call model with no subscription required. Prefer it over self-hosted RPC nodes when you want zero infrastructure overhead and sub-second response times, or when you need broad multi-chain coverage without managing multiple provider keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:43:18.358Z","isFirstParty":false,"canonicalSlug":"phantom-api-latest-block-lookup-1652cd7c"}