{"uid":"cap_0ciw_oxVPZ-bs3qn23OB5","slug":"phantom-api-latest-block-degen-8bba711b","name":"Phantom API — Latest Block (Degen)","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/degen/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_9AyBRiDrGz_3khY6s53-A","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 most recent block data from a blockchain network via the degen endpoint","exampleAgentPrompt":"What's the latest block on the blockchain right now? Use Phantom API's degen endpoint to grab the current block number and hash.","exampleUseCases":[{"title":"Monitor blockchain block height","prompt":"Can you check the latest block number on the chain right now using Phantom API? I want to see how far along the network is."},{"title":"Verify node sync status","prompt":"Pull the most recent block data from Phantom API so I can confirm my node is in sync with the network head."},{"title":"DeFi transaction timing check","prompt":"Fetch the latest block timestamp from Phantom API — I need to know the current on-chain time before I submit my DeFi transaction."}],"resultDescription":"Returns the latest block's metadata including block number (height), block hash, timestamp, and potentially parent hash and transaction count depending on the chain queried across 57+ supported networks.","failureModes":["Network or chain temporarily unavailable — returns error or empty response","Payment not processed (x402 payment required, $0.01 USDC) — returns 402 Payment Required","Malformed POST body — returns 400 Bad Request","Rate limiting or infrastructure downtime on Vercel deployment","Unsupported chain identifier — returns error for unrecognized network"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call way to retrieve the current block height or latest block metadata without managing an RPC node. It is ideal for agents that occasionally need on-chain block data across many chains without committing to a subscription, especially when working across 57+ networks via a single unified interface.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:51:25.564Z","isFirstParty":false}