{"uid":"cap_O77NJ9sGhyKqaWjZXYfCE","slug":"47620-base-gas-price-api-505eacfc","name":"47620 Base Gas Price API","description":"Current base gas price (gwei + wei) and the estimated cost of a 21k native transfer.","url":"https://47620.xyz/x/base/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":{"fields":{"type":"string","description":"Optional comma-separated top-level response keys to keep (e.g. \"health,slot,solUsd\"). Omit for the full payload."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["ok","endpoint"],"properties":{"ok":{"type":"boolean"},"endpoint":{"type":"string"}},"additionalProperties":true}},"additionalProperties":false}}},"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_NkTIDqO8p7RmW3sDkNfel","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current Base network gas price in gwei and wei, plus the estimated cost of a standard 21k-gas native ETH transfer.","exampleAgentPrompt":"What's the current gas price on Base right now, and how much would a basic ETH transfer cost me in gwei and wei?","exampleUseCases":[{"title":"Pre-transaction gas cost check","prompt":"Before I send ETH on Base, what's the current gas price in gwei and what would a standard native transfer cost me?"},{"title":"Gas fee monitoring for DeFi bot","prompt":"Fetch the live Base gas price so I can decide whether to execute my trade now or wait for fees to drop."},{"title":"Transaction cost estimation for dApp","prompt":"What's the current Base network gas price in gwei and wei, and how much does a 21k-gas native transfer cost right now?"}],"resultDescription":"Returns a JSON object with a boolean ok status, the endpoint identifier, and current Base network gas data including gas price in both gwei and wei, plus the estimated total cost (in wei/ETH) of a standard 21,000-gas native token transfer.","failureModes":["Base RPC node unavailable — returns non-ok status or 5xx error","Payment not processed correctly — 402 response requiring x402 payment","Rate limiting or quota exceeded — request rejected","Invalid query parameter values — may return error or be ignored","Network congestion causing stale data — gas price may lag real-time by seconds"],"whenToPreferThis":"Choose this endpoint when you need a fast, single-call lookup of Base network gas prices without setting up your own RPC node. Ideal for agents that need to estimate ETH transfer costs on Base before executing transactions, or for monitoring gas fee trends. Prefer this over building direct RPC calls when you want a paid, reliable, low-latency API with a simple JSON response. Not suitable for Ethereum mainnet, Polygon, or Solana gas queries — use the sibling endpoints for those.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:47:01.223Z","isFirstParty":false,"canonicalSlug":"47620-base-gas-price-api-505eacfc"}