{"uid":"cap_UPjd3gTvnZ0LiCAFC1IVO","slug":"studio-gas-price-lookup-base-ethereum-3ab1c504","name":"Studio Gas Price Lookup (Base/Ethereum)","description":"Studio sells 6 per-call jobs over HTTP, paid in USDC on base via x402 or direct transfer.","url":"https://short.desknav.ai/jobs/gas-price","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"enum":["base","ethereum"],"type":"string","description":"Chain to quote. Defaults to \"base\"."}}},"responseSchema":{"output":{"chain":"base","chainId":8453,"fetchedAt":"2026-01-01T00:00:00.000Z","baseFeeGwei":0.011,"gasPriceWei":"12000000","gasPriceGwei":0.012},"status":"delivered","offerId":"gas-price","invoiceId":"inv_1"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xAlcN0KU0NnUunIkGKp3f","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current gas price (base fee and total) in Gwei and Wei for the Base or Ethereum blockchain, paid per-call in USDC via x402.","exampleAgentPrompt":"What's the current gas price on Base right now — give me the base fee and total gas price in Gwei.","exampleUseCases":[{"title":"Pre-transaction gas cost check","prompt":"Before I send this transaction on Base, can you check what the current gas price is in Gwei so I know what fee to expect?"},{"title":"Ethereum gas price monitoring alert","prompt":"Check the current gas price on Ethereum and let me know if it's under 20 Gwei — I want to time my transaction when it's cheap."},{"title":"DeFi bot fee optimization","prompt":"Fetch the latest gas price on Base so my trading bot can decide whether it's cost-effective to submit this swap right now."}],"resultDescription":"Returns a JSON object with the chain name, chainId, current baseFeeGwei, gasPriceWei, gasPriceGwei, and the timestamp when the data was fetched (fetchedAt). Also includes a status field ('delivered') and the offerId and invoiceId for payment tracking.","failureModes":["Invalid chain value (not 'base' or 'ethereum') returns a validation error","Payment failure via x402 if insufficient USDC balance prevents call completion","Network or RPC unavailability may cause stale or missing gas data","Rate limiting if too many calls are made in rapid succession"],"whenToPreferThis":"Use this endpoint when you need a real-time, pay-per-call gas price quote for either the Base L2 or Ethereum mainnet and want a simple HTTP API without setting up your own RPC node. Ideal for AI agents, bots, or serverless functions that need on-demand gas price data without a subscription, with payment settled automatically in USDC via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:30:39.883Z","isFirstParty":false}