{"uid":"cap_uvGhvwy4c2-jEfGRrk8RS","slug":"saylor-innovations-on-chain-lookups-latest-polygon-block-30e4999f","name":"Saylor Innovations On-Chain Lookups — Latest Polygon Block","description":"EVM Block (polygon) — On-Chain Data","url":"https://saylorinnovations.com/api/evm/polygon/block/latest?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST","PUT","PATCH","DELETE","HEAD"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["chain","number","hash"],"properties":{"hash":{"type":"string"},"time":{"type":"string"},"chain":{"type":"string"},"miner":{"type":"string"},"number":{"type":["number","null"]},"gas_used":{"type":["number","null"]},"tx_count":{"type":["number","null"]},"gas_limit":{"type":["number","null"]},"timestamp":{"type":["number","null"]},"base_fee_gwei":{"type":["number","null"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gIP4YvpTJtm7cgh5Mbmc2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the latest block data from the Polygon (EVM) blockchain, including block number, hash, timestamp, gas metrics, miner, and transaction count.","exampleAgentPrompt":"Can you grab the latest block from the Polygon chain — I need the block number, hash, timestamp, gas used, and how many transactions it included?","exampleUseCases":[{"title":"Real-time Polygon block height monitor","prompt":"What's the current block number on Polygon? I want to make sure the chain is still producing blocks and see the latest hash and timestamp."},{"title":"Gas fee check before on-chain action","prompt":"Before I submit this Polygon transaction, can you pull the latest block and tell me the current base fee in gwei and the gas limit?"},{"title":"Block explorer data enrichment","prompt":"I'm building a dashboard — can you fetch the most recent Polygon block and give me the miner address, transaction count, gas used, and block timestamp?"}],"resultDescription":"Returns a JSON object containing the chain name ('polygon'), block number, block hash, ISO timestamp, Unix timestamp, miner address, gas used, gas limit, transaction count, and base fee in gwei for the most recently produced Polygon block.","failureModes":["Network or RPC node unavailability may cause timeout or 503 error","Payment failure (x402) if USDC balance is insufficient or payment not attached","Polygon chain reorganization may cause the 'latest' block to shift between calls","Null values for gas_used, tx_count, gas_limit, base_fee_gwei if block data is partially unavailable","Rate limiting if too many requests are made in quick succession"],"whenToPreferThis":"Choose this endpoint when you specifically need real-time block-level metadata from the Polygon network — block number, hash, gas metrics, and miner. Prefer it over general block explorers when you need a programmatic, pay-per-call API that integrates with x402 micropayment flows. Use it over Ethereum or Arbitrum sibling endpoints when your target chain is Polygon (MATIC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:48:34.973Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-on-chain-lookups-latest-polygon-block-30e4999f"}