# Studio Gas Price Lookup (Base/Ethereum)

> Studio Gas Price Lookup (Base/Ethereum) is a paid API for AI agents from short.desknav.ai, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

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.

## Facts

- Endpoint: POST https://short.desknav.ai/jobs/gas-price
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/studio-gas-price-lookup-base-ethereum-3ab1c504
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UPjd3gTvnZ0LiCAFC1IVO

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability studio-gas-price-lookup-base-ethereum-3ab1c504 -d '<json body>'
```

Example prompt: What's the current gas price on Base right now — give me the base fee and total gas price in Gwei.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Studio sells 6 per-call jobs over HTTP, paid in USDC on base via x402 or direct transfer.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "base",
    "ethereum"
   ],
   "type": "string",
   "description": "Chain to quote. Defaults to \"base\"."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/studio-gas-price-lookup-base-ethereum-3ab1c504/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from short.desknav.ai](https://www.zero.xyz/host/short.desknav.ai/llms.txt)
