{"uid":"cap_4YYQ8mPx-3Jle8q4H1w5D","slug":"financial-data-x402-gas-oracle-8cda722d","name":"Financial Data x402 – Gas Oracle","description":"Pay-per-call stock, macro, on-chain, and crypto data over the x402 protocol. USDC on Base or Solana, no API keys, no subscriptions.","url":"https://x402financialdata.com/gas-oracle","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"required":{"type":"string"},"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"chain":"eth","as_of_block":23467872,"gas_price_gwei":{"fast":0.5541,"safe":0.4968,"propose":0.4968},"suggest_base_fee_gwei":0.4968}},"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_JZNAKBKMMaiDlIiAJQI86","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 current Ethereum gas price recommendations (fast, safe, proposed) and suggested base fee in Gwei for a given block.","exampleAgentPrompt":"What's the current Ethereum gas price — give me the fast, safe, and proposed Gwei estimates along with the suggested base fee.","exampleUseCases":[{"title":"Pre-transaction gas cost check","prompt":"Before I submit this ETH transfer, what are the current fast, safe, and proposed gas prices in Gwei so I can choose the right fee tier?"},{"title":"DeFi bot fee optimization","prompt":"I'm about to execute a trade on Ethereum — what's the current gas oracle saying for fast vs safe Gwei so my bot can pick the cheapest option that still confirms quickly?"},{"title":"Gas price monitoring dashboard","prompt":"Pull the latest Ethereum gas oracle data including the suggested base fee and the block it was measured at so I can update my real-time fee tracker."}],"resultDescription":"A JSON object containing the chain identifier (e.g. 'eth'), the block number the data was measured at, and three gas price tiers in Gwei (fast, safe, propose), plus a suggested base fee in Gwei.","failureModes":["Payment not included or insufficient USDC — returns HTTP 402 requiring x402 payment","Unsupported or unrecognized chain parameter — may return empty or error response","Network congestion or upstream RPC failure — may return stale or unavailable data","Rate limiting if payment not properly settled on Base or Solana"],"whenToPreferThis":"Choose this endpoint when you need a real-time, pay-per-call gas oracle with no API key setup or subscription, particularly useful for autonomous agents that execute blockchain transactions and need current Ethereum gas fee tiers on demand. Prefer this over subscription-based alternatives when usage is sporadic or when operating in an x402-native payment environment with USDC on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:40:07.464Z","isFirstParty":false}