{"uid":"cap_glo7JPICM1v4hnbJXNTgm","slug":"phantom-api-latest-block-lookup-1652cd7c","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/tempo/block/latest","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_TF1G_pDj514-TE02umAdk","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":"Returns the most recent block data from a specified blockchain network via the Tempo endpoint","exampleAgentPrompt":"What's the latest block on Ethereum right now? Use Phantom API's Tempo block endpoint to fetch the current block data.","exampleUseCases":[{"title":"Real-time block height monitoring","prompt":"Keep checking the latest Ethereum block number every few seconds and alert me if blocks stop being produced — I want to know if the network stalls."},{"title":"DApp synchronization checkpoint","prompt":"Fetch the current latest block from the blockchain so my app knows where to start syncing new transactions from."},{"title":"Block timestamp for audit log","prompt":"What's the timestamp of the most recent block on-chain right now? I need it for a compliance audit trail entry."}],"resultDescription":"Returns metadata about the most recently produced block on the queried blockchain network, including block number/height, block hash, timestamp, and potentially parent hash and transaction count depending on the network.","failureModes":["Network or chain identifier not supported across 57+ networks may return 404 or error","Payment failure via x402 protocol results in 402 Payment Required response","Empty or malformed POST body may return 400 Bad Request","Temporary node downtime may cause timeout or 503 Service Unavailable","Rate limiting if too many calls are made in rapid succession"],"whenToPreferThis":"Choose this endpoint when you need real-time, pay-per-call access to the latest block data across a wide range of blockchain networks (57+) without a monthly subscription. It is ideal for agents that only occasionally need block data and want to avoid over-provisioning, or for multi-chain workflows where a single provider covers many networks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:41:26.879Z","isFirstParty":false}