{"uid":"cap_aXIdsc9Js5n3UBBYbwa4u","slug":"polygon-pos-gas-conditions-api-2f8c5781","name":"Polygon PoS Gas Conditions API","description":"Pay-per-call data for AI agents, paid in USDC on Base with x402: token risk checks (rug check) on Base, Ethereum, Arbitrum, Optimism, Polygon and Solana, onchain reads (balances, transactions, gas, contracts, NFTs, whale trades, new pools, ENS and Basenames), ECB exchange rates, and Canadian sales tax and business days.","url":"https://ca-tax-api-mainnet.lxtap.workers.dev/polygon/gas?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"required":{"type":"string"},"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"chain":"polygon","blockTime":"2026-10-22T15:50:44.000Z","nativeUsd":0.0905823,"baseFeeGwei":"248.763643361","blockNumber":95985915,"gasPriceGwei":"276.772562084","nativeSymbol":"POL","estimatedCost":{"erc20Transfer":{"usd":0.00163,"native":"0.01799021653546"},"nativeTransfer":{"usd":0.0005265,"native":"0.005812223803764"}},"maxPriorityFeeGwei":"28.008918723"}},"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_oJ_PT-KJoSECbS6RzmcXu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current Polygon PoS network gas conditions including block number, base fee, gas price, priority fee in gwei, and estimated transfer costs in POL and USD.","exampleAgentPrompt":"What are the current gas fees on Polygon PoS right now — give me the base fee, gas price, priority fee in gwei, and how much a native POL transfer and an ERC-20 transfer would cost in both POL and USD?","exampleUseCases":[{"title":"Pre-transaction gas cost check","prompt":"Before I send my USDC on Polygon, can you check the current gas fees and tell me how much the ERC-20 transfer will cost me in POL and USD right now?"},{"title":"DeFi bot gas optimization","prompt":"What's the current base fee and priority fee on Polygon PoS? I want to know if gas is cheap enough to execute my trade automatically."},{"title":"Wallet gas estimation dashboard","prompt":"Fetch the latest Polygon PoS gas conditions for me — block number, gas price in gwei, and the estimated cost in USD for both a native transfer and an ERC-20 transfer."}],"resultDescription":"Returns a JSON object containing the current Polygon PoS block number, base fee in gwei, gas price in gwei, priority fee in gwei, estimated cost of a native POL transfer in both POL and USD, and estimated cost of an ERC-20 transfer in both POL and USD (using the Chainlink POL/USD price feed).","failureModes":["Chainlink oracle unavailability may cause stale or missing USD price data","Polygon RPC node downtime could cause request failures or stale block data","High network congestion may result in rapidly outdated gas estimates by the time they are used","HTTP 402 payment required if the x402 payment header is missing or insufficient"],"whenToPreferThis":"Choose this endpoint when you need real-time Polygon PoS gas fee data including USD cost estimates for both native POL transfers and ERC-20 token transfers. It is particularly useful for DeFi bots, wallet UIs, and pre-transaction cost checks on Polygon. Prefer this over generic gas APIs when you specifically need POL/USD converted costs backed by a Chainlink oracle.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:45:18.850Z","isFirstParty":false,"canonicalSlug":"polygon-pos-gas-conditions-api-2f8c5781"}