{"uid":"cap_m7A4C2LO62_S2Pzx5kjzr","slug":"base-l2-live-gas-price-feed-f8c6b329","name":"Base L2 Live Gas Price Feed","description":"Live Base L2 gas price in wei/gwei","url":"https://pyfile-agent.taile3ff35.ts.net/data/gas/base","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":{}}}},"output":{"type":"object"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pzdcd8aXPLnTvkWfGUUEe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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 L2 network gas price in both wei and gwei units","exampleAgentPrompt":"What's the current gas price on Base L2 right now — give me both the wei and gwei values so I can estimate my transaction costs.","exampleUseCases":[{"title":"Pre-transaction gas cost check","prompt":"Before I submit this swap on Base, can you check what the current gas price is so I know if it's a good time to transact or if I should wait for fees to drop?"},{"title":"DeFi bot gas optimization","prompt":"I'm about to execute a series of DeFi transactions on Base — fetch the live gas price in gwei so my bot can decide whether the fee makes the trade profitable."},{"title":"Gas price alert monitoring","prompt":"Check the current Base L2 gas price right now and let me know if it's under 0.05 gwei — I want to time my NFT mint when fees are low."}],"resultDescription":"Returns the current Base L2 gas price expressed in wei (raw integer) and gwei (human-readable decimal), reflecting live network conditions at the time of the request.","failureModes":["Base RPC node unavailable or rate-limited — returns 5xx error","Stale data if upstream node is lagging behind the chain tip","Payment of 0.003 USDC not received — returns 402 Payment Required","Malformed response if Base network is undergoing an incident"],"whenToPreferThis":"Use this endpoint when you need a real-time, single-call lookup of Base L2 gas prices without needing to run your own Ethereum node or manage RPC credentials. Ideal for agents that need to gate or time transactions based on current fee conditions, or for displaying estimated costs to end users before executing Base network operations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:41:18.946Z","isFirstParty":false}