{"uid":"cap_pmqmZomlmB7tut0lubzq-","slug":"evm-gas-price-comparator-76fae646","name":"EVM Gas Price Comparator","description":"Which EVM chain is cheapest to execute on right now? Live gas price on Base, Ethereum, Arbitrum, Optimism, Polygon and BSC, converted to USD per native transfer (21k gas), ERC-20 transfer (65k) and swap (150k), sorted cheapest first, with cheapest chain, Ethereum-vs-cheapest multiple and a one-line recommendation. chains=base,ethereum,... to filter, gas=N for your own gas units. Multi-RPC failover per chain, native prices Binance>OKX>Coinbase, 30s cache.","url":"https://kr-x402-mvp.kgy5612.workers.dev/crypto/gas-compare?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"chains":[{"chain":"base","native":"ETH","chain_id":8453,"swap_usd":0.0011,"upstream":"https://base.drpc.org","latency_ms":80,"native_usd":3850.1,"transfer_usd":0.000154,"gas_price_gwei":0.0019,"erc20_transfer_usd":0.000476,"rollup_l1_fee_extra":true}],"cheapest":"base","gas_units":{"swap":150000,"transfer":21000,"erc20_transfer":65000},"sorted_by":"swap_usd","updated_at":"2026-10-30T01:30:00Z","recommendation":"Execute on base (~180x cheaper than Ethereum L1); ...","cheapest_swap_usd":0.0011,"ethereum_vs_cheapest_x":180}},"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_xEBiTVet-aBmWGHorKGU2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 Base, Ethereum, Arbitrum, Optimism, Polygon, and BSC converted to USD costs for transfers and swaps, sorted cheapest-first with a chain recommendation.","exampleAgentPrompt":"Which EVM chain is cheapest right now to do a token swap — compare Base, Arbitrum, Optimism, and Ethereum and tell me how much cheaper the best option is versus Ethereum mainnet.","exampleUseCases":[{"title":"Cheapest chain routing for DeFi bot","prompt":"Before I execute this token swap, check which chain — Base, Arbitrum, Optimism, or Ethereum — has the lowest swap fee right now in USD and tell me how much I'd save versus doing it on Ethereum mainnet."},{"title":"ERC-20 transfer cost audit","prompt":"I need to send an ERC-20 token to a friend. Check current gas prices across Base, Polygon, BSC, and Ethereum and tell me which chain is cheapest for a standard ERC-20 transfer right now."},{"title":"Custom gas units cost estimate","prompt":"I have a contract interaction that uses roughly 200000 gas units. Compare the cost in USD across all supported EVM chains right now and recommend the cheapest one to execute on."}],"resultDescription":"A JSON object containing per-chain data (gas price in gwei, USD cost for native transfer, ERC-20 transfer, and swap, upstream RPC URL, latency, native token price), sorted cheapest-first by swap cost, plus a top-level 'cheapest' chain name, Ethereum-vs-cheapest multiplier, a one-line human-readable recommendation, and a timestamp of when prices were last updated.","failureModes":["All RPCs for a chain fail — that chain may be omitted or return stale data","Binance/OKX/Coinbase price feeds unavailable — native token USD conversion may fail","Invalid chain name in filter returns empty or partial results","Payment not processed (x402) — 402 response with payment instructions","Rate limiting or Cloudflare Worker timeout under high load"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to make real-time routing decisions about which EVM chain to use for a transaction, especially when minimizing gas costs in USD terms. It is purpose-built for agentic on-chain workflows that must compare multiple chains simultaneously, need USD-denominated cost estimates for different transaction types (transfer, ERC-20, swap), and want a ready-made recommendation rather than raw gwei values. Prefer it over querying individual chain RPCs directly when you need cross-chain comparison in a single call with multi-RPC failover reliability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:58.117Z","isFirstParty":false,"canonicalSlug":"evm-gas-price-comparator-76fae646"}