# EVM Gas Price Oracle

> EVM Gas Price Oracle is a paid API for AI agents from pay.brianbooms.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Returns the current gas price (base fee + priority fee) in wei and gwei for a specified EVM-compatible blockchain network by querying the chain's public RPC.

## Facts

- Endpoint: GET https://pay.brianbooms.com/api/v1/data/gas-price?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/evm-gas-price-oracle-0eee6100
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_92kvOCDqXgvxZ6F5S6NAk

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 evm-gas-price-oracle-0eee6100
```

Example prompt: What's the current gas price on Base right now — give me both the base fee and priority fee in gwei so I can decide whether to send this transaction.

## When to prefer this

Choose this endpoint when an AI agent needs to programmatically check live EVM gas prices before submitting or budgeting a transaction on Base, Polygon, Arbitrum, or Avalanche. It is ideal for real-time fee estimation workflows, cost-gating logic (only transact if gas is below a threshold), or multi-chain routing decisions. Prefer it over on-chain RPC calls when you need a simple REST interface without managing Web3 connections directly.

## Known failure modes

- Unsupported or misspelled network name returns an error or defaults to Base
- RPC node unavailability causes a timeout or stale price response
- Network congestion may cause rapidly changing prices making the returned value outdated by the time the transaction is submitted
- Missing network parameter defaults to Base, which may not be the intended chain

## How this service works

Use when an agent needs the current gas price on an EVM chain before sending a transaction — cost estimation, fee budgeting, or deciding whether to transact now. Pass network (base, polygon, arbitrum, avalanche); returns live eth_gasPrice plus priority fee in wei and gwei from the chain's public RPC. Resale permitted: buyer may resell this data output at their own price.

## Output

Returns the live gas price from the specified EVM chain's public RPC, including the current eth_gasPrice and priority fee expressed in both wei and gwei, enabling precise fee estimation before submitting a transaction.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "network": {
   "type": "string",
   "description": "EVM chain id. Example: base (default), polygon, arbitrum, avalanche"
  }
 },
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/evm-gas-price-oracle-0eee6100/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pay.brianbooms.com](https://www.zero.xyz/host/pay.brianbooms.com/llms.txt)
