{"uid":"cap_iG00p8tXiaYa0rgJQsOpC","slug":"base-gas-oracle-abed5672","name":"Base Gas Oracle","description":"Returns current Base gas fees (baseFee, maxPriorityFee) and three tiered suggestions (slow, normal, fast) in Gwei, derived live from the Base RPC. Built for agents that time or cost-estimate transactions.","url":"https://402.com.tr/api/x402/gas-oracle","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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gkEm-u-oMRHEk3CM3Wjt9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live Base network gas fees including baseFee, maxPriorityFee, and slow/normal/fast tiered suggestions in Gwei for transaction cost estimation","exampleAgentPrompt":"What are the current gas fees on Base? I want to know the baseFee, maxPriorityFee, and the slow, normal, and fast tier suggestions in Gwei before I submit my transaction.","exampleUseCases":[{"title":"Time a DeFi swap for cheap gas","prompt":"Check the current gas fees on Base and tell me if it's a good time to submit my swap — give me the slow, normal, and fast Gwei tiers so I can decide."},{"title":"Cost-estimate an NFT mint","prompt":"I'm about to mint an NFT on Base. What's the current baseFee and fast-tier gas suggestion so I can estimate how much it'll cost me in ETH?"},{"title":"Monitor gas before batch transaction","prompt":"Before I send a batch of transactions on Base, can you pull the live gas oracle and tell me the current baseFee and the normal gas tier in Gwei?"}],"resultDescription":"Returns a JSON object with the current Base network baseFee and maxPriorityFee, plus three tiered gas price suggestions (slow, normal, fast) all expressed in Gwei, derived live from the Base RPC node.","failureModes":["Base RPC node unavailable — upstream connectivity failure returns an error response","Stale or delayed gas data if the RPC node is lagging behind the chain tip","Rate limiting or payment failure if the x402 micropayment of $0.01 USDC is not processed correctly","Malformed response if the Base RPC returns unexpected data format"],"whenToPreferThis":"Use this endpoint when you need real-time Base network gas fee data specifically — including tiered slow/normal/fast suggestions — for transaction timing or cost estimation on the Base L2. Prefer this over generic Ethereum mainnet gas oracles when your transactions are on Base. It is especially useful for agents that need to decide whether to submit a transaction immediately or wait for cheaper gas.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:09:38.678Z","isFirstParty":false}