Is there a natural gas price API?

OilPriceAPI serves the Henry Hub front-month futures quote intraday, EIA Henry Hub daily spot and UK gas over REST, with a free tier and official Python/JavaScript SDKs.

NATURAL_GAS_USD is the NYMEX Henry Hub front-month futures quote, updated during market hours. For EIA's daily physical spot, request NATURAL_GAS_HENRY_HUB_SPOT_USD; its publication lag can approach a week, so check source_date before comparing prices.

Natural Gas Price API capabilities

Intraday futures and daily spot

NATURAL_GAS_USD is the Henry Hub front-month futures quote in USD per MMBtu. NATURAL_GAS_HENRY_HUB_SPOT_USD is EIA Henry Hub daily spot; the two benchmarks can differ by several percent.

One REST endpoint

GET /v1/prices/latest?by_code=NATURAL_GAS_USD returns the latest front-month futures quote with as_of and freshness.

History for models

Daily, weekly, and monthly natural-gas history for backtests and seasonality analysis.

Energy in one API

Natural gas plus WTI, Brent, marine fuels, and a broad set of benchmarks — one integration, one auth.

Free tier to start

7-day trial · 10,000 requests · then Free plan: 50 requests/day, no expiry

Official SDKs

Production-ready SDKs for Python, Node.js, Go, and PHP.

First call in Python

import os
import requests

response = requests.get(
    "https://api.oilpriceapi.com/v1/prices/latest",
    headers={"Authorization": f"Token {os.environ['OILPRICEAPI_KEY']}"},
    params={"by_code": "NATURAL_GAS_USD"},
    timeout=10,
)
response.raise_for_status()
print(response.json())

Endpoints you'll use

GET /v1/prices/latest?by_code=NATURAL_GAS_USD

Latest Henry Hub front-month futures quote, updated during market hours.

GET /v1/prices/latest?by_code=NATURAL_GAS_HENRY_HUB_SPOT_USD

Latest published EIA Henry Hub daily spot observation (NG.RNGWHHD.D), with publication lag. source_date identifies the observation day.

GET /v1/prices/latest?by_code=NATGAS_FUTURES

Natural-gas futures with the explicit contract code (for example NATGAS_FUTURES_2026_11).

GET /v1/prices/history/month?by_code=NATURAL_GAS_USD

Monthly natural-gas history.

Frequently asked questions

What natural gas benchmark does the API provide?

NATURAL_GAS_USD is the NYMEX Henry Hub front-month futures quote, in USD per MMBtu. NATURAL_GAS_HENRY_HUB_SPOT_USD is EIA Henry Hub daily spot (series NG.RNGWHHD.D). UK natural gas is also available.

How do I get the current natural gas price?

For the live front-month futures quote, call GET /v1/prices/latest?by_code=NATURAL_GAS_USD and check freshness. For EIA daily spot, call GET /v1/prices/latest?by_code=NATURAL_GAS_HENRY_HUB_SPOT_USD; publication lag can approach a week, and source_date and as_of identify the observation day.

Is there natural gas history?

Yes — daily, weekly, and monthly history endpoints support backtesting and seasonality models.

Is there a free tier?

Yes. Free plan: 50 requests/day, with no expiry. New accounts start with a 7-day trial: 10,000 requests, full API (except licensed datasets: aviation fuel pilot), no card. After the trial, you automatically continue on the Free plan. The Free plan is hard-capped and never billed.