# Price change per month per year `GET` `https://api.unusualwhales.com/api/seasonality/{ticker}/year-month` Returns the relative price change for all past months over multiple years. ## Authentication ``` Authorization: Bearer YOUR_API_KEY ``` ## Path Parameters | Name | Type | Required | Description | |------|------|----------|-------------| | `ticker` | SingleTicker | Yes | A single ticker | ## Response (200) | Field | Type | Description | |-------|------|-------------| | `change` | Seasonality Change | The relative price change for the month. | | `close` | Seasonality Close Price | The closing stock price of the ticker for the month. | | `month` | Seasonality Month Number | The number indicating the month the data applies for. e.g. 1 -> January, 2 -> February, ... | | `open` | Seasonality Open Price | The opening stock price of the ticker for the month. | | `year` | Seasonality Year | The Year. | ## Example ### curl ```bash curl -X GET "https://api.unusualwhales.com/api/seasonality/{ticker}/year-month" \ -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/seasonality/{ticker}/year-month", headers=headers) response = conn.getresponse() print(response.read().decode("utf-8")) ``` ## Response Example ```json { "data": [ { "change": "-0.0469", "close": 315.75, "month": 9, "open": 331.31, "year": 2023 }, { "change": "0.0690", "close": 338.11, "month": 10, "open": 316.28, "year": 2023 }, { "change": "0.1151", "close": 378.91, "month": 11, "open": 339.79, "year": 2023 }, { "change": "-0.0019", "close": 376.04, "month": 12, "open": 376.76, "year": 2023 }, { "change": "0.0634", "close": 397.58, "month": 1, "open": 373.86, "year": 2024 } ] } ```