{"uid":"cap_h-lZ5n87MlTXYUAji-Max","slug":"base-network-real-time-gas-price-oracle-c9e45269","name":"Base Network Real-Time Gas Price Oracle","description":"Le contrôle technique de votre site vitrine : 20 points vérifiés (SEO Google, vitesse, accessibilité), rapport clair et plan d&#x27;action sous 24 h. 19 € TTC.","url":"https://audit-site-web.pga-agent.fr/api/base-gas-now?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":{"const":"http"},"method":{"enum":["GET","HEAD","DELETE","POST","PUT","PATCH"]}}},"output":{"type":"object"}}},"responseSchema":{"type":"json","example":{"l1_fee":{"note":"GasPriceOracle getL1Fee on sample transactions of 110 and 175 bytes","eth_transfer_usd":0.00000181838,"eth_transfer_wei":675169071,"erc20_transfer_usd":0.00000274775,"erc20_transfer_wei":1020245539},"sources":[{"name":"Base JSON-RPC (eth_getBlockByNumber, eth_feeHistory, GasPriceOracle, eth_estimateGas)","fetched_at":"2026-10-04T01:09:25Z"},{"name":"GeckoTerminal WETH price on Base (Powered by CoinGecko)","fetched_at":"2026-10-04T01:09:25Z"}],"chain_id":8453,"cost_note":"estimated at the base fee of the latest block plus the observed median tip; L2 fee plus L1 data fee","disclaimer":"information, not investment advice","block_number":52143409,"base_fee_gwei":0.005,"eth_price_usd":2693.225,"eth_transfer_cost":{"gas_units":21000,"total_eth":1.26715e-7,"total_usd":0.000341273,"l1_fee_eth":6.75169e-10,"l2_fee_eth":1.2604e-7},"priority_fee_gwei":{"low":0.0000125,"high":0.0039007,"medium":0.00100192},"erc20_transfer_cost":{"gas_units":62736,"total_eth":3.77556e-7,"total_usd":0.00101684,"l1_fee_eth":1.02025e-9,"l2_fee_eth":3.76536e-7}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yn838mFP93uzr5OnN6C3b","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current gas prices, transaction cost estimates, and ETH price for the Base L2 blockchain network","exampleAgentPrompt":"What are the current gas fees on Base right now — give me the cost in USD for a standard ETH transfer and an ERC-20 transfer, including L1 data fees?","exampleUseCases":[{"title":"Pre-transaction cost check for DeFi","prompt":"Before I send this ERC-20 token on Base, what will the gas fee cost me in USD right now, including the L1 data fee component?"},{"title":"ETH price monitoring on Base","prompt":"What is the current ETH price on Base and what block number are we on? I want to know the low, medium, and high priority fee options too."},{"title":"Gas budget estimation for agent workflow","prompt":"I'm building an automation that sends multiple transactions on Base — can you tell me the current base fee in gwei and the estimated total cost in ETH for a standard ETH transfer so I can budget correctly?"}],"resultDescription":"A JSON object containing: chain ID (8453 for Base), current block number, base fee in gwei, ETH price in USD, priority fee tiers (low/medium/high in gwei), ETH transfer cost breakdown (gas units, total ETH, total USD, L1 fee, L2 fee), ERC-20 transfer cost breakdown, L1 fee oracle estimates for sample transaction sizes, and metadata about data sources (Base JSON-RPC and GeckoTerminal) with fetch timestamps.","failureModes":["Base RPC node unavailable — may return stale or error response","GeckoTerminal/CoinGecko price feed down — ETH price may be missing or outdated","Network congestion causing delayed block data","Payment of 0.003 USDC required via x402 protocol — missing or invalid payment header returns 402","Transient JSON-RPC errors for eth_feeHistory or GasPriceOracle calls"],"whenToPreferThis":"Choose this endpoint when you need real-time, combined gas fee and ETH price data specifically for the Base L2 network in a single call. It provides both L2 execution fees and L1 data fees (via GasPriceOracle), saving you from making multiple separate RPC calls. Prefer this over raw RPC calls when you want pre-calculated USD cost estimates for common transaction types (ETH transfer, ERC-20 transfer) without building the calculation logic yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:32:17.074Z","isFirstParty":false,"canonicalSlug":"base-network-real-time-gas-price-oracle-c9e45269"}