{"uid":"cap_KYhPWDSwaPO74vDrvHDcH","slug":"horizonpulse-ethereum-gas-fee-oracle-3c2f3c39","name":"HorizonPulse Ethereum Gas Fee Oracle","description":"Gas price API for Base and Ethereum: base fee, priority fee and a max-fee suggestion in one GET, no parameters. Returns JSON per network: baseFeeGwei, priorityFeeGwei (p50, with p10/p90), suggestedMaxFeeGwei (2x base + priority), timingHint (cheap/normal/expensive vs the last 20 blocks) and simpleTransfer cost in ETH and USD, plus ethUsd. From eth_feeHistory with eth_gasPrice fallback. Descriptive, not a forecast. Errors are not charged on Base (other rails may charge).","url":"https://horizonpulse.dev/api/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","required":[],"properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"asOf":{"type":"string"},"ethUsd":{"type":"number"},"networks":{"type":"array"}},"description":"Horizon Pulse gas snapshot. The example is a trimmed real response recorded from GET /api/demo/gas at 2026-10-01T14:36Z UTC; live values differ on every call."}}}}},"responseSchema":{"type":"json","example":{"ok":true,"asOf":"2026-10-01T14:36:44.639Z","ethUsd":2699.12,"networks":[{"ok":true,"chainId":8453,"network":"base","timingHint":"normal","baseFeeGwei":"0.005","simpleTransfer":{"costEth":"0.000000231","costUsd":0.000623,"costWei":"231000000000","gasLimit":21000},"priorityFeeGwei":"0.001","suggestedMaxFeeGwei":"0.011","priorityFeePercentilesGwei":{"p10":"0.000000079","p50":"0.001","p90":"0.01"}},{"ok":true,"chainId":1,"network":"ethereum","timingHint":"expensive","baseFeeGwei":"0.47866594","simpleTransfer":{"costEth":"0.000025243225938","costUsd":0.068134,"costWei":"25243225938000","gasLimit":21000},"priorityFeeGwei":"0.244726498","suggestedMaxFeeGwei":"1.202058378","priorityFeePercentilesGwei":{"p10":"0.001003273","p50":"0.244726498","p90":"2"}}]}},"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_UC4xbTe52UrXBHG6hCQwg","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 live Ethereum and Base network gas fee data including baseFee, priority fees, suggested maxFee, timing hint (cheap/normal/expensive), and optional ETH transfer cost in USD","exampleAgentPrompt":"What are the current Ethereum gas fees — is it cheap or expensive to transact right now, and how much would a basic ETH transfer cost in USD?","exampleUseCases":[{"title":"Pre-transaction gas check for DeFi","prompt":"Before I submit this on-chain swap, check whether gas is cheap or expensive right now on Ethereum and tell me the suggested maxFee I should use."},{"title":"Automated gas-aware transaction scheduler","prompt":"Keep an eye on Ethereum gas — alert me when the timing hint drops to 'cheap' so I know it's a good time to send my ETH transfer."},{"title":"USD cost estimate for ETH transfer","prompt":"How much will a simple ETH transfer cost me in USD right now, including the current base fee and priority fee on Ethereum?"}],"resultDescription":"Returns a snapshot of current Ethereum/Base gas conditions including: baseFee (current base fee in gwei), priority fee recommendation, suggested maxFee for transaction submission, a timingHint enum ('cheap', 'normal', or 'expensive') indicating current network congestion, and an optional estimated USD cost for a standard ETH transfer.","failureModes":["RPC node unavailability may cause stale or missing fee data","eth_feeHistory call failure returns error or empty response","Network congestion spikes may cause rapidly outdated estimates between call and transaction submission","Invalid query parameters return 400-level errors","Payment failure via x402 protocol returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need real-time Ethereum or Base gas fee data with actionable timing guidance (cheap/normal/expensive) and USD cost context, especially in DeFi agent workflows where timing a transaction for low-cost windows matters. Prefer over raw RPC calls when you want pre-interpreted signals without managing your own eth_feeHistory parsing. Best suited for lightweight, per-call gas checks at $0.01 USDC rather than maintaining a dedicated gas oracle infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T23:38:14.757Z","isFirstParty":false,"canonicalSlug":"horizonpulse-ethereum-gas-fee-oracle-3c2f3c39"}