# Economic Indicator `GET` `https://api.unusualwhales.com/api/economy/{indicator}` **Requires Advanced+ tier (Advanced, Enterprise, or Enterprise + Kafka).** Returns a long-running US economic indicator series. Indicators: gdp, gdp-per-capita, treasury-yield, fed-funds, cpi, inflation, retail-sales, durables, unemployment, payrolls. The optional `interval` and `maturity` parameters apply only to indicators that support them (e.g. `treasury-yield` accepts a maturity like `10year`). ## Authentication ``` Authorization: Bearer YOUR_API_KEY ``` ## Path Parameters | Name | Type | Required | Description | |------|------|----------|-------------| | `indicator` | string | Yes | | ## Query Parameters | Name | Type | Required | Description | |------|------|----------|-------------| | `interval` | string | No | | | `maturity` | string | No | Only for treasury-yield. | ## Response (200) | Field | Type | Description | |-------|------|-------------| | `data` | array[Series Point] | | | `interval` | string | | | `name` | string | | | `unit` | string | | ## Example ### curl ```bash curl -X GET "https://api.unusualwhales.com/api/economy/{indicator}" \ -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/economy/{indicator}", headers=headers) response = conn.getresponse() print(response.read().decode("utf-8")) ``` ## Response Example ```json { "data": { "data": [ null ], "interval": "string", "name": "string", "unit": "string" } } ```