---
title: "Upcoming economic and energy data releases"
method: GET
path: "/v1/macro/releases"
tags: ["Macro"]
---

# Upcoming economic and energy data releases

`GET /v1/macro/releases`

## Request

- Base URL: `https://api.oilpriceapi.com`
- URL: `https://api.oilpriceapi.com/v1/macro/releases`
- Auth: API key in header `Authorization`

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.

## Query parameters

- `days` integer
- `importance` 'high' | 'medium' | 'low'
- `source` 'bls' | 'eia' | 'fed' | 'opec' | 'baker_hughes'

## Response `200`

Upcoming releases

- object
  - `status` string, required
  - `data` object, required
    - `releases` object[]
      - `id` string
      - `source` string
      - `indicator_code` string
      - `name` string
      - `release_date` string, date-time
      - `importance` string
      - `released` boolean
      - `schedule_basis` string
      - `actual` number
      - `previous` number
      - `consensus` number
      - `surprise` number
    - `meta` object
      - `count` integer
      - `period` string
      - `calendar` object
        - `status` 'ok' | 'gap' | 'not_loaded'
        - `coverage_start` string, date-time, nullable
        - `coverage_end` string, date-time, nullable
        - `forward_coverage_days` integer, nullable
      - `generated_at` string, date-time

## Other responses

- `401`: Missing or invalid API key.
- `500`: Unexpected server error. Retry transient failures with bounded backoff and retain the request ID when contacting support.

## Changes

- **2026-11-10** `abcce0611b94`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/oilpriceapi/apis/oil-price-api-v1/changes/v1/macro/releases/get.md)

---

[API](https://skmtc.dev/oilpriceapi/apis/oil-price-api-v1.md) - [All operations](https://skmtc.dev/oilpriceapi/apis/oil-price-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/oilpriceapi/apis/oil-price-api-v1/revisions/b2d8afb33a27?raw)
