OilPriceAPI Docs
Quick Start
API Reference
  • SDKs and languages
  • Tutorials
  • Articles
  • Documentation directory
  • Quick reference
  • API explorer
  • FAQ
  • Changelog
  • Status
  • Dashboard
GitHub
Quick Start
API Reference
  • SDKs and languages
  • Tutorials
  • Articles
  • Documentation directory
  • Quick reference
  • API explorer
  • FAQ
  • Changelog
  • Status
  • Dashboard
GitHub
  • Interactive Explorer

    • Interactive API Explorer
  • Price Data

    • API Reference
    • Get Latest Prices
    • Historical Prices
    • Batch Prices
    • Excel Latest Price Gateway
    • Price Widget Endpoints
    • Price Utility Endpoints
    • Demo API (No Authentication)
    • Natural Gas Intelligence
    • Natural gas hub price codes
    • Energy News Feed
  • Commodities

    • List Commodities
    • Get Commodity Details
    • Code Aliases
    • Denmark diesel list prices (OK Danmark)
    • Data Publication & Collection Schedules
  • AI Agents (MCP)

    • Get Market Brief
    • Subscriptions / Watches
    • Agent Subscriptions with MCP
  • Marine Fuels

    • Marine Fuel API
    • List Marine Fuel Ports
    • Get Port Details with Prices
    • Bunker Fuels
    • Maritime Fuels
  • Fuel Surcharges

    • Fuel Surcharge API
  • Premium Endpoints

    • All Prices API - One Call, All Commodities
    • Cushing Oil Storage Intelligence API
    • Drilling Intelligence API
    • Marine Fuels API
    • ICE Brent Futures API
    • Aviation Fuel Pilot
  • Spreads & Margins

    • Spreads & Margins
    • Crack Spreads
    • European Gasoil Crack
    • Basis Spreads
    • Refining Margins
    • Curve Structure
    • Physical Premiums
  • Market Indicators

    • Market Indicators
    • Fuel Switching
    • Price Context
    • Storage Analytics
    • CFTC Positioning
    • Market Annotations
  • Futures

    • Futures API
    • ICE Brent Futures
    • WTI Futures
    • Continuous Futures (Brent, WTI)
    • ICE Gas Oil Futures
    • NYMEX Natural Gas Futures
    • ICE EUA Carbon Futures
    • EU Carbon Futures
    • TTF Gas Futures
    • LNG JKM Futures
    • UK Carbon Futures
  • Dark Data (Premium)

    • Energy Intelligence API
    • Rig Counts
    • Well Permits
    • Well Production Beta
    • Drilling Intelligence (Public)
    • Oil Inventories
    • OPEC Production
    • Drilling Productivity
    • Forecasts (STEO)
  • Well Production (Beta)

    • Well Production Data
    • Well Production API Reference
  • Analytics

    • Analytics API
  • Webhooks API

    • Webhooks API Reference
    • Webhook Endpoint Reference
  • Alerts

    • Price Alerts API
  • Scheduled Deliveries

    • Scheduled Deliveries API
  • Account & Billing

    • Account API
    • API Keys
    • Subscriptions
    • Organizations

Forecasts (STEO)

Energy price and production forecasts from the EIA Short-Term Energy Outlook.

Source: EIA Short-Term Energy Outlook (STEO) Release: First Tuesday of each month at 10:00 AM ET Plan Required: Scale (see pricing)

Endpoints

MethodEndpointDescription
GET/v1/ei/forecastsList paginated reports
GET/v1/ei/forecasts/latestLatest STEO report
GET/v1/ei/forecasts/summaryCurrent forecasts summary
GET/v1/ei/forecasts/pricesPrice forecasts
GET/v1/ei/forecasts/productionProduction forecasts
GET/v1/ei/forecasts/historicalPast edition actuals
GET/v1/ei/forecasts/compareCompare two releases
GET/v1/ei/forecasts/:idSpecific report by ID

List Reports

GET /v1/ei/forecasts

Parameters

ParameterTypeDefaultDescription
pageinteger1Page number
per_pageinteger10Results per page (max 50)

Each report has id, report_month, forecast_count, price_series, production_series and status. forecast_count, price_series and production_series are currently null on every report. For per-series forecast counts, use Summary.

Without the Scale plan, every forecasts endpoint returns 403 with error and upgrade_url.

Latest Report

GET /v1/ei/forecasts/latest

Returns the newest published STEO edition. GET /v1/ei/forecasts/:id returns the same shape for one report.

