{"uid":"cap_QfkKmgLVm6TxjMGEYI-i8","slug":"base-gas-price-oracle-640793d0","name":"Base Gas Price Oracle","description":"Pay-per-call API for AI agents: turn any public web page or PDF into clean, LLM-ready Markdown. $0.002 per call in USDC on Base via x402. No API key, no signup.","url":"https://lin-desk-x402.lindesk.workers.dev/v1/base/gas?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"required":{"type":"string"},"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"as_of":1791020277,"chain":"base","tiers":{"low":{"max_fee_gwei":0.010001,"max_priority_fee_gwei":0.000001},"high":{"max_fee_gwei":0.014,"max_priority_fee_gwei":0.004},"medium":{"max_fee_gwei":0.011005,"max_priority_fee_gwei":0.001005}},"cached":false,"eth_usd":2684.15,"chain_id":8453,"estimates":{"usdc_transfer":{"gas_units":65000,"total_eth":"0.000000391412","total_usd":0.001051,"total_wei":"391411534872"}},"elapsed_ms":52,"block_number":52115465,"base_fee_gwei":0.005,"base_fee_trend":"flat","eth_usd_source":"Chainlink ETH/USD (Base)","avg_gas_used_ratio":0.08,"next_base_fee_gwei":0.005}},"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_meD4Th-9tl7OwqALXJmZG","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 Base (L2) network gas price estimates including low/medium/high fee tiers, ETH/USD price, and USDC transfer cost estimates","exampleAgentPrompt":"Before I send this USDC on Base, check the current gas prices — give me the low, medium, and high fee estimates and tell me roughly what a USDC transfer would cost in USD right now.","exampleUseCases":[{"title":"Pre-transaction cost check","prompt":"I'm about to send some USDC on Base — can you check current gas prices and tell me if it's a cheap time to transact and what I can expect to pay in fees?"},{"title":"DeFi bot fee optimization","prompt":"My agent needs to decide which fee tier to use before submitting a swap on Base — grab the current low, medium, and high gas estimates so we can pick the cheapest option that'll still confirm quickly."},{"title":"Gas price monitoring dashboard","prompt":"What's the current base fee trend on Base right now — is it rising, falling, or flat — and what block are we on? Also give me the ETH/USD price from Chainlink."}],"resultDescription":"Returns a JSON object with current Base network gas data including: timestamp, chain ID, low/medium/high fee tiers (max_fee_gwei and max_priority_fee_gwei), current base_fee_gwei, next expected base_fee_gwei, base fee trend (flat/rising/falling), ETH/USD price sourced from Chainlink, estimated gas units and total USD cost for a USDC transfer, average gas used ratio, current block number, and whether the result was cached.","failureModes":["Network unavailability of Base RPC may return stale or error data","Chainlink oracle may have delayed ETH/USD price during low-activity periods","Cached results (cached: true) may not reflect the very latest block","No input validation errors expected as this is a parameter-free GET endpoint"],"whenToPreferThis":"Use this endpoint when an agent needs real-time Base L2 gas fee data before executing a transaction, estimating USDC transfer costs, or deciding when to submit a transaction based on network congestion. Prefer this over generic Ethereum gas APIs when operating specifically on Base (chain ID 8453). The Chainlink-sourced ETH/USD price makes it reliable for cost estimation in USD terms.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:46:17.138Z","isFirstParty":false,"canonicalSlug":"base-gas-price-oracle-640793d0"}