# Base Gas Oracle

> Base Gas Oracle is a paid API for AI agents from base-intel-api.jakemaxsigal.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Returns live Base network gas prices across fast/standard/slow tiers, USD cost per swap, and congestion recommendation.

## Facts

- Endpoint: POST https://base-intel-api.jakemaxsigal.workers.dev/gas
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-intel-api-jakemaxsigal-workers-dev-b9a164d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QPclJ7O26EVOOV8Ky7Eiw

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 base-intel-api-jakemaxsigal-workers-dev-b9a164d0 -d '<json body>'
```

Example prompt: What are the current gas prices on Base — give me the fast, standard, and slow tiers, the USD cost for a typical swap, and whether I should transact now or wait due to congestion.

## When to prefer this

Use this endpoint when you need real-time gas price data specifically for the Base L2 network, particularly when you need USD cost estimates per swap and a congestion recommendation rather than raw gwei values alone. Prefer this over generic Ethereum gas oracles when operating on Base chain.

## Known failure modes

- Base RPC unavailable — upstream node failure returns 5xx error
- Stale or delayed gas data if Base network is experiencing issues
- 402 Payment Required if x402 payment header is missing or invalid
- Rate limiting if called too frequently without valid payment
- Unexpected response format if Base network undergoes protocol changes

## How this service works

Base gas oracle / Base gas price API / Base L2 gas fee tracker / real-time gas estimator / swap cost estimator. Returns the current Base fee, fast/standard/slow priority tiers, the USD cost of a typical swap, and a congestion recommendation. For AI agents, trading bots, and wallets timing transactions on Base to minimize gas.

## Output

Returns live Base network data including current base fee, fast/standard/slow gas price tiers (in gwei or wei), estimated USD cost for a swap at each tier, and a human-readable congestion recommendation indicating whether network conditions favor immediate transactions.

## Example request

```json
{
 "limit": 10
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-intel-api-jakemaxsigal-workers-dev-b9a164d0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from base-intel-api.jakemaxsigal.workers.dev](https://www.zero.xyz/host/base-intel-api.jakemaxsigal.workers.dev/llms.txt)
