{"uid":"cap_o_9yPNn5YrDpR4AaDfRc6","slug":"phantom-api-berachain-latest-block-0015affc","name":"Phantom API — Berachain Latest Block","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/berachain/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_3VRiOA2WkprUND0BU91sr","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 the Berachain network via a pay-per-call blockchain data API","exampleAgentPrompt":"What's the latest block on Berachain right now — give me the block number, hash, and timestamp?","exampleUseCases":[{"title":"Real-time Berachain chain tip monitor","prompt":"Check the latest block on Berachain and tell me the current block number and when it was produced."},{"title":"Berachain sync status check","prompt":"I need to verify Berachain is still producing blocks — fetch the most recent block and tell me if the timestamp is within the last 30 seconds."},{"title":"DeFi app block reference lookup","prompt":"Get me the current Berachain block number and hash so I can use it as a reference point for my smart contract interaction."}],"resultDescription":"Returns the latest block data from the Berachain network, typically including block number (height), block hash, parent hash, timestamp, transaction count, validator/miner info, gas used, and other block-level metadata standard to EVM-compatible chains.","failureModes":["Payment not attached or insufficient USDC — returns 402 Payment Required","Berachain RPC node temporarily unavailable — returns 503 or timeout","Malformed request body — returns 400 Bad Request","Network congestion causing delayed block data","Rate limiting if too many calls in a short period"],"whenToPreferThis":"Choose this endpoint when you need real-time, pay-per-call access to Berachain's latest block without managing your own RPC node or API keys. Ideal for agents that need occasional on-demand lookups rather than a sustained WebSocket subscription. Suitable when you want micropayment billing via x402/USDC rather than a monthly subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:49:50.463Z","isFirstParty":false}