{"uid":"cap_bnVocS_bJ5xjzDQ5rf_BE","slug":"agentforge-gas-price-oracle-c68d2614","name":"AgentForge Gas Price Oracle","description":"Real-time gas price oracle for agents timing a transaction: slow/standard/fast tiers with trend analysis for any supported EVM chain. Category: infra.","url":"https://agentforge-taupe.vercel.app/v1/gas?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":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["chain","currentPrices","trend","timestamp","metadata"],"properties":{"chain":{"type":"string"},"trend":{"enum":["rising","falling","stable"],"type":"string"},"baseFee":{"type":"number"},"metadata":{"type":"object"},"timestamp":{"type":"string"},"currentPrices":{"type":"object"}}}}}}},"responseSchema":null,"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_p2HD71wpF5hdP9tvXKa_o","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 real-time gas prices across slow/standard/fast tiers with trend analysis for any supported EVM chain","exampleAgentPrompt":"Check the current gas prices on Ethereum — slow, standard, and fast tiers — and tell me if gas is rising or falling so I can decide when to submit my transaction.","exampleUseCases":[{"title":"Timing a DeFi swap on Ethereum","prompt":"Before I execute this Uniswap swap, check the current Ethereum gas prices across all tiers and tell me if gas is trending up or down so I know whether to wait or go now."},{"title":"Automated transaction cost budgeting","prompt":"Pull the current gas price data for Polygon including the trend direction — I want my agent to only proceed with the transaction if gas is in the slow or standard tier and trending stable or falling."},{"title":"Cross-chain gas comparison before bridging","prompt":"I'm about to bridge assets and want to pick the cheapest chain right now — can you fetch the current gas prices for Arbitrum and tell me the trend so I can decide if it's a good moment?"}],"resultDescription":"Returns current gas prices broken down by slow, standard, and fast tiers along with the base fee, a trend indicator (rising/falling/stable), a timestamp, and chain metadata — giving agents everything needed to make a timing decision before submitting an EVM transaction.","failureModes":["Unsupported chain identifier returns an error or empty result","Network latency to the RPC source may cause stale data","Payment failure (x402) if USDC balance is insufficient","Chain may temporarily be unavailable if the underlying RPC is down","No query parameters specified may return a default chain or error"],"whenToPreferThis":"Choose this endpoint when an agent needs real-time, tiered gas price data with trend context for EVM chains before submitting or scheduling a transaction. It is especially useful when timing matters — e.g., DeFi trades, NFT mints, or bridging — and the agent needs to decide between speed tiers or wait for lower fees. Prefer it over generic block explorer lookups when trend analysis (rising/falling/stable) is needed alongside the raw prices.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T12:44:28.501Z","isFirstParty":false,"canonicalSlug":"agentforge-gas-price-oracle-c68d2614"}