{"uid":"cap_Pj_-ObWW0HPyYTFFjdfdy","slug":"base-network-gas-price-oracle-1f54a859","name":"Base Network Gas Price Oracle","description":"Pay-per-call JSON APIs for AI agents, paid per request with x402 (USDC on Base).","url":"https://x402op-edge-39830b.fly.dev/p/base-gas?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"network":{"enum":["base","base-sepolia"],"type":"string","default":"base"}}},"responseSchema":null,"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_43C_MdvCZKcs1HgQo2PrU","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 current gas price data for the Base (or Base Sepolia) network via a pay-per-call x402 micropayment API.","exampleAgentPrompt":"What's the current gas price on Base mainnet right now?","exampleUseCases":[{"title":"Pre-transaction gas check for DeFi agent","prompt":"Before you submit that swap on Base, check what the current gas price is so we know if it's worth executing now or if we should wait for cheaper fees."},{"title":"Testnet gas fee validation","prompt":"What's the current gas price on Base Sepolia so I can estimate how much ETH I need in my test wallet before deploying my contract?"},{"title":"Gas price monitoring for cost optimization","prompt":"Check the current gas price on Base mainnet — I want to know if fees are low enough to batch my on-chain transactions right now."}],"resultDescription":"Returns current gas price data for the specified Base network (mainnet or Sepolia testnet), enabling agents to estimate transaction costs before submission. Response includes gas price metrics relevant to the Base L2 network.","failureModes":["Invalid network value (not 'base' or 'base-sepolia') returns a validation error","Payment failure or insufficient USDC balance causes a 402 response without data","Network connectivity issues to Base RPC may cause timeouts or stale data","Rate limiting if payment verification fails"],"whenToPreferThis":"Choose this endpoint when your agent needs real-time Base network gas prices specifically — especially in automated DeFi workflows, pre-transaction cost checks, or when optimizing transaction timing on Base mainnet or Base Sepolia testnet. Prefer this over general Ethereum gas oracles when you are specifically working on the Base L2.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:30:30.923Z","isFirstParty":false,"canonicalSlug":"base-network-gas-price-oracle-1f54a859"}