{"uid":"cap_mcN45lfOs4KruosFEDfKH","slug":"phantom-api-polygon-latest-block-4c430fef","name":"Phantom API — Polygon 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/polygon/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_IkbGMCvhStGxG6TwJLjxi","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":"Retrieves the most recent block data from the Polygon blockchain network in real time","exampleAgentPrompt":"What's the latest block on the Polygon network right now — give me the block number, hash, and timestamp?","exampleUseCases":[{"title":"Real-time Polygon block monitoring","prompt":"Keep checking the Polygon network and tell me the latest block number and timestamp every time a new block is confirmed."},{"title":"DApp chain sync validation","prompt":"My dApp needs to know the current Polygon block height so I can verify we're synced to the chain head — can you fetch the latest block data?"},{"title":"On-chain event timing reference","prompt":"I need to know exactly what block Polygon is at right now so I can anchor my smart contract event timestamps to the correct chain height."}],"resultDescription":"Returns the latest Polygon block data including block number, block hash, parent hash, timestamp, miner address, gas used, gas limit, transaction count, and other standard block header fields from the Polygon network.","failureModes":["Network or RPC node unavailability returns a 5xx error","Payment failure or insufficient USDC balance results in a 402 response blocking the call","Malformed request body returns a 400 validation error","Transient Polygon node sync lag may return a slightly stale block"],"whenToPreferThis":"Choose this endpoint when you need real-time Polygon block data via a pay-per-call model without committing to a subscription RPC provider. Ideal for lightweight agents or scripts that query block data infrequently and want to avoid API key management overhead. Prefer this over Alchemy or Infura when you need a simple x402 micropayment-compatible flow for Polygon specifically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:42:02.551Z","isFirstParty":false,"canonicalSlug":"phantom-api-polygon-latest-block-4c430fef"}