{"uid":"cap_RbVsTFXnJfFQCUC8ERdJJ","slug":"phantom-api-latest-block-lookup-951cbf1e","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/adi/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_yck7foWPLsHB6pr5FVHDN","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":"Fetches the latest block data from a specified blockchain network via Phantom's multi-chain Web3 infrastructure","exampleAgentPrompt":"What's the latest block on the Ethereum mainnet right now — give me the block number, hash, and timestamp using Phantom API's fast on-chain data service.","exampleUseCases":[{"title":"Real-time blockchain sync check","prompt":"Can you check what the latest block number is on Ethereum right now? I want to verify my node is synced to the chain head."},{"title":"Block timestamp for transaction timing","prompt":"Fetch the latest block on Polygon for me — I need the timestamp to know when the most recent block was mined."},{"title":"Multi-chain dashboard block monitoring","prompt":"Pull the latest block data from the Arbitrum network so I can update my dashboard with the current chain height and block hash."}],"resultDescription":"Returns the latest block's metadata from the target blockchain network, typically including block number (height), block hash, parent hash, timestamp, miner/validator address, transaction count, gas used, and other block header fields standard to that chain.","failureModes":["Unsupported or unrecognized network identifier returns an error or empty response","Payment failure (x402 protocol) results in 402 response and no data","Network congestion or node unavailability causes timeout or partial response","Malformed request body returns 400 validation error","Rate limiting may apply if call volume is exceeded without sufficient payment"],"whenToPreferThis":"Choose this endpoint when you need real-time latest block data across any of 57+ supported blockchain networks via a pay-per-call model with no subscription required. Ideal for agents needing lightweight, on-demand blockchain head queries without maintaining their own node infrastructure. Prefer over self-hosted RPC calls when simplicity and multi-chain coverage matter more than zero per-call cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:56:40.326Z","isFirstParty":false,"canonicalSlug":"phantom-api-latest-block-lookup-1652cd7c"}