{"uid":"cap_bAbJNEYA1r4ds6WXWzmFP","slug":"aayat-ai-gas-fees-24f87bb1","name":"Aayat AI Gas Fees","description":"Live network fees on Ethereum, Base, Arbitrum, Optimism, Polygon, BNB, Avalanche, Solana and Bitcoin: slow/standard/fast fee rates, congestion and trend, and the USD cost of a send, token transfer and swap on each, plus the cheapest chain now. Pick chains with chains (e.g. base,solana); all by default.","url":"https://aayatai.com/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":{"chains":{"type":"string","maxLength":120,"description":"Comma-separated chains (default all): ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, solana, bitcoin."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["chains","cheapest"],"properties":{"chains":{"type":"array","items":{"type":"object","properties":{"unit":{"type":"string"},"chain":{"type":"string"},"costs":{"type":"object","description":"Cost of common actions at standard speed: {native, usd}."},"trend":{"enum":["rising","falling","steady"],"type":"string"},"speeds":{"type":"object","description":"slow, standard, fast fee rates in `unit`."},"symbol":{"type":"string"},"baseFee":{"type":["number","null"]},"nativeUsd":{"type":["number","null"]},"congestion":{"enum":["low","normal","high"],"type":"string"}}}},"source":{"type":"string"},"cheapest":{"type":"object","description":"Cheapest chain now for a transfer and a swap (USD)."},"checkedAt":{"type":"string"},"unavailable":{"type":"array","description":"Chains whose fee source did not answer."}}}}}}},"responseSchema":{"type":"json","example":{"chains":[{"note":"Layer-2 costs exclude the small L1 data fee.","unit":"gwei","chain":"base","costs":{"swap":{"usd":0.0029,"native":0.0000011},"transfer":{"usd":0.00034,"native":1.28e-7},"tokenTransfer":{"usd":0.00105,"native":3.97e-7}},"trend":"steady","speeds":{"fast":0.0072,"slow":0.0051,"standard":0.0061},"symbol":"ETH","baseFee":0.005,"gasPrice":0.006,"nativeUsd":2650,"congestion":"low"}],"source":"Public RPC nodes, mempool.space, DexScreener prices","cheapest":{"swap":{"usd":0.0029,"chain":"base"},"transfer":{"usd":0.00034,"chain":"base"}},"checkedAt":"2026-09-28T12:00:00.000Z","unavailable":[]}},"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_Gcqsdsxii61sWgLRkyHpH","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 real-time gas fees, congestion levels, and transaction cost estimates (transfer, token transfer, swap) across major EVM and non-EVM chains","exampleAgentPrompt":"What are the current gas fees on Base, Ethereum, and Arbitrum — which one is cheapest for doing a swap right now, and is congestion high anywhere?","exampleUseCases":[{"title":"Cheapest chain routing for DeFi swap","prompt":"I want to do a token swap but I'm not sure which chain to use — can you check current gas fees across Ethereum, Base, Arbitrum, and Optimism and tell me which one will cost the least in USD right now?"},{"title":"Pre-transaction gas budget check","prompt":"Before I send a batch of token transfers, what are the current gas prices on Polygon and BSC in gwei, and what would each transfer cost in USD at standard speed?"},{"title":"Gas congestion monitoring for timing a trade","prompt":"Is gas congestion currently low, normal, or high on Ethereum and Avalanche? I want to know if fees are rising or falling so I can decide whether to wait before executing my trade."}],"resultDescription":"A JSON object containing per-chain data including gas price, base fee, slow/standard/fast speed tiers in the chain's native fee unit, estimated USD and native-token costs for common actions (ETH transfer, token transfer, swap), congestion level (low/normal/high), price trend (rising/falling/steady), and native token USD price. Also includes a 'cheapest' summary object identifying the lowest-cost chain for transfers and swaps, a timestamp, and a list of any chains whose data was unavailable.","failureModes":["Chain data source unavailable — chain appears in 'unavailable' array with no cost data","Invalid chain name in query parameter returns empty or partial results","Public RPC node timeout causes missing data for one or more chains","Payment failure via x402 if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when an AI agent needs real-time, multi-chain gas fee data to make routing decisions (e.g. picking the cheapest chain for a swap or transfer), to gate a transaction on low congestion, or to estimate transaction costs in USD before execution. Prefer this over manually querying RPC nodes when you need normalized, cross-chain fee comparisons with trend and congestion signals in a single call. Pay-per-use with no API key makes it ideal for autonomous agents.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T18:38:48.340Z","isFirstParty":false,"canonicalSlug":"aayat-ai-gas-fees-24f87bb1"}