# Base L2 Gas Price Oracle

> Base L2 Gas Price Oracle is a paid API for AI agents from defi-intel-agent-gateway.gg-neo15.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns current Base L2 gas prices (fast/standard/slow tiers) in wei and gwei, cached every 10 seconds from the public Base RPC.

## Facts

- Endpoint: POST https://defi-intel-agent-gateway.gg-neo15.workers.dev/v1/chain/base-gas-oracle
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-l2-gas-price-oracle-31c2bfd4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QRulAevrZMA32XRk7E_MV

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-l2-gas-price-oracle-31c2bfd4 -d '<json body>'
```

Example prompt: What are the current fast, standard, and slow gas prices on Base L2 right now, in both wei and gwei?

## When to prefer this

Choose this endpoint when you need the lowest-latency Base L2 gas price data with no authentication overhead. Ideal for gas bots, pre-transaction fee estimation, or any real-time DeFi application operating on Base. The 10-second cache makes it suitable for high-frequency polling without hammering the RPC directly.

## Known failure modes

- Base RPC unavailable or rate-limited — returns an error or stale cached value
- Cached data up to 10 seconds old may not reflect sudden gas spikes
- Network timeout if Base RPC is congested
- Invalid request method returns HTTP 405

## How this service works

Current Base L2 gas prices (fast/standard/slow) from the public Base RPC, cached 10s. Returns wei + gwei. Lowest-latency option for gas bots. — $0.001 USDC/call on eip155:8453. Pay-per-call via x402 — no API key, no account. Free samples daily.

## Output

A JSON object containing current Base L2 gas prices across three tiers (fast, standard, slow), each expressed in both wei and gwei, sourced from the Base RPC and cached for up to 10 seconds.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-l2-gas-price-oracle-31c2bfd4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi-intel-agent-gateway.gg-neo15.workers.dev](https://www.zero.xyz/host/defi-intel-agent-gateway.gg-neo15.workers.dev/llms.txt)