FieldDescription
data.idReport ID
data.report_dateEdition month, as the first day of the month
data.sourceEIA Short-Term Energy Outlook
data.last_updatedWhen we last updated the report (ISO 8601)
data.summaryText lines such as brent_forecast, wti_forecast and us_production_forecast; absent keys are omitted
data.forecasts.pricesForecast rows by series code, in the series shape described under Price Forecasts
data.forecasts.productionSame, for production series
data.forecasts.supply_demandSame, for PATC_WORLD and PAPR_WORLD
meta.next_updateEstimated next release: the first Tuesday of next month, 10:00 ET

/latest contains forecast rows only. History rows are available from Production Forecasts with include_history=true.

Summary

GET /v1/ei/forecasts/summary

data.forecasts has one entry per series in the latest edition:

FieldDescription
series_codeEIA STEO series code
commodityCommodity key, such as brent or crude_oil
nameSeries name
unitsUnit of next_month_value
next_month_valueFirst forecast value after the current month (a decimal string)
next_month_periodMonth of that value, as the first day of the month
forecast_countNumber of forecast months in the edition
forecast_horizonstart and end month of the forecast

data.headline is a sentence built from the Brent (BREPUUS) entry, or null when it is missing. data.report_month is the edition month.

Price Forecasts

GET /v1/ei/forecasts/prices

Parameters

ParameterTypeDefaultDescription
commoditystringallbrent, wti, or natural_gas
monthsinteger24Number of forecast months to return (1-48)

Series codes

CodeCommodityUnits
BREPUUSbrentdollars_per_barrel
WTIPUUSwtidollars_per_barrel
NGHHUUSnatural_gasdollars_per_mmbtu

Response

data.commodities is keyed by commodity (brent, wti, natural_gas). Each entry has name, commodity, units and data, in the same row shape as the production example: period (label such as Nov 2026), period_date (first day of the month), value (rounded to two decimals), is_forecast and value_type. This endpoint returns forecast rows only. data.report_month is the edition month.

meta.units is the single unit shared by every returned row, mixed when the rows use more than one unit (Brent and Henry Hub together), or null when nothing is returned.

Production Forecasts

GET /v1/ei/forecasts/production

Parameters

ParameterTypeDefaultDescription
seriesstringallComma-separated series codes, for example COPRPUS,COPRPM. An unknown code returns 400
include_historybooleanfalseAdd every history row of the latest edition before the forecast rows
monthsinteger24Number of forecast months to return (1-48). It never limits history rows

Series codes

CodeDescriptionUnitsRows held
COPRPUSUS crude oil productionmillion_barrels_per_dayFull history and forecast
COPRPMCrude oil production: Permianmillion_barrels_per_dayFull history and forecast
COPRBKCrude oil production: Bakkenmillion_barrels_per_dayFull history and forecast
COPREFCrude oil production: Eagle Fordmillion_barrels_per_dayFull history and forecast
COPRR48Crude oil production: rest of Lower 48 statesmillion_barrels_per_dayFull history and forecast
NLPRPUSUS natural gas plant liquids productionmillion_barrels_per_day12 months of history and forecast
NGMPPUSUS natural gas marketed productionbillion_cubic_feet_per_day12 months of history and forecast
TOPRL48Tight oil production, Lower 48million_barrels_per_dayHistory only
TOPRPMTight oil production: Permianmillion_barrels_per_dayHistory only
TOPREFTight oil production: Eagle Fordmillion_barrels_per_dayHistory only
TOPRBKTight oil production: Bakkenmillion_barrels_per_dayHistory only
TOPRR48Tight oil production: other US formationsmillion_barrels_per_dayHistory only

EIA publishes no forecast for the tight oil (TOPR*) series, so they appear only with include_history=true. OPEC crude output is not a STEO series here; see OPEC Production.

Forecast and history months

Every row carries is_forecast and value_type (forecast or history). They are set when the edition is ingested: months from the edition month onward are forecasts, earlier months are history. In the November 2026 edition, October 2026 is history and November 2026 is the first forecast month.

Each series also returns history_end (last history month in the response) and forecast_start (first forecast month in the response). Either is null when the response has no rows of that kind.

Example

