Access real-time and historical pricing for WTI, Brent, natural gas, and gasoline in 150+ currencies.
$ curl "https://api.energypriceapi.com/v1/latest"{"success": true,
"timestamp": ,
"base": "USD",
"rates": {
"WTI": ,
"BRENT": ,
"NATURALGAS": ,
"GASOLINE": → more commodities & historical data }}$ Click here to see full documentation...
Real-time commodity pricing delivered via our REST API.
From energy trading to financial modeling, EnergypriceAPI powers commodity intelligence across industries.
Build trading dashboards and alerting systems with live WTI and Brent crude oil prices.
Monitor fuel cost volatility and hedge exposure with accurate historical pricing data.
Feed energy data into BI dashboards and reports for operational decision-making.
Integrate commodity pricing into fintech apps, portfolio tools, and financial models.
EnergypriceAPI is a REST API that provides real-time and historical pricing data for major energy commodities including WTI crude oil, Brent crude oil, natural gas, and gasoline (RBOB).
It's designed for developers who need accurate, programmatic access to energy commodity prices for trading platforms, financial applications, business intelligence, and risk management tools.
EnergypriceAPI currently supports four major energy commodities: WTI (West Texas Intermediate crude oil), BRENT (Brent crude oil), NATURALGAS (Henry Hub natural gas), and GASOLINE (RBOB gasoline). All prices are available in USD and other major currencies.
EnergypriceAPI provides 9 endpoints:
/v1/symbols — List all available commodity symbols/v1/latest — Get latest prices/v1/YYYY-MM-DD — Get historical prices for a specific date/v1/convert — Convert between commodities/currencies/v1/timeframe — Get prices over a date range/v1/change — Get price changes between two dates/v1/hourly — Get hourly price data/v1/ohlc — Get open/high/low/close candlestick data/v1/usage — Check your API usage and quotaGet your API key and start making requests in minutes
Get Started Free View DocumentationNo credit card required. 100 free requests/month.