# Gas Price Oracle (Ethereum)

> Gas Price Oracle (Ethereum) is a paid API for AI agents from www.x402financialdata.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns current Ethereum gas price suggestions (safe/propose/fast in gwei) plus the EIP-1559 suggested base fee from Etherscan's V2 API.

## Facts

- Endpoint: GET https://www.x402financialdata.com/gas-oracle
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gas-price-oracle-ethereum-7f12021d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yikPdNJnhcqxdc-H6_h9P

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 gas-price-oracle-ethereum-7f12021d
```

Example prompt: What are the current Ethereum gas prices right now — give me the safe, proposed, and fast gwei estimates plus the EIP-1559 base fee.

## When to prefer this

Choose this endpoint when you need a quick, single-call snapshot of current Ethereum gas prices across all tiers (safe/standard/fast) plus the EIP-1559 base fee, without needing address-specific or transaction-specific data. It is ideal for pre-flight checks before submitting transactions, DeFi automation bots deciding when to execute, or dashboards that display live Ethereum network fee conditions.

## Known failure modes

- Unsupported chain parameter (only 'eth' is currently valid — other chains return an error)
- Etherscan API downtime or rate limiting may cause stale or unavailable data
- Network connectivity issues to the x402financialdata.com endpoint
- Payment failure (insufficient USDC balance for the $0.01/call fee)

## How this service works

Current gas price suggestions (safe/propose/fast, in gwei) plus the suggested EIP-1559 base fee for Ethereum, from Etherscan's V2 API. Not address-specific. $0.01/call.

## Output

Returns three gas price tiers for Ethereum (safe, propose/standard, fast) expressed in gwei, along with the EIP-1559 suggested base fee in gwei. These values reflect real-time network congestion and are sourced from Etherscan's V2 gas oracle.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "chain": {
       "enum": [
        "eth"
       ],
       "type": "string",
       "description": "Which chain to query. Only 'eth' is supported right now."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gas-price-oracle-ethereum-7f12021d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.x402financialdata.com](https://www.zero.xyz/host/www.x402financialdata.com/llms.txt)
