{"uid":"cap_nXdutBq4FW1paEFCleEKf","slug":"vextorium-gas-price-usd-cost-estimator-168b7bc4","name":"Vextorium Gas Price & USD Cost Estimator","description":"Live gas price on Base or Ethereum (gwei, base fee, priority fee) plus estimated USD cost of an ETH transfer, an ERC-20 transfer and a DEX swap, including Base L1 data fee. Priced with the Chainlink ETH/USD oracle.","url":"https://api.vextorium.com/gas-red-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":[],"properties":{"red":{"enum":["base","ethereum"],"type":"string","description":"Network: base or ethereum"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"red":{"type":["string","null"]},"nota":{"type":["string","null"]},"bloque":{"type":["number","null"]},"fuente":{"type":["string","null"]},"base_fee_gwei":{"type":["number","null"]},"coste_estimado":{"type":["object","null"],"properties":{"swap_dex":{"type":["object","null"],"properties":{"eth":{"type":["number","null"]},"usd":{"type":["number","null"]}}},"transferencia_eth":{"type":["object","null"],"properties":{"eth":{"type":["number","null"]},"usd":{"type":["number","null"]}}},"transferencia_erc20":{"type":["object","null"],"properties":{"eth":{"type":["number","null"]},"usd":{"type":["number","null"]}}}}},"precio_eth_usd":{"type":["number","null"]},"precio_gas_gwei":{"type":["number","null"]},"propina_prioridad_gwei":{"type":["number","null"]}}}}}}},"responseSchema":{"type":"json","example":{"red":"base","coste_estimado":{"transferencia_erc20":{"eth":4.3e-7,"usd":0.0012}},"precio_eth_usd":2691.22,"precio_gas_gwei":0.006}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uDni8jPWtGTHFxusDHIVU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live gas prices (gwei, base fee, priority fee) for Base or Ethereum and estimates the USD cost of an ETH transfer, ERC-20 transfer, and DEX swap using the Chainlink ETH/USD oracle.","exampleAgentPrompt":"What are the current gas prices on Base right now — give me the base fee, priority fee, and how much an ETH transfer, ERC-20 transfer, and DEX swap would cost in USD?","exampleUseCases":[{"title":"Pre-swap gas check on Base","prompt":"Before I do a token swap on Base, can you tell me the current gas price and how much the swap would cost me in USD right now?"},{"title":"Ethereum transfer cost estimate","prompt":"I want to send some ETH to a friend on Ethereum — what's the current gas fee in gwei and how much will the transfer cost in dollars?"},{"title":"Gas monitoring for DeFi bot","prompt":"Check the live gas prices on Base for me, including the base fee, priority fee, and estimated USD cost of an ERC-20 transfer — I need to decide if now is a good time to execute."}],"resultDescription":"Returns a JSON object with the network name, current block number, gas price in gwei, base fee in gwei, priority fee in gwei, ETH/USD price (from Chainlink oracle), and estimated costs in both ETH and USD for three transaction types: a simple ETH transfer, an ERC-20 token transfer, and a DEX swap. For Base, also includes the L1 data fee component.","failureModes":["Unsupported network value (must be 'base' or 'ethereum') returns an error","Chainlink oracle unavailable may return null price fields","RPC node downtime may cause null block/fee fields","Network congestion may cause stale data","Missing or malformed 'red' field in request body causes validation error"],"whenToPreferThis":"Use this endpoint when you need real-time gas cost estimates denominated in USD for Base or Ethereum, especially when you need all three common transaction types (ETH transfer, ERC-20 transfer, DEX swap) priced together in one call. Prefer this over generic RPC calls when you want Chainlink-oracle-priced USD estimates rather than raw gwei values, or when you specifically need the Base L1 data fee breakdown. Not suitable for historical gas data or networks other than Base and Ethereum.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:26.499Z","isFirstParty":false,"canonicalSlug":"vextorium-gas-price-usd-cost-estimator-168b7bc4"}