{"uid":"cap_LgJcyrzZtPJj76XhbN8Hf","slug":"47620-polygon-gas-price-api-b87ba208","name":"47620 Polygon Gas Price API","description":"Current polygon gas price (gwei + wei) and the estimated cost of a 21k native transfer.","url":"https://47620.xyz/x/polygon/gas?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"],"type":"string"},"queryParams":{"type":"object","properties":{"fields":{"type":"string","description":"Optional comma-separated top-level response keys to keep (e.g. \"health,slot,solUsd\"). Omit for the full payload."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["ok","endpoint"],"properties":{"ok":{"type":"boolean"},"endpoint":{"type":"string"}},"additionalProperties":true}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gZEl4oH-zt-jBfVsiv7Dp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current Polygon network gas price in gwei and wei, plus the estimated cost of a standard 21,000 gas native POL transfer.","exampleAgentPrompt":"What's the current gas price on Polygon right now, in gwei and wei, and how much would a basic native transfer cost?","exampleUseCases":[{"title":"DeFi bot pre-flight gas check","prompt":"Before I submit this Polygon transaction, check what the current gas price is in gwei and whether a standard native transfer is affordable right now."},{"title":"Gas cost dashboard for Polygon","prompt":"I'm building a dashboard — can you pull the current Polygon gas price in both gwei and wei so I can display it to my users?"},{"title":"Automated transaction timing agent","prompt":"I want to send some POL but only when gas is low — fetch the current Polygon gas price so we can decide if now is a good time."}],"resultDescription":"A JSON object with a boolean 'ok' status and current Polygon gas price expressed in both gwei and wei, along with the estimated cost in native currency for a standard 21,000 gas transfer (the minimum for a native POL send).","failureModes":["Polygon RPC node unavailable — may return error or stale data","Network timeout if Polygon node is slow to respond","Invalid 'fields' query parameter returns unexpected or empty response","Rate limiting or payment failure (x402) if USDC payment is not processed"],"whenToPreferThis":"Use this endpoint when you need real-time Polygon gas prices (in both gwei and wei) and a ready-made estimate for a standard native POL transfer cost, without having to call a Polygon RPC node yourself. Prefer it over raw RPC calls when you want a simple, pay-per-call REST API with no node infrastructure setup. Choose it over generic gas aggregators when you specifically need Polygon data with a predictable cost per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:45:16.982Z","isFirstParty":false,"canonicalSlug":"47620-polygon-gas-price-api-b87ba208"}