# Ethereum Gas Price Oracle

> Ethereum Gas Price Oracle is a paid API for AI agents from api.kadec0.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns current Ethereum base fee and EIP-1559 priority-fee estimates (slow, standard, fast) in gwei

## Facts

- Endpoint: GET https://api.kadec0.xyz/v1/gas-oracle
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ethereum-gas-price-oracle-fb0bd0a0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AvYaRlSlVFMqz8Cz2bDki

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

Example prompt: What are the current Ethereum gas fees? I need the base fee and the slow, standard, and fast priority fee estimates in gwei so I can decide how to price my transaction.

## When to prefer this

Use this endpoint when you need real-time Ethereum gas price data with EIP-1559 tiered estimates (slow/standard/fast) and are willing to pay per call via x402 micropayment. Prefer this over free public endpoints if you need reliable uptime and structured gwei output without managing your own node.

## Known failure modes

- Upstream node or gas oracle data source unavailable — returns 5xx error
- Payment not processed or invalid x402 payment header — returns 402 Payment Required
- Rate limit exceeded — returns 429 Too Many Requests
- Network connectivity issues to Ethereum node — stale or missing data

## How this service works

Ethereum gas price oracle. Returns the current Ethereum gas price as an EIP-1559 base fee plus priority-fee estimates across five confidence tiers, all in gwei, so an agent can price a transaction before it signs one. Ethereum mainnet only. Keyless, via Blocknative.

## Output

Returns current Ethereum network base fee and EIP-1559 priority-fee (maxPriorityFeePerGas) estimates for slow, standard, and fast confirmation speeds, all expressed in gwei.

## 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": {}
    }
   },
   "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/ethereum-gas-price-oracle-fb0bd0a0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.kadec0.xyz](https://www.zero.xyz/host/api.kadec0.xyz/llms.txt)
