# EIA Energy Price Data API

> EIA Energy Price Data API is a paid API for AI agents from econ.memoryapi.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns current and historical U.S. energy prices including WTI crude oil, Brent crude, Henry Hub natural gas, and retail gasoline from EIA data.

## Facts

- Endpoint: GET https://econ.memoryapi.org/x402/econ/energy
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/econ-memoryapi-org-b5474130
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-dvFXYUpm7R36NF57s-_h

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 econ-memoryapi-org-b5474130
```

Example prompt: What are today's energy prices — WTI crude, Brent crude, Henry Hub natural gas, and U.S. retail gasoline — from the EIA?

## When to prefer this

Use this endpoint when you need authoritative U.S. energy commodity price data (WTI, Brent, natural gas, gasoline) sourced directly from the EIA. Prefer this over general financial APIs when you specifically need EIA-sourced energy prices for economic analysis, inflation modeling, or commodity tracking. Pairs well with the sibling CPI and FRED macroeconomic endpoints on the same provider for comprehensive economic analysis.

## Known failure modes

- EIA data unavailable or delayed — upstream source outage returns error
- Invalid query parameters — unsupported commodity or date range returns 400
- Payment not processed — x402 payment required, returns 402 if payment fails
- Rate limiting — too many requests in short period returns 429

## How this service works

x402-powered economic data API. CPI inflation, labor market, GDP, Treasury yields, and energy prices. Pay per query in USDC on Base mainnet.

## Output

Returns current and/or recent historical price data for major U.S. energy commodities: WTI crude oil ($/barrel), Brent crude oil ($/barrel), Henry Hub natural gas ($/MMBtu), and U.S. retail gasoline prices ($/gallon), sourced from the U.S. Energy Information Administration.

## Example request

```json
{
 "date": "latest",
 "commodity": "WTI"
}
```

## Response schema (JSON Schema)

```json
{
 "example": {
  "change": -1.2,
  "series": "wti_crude",
  "success": true,
  "change_pct": -1.51,
  "description": "WTI Crude Oil Spot Price ($/barrel)",
  "latest_value": 78.45
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/econ-memoryapi-org-b5474130/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from econ.memoryapi.org](https://www.zero.xyz/host/econ.memoryapi.org/llms.txt)
