# Financial Data x402 – Gas Oracle

> Financial Data x402 – Gas Oracle is a paid API for AI agents from x402financialdata.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns current Ethereum gas price recommendations (fast, safe, proposed) and suggested base fee in Gwei for a given block.

## Facts

- Endpoint: GET https://x402financialdata.com/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/financial-data-x402-gas-oracle-8cda722d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4YYQ8mPx-3Jle8q4H1w5D

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 financial-data-x402-gas-oracle-8cda722d
```

Example prompt: What's the current Ethereum gas price — give me the fast, safe, and proposed Gwei estimates along with the suggested base fee.

## When to prefer this

Choose this endpoint when you need a real-time, pay-per-call gas oracle with no API key setup or subscription, particularly useful for autonomous agents that execute blockchain transactions and need current Ethereum gas fee tiers on demand. Prefer this over subscription-based alternatives when usage is sporadic or when operating in an x402-native payment environment with USDC on Base or Solana.

## Known failure modes

- Payment not included or insufficient USDC — returns HTTP 402 requiring x402 payment
- Unsupported or unrecognized chain parameter — may return empty or error response
- Network congestion or upstream RPC failure — may return stale or unavailable data
- Rate limiting if payment not properly settled on Base or Solana

## How this service works

Pay-per-call stock, macro, on-chain, and crypto data over the x402 protocol. USDC on Base or Solana, no API keys, no subscriptions.

## Output

A JSON object containing the chain identifier (e.g. 'eth'), the block number the data was measured at, and three gas price tiers in Gwei (fast, safe, propose), plus a suggested base fee in Gwei.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "eth",
  "as_of_block": 23467872,
  "gas_price_gwei": {
   "fast": 0.5541,
   "safe": 0.4968,
   "propose": 0.4968
  },
  "suggest_base_fee_gwei": 0.4968
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/financial-data-x402-gas-oracle-8cda722d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402financialdata.com](https://www.zero.xyz/host/x402financialdata.com/llms.txt)
