# Economic Calendar

> Returns scheduled macroeconomic releases (inflation, labour market, activity, trade, GDP, central-bank decisions, weekly US petroleum data) for the United States, the euro area and Germany, with the actual and previous…

`GET https://api.bavest.co/v2/calendar/economic`

Group: Calendar. Route id: `v2_calendar_economic`. Restricted access. Your API key must be enabled for this endpoint; contact Bavest to confirm availability.

## Description

Returns scheduled macroeconomic releases (inflation, labour market, activity, trade, GDP, central-bank decisions, weekly US petroleum data) for the United States, the euro area and Germany, with the actual and previous values computed from the series Bavest loads, sorted by release time.
Availability starts after the series behind an event has been loaded: an event whose series has no stored value is not listed until then.

Sources and notices: the publishers are named in `attribution`. Figures marked "computed by Bavest" are derived by Bavest from the published series and are not published by the source itself. None of the publishers endorses Bavest or is responsible for its products.

- U.S. Bureau of Labor Statistics: retrieved from BLS.gov through its public API, on the date named in `attribution`. BLS.gov cannot vouch for the data or analyses derived from these data after the data have been retrieved from BLS.gov.
- Series of the U.S. Bureau of Economic Analysis, Census Bureau, Employment and Training Administration and Federal Reserve Board, and the release dates of the US agencies: retrieved through the FRED® API. This product uses the FRED® API but is not endorsed or certified by the Federal Reserve Bank of St. Louis. FRED® API terms of use: https://fred.stlouisfed.org/docs/api/terms_of_use.html
- U.S. Census Bureau data retrieved from its API: This product uses the Census Bureau Data API but is not endorsed or certified by the Census Bureau.
- Eurostat: licence CC BY 4.0. Eurostat is not responsible for the reuse of its data by Bavest or for changes made to it.
- European Central Bank: the ECB statistics are available free of charge at https://data.ecb.europa.eu.
- Statistisches Bundesamt (Destatis): licence dl-de/by-2-0 (https://www.govdata.de/dl-de/by-2-0). Changes made by Bavest are marked.

## Authentication

Send your API key in the `x-api-key` header on every request to `https://api.bavest.co`. The samples read it from the `BAVEST_API_KEY` environment variable. [Get an API key](https://dashboard.bavest.co/sign-up) (free trial) · [Authentication guide](https://docs.bavest.co/docs/authentication.md).

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `from` | query | string (date) | no | Start date (YYYY-MM-DD) |
| `to` | query | string (date) | no | End date (YYYY-MM-DD) |
| `limit` | query | integer (int32) | no | Maximum number of results to return (default 100, max 1000) Default `100`. |
| `offset` | query | integer (int32) | no | Number of results to skip for pagination (default 0) Default `0`. |
| `country` | query | string | no | Only these countries' events, as comma-separated ISO 3166-1 alpha-2 codes, case-insensitive (e.g., `DE` or `DE,US`; the euro area is `EU`). Omit for every country. |
| `importance` | query | string | no | Only events of these importance levels, comma-separated (1 = low, 2 = medium, 3 = high; e.g., `3` or `2,3`). Omit for every level. |
| `eventCode` | query | string | no | Only these events, as comma-separated event codes, case-insensitive (e.g., `US_CPI_YOY` or `US_CPI_YOY,EU_HICP_FLASH_YOY`). Each row returns its code as `eventCode`. |
| `event` | query | string | no | Only events whose name contains this text, case-insensitive (e.g., `unemployment` or `GDP`). One phrase, 2 to 60 characters. |
| `referencePeriod` | query | string | no | Only events about this reference period (the period the figure measures, not the release date), as `YYYY`, `YYYY-MM`, `YYYY-Qn` or `YYYY-MM-DD` (e.g., `2026-Q3` or `2026-09`). Combine with `from`/`to` to bound the release date. |
| `source` | query | string | no | Only events from these publishers, comma-separated and case-insensitive, matching the `source` field of the response (e.g., `BLS` or `BLS,Eurostat`). |
| `metric` | query | string | no | Only events about these indicators, comma-separated and case-insensitive, matching `relatedIndicator.metric` (e.g., `CPI` or `HICP,CPI`). Events without a value series have none. |

## Response

200 Successful response (`application/json`).

| Field | Type | Always present | Description |
|---|---|---|---|
| `data` | array of EconomicCalendarEvent | no |  |
| `data[].date` | string (date-time) | yes | Scheduled release time in UTC, ISO 8601 with `Z`. Example: `2026-11-04T10:00:00Z`. |
| `data[].timeConfirmed` | boolean | yes | True when the publisher states this release's time (EIA states its standard Wednesday time and every holiday shift); false when the time is the standard release time that Bavest applies as a rule. Example: `false`. |
| `data[].country` | string | yes | ISO 3166-1 alpha-2 code of the releasing economy (`EU` for the euro area) Example: `EU`. |
| `data[].event` | string | yes | Release name. Example: `Inflation Rate YoY Flash`. |
| `data[].eventCode` | string | yes | Stable machine-readable event identifier (e.g., `US_CPI_YOY`, `DE_GDP_FLASH_QOQ`, `EU_ECB_DFR`) Example: `EU_HICP_FLASH_YOY`. |
| `data[].importance` | integer | yes | Expected market impact (1 = low, 2 = medium, 3 = high). One of `1`, `2`, `3`. Example: `3`. |
| `data[].referencePeriod` | string (date) | yes | First day of the period the release reports (month, quarter, or the week-ending day for weekly series, which is a Saturday for jobless claims and a Friday for EIA petroleum data); for an ECB decision, the date the decided rates take effect (the Wednesday after the meeting); for the Fed decision, the decision day (the last day of the FOMC meeting). Example: `2026-10-01`. |
| `data[].actual` | number (double) \| null | no | The released figure, computed from the stored series (growth rates in percent points), current vintage; null before `date`, until Bavest has loaded the period after `date`, and always for the Fed decision. Example: `2.1`. |
| `data[].previous` | number (double) \| null | no | The same figure for the prior period, from today's data (revised, not as first published). Example: `2.2`. |
| `data[].forecast` | number (double) \| null | no | Always null; Bavest publishes no consensus forecast. |
| `data[].unit` | string \| null | no | Unit of actual and previous, from a fixed set. The scale is part of the code, so read the number as given, in the named unit. `PERCENT`: rates and growth rates, in percent points. `COUNT`: a plain count (jobless claims). `COUNT_THOUSAND`: thousands of persons or units (payrolls change, job openings, housing units at an annual rate); 150 means 150,000. `INDEX`: an index level. `USD_MILLION`: millions of US dollars (trade balance). `BARREL_THOUSAND`: thousands of barrels (petroleum stocks and their change). `BARREL_THOUSAND_PER_DAY`: thousands of barrels per day (imports, refinery runs, production). Null where an event has no unit. One of `PERCENT`, `COUNT`, `COUNT_THOUSAND`, `INDEX`, `USD_MILLION`, `BARREL_THOUSAND`, `BARREL_THOUSAND_PER_DAY`, `null`. Example: `PERCENT`. |
| `data[].status` | string | yes | `scheduled` before `date`; `released` when actual is known (an event without a Bavest series, the Fed decision, once `date` has passed; a central-bank hold once the rate series was loaded again after the effective date); `pending` after `date` while Bavest has not loaded the period after `date`, or, for a central-bank decision, neither a rate dated from the effective date nor a reload after it. One of `scheduled`, `released`, `pending`. Example: `released`. |
| `data[].source` | string | yes | Publisher of the release (e.g., `BLS`, `BEA`, `Census Bureau`, `Federal Reserve`, `Eurostat`, `Destatis`, `ECB`) Example: `Eurostat`. |
| `data[].attribution` | string | yes | Credit for the number (with its licence and URL), a note where Bavest computes the figure (growth rates, changes), and the release-date source when it differs (Destatis release dates always name the Terminvorschau), as the data licences require (e.g., `Source: Eurostat (CC BY 4.0, https://creativecommons.org/licenses/by/4.0/), via ECB Data Portal`, `© Statistisches Bundesamt (Destatis) (Datenlizenz Deutschland - Namensnennung - Version 2.0, https://www.govdata.de/dl-de/by-2-0), GENESIS-Online table 61111-0002, https://genesis.destatis.de/datenbank/online/statistic/61111/table/61111-0002, growth rates computed by Bavest; release date: Terminvorschau https://www.destatis.de/SiteGlobals/Forms/Suche/Termine/DE/Terminsuche_Formular.html`, `Source: U.S. Bureau of Economic Analysis via FRED®, growth rates computed by Bavest`). Show it with the value. For figures retrieved from BLS.gov it also names the date of the latest retrieval. BLS.gov cannot vouch for the data or analyses derived from these data after the data have been retrieved from BLS.gov. This product uses the FRED® API but is not endorsed or certified by the Federal Reserve Bank of St. Louis. FRED® API terms of use: https://fred.stlouisfed.org/docs/api/terms_of_use.html. Example: `Source: Eurostat (CC BY 4.0, https://creativecommons.org/licenses/by/4.0/), via ECB Data Portal`. |
| `data[].relatedIndicator` | object \| null | no | The indicator's history on `/v2/economy/indicator` (usually a level or index, not the event's growth rate). That endpoint picks its own series per metric and unit, so it can be a different source or unit than the one this event's figures are computed from. |
| `data[].relatedIndicator.metric` | string | yes | Machine-readable metric code identifying a macroeconomic indicator. Pass one of these values as the `metric` query parameter to `/v2/economy/indicator`. Values: see `data[].relatedIndicator.metric` below. |
| `data[].relatedIndicator.country` | string | yes | ISO 3166-1 alpha-2 code to pass as `country` Example: `EU`. |
| `meta` | ResponseMeta | no | Response metadata for paginated endpoints. Offset pagination returns `page`/`pageSize`/`totalPages`/`totalCount`; cursor pagination returns `pageSize`/`hasMore`/`nextCursor` and `totalCount` only when known. |
| `meta.time` | integer | no | Server-side processing time in milliseconds. Example: `17`. |
| `meta.parameters` | object | no | Echo of the request parameters the endpoint resolved. |
| `meta.page` | integer | no | Current page number (offset pagination) Example: `1`. |
| `meta.pageSize` | integer | no | Number of results per page. Example: `50`. |
| `meta.totalPages` | integer | no | Total number of pages (offset pagination) Example: `2`. |
| `meta.totalCount` | integer | no | Total number of results across all pages. Example: `100`. |
| `meta.hasMore` | boolean | no | Whether more results follow (cursor pagination) |
| `meta.nextCursor` | string \| null | no | Cursor for the next page (cursor pagination), null on the last page. |

### Values of `data[].relatedIndicator.metric`

- `BUSINESS_CONFIDENCE_EU`
- `EXPORT_ORDERS`
- `IFO_BUSINESS_CLIMATE`
- `IFO_EXPECTATIONS`
- `CONSUMER_CONFIDENCE_US`
- `GFK_CONSUMER`
- `UMICH_SENTIMENT`
- `CONSUMER_EXPENDITURE`
- `HOUSEHOLD_CONSUMPTION_WB`
- `PCE`
- `RETAIL_SALES`
- `ZEW_SENTIMENT`
- `CRUDE_OIL_IMPORTS`
- `CRUDE_OIL_STOCKS`
- `DISTILLATE_PRODUCTION`
- `DISTILLATE_STOCKS`
- `GASOLINE_STOCKS`
- `REFINERY_CRUDE_RUNS`
- `REFINERY_UTILIZATION`
- `EMPLOYED_PERSONS`
- `INITIAL_CLAIMS`
- `JOB_OPENINGS`
- `LABOR_FORCE_PARTICIPATION`
- `LABOR_FORCE_WB`
- `NONFARM_PAYROLLS`
- `UNEMPLOYMENT_ILO`
- `UNEMPLOYMENT_RATE`
- `UNEMPLOYMENT_WB`
- `GDP_GROWTH_WB`
- `GDP_NOMINAL`
- `GDP_NOMINAL_WB`
- `GDP_PER_CAPITA_WB`
- `GDP_REAL`
- `GDP_REAL_WB`
- `GOVT_CONSUMPTION`
- `BUILDING_PERMITS`
- `CONSTRUCTION_PRICE_INDEX`
- `HOME_PRICE_INDEX`
- `HOUSE_PRICE_INDEX`
- `HOUSING_STARTS`
- `NEW_HOME_SALES`
- `AVG_HOURLY_EARNINGS`
- `INCOME_STATISTICS`
- `PERSONAL_INCOME`
- `INDUSTRIAL_PRODUCTION`
- `MANUFACTURING_IP`
- `CPI`
- `CPI_WB`
- `CPI_CORE`
- `GDP_DEFLATOR`
- `HICP`
- `HICP_CORE`
- `HICP_CORE_INDEX`
- `HICP_INDEX`
- `INFLATION_WB`
- `PCE_PRICE_INDEX`
- `PPI`
- `PPI_FINAL_DEMAND`
- `BOC_RATE`
- `BOE_RATE`
- `BOJ_RATE`
- `BOK_RATE`
- `DE_10Y_YIELD`
- `DE_3M_RATE`
- `ECB_DFR`
- `ECB_MRR`
- `FED_FUNDS`
- `PBOC_RATE`
- `POLICY_RATE`
- `RBA_RATE`
- `BUSINESS_INVESTMENT`
- `GROSS_CAPITAL_FORMATION_WB`
- `PRIVATE_INVESTMENT`
- `DURABLE_GOODS_ORDERS`
- `M2_PCT_GDP_WB`
- `MONEY_SUPPLY_M1`
- `MONEY_SUPPLY_M2`
- `MONEY_SUPPLY_M3`
- `EXPORTS_GOODS_SERVICES`
- `IMPORTS_GOODS_SERVICES`
- `TRADE_BALANCE`
- `WHOLESALE_TRADE`

## Try it in the browser

Open [Try it](https://docs.bavest.co/docs/v2_calendar_economic#try-it) on the HTML reference to edit parameters and send a request.

## Example request

```bash
curl 'https://api.bavest.co/v2/calendar/economic' \
  -H "x-api-key: $BAVEST_API_KEY"
```

## Example response

```json
{
  "data": [
    {
      "date": "2026-11-04T10:00:00Z",
      "timeConfirmed": false,
      "country": "EU",
      "event": "Inflation Rate YoY Flash",
      "eventCode": "EU_HICP_FLASH_YOY",
      "importance": 3,
      "referencePeriod": "2026-10-01",
      "actual": 2.1,
      "previous": 2.2,
      "forecast": null,
      "unit": "PERCENT",
      "status": "released",
      "source": "Eurostat",
      "attribution": "Source: Eurostat (CC BY 4.0, https://creativecommons.org/licenses/by/4.0/), via ECB Data Portal",
      "relatedIndicator": {
        "metric": "HICP",
        "country": "EU"
      }
    },
    {
      "date": "2026-11-10T13:30:00Z",
      "timeConfirmed": false,
      "country": "US",
      "event": "CPI YoY",
      "eventCode": "US_CPI_YOY",
      "importance": 3,
      "referencePeriod": "2026-10-01",
      "actual": null,
      "previous": 2.9,
      "forecast": null,
      "unit": "PERCENT",
      "status": "scheduled",
      "source": "BLS",
      "attribution": "Source: U.S. Bureau of Labor Statistics, growth rates computed by Bavest; release date via FRED®",
      "relatedIndicator": {
        "metric": "CPI",
        "country": "US"
      }
    }
  ],
  "meta": {
    "page": 1,
    "pageSize": 100,
    "totalPages": 1,
    "totalCount": 2,
    "parameters": {
      "from": "2026-11-01",
      "to": "2026-11-15",
      "importance": "3"
    },
    "time": 6
  }
}
```

## Errors

| Status | Meaning |
|---|---|
| 400 | Invalid request parameters. Returned when required query parameters are missing, have invalid types, or violate constraints (e.g., providing both symbol and isin when they are mutually exclusive). |
| 401 | Missing or invalid API key. |
| 404 | Resource not found. |
| 429 | Rate limit exceeded. Retry after the `Retry-After` header interval. |
| 500 | An unexpected error occurred on the server. If the issue persists, contact support with the X-Request-Id header value. |
| 502 | Upstream data provider returned an error or is temporarily unavailable. Retry after a short delay. |
| 503 | Bavest cannot read its data store right now. The security may well have data; retry after the `Retry-After` header interval. |
| 504 | The request timed out waiting for a response from the upstream data provider. This may occur for complex queries or during peak load. |
| default | An unexpected error occurred on the server. If the issue persists, contact support with the X-Request-Id header value. |

- `403` from the gateway: the API key is invalid or switched off.
- `429` with message `Limit Exceeded`: the monthly quota of the key is used up. With `Too Many Requests`: the key is throttled, or this route is not in the key's plan. Wait for `Retry-After` when it is sent.

## Related routes

- [Stock Splits Calendar](https://docs.bavest.co/docs/v2_calendar_splits.md): Sibling route; `GET /v2/calendar/splits`.
- [AGM Calendar](https://docs.bavest.co/docs/v2_calendar_agm.md): Sibling route; `GET /v2/calendar/agm`.
- [IPO Calendar](https://docs.bavest.co/docs/v2_calendar_ipo.md): Sibling route; `GET /v2/calendar/ipo`.
- [Earnings Calendar](https://docs.bavest.co/docs/v2_calendar_earnings.md): Sibling route; `GET /v2/calendar/earnings`.

## What next

- [Authentication](https://docs.bavest.co/docs/authentication.md): get a key and understand access errors.
- [MCP server](https://docs.bavest.co/docs/mcp.md): use the API from an AI agent.
- [Complete API index](https://docs.bavest.co/llms.txt): find routes in every group.

## Links

- HTML page: https://docs.bavest.co/docs/v2_calendar_economic
- OpenAPI: https://docs.bavest.co/openapi.json (YAML: https://docs.bavest.co/openapi.yaml)
- Authentication: https://docs.bavest.co/docs/authentication.md
- MCP server for AI agents: https://docs.bavest.co/docs/mcp.md
- All routes: https://docs.bavest.co/llms.txt
