# Energy Prices API

> Energy Prices returns the latest daily closing spot price for WTI and Brent crude, Henry Hub natural gas and US gasoline, diesel, heating oil, propane and jet fuel benchmarks, with the previous close, the daily change and the 52-week high and low. Convert to barrels, gallons, liters, MMBtu, therms or MWh, ask for several benchmarks at once, or pull a daily or weekly history.

**Endpoint:** `GET https://api.apiverve.com/v1/energyprices`  
**Category:** Finance  
**Cost:** 2 credits per call  
**Canonical page:** https://apiverve.com/marketplace/energyprices

## Overview

An oil price and energy commodity API built on the U.S. Energy Information Administration's daily spot price series: WTI at Cushing, Brent, Henry Hub natural gas, conventional gasoline in New York Harbor and on the Gulf Coast, RBOB gasoline in Los Angeles, ultra-low sulfur diesel in New York Harbor and on the Gulf Coast, CARB diesel in Los Angeles, No. 2 heating oil, Mont Belvieu propane and Gulf Coast jet fuel. These are daily closing assessments that EIA publishes a few days in arrears; they are not live or futures quotes.

Every plan gets the latest close, the previous close, the daily change in dollars and percent, and unit conversion: crude and products per barrel, gallon or liter, natural gas per MMBtu, therm or megawatt-hour. Paid plans add the 52-week high and low with their dates, several benchmarks in one call, any past date back to 1986, and a daily or weekly price history for charts and backtests.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/energyprices?benchmark=wti&unit=gallon&date=2025-06-13&history=daily&days=30" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `benchmark` | string | No | Benchmark to price, or a comma-separated list (paid plans), or all. Defaults to wti. Ids: wti, brent, henryhub, gasoline_nyh, gasoline_gulf, rbob_la, ulsd_nyh, ulsd_gulf, carbdiesel_la, heatingoil, propane, jetfuel. Common names work too: crude or oil (wti), natural gas, natgas or henry hub (henryhub), gasoline (gasoline_nyh), diesel or ulsd (ulsd_nyh), heating oil, jet fuel or kerosene (jetfuel). |
| `unit` | string | No | Unit to price per: barrel, gallon or liter for crude and refined products; mmbtu, therm or mwh for natural gas. Defaults to each benchmark's published unit.. One of: barrel, gallon, liter, mmbtu, therm, mwh |
| `date` | string | No | Date to look up (YYYY-MM-DD). Returns the close on that day, or the latest trading day before it. Omit for the latest close.. date. Premium field |
| `history` | string | No | Include a price series ending at the returned date: daily closes or the last close of each week.. One of: daily, weekly. Premium field |
| `days` | integer | No | Calendar days of history to include (1-3650). Daily history allows up to 366. Defaults to 30.. range 1-3650. Premium field |

## Response fields

- `count` — number · Number of benchmarks returned
- `date` — string · The requested date, or the most recent close across the returned benchmarks (YYYY-MM-DD)
  - `prices.0.benchmark` — string · Benchmark id, e.g. wti or henryhub
  - `prices.0.name` — string · Benchmark name
  - `prices.0.product` — string · Commodity: crude oil, natural gas, gasoline, diesel, heating oil, propane or jet fuel
  - `prices.0.location` — string · Delivery point the spot price is assessed at
  - `prices.0.currency` — string · Currency of every price in the entry (USD)
  - `prices.0.unit` — string · Unit the prices are quoted per
  - `prices.0.nativeUnit` — string · Unit EIA publishes the benchmark in
  - `prices.0.price` — number · Closing spot price on date
  - `prices.0.date` — string · Trading day of the close (YYYY-MM-DD)
  - `prices.0.previousClose` — number · Close on the previous trading day
  - `prices.0.previousDate` — string · Trading day of the previous close
  - `prices.0.change` — number · Change from the previous close, in currency per unit
  - `prices.0.changePercent` — number · Change from the previous close, in percent
  - `prices.0.changeDirection` — string · up, down or unchanged
  - `prices.0.high52w` — number · Highest close in the 52 weeks to date · (premium)
  - `prices.0.high52wDate` — string · Trading day of the 52-week high · (premium)
  - `prices.0.low52w` — number · Lowest close in the 52 weeks to date · (premium)
  - `prices.0.low52wDate` — string · Trading day of the 52-week low · (premium)

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "count": 1,
    "date": "2026-11-11",
    "prices": [
      {
        "benchmark": "wti",
        "name": "WTI Crude Oil",
        "product": "crude oil",
        "location": "Cushing, OK",
        "currency": "USD",
        "unit": "barrel",
        "nativeUnit": "barrel",
        "price": 89.62,
        "date": "2026-11-11",
        "previousClose": 89.62,
        "previousDate": "2026-11-10",
        "change": 0,
        "changePercent": 0,
        "changeDirection": "unchanged",
        "high52w": 114.58,
        "high52wDate": "2026-04-07",
        "low52w": 55.44,
        "low52wDate": "2025-12-16"
      }
    ]
  }
}
```

## Use cases

- **Fuel Surcharge Calculators** — Freight and airline tools tie surcharges to the daily diesel or jet fuel spot close and its weekly average, recalculated automatically as the benchmark moves.
- **Energy Cost Dashboards** — Finance teams chart WTI, Brent and Henry Hub side by side in one call, with daily change and 52-week range for context.
- **Utility and Heating Estimates** — Home energy apps convert Henry Hub gas to therms and heating oil to gallons to estimate the wholesale cost behind a household bill.
- **Backtests and Research** — Analysts pull years of weekly closes for crude and products to study crack spreads, seasonality and price shocks.

## More

- Full reference: https://docs.apiverve.com/ref/energyprices
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
