{"uid":"cap_hU4AqD1xjo_2v9KpNVz1H","slug":"phantom-api-aptos-latest-block-4ecd6911","name":"Phantom API – Aptos 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/aptos/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_NAMd_3BRm_lLRqdNebk9E","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 Aptos blockchain network via a pay-per-call Web3 infrastructure endpoint.","exampleAgentPrompt":"What's the latest block on the Aptos blockchain right now? I need the block number, hash, and timestamp.","exampleUseCases":[{"title":"Aptos chain sync check","prompt":"What's the current block height on Aptos? I need to verify my node is in sync with the latest chain state."},{"title":"Real-time Aptos block monitoring","prompt":"Keep checking the latest Aptos block every minute and alert me when a new block is produced that contains more than 50 transactions."},{"title":"Aptos DApp block reference","prompt":"Fetch the latest Aptos block data so I can use its timestamp and hash as a reference point for a smart contract interaction I'm about to execute."}],"resultDescription":"Returns the most recent block on the Aptos blockchain, including block number (height), block hash, timestamp, and associated transaction metadata. This reflects the current tip of the Aptos chain at query time.","failureModes":["Network timeout if Aptos RPC nodes are congested","402 Payment Required if USDC payment via x402 is not properly attached","Empty or malformed response if Aptos network is experiencing downtime","Rate limiting if too many calls are made in rapid succession","Stale block data if the upstream Aptos node is temporarily behind the chain tip"],"whenToPreferThis":"Use this endpoint when you need real-time Aptos blockchain head data without running your own node. It is well-suited for lightweight agents that need the current block height or hash on demand, particularly in pay-per-call workflows using x402/USDC micropayments rather than subscription-based RPC providers. Prefer this over managed RPC subscriptions for sporadic or low-frequency Aptos block queries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:52:06.765Z","isFirstParty":false}