curl "https://api.oilpriceapi.com/v1/ei/forecasts/production?series=COPRPUS,COPRPM&months=2" \
  -H "Authorization: Token YOUR_API_KEY"
{
  "data": {
    "report_month": "2026-11-01",
    "series": {
      "COPRPM": {
        "name": "Crude Oil Production: Permian",
        "commodity": "crude_oil_permian",
        "units": "million_barrels_per_day",
        "data": [
          {
            "period": "Nov 2026",
            "period_date": "2026-11-01",
            "value": 6.9,
            "is_forecast": true,
            "value_type": "forecast"
          },
          {
            "period": "Dec 2026",
            "period_date": "2026-12-01",
            "value": 6.96,
            "is_forecast": true,
            "value_type": "forecast"
          }
        ],
        "history_end": null,
        "forecast_start": "2026-11-01"
      },
      "COPRPUS": {
        "name": "US Crude Oil Production",
        "commodity": "crude_oil",
        "units": "million_barrels_per_day",
        "data": [
          {
            "period": "Nov 2026",
            "period_date": "2026-11-01",
            "value": 14.03,
            "is_forecast": true,
            "value_type": "forecast"
          },
          {
            "period": "Dec 2026",
            "period_date": "2026-12-01",
            "value": 14.14,
            "is_forecast": true,
            "value_type": "forecast"
          }
        ],
        "history_end": null,
        "forecast_start": "2026-11-01"
      }
    }
  },
  "meta": {
    "api_version": "v1",
    "tier_required": "reservoir_mastery",
    "cache_ttl": 86400,
    "source": "EIA STEO",
    "units": "million_barrels_per_day",
    "include_history": false
  }
}

Values are EIA's November 2026 STEO figures, rounded to two decimals as the API returns them. With include_history=true, each series' data starts with its history rows ("value_type": "history"), and history_end is set. For COPRPM in that edition the last history row is October 2026 at 6.88.

meta.units is mixed when the selected series use different units, for example NGMPPUS (billion cubic feet per day) with any crude series. Read units on each series in that case.

Past Edition Actuals

GET /v1/ei/forecasts/historical

Despite the path, this endpoint does not compute forecast accuracy. It returns history rows (is_forecast: false) for one series from STEO editions up to last month, newest edition first.

Parameters

ParameterTypeDefaultDescription
seriesstringBREPUUSSeries code
monthsinteger12Number of rows to return (1-24)

Response

FieldDescription
data.series_codeThe requested series
data.actuals[].report_monthEdition the row came from
data.actuals[].periodMonth the value describes
data.actuals[].valueValue, rounded to two decimals

Compare Releases

Compare one series between two STEO editions.

GET /v1/ei/forecasts/compare

Parameters

ParameterTypeDefaultDescription
seriesstringBREPUUSSeries code
month1stringprevious editionFirst edition (YYYY-MM)
month2stringlatest editionSecond edition (YYYY-MM)

If either month1 or month2 is missing, both are ignored and the latest edition is compared with the one before it. A month that is not YYYY-MM returns 400.

Response

data.comparison has one entry per month present in either edition:

FieldDescription
periodMonth, as the first day of the month
value1Value in month1, or null if that edition has no row for the month
value2Value in month2, or null
changevalue2 - value1, or null when either is missing
change_pctPercentage change, or null when either is missing or value1 is zero

These four values are decimal strings, for example "1.95". data also echoes series_code, month1 and month2.

Code Examples

Python - Price Forecast Analysis

import requests

response = requests.get(
    "https://api.oilpriceapi.com/v1/ei/forecasts/prices",
    headers={"Authorization": "Token YOUR_API_KEY"},
    params={"commodity": "brent", "months": 12}
)
data = response.json()

brent = data['data']['commodities']['brent']
print(f"EIA Brent Forecast:")

for point in brent['data'][:6]:
    print(f"  {point['period']}: ${point['value']}/bbl")

JavaScript - Compare Forecasts

const response = await fetch(
  "https://api.oilpriceapi.com/v1/ei/forecasts/compare?" +
    "series=BREPUUS&month1=2026-10&month2=2026-11",
  { headers: { Authorization: "Token YOUR_API_KEY" } },
);
const data = await response.json();

data.data.comparison
  .filter((c) => c.change_pct !== null)
  .forEach((c) => {
    console.log(`${c.period}: ${c.value1} -> ${c.value2} (${c.change_pct}%)`);
  });

Why STEO Forecasts Matter

  • Official Outlook: EIA is the US government's energy data authority
  • Market Consensus: STEO influences analyst expectations
  • Policy Planning: Used by governments and institutions
  • Revision Tracking: Month-over-month changes signal shifting views

Related

  • Oil Inventories - Current supply data
  • OPEC Production - OPEC supply
  • Drilling Productivity - US production capacity
Last Updated: 11/27/26, 6:48 PM
Prev
Drilling Productivity