{"uid":"cap_l2_QfjLwpxXPn9V0Mhag2","slug":"base-l2-gas-price-current-7b0d458b","name":"Base L2 Gas Price (Current)","description":"EVM gas oracle for any major chain - Ethereum, Base, Arbitrum, Optimism, Polygon, BNB, Avalanche: next-block baseFee plus slow, med and fast priority-fee tiers (maxFeePerGas and maxPriorityFeePerGas), read live from chain state in one call. Choose network (default Ethereum). EIP-1559 and legacy handled.","url":"https://api.agentstools.dev/gas","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"network":{"enum":["ethereum","base","arbitrum","optimism","polygon","bnb","avalanche"],"type":"string","description":"EVM network (default ethereum)."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bQDCOcYv2ZgxbmjKNgQRy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current gas price on the Base L2 network in gwei, read live from chain state via eth_gasPrice.","exampleAgentPrompt":"What's the current gas price on Base L2 right now in gwei?","exampleUseCases":[{"title":"Monitor Base gas before swapping tokens","prompt":"Check the gas price on Base before I execute my token swap so I can decide if now's a good time to trade."},{"title":"Alert me when Base fees drop low","prompt":"Keep checking Base L2 gas prices and let me know as soon as they drop below 5 gwei so I can batch my transactions."},{"title":"Estimate transaction costs on Base","prompt":"What's the current gas cost on Base right now? I need to know how much it'll cost me to bridge some tokens over."}],"resultDescription":"Returns the current Base L2 gas price as a numeric value in gwei, sourced live from the Base chain via eth_gasPrice RPC call.","failureModes":["Chain RPC node unavailable or lagging — stale or missing price data","Network congestion causing delayed response","Payment not authorized (x402 payment required, $0.005 USDC per call)","Malformed request if HTTP method is not GET/HEAD/DELETE"],"whenToPreferThis":"Use this endpoint when you need the current real-time gas price on the Base L2 network specifically, as opposed to Ethereum mainnet or other L2s. Ideal for agents that need to estimate transaction costs, time transactions for low-fee windows, or gate actions on gas price thresholds on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:57:04.438Z","isFirstParty":false}