{"uid":"cap_QCvzrkUHytG5uh73lI-Gi","slug":"ethereum-mainnet-gas-price-api-099ad1d0","name":"Ethereum Mainnet Gas Price API","description":"Current Ethereum mainnet gas price, in Gwei","url":"https://hlrisk.paidapis.net/api/gas-price?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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VBcKYeBfYPbvgatvOdXnj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current Ethereum mainnet gas price in Gwei","exampleAgentPrompt":"What's the current Ethereum mainnet gas price in Gwei right now?","exampleUseCases":[{"title":"Optimal transaction timing for DeFi","prompt":"Before I submit this Ethereum swap, what's the current gas price in Gwei? I want to make sure fees are reasonable."},{"title":"Gas price alert for automated trading bot","prompt":"Check the current Ethereum gas price — if it's below 30 Gwei, go ahead and trigger my on-chain transaction."},{"title":"Real-time gas cost estimation for wallet app","prompt":"What's the live Ethereum mainnet gas price right now so I can show my users an accurate fee estimate before they confirm their transfer?"}],"resultDescription":"Returns the current Ethereum mainnet gas price expressed in Gwei, reflecting real-time network congestion and demand for block space.","failureModes":["Network or upstream RPC node unavailability returning a 5xx error","Stale data if the upstream Ethereum node is lagging behind the chain tip","Payment failure if the x402 USDC micropayment of $0.005 is not correctly provided","Rate limiting or authentication errors if payment is malformed"],"whenToPreferThis":"Choose this endpoint when you need a simple, real-time Ethereum mainnet gas price in Gwei without building your own Ethereum node connection or managing RPC infrastructure. It is especially useful for agents that need to gate transactions on current fee levels, estimate costs, or monitor gas trends as part of a DeFi or on-chain automation workflow. The pay-per-call x402 micropayment model makes it suitable for low-frequency lookups without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:30:52.056Z","isFirstParty":false,"canonicalSlug":"ethereum-mainnet-gas-price-api-099ad1d0"}