Macro
Upcoming economic and energy data releases
Changed onScheduled 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 URLhttps://api.oilpriceapi.com
- AuthAPI 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
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
- info
endpoint added
- info