{"uid":"cap_Nu9AgiAQ-4CJFjUnee4NB","slug":"multi-chain-gas-price-tracker-usd-normalized-4e26b77a","name":"Multi-Chain Gas Price Tracker (USD-Normalized)","description":"Live gas price on BNB Chain, Polygon, Arbitrum, Base, Avalanche and Optimism, converted to USD and ranked cheapest-first. Gwei is NOT comparable across chains because the gas token differs in price; USD is the only honest ranking. Returns chains[] with gasPriceGwei, baseFeeGwei, nativeUsd and costUsd for transfer, erc20Transfer and swap, plus cheapest and mostExpensive. Optional ?chain=all or one chain key; 400 unknown_chain otherwise. Send chain=all - a bare call skips the free tier.","url":"https://x402.donnyautomation.com/gas","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","required":[],"properties":{"chain":{"type":"string","description":"Pass `all` for every chain ranked cheapest-first, or one of bsc, polygon, arbitrum, base, avalanche, optimism. Omitting it also returns all six, but a parameterless request is treated as a catalogue crawler and goes straight to the paywall — send chain=all to use the free tier."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ts":"2026-07-31T00:00:00.000Z","chainId":56,"network":"bsc"}},"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_5dJy9fj3ExjhDFL-V2U3r","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 live gas prices across 6 EVM chains (BNB Chain, Polygon, Arbitrum, Base, Avalanche, Optimism) in gwei, base fee, and USD cost for transfers, ERC-20 transfers, and swaps, sorted cheapest-first.","exampleAgentPrompt":"Which blockchain has the cheapest gas right now for a token swap — compare BNB Chain, Polygon, Arbitrum, Base, Avalanche, and Optimism and show me the USD cost for each, ranked cheapest-first.","exampleUseCases":[{"title":"Cheapest chain routing for DeFi agent","prompt":"Before I execute this swap, check all six chains and tell me which one will cost me the least in USD for a token swap right now — rank them cheapest-first."},{"title":"Cross-chain bridge timing decision","prompt":"I want to bridge some funds and I'm flexible on which chain to land on — which of Arbitrum, Base, Optimism, Polygon, BNB Chain, and Avalanche has the lowest gas fees right now in USD?"},{"title":"ERC-20 transfer cost audit","prompt":"What's the current USD cost to send an ERC-20 token on each of the major chains? I need to pick the cheapest one for a batch of transfers I'm about to run."}],"resultDescription":"A JSON array of chain objects sorted cheapest-first, each containing: chain name, gas price in gwei, base fee, and the USD cost of a standard native transfer, an ERC-20 transfer, and a DEX swap. Enables direct USD-denominated comparison across chains without needing to account for differing gas token prices.","failureModes":["Missing or invalid chain parameter results in paywall redirect — always pass chain=all or a specific chain name","Invalid chain value (e.g. 'ethereum') returns an error; only bsc, polygon, arbitrum, base, avalanche, optimism are valid","RPC outage on one or more chains may cause partial results or stale data","Payment failure (x402) blocks access if USDC balance is insufficient","Network latency from on-chain RPC reads may occasionally return slightly stale gas data"],"whenToPreferThis":"Use this endpoint when you need USD-normalized gas cost comparisons across multiple EVM chains simultaneously — particularly for routing, bridging, or execution-timing decisions where raw gwei figures are misleading because gas token prices differ. Prefer this over chain-specific gas APIs when the goal is cross-chain ranking rather than monitoring a single network.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:45:35.442Z","isFirstParty":false}