# Base Network Gas Price Lookup

> Base Network Gas Price Lookup is a paid API for AI agents from x-data-gateway.annushka1190.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns the current gas price on the Base network in both wei and gwei, sourced from the public Base RPC.

## Facts

- Endpoint: POST https://x-data-gateway.annushka1190.workers.dev/mcp
- 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-network-gas-price-lookup-9f105d7f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5z24Y393vCOyfRTNR7Yat

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-network-gas-price-lookup-9f105d7f -d '<json body>'
```

Example prompt: What's the current gas price on Base right now — give me both the wei and gwei values so I can estimate transaction costs.

## When to prefer this

Choose this endpoint when you need a quick, real-time gas price check specifically for the Base L2 network and want both wei and gwei in a single call. It is ideal for agents orchestrating Base transactions, DeFi strategies, or cost estimation workflows. Prefer it over general Ethereum gas APIs when Base-specific pricing is required, and over on-chain reads when you want a simple HTTP lookup without maintaining an RPC connection.

## Known failure modes

- Public RPC node unavailable or rate-limited — returns an error with no gas data
- Network parameter mismatch (unsupported network name) — may return schema probe response rather than live data
- Stale data if RPC is lagging — returned gas price may not reflect real-time mempool conditions
- x402 payment failure — call is rejected if the $0.001 USDC micropayment is not included or fails

## How this service works

MCP tools/call gas_base: Current gas price on Base from public RPC (wei + gwei). Optional query network=base for schema probes. e.g. GET /v1/gas/base

## Output

Returns the current gas price on the Base network as two values: one in wei (raw integer) and one in gwei (human-readable decimal), sourced live from the public Base RPC endpoint.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-network-gas-price-lookup-9f105d7f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x-data-gateway.annushka1190.workers.dev](https://www.zero.xyz/host/x-data-gateway.annushka1190.workers.dev/llms.txt)
