Is there a natural gas price API?
OilPriceAPI is a natural gas price API: US Henry Hub and UK natural gas over one simple REST endpoint, refreshed through the trading day, with a free tier and official Python/JavaScript SDKs.
Read the latest natural-gas price as JSON, or pull history for charts and models — alongside crude, marine fuels, and 20+ other energy benchmarks.
Henry Hub + UK gas
US Henry Hub natural gas and UK natural gas, served as clean JSON over REST.
One REST endpoint
GET /v1/prices/latest?by_code=NATURAL_GAS_USD returns the current price with a single API key.
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 20+ benchmarks — one integration, one auth.
Free tier to start
A 7-day trial with 10,000 requests, no credit card; paid plans from $19/month.
Official SDKs
Production-ready SDKs for Python, JavaScript/Node.js, Java, C#, and Ruby.
Endpoints you'll use
GET /v1/prices/latest?by_code=NATURAL_GAS_USDCurrent Henry Hub natural gas price (JSON).
GET /v1/prices/history/month?by_code=NATURAL_GAS_USDMonthly natural-gas history.
Frequently asked questions
What natural gas benchmark does the API provide?
OilPriceAPI serves US Henry Hub natural gas (NATURAL_GAS_USD) and UK natural gas, updated through the trading day over a REST endpoint.
How do I get the current natural gas price?
Call GET /v1/prices/latest?by_code=NATURAL_GAS_USD with your API key — the response is JSON with the latest price, currency, and unit.
Is there natural gas history?
Yes — daily, weekly, and monthly history endpoints support backtesting and seasonality models.
Is there a free tier?
Yes — a 7-day free trial with 10,000 requests and no credit card. Paid plans start at $19/month.
Start with a free OilPriceAPI key
natural-gas-price-api