# Fixed-Window Analytics `GET` `https://api.unusualwhales.com/api/analytics/window` **Requires Advanced+ tier (Advanced, Enterprise, or Enterprise + Kafka).** Statistical analytics over a fixed window across one or more tickers. Returns mean, stddev, correlation, etc. ## Authentication ``` Authorization: Bearer YOUR_API_KEY ``` ## Query Parameters | Name | Type | Required | Description | |------|------|----------|-------------| | `symbols` | string | Yes | Comma-separated tickers. | | `range` | string | Yes | Either an ISO date for the start of the window (pair with the optional range_end) or a relative shorthand like '2month' or 'full'. | | `range_end` | string | No | Optional end date when using ISO range_start. | | `interval` | string | No | | | `ohlc` | string | No | | | `calculations` | string | Yes | Comma-separated. Supported: MIN, MAX, MEAN, MEDIAN, CUMULATIVE_RETURN, VARIANCE, STDDEV, MAX_DRAWDOWN, HISTOGRAM, AUTOCORRELATION, COVARIANCE, CORRELATION. | ## Response (200) | Field | Type | Description | |-------|------|-------------| | `meta` | object | | | `payload` | object | | ## Example ### curl ```bash curl -X GET "https://api.unusualwhales.com/api/analytics/window?symbols=AAPL,IBM,MSFT&range=2month&calculations=MEAN,STDDEV,CORRELATION" \ -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/analytics/window?symbols=AAPL,IBM,MSFT&range=2month&calculations=MEAN,STDDEV,CORRELATION", headers=headers) response = conn.getresponse() print(response.read().decode("utf-8")) ``` ## Response Example ```json { "data": { "meta": null, "payload": null } } ```