{"uid":"cap_GKqD0AqwiPjG1kLsHN6t-","slug":"base-gas-price-transfer-cost-estimator-a3c2af63","name":"Base Gas Price & Transfer Cost Estimator","description":"Get the current Base gas price and the ETH cost of an ETH, ERC-20 or x402 USDC transfer at that price. Current Base gas: gas price, base fee, priority fee, and the ETH cost of an ETH transfer, an ERC-20 transfer and an x402 USDC settlement at that price. Query: none.","url":"https://api.x-402.online/v1/chain/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"}}}}},"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_4JbxGEvq4OzLfzCDLrstT","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 Base network gas price, base fee, priority fee, and ETH cost of ETH, ERC-20, and x402 USDC transfers at that gas price.","exampleAgentPrompt":"What are the current gas fees on Base right now — including the base fee, priority fee, and how much it would cost in ETH to do an ETH transfer, an ERC-20 transfer, and an x402 USDC settlement?","exampleUseCases":[{"title":"Pre-transaction gas check for agent","prompt":"Before I send this ETH on Base, what's the current gas price and how much will the transfer cost me in ETH?"},{"title":"x402 payment cost monitoring","prompt":"How much does an x402 USDC settlement currently cost in ETH on Base, and what's the priority fee right now?"},{"title":"Compare ERC-20 vs ETH transfer cost","prompt":"What's the difference in gas cost right now between sending ETH and sending an ERC-20 token on Base?"}],"resultDescription":"A JSON object containing the current Base network gas price, base fee, priority fee in Gwei or Wei, and the computed ETH cost (in ETH and/or USD) for three transaction types: a plain ETH transfer, an ERC-20 token transfer, and an x402 USDC settlement.","failureModes":["Base RPC node unavailable — service may return 503 or stale data","Network congestion causing momentary data inconsistency","Occasional latency spikes if gas oracle is slow to respond","Invalid or unexpected response shape if Base undergoes a hard fork changing gas mechanics"],"whenToPreferThis":"Use this endpoint when you need real-time Base L2 gas fee data specifically, especially when estimating the ETH cost of x402 USDC settlements or comparing ETH vs ERC-20 transfer costs on Base. Prefer this over generic Ethereum mainnet gas APIs when operating on Base chain or building x402-compatible payment flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T00:40:17.790Z","isFirstParty":false,"canonicalSlug":"base-gas-price-transfer-cost-estimator-a3c2af63"}