Macro

Upcoming economic and energy data releases

Changed on

Scheduled releases from BLS, EIA, the Fed, OPEC and Baker Hughes between now and days ahead, in release order. released, actual, previous, consensus and surprise appear once known.

meta.calendar.status says whether an empty list can be trusted: ok means coverage spans the window, gap means coverage ends before the window does, and not_loaded means no calendar is held.

get/v1/macro/releases

Request

  • Base URL
    https://api.oilpriceapi.com
  • Auth
    API key in header Authorization

Query parameters

daysinteger
Example:30

Look-ahead window in days, clamped to 1-90.

importance'high' | 'medium' | 'low'
Example:high

Only releases of this importance.

source'bls' | 'eia' | 'fed' | 'opec' | 'baker_hughes'
Example:eia

Only releases from this publisher.

Response

Upcoming releases

statusstring required

Example response

{
  "status": "success",
  "data": {
    "releases": [
      {
        "source": "eia",
        "indicator_code": "CUSHING_STORAGE",
        "name": "EIA Weekly Petroleum Status Report",
        "importance": "medium",
        "schedule_basis": "rule"
      }
    ],
    "meta": {
      "count": 17,
      "period": "next_30_days",
      "calendar": {
        "status": "ok",
        "forward_coverage_days": 396
      }
    }
  }
}

Changes