{"uid":"cap_qVKGmOuWzaGpyFCpKUgsY","slug":"base-toolbox-gas-price-lookup-a9c42542","name":"Base Toolbox – Gas Price Lookup","description":"Base toolbox: before you sign on Base — Uniswap v3 preflight, leftover allowances, tx explain, transfer check. $0.10 USDC. Also $0.001 price/gas/ENS. GET /v1/constants free. No CoinGecko key.","url":"https://basetoolbox.cartonpliant.workers.dev/v1/base-gas","method":"POST","headers":{},"bodySchema":{"properties":{"input":{"type":"object"},"output":{"type":"object"}}},"responseSchema":{"type":"json","example":{"ok":true,"base_fee_gwei":0.02,"transfer_21k_wei":"420000000000"}},"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_mFjNH1-T4zehWB5gP75XK","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 the current Base network gas price (base fee in gwei and estimated 21k-gas transfer cost in wei)","exampleAgentPrompt":"What's the current gas price on Base right now — give me the base fee in gwei and how much a standard 21,000-gas transfer would cost in wei?","exampleUseCases":[{"title":"Pre-flight gas check before swap","prompt":"Before I approve this Uniswap trade on Base, can you check what the current gas fee is so I know if it's worth executing right now?"},{"title":"Gas cost alert for automation bot","prompt":"Check the current Base gas price and tell me the base fee in gwei — I want to know if it's below 0.05 gwei before triggering my batch transaction."},{"title":"Cost estimate for ETH transfer","prompt":"I'm about to send some ETH on Base to a friend — what's the current gas price and how much will a standard transfer actually cost me in wei?"}],"resultDescription":"A JSON object with three fields: 'ok' (boolean indicating success), 'base_fee_gwei' (current Base network base fee as a decimal number in gwei, e.g. 0.02), and 'transfer_21k_wei' (estimated cost in wei for a standard 21,000-gas ETH transfer as a string, e.g. '420000000000').","failureModes":["Network or RPC failure — ok: false with error message","Rate limiting from the underlying Base RPC node","Stale data if the Base node is temporarily behind","Invalid request body format — may return 400 or empty response"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap ($0.001 USDC) real-time gas price on Base L2 without needing a CoinGecko API key or running your own RPC node. Ideal for preflight transaction checks, DeFi bots, and gas-gating logic on the Base network specifically. Prefer over general Ethereum mainnet gas APIs when the target chain is Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:46:41.292Z","isFirstParty":false}