# Economic calendar `GET` `https://api.unusualwhales.com/api/market/economic-calendar` Returns the economic calendar. ## Authentication ``` Authorization: Bearer YOUR_API_KEY ``` ## Response (200) | Field | Type | Description | |-------|------|-------------| | `event` | Economic Event | The event/reason. Can be a fed speaker or an economic report/indicator | | `forecast` | Economic Forecast | The forecast if the event is an economic report/indicator | | `prev` | Economic Previous | The previous value of the preceding period if the event is an economic report/indicator | | `reported_period` | Economic Reported Period | The period for that the economic report/indicator is being reported. | | `time` | Economic Time | The time at which the event will start as UTC timestamp. | | `type` | Economic Type | The type of the event | ## Example ### curl ```bash curl -X GET "https://api.unusualwhales.com/api/market/economic-calendar" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Accept: application/json" ``` ### Python ```python import http.client conn = http.client.HTTPSConnection("api.unusualwhales.com") headers = {"Authorization": "Bearer YOUR_API_KEY", "Accept": "application/json"} conn.request("GET", "/api/market/economic-calendar", headers=headers) response = conn.getresponse() print(response.read().decode("utf-8")) ``` ## Response Example ```json { "data": [ { "event": "Consumer sentiment (final)", "forecast": "69.4", "prev": "69.4", "reported_period": "December", "time": "2023-12-22T15:00:00Z", "type": "report" }, { "event": "PCE index", "forecast": null, "prev": "0.0%", "reported_period": "November", "time": "2023-12-22T13:30:00Z", "type": "report" } ] } ```