{"uid":"cap_fLsvpxtGy5hvgF5HEPVRs","slug":"base-gas-price-oracle-a4a1c9ee","name":"Base Gas Price Oracle","description":"Base mainnet gas price via public RPC (keyless). eth_gasPrice (+ optional latest block). Data only — not advice.","url":"https://x402-v2-mint-base-gas-price.vercel.app/v1/base-gas-price?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request_id":{"type":"string"},"include_block":{"type":"boolean","default":false,"description":"Also return latest blockNumber"}}},"responseSchema":{"type":"json","example":{"ok":true,"skill":"base-gas-price","charged":true,"summary":"ok"}},"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_MlAtJhb7-W3yD3oz-Vj1X","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 the current gas price on the Base blockchain network, optionally including the latest block number.","exampleAgentPrompt":"What's the current gas price on Base right now — and can you also include the latest block number so I can cross-reference the timing?","exampleUseCases":[{"title":"Pre-transaction gas estimation","prompt":"Before I send this transaction on Base, can you check the current gas price so I can estimate the total fee?"},{"title":"Gas fee spike monitoring alert","prompt":"Check the current Base gas price for me — I want to know if it's spiked since last hour so I can decide whether to wait before submitting my batch."},{"title":"DeFi bot fee threshold check","prompt":"Pull the current Base gas price and the latest block number — my bot needs to confirm fees are under 0.1 gwei before it executes the swap."}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating success, the skill name ('base-gas-price'), a 'charged' flag confirming the $0.002 USDC micropayment was processed, a summary status string, and optionally the latest block number if include_block was set to true.","failureModes":["RPC node unavailable — Base network connectivity issues causing lookup failure","Invalid request_id format causing request rejection","Payment failure via x402 protocol resulting in 402 response before data is returned","Rate limiting or quota exceeded for the endpoint","Stale or delayed gas price data if the underlying Base RPC is lagging"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call lookup of the current Base network gas price without managing your own RPC node or API key. Ideal for agents that need real-time gas data infrequently (avoiding subscription costs) or for workflows that require atomic micropayment-gated data access via the x402 protocol. Prefer alternatives if you need historical gas price data, gas price predictions, or multi-chain gas comparisons.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-28T00:30:51.330Z","isFirstParty":false,"canonicalSlug":"base-gas-price-oracle-a4a1c9ee"}