{"uid":"cap_FzXiUSld8KutrNseAcd1I","slug":"live-gas-prices-api-base-fee-priority-fee-percentiles-4832f200","name":"Live Gas Prices API (Base Fee + Priority Fee Percentiles)","description":"Live gas prices (base fee + priority fee percentiles) from public RPC. 0.01 USDC/call on Base.","url":"https://task-radar-x402.vercel.app/api/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":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object","properties":{"chains":{"type":"string","description":"Comma list: ethereum,base,arbitrum,optimism,polygon,bsc (default all)"}}}}}}},"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_D2S4mSMLAVuwv_LJ7Pf3L","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":"Returns real-time gas prices including base fee and priority fee percentiles for one or more EVM chains via public RPC.","exampleAgentPrompt":"What are the current gas prices on Ethereum and Base right now — give me the base fee and priority fee percentiles so I can decide when to send my transaction.","exampleUseCases":[{"title":"Pre-transaction gas check","prompt":"Before I submit this swap on Arbitrum, can you check the current gas prices — base fee and priority fee percentiles — so I know what tip to set?"},{"title":"Multi-chain gas comparison","prompt":"Compare current gas prices across Ethereum, Base, and Polygon for me — I want to pick the cheapest chain to deploy my contract on right now."},{"title":"Gas spike monitoring","prompt":"Check the live base fee on Ethereum right now and tell me if it's unusually high compared to typical values — I'm trying to time my transaction."}],"resultDescription":"Returns current gas price data for the requested chains including the latest base fee and priority fee percentiles (e.g. 25th, 50th, 75th, 95th percentile tip values), fetched directly from public RPC endpoints in real time.","failureModes":["Unsupported chain name returns an error or is ignored","Public RPC node downtime may cause stale or missing data","Malformed chain list parameter causes a 400 error","Rate limiting or payment failure (x402) if USDC payment not processed"],"whenToPreferThis":"Use this endpoint when you need real-time, multi-chain gas fee data including both base fee and priority fee percentiles for user-facing transaction cost estimation or timing decisions. Prefer this over static gas oracles when freshness matters and when you need percentile breakdowns for tip selection.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:11.527Z","isFirstParty":false,"canonicalSlug":"live-gas-prices-api-base-fee-priority-fee-percentiles-4832f200"}