{"uid":"cap_xmO4BeNywXEtzcM2Be4Ei","slug":"x402node-gas-fee-forecast-48d3a5e4","name":"x402node Gas Fee Forecast","description":"Analyze the short-term base fee trend on Base or Ethereum to advise whether to send a transaction now or wait - a cost-optimization signal for agents that LLMs cannot compute from live blocks. gas forecast, gas trend, should i send now, gas timing, base fee trend, optimal gas time Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/market/gas-forecast?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":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"chain":{"type":"string","description":"base (default), ethereum"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"network":"base","timeframe":"short-term"},"response":{"note":"Short-term base fee trend from recent blocks. Helps agents time non-urgent transactions to save gas.","_hint":"x402 paid endpoints for AI agents — x402node.dev (utilities) · cn402.com (Chinese culture)","chain":"base","trend":"stable","source":"rpc","recentBlocks":[{"block":47471391,"baseFeeGwei":0.005},{"block":47471393,"baseFeeGwei":0.005},{"block":47471395,"baseFeeGwei":0.005},{"block":47471397,"baseFeeGwei":0.005},{"block":47471399,"baseFeeGwei":0.005},{"block":47471401,"baseFeeGwei":0.005}],"recentAvgGwei":0.005,"recommendation":"Gas stable - fine to send now.","currentBaseFeeGwei":0.005}},"exampleRequest":{"network":"base","timeframe":"short-term"},"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_T5bAeSFMKkLgECcHK6fEM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes short-term base fee trends on Base or Ethereum to advise whether to send a transaction now or wait for lower fees","exampleAgentPrompt":"Is now a good time to send my transaction on Base, or should I wait for the base fee to drop? Give me the current gas trend and a timing recommendation.","exampleUseCases":null,"resultDescription":"Returns a short-term base fee trend analysis for Base or Ethereum, including whether fees are rising, falling, or stable, and a timing recommendation advising whether to send a transaction now or wait — a live cost-optimization signal derived from recent block data.","failureModes":["Unsupported network specified — only Base and Ethereum mainnet are supported","RPC or upstream node unavailable — may return 503 if live block data cannot be fetched","Stale data if block production is delayed","Payment not processed — 402 response if USDC payment header is missing or insufficient"],"whenToPreferThis":"Use this endpoint when an AI agent needs to decide the optimal moment to submit a blockchain transaction and wants a pre-computed timing signal based on live base fee trend data — particularly useful since LLMs cannot compute live block-by-block fee trends themselves. Prefer this over raw gas price endpoints when you need actionable advice (send now vs. wait) rather than just a raw gwei number.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T19:18:54.756Z","isFirstParty":false,"canonicalSlug":"x402node-gas-fee-forecast-48d3a5e4"}