{"uid":"cap_P4pcOtZtD13V9KFBNYbs6","slug":"base-gas-oracle-a37fcee6","name":"Base Gas Oracle","description":"Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.","url":"https://anibalb.duckdns.org/x402/gas-oracle?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"chain":"base","estimates":{"native_transfer":{"gas_units":21000,"cost_native":0.00014}},"native_token":"ETH","base_fee_gwei":0.005,"gas_price_gwei":0.006,"priority_fee_gwei":0.001}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_t0nD_StJz91BsWiS3Pftu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current gas price estimates for the Base blockchain, including base fee, priority fee, and cost estimates for common operations like native ETH transfers.","exampleAgentPrompt":"What's the current gas price on the Base network right now — give me the base fee, priority fee, and an estimate of what a simple ETH transfer would cost?","exampleUseCases":[{"title":"Pre-transaction gas cost check","prompt":"Before I send ETH on Base, what are the current gas fees? I need the base fee and priority fee in gwei, and a rough cost estimate for a standard transfer."},{"title":"DApp gas fee display","prompt":"Pull the latest gas oracle data for Base so I can show users how much their transaction will cost before they confirm it."},{"title":"Gas price monitoring for timing","prompt":"Check the current gas price on Base for me — I want to know if it's cheap enough right now to batch my transactions or if I should wait."}],"resultDescription":"Returns a JSON object with the current chain name ('base'), native token ('ETH'), base fee in gwei, total gas price in gwei, priority fee in gwei, and a breakdown of estimated costs for common operations (e.g., native ETH transfer: 21,000 gas units and cost in ETH).","failureModes":["Network or RPC unavailability returns an error response","Stale data if Base node is temporarily lagging","Payment failure (insufficient USDC on Base) returns HTTP 402","Malformed or missing query parameters return a 4xx error"],"whenToPreferThis":"Use this endpoint when you need real-time gas price data specifically for the Base L2 network, especially when building transaction cost estimators, DApps that display fee previews, or automation that times transactions around low gas periods. It requires no API keys and charges per call in USDC via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:41.053Z","isFirstParty":false,"canonicalSlug":"base-gas-oracle-a37fcee6"}