{"uid":"cap_sY7Qie5Ugh_pRV3AMH4Oz","slug":"x402-gas-price-api-0a2bd1a4","name":"x402 Gas Price API","description":"Paid API endpoints for prices, weather, FX, news, gas, dominance, fear/greed, ATH, and more","url":"https://x402-api-production-bd43.up.railway.app/gas?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"network":{"type":"string","description":"Network (default: base)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_awQktRTZDoMopHAR7J0yn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current blockchain network gas prices for a specified (or default) network, paid per-call via x402 micropayment","exampleAgentPrompt":"What are the current gas prices on Ethereum mainnet right now? Fetch it via the x402 gas API and let me know the current fee levels.","exampleUseCases":[{"title":"Pre-transaction gas check","prompt":"Before I submit this Ethereum transaction, can you check what the current gas price is on Ethereum so I know whether to wait or proceed?"},{"title":"Cross-network gas comparison","prompt":"Can you pull the current gas prices on Polygon for me? I want to see if it's cheaper to route my transaction there instead of Ethereum."},{"title":"Automated gas fee monitoring","prompt":"Keep an eye on the Ethereum gas price and let me know when it drops below 20 gwei so I can time my transaction."}],"resultDescription":"Returns current gas price data for the specified blockchain network, typically including fee levels (e.g. slow/standard/fast gwei values or base fee and priority fee) relevant to submitting on-chain transactions.","failureModes":["Invalid or unsupported network name returns an error or empty result","Payment not processed (402 response if x402 payment header is missing or insufficient)","Network data temporarily unavailable due to upstream provider outage","Rate limiting if too many requests in a short window"],"whenToPreferThis":"Use this endpoint when you need real-time blockchain gas price data for a specific network, especially in agentic workflows that need to decide when to submit transactions or estimate costs. It is a pay-per-call micropayment endpoint well-suited for on-demand, low-cost queries where you don't want a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T06:35:33.623Z","isFirstParty":false,"canonicalSlug":"x402-gas-price-api-0a2bd1a4"}