{"uid":"cap_gUKQSvboCyHzj2zDeeSWo","slug":"gas-estimate-base-ethereum-09eda146","name":"Gas Estimate (Base & Ethereum)","description":"Pay-per-call x402 APIs for AI agents: OpenAI-compatible LLM chat, perp funding and arbitrage spreads, crypto prices, gas, FX, Solana SPL mint audit, token price by contract, x402 delivery-receipt verification, web search, clean page extraction, batch tools and deterministic code-security scanning. USDC on Base or Solana, no signup, no API key, from $0.0001 a call.","url":"https://scanpay-edge.alextaghiashvili.workers.dev/api/v1/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":{"network":{"enum":["base","ethereum"],"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"network":"base","estimates":{"slow":{"max_fee_gwei":0.055},"normal":{"max_fee_gwei":0.155}},"base_fee_gwei":0.005,"gas_price_gwei":0.006}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hPa8wABXwsl1yZRlnz-JQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live gas price and slow/normal/fast gas fee estimates for Base or Ethereum networks.","exampleAgentPrompt":"What are the current gas fees on Base — give me the slow, normal, and fast estimates in gwei.","exampleUseCases":[{"title":"Pre-transaction cost check on Ethereum","prompt":"Before I send this Ethereum transaction, what are the current slow, normal, and fast gas fee estimates in gwei so I can decide which tier to use?"},{"title":"Cheapest time to transact on Base","prompt":"What's the current base fee and gas price on Base right now? I want to see the slow estimate to minimize costs."},{"title":"Comparing gas across networks","prompt":"Can you pull the live gas estimates for both Base and Ethereum so I can see where fees are lower right now?"}],"resultDescription":"Returns a JSON object with the network name, current base_fee_gwei, gas_price_gwei, and an estimates object containing slow and normal (and optionally fast) max_fee_gwei values — all in gwei units for the requested network.","failureModes":["Invalid or missing network parameter returns an error (only 'base' and 'ethereum' are accepted)","Upstream RPC provider unavailability may cause stale or failed responses","Payment failure (insufficient USDC or x402 payment not processed) returns 402 Payment Required","Network congestion may cause slight latency in real-time data freshness"],"whenToPreferThis":"Use this endpoint when you need real-time gas fee estimates for Base or Ethereum before submitting a transaction, optimizing transaction timing, or displaying current network costs to users. Prefer this over on-chain RPC calls when you want a simple REST interface with tiered slow/normal/fast estimates already computed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:33:21.906Z","isFirstParty":false,"canonicalSlug":"gas-estimate-base-ethereum-09eda146"}