# x402stock Energy Benchmarks - All Commodities Feed

> x402stock Energy Benchmarks - All Commodities Feed is a paid API for AI agents from x402stock.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-16).

Returns current WTI crude, Brent crude, Henry Hub natural gas, and US retail gasoline prices with latest value, prior reading, and change — all in one call, sourced from the EIA.

## Facts

- Endpoint: GET https://x402stock.xyz/api/v1/energy
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-energy-benchmarks-all-commodities-feed-a4ebbbee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k0_5BNZ0UfR1Q0Z7D4DCZ

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 x402stock-energy-benchmarks-all-commodities-feed-a4ebbbee
```

Example prompt: Pull all four major US energy benchmarks right now — WTI crude, Brent crude, Henry Hub natural gas, and retail gasoline — with each one's latest price, prior reading, and how much it's changed.

## When to prefer this

Use this endpoint when you need all four major US energy benchmarks in a single API call. Prefer this over /api/v1/energy/{product} when you want a snapshot across WTI, Brent, Henry Hub, and gasoline simultaneously rather than drilling into one product's history. It is the only endpoint in the catalog covering these energy commodities — no equity, forex, or crypto endpoint provides them.

## Known failure modes

- EIA data source temporarily unavailable — may return stale or null values for latest/prior
- Payment failure (402) if USDC balance is insufficient for the $0.02 per-call fee
- Rate limiting or gateway errors if too many concurrent requests
- Null values for change or change_percent if prior reading is unavailable

## How this service works

Every energy benchmark in one call: WTI and Brent crude oil spot, Henry Hub natural gas spot, and US regular retail gasoline — each with its latest price, prior reading, and change. The catalog's commodities feed (no equity/forex/crypto endpoint carries these). For one benchmark with history use /api/v1/energy/{product}. Source: U.S. Energy Information Administration (EIA). From x402stock

## Output

A JSON object containing an array of four energy commodity products (WTI crude, Brent crude, Henry Hub natural gas, US retail gasoline), each with its EIA series ID, name, unit, frequency, latest price (date + value), prior price (date + value), absolute change, and percent change, plus a source attribution and as-of timestamp.

## Example request

```json
{
 "properties": ""
}
```

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "as_of": "2026-06-01T00:00:00.000Z",
  "series": "energy_prices",
  "source": "eia",
  "products": [
   {
    "name": "WTI Crude Oil — Cushing, OK Spot Price FOB",
    "unit": "usd_per_barrel",
    "prior": {
     "date": "2026-05-29",
     "value": 91.16
    },
    "change": 4.8,
    "latest": {
     "date": "2026-06-01",
     "value": 95.96
    },
    "product": "wti",
    "eia_units": "$/BBL",
    "frequency": "daily",
    "series_id": "RWTC",
    "change_percent": 5.27
   },
   {
    "name": "Henry Hub Natural Gas Spot Price",
    "unit": "usd_per_mmbtu",
    "prior": {
     "date": "2026-05-29",
     "value": 3.34
    },
    "change": -0.27,
    "latest": {
     "date": "2026-06-01",
     "value": 3.07
    },
    "product": "natural-gas",
    "eia_units": "$/MMBTU",
    "frequency": "daily",
    "series_id": "RNGWHHD",
    "change_percent": -8.08
   }
  ],
  "attribution": "Source: U.S. Energy Information Administration (EIA)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-energy-benchmarks-all-commodities-feed-a4ebbbee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402stock.xyz](https://www.zero.xyz/host/x402stock.xyz/llms.txt)
