{"uid":"cap_62AWBaOrNG_AcyrF78Wy6","slug":"fastx402-evm-gas-price-lookup-b3d42d29","name":"FastX402 EVM Gas Price Lookup","description":"200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.","url":"https://fastx402.tools/evm-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","required":[],"properties":{"chain":{"enum":["base","ethereum"],"type":"string","description":"base or ethereum (default base)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"block":{"type":"integer"},"chain":{"type":"string"},"base_fee_gwei":{"type":"string"},"gas_price_gwei":{"type":"string"},"priority_fee_gwei":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"block":52722598,"chain":"base","base_fee_gwei":"0.005","gas_price_gwei":"0.006","priority_fee_gwei":"0.001"}},"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_7s1HIRdbqz-LCX5ZIkQpM","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 current EVM gas price data (base fee, gas price, priority fee in Gwei) for Base or Ethereum networks","exampleAgentPrompt":"What are the current gas prices on Base right now — base fee, priority fee, and total gas price in Gwei?","exampleUseCases":[{"title":"Pre-transaction gas cost check","prompt":"Before I send this transaction, can you check the current gas price on Ethereum so I know if it's a good time to submit?"},{"title":"DeFi bot gas optimization","prompt":"Check the current base fee and priority fee on Base so my trading bot can decide whether to execute this swap now or wait for cheaper gas."},{"title":"Cross-chain gas comparison","prompt":"What are the current gas prices on both Base and Ethereum in Gwei? I want to see which network is cheaper right now."}],"resultDescription":"A JSON object containing the current block number, chain name, base fee in Gwei, total gas price in Gwei, and priority fee (miner tip) in Gwei for the requested EVM network. Example: {block: 52722598, chain: 'base', base_fee_gwei: '0.005', gas_price_gwei: '0.006', priority_fee_gwei: '0.001'}.","failureModes":["Invalid chain parameter (only 'base' and 'ethereum' are accepted) returns an error","Payment not received or x402 flow fails — request is rejected with HTTP 402 before data is returned","Network RPC unavailability may cause delayed or error responses","Stale block data if upstream node is lagging"],"whenToPreferThis":"Choose this endpoint when you need real-time EVM gas fee data for Base or Ethereum without setting up an API key or account. Ideal for AI agents executing or timing blockchain transactions, DeFi automation bots, or any workflow that needs current Gwei values. Prefer this over raw RPC calls when you want a simple pay-per-use HTTP GET with no auth setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T06:39:12.853Z","isFirstParty":false,"canonicalSlug":"fastx402-evm-gas-price-lookup-b3d42d29"}