# IV Rank `GET` `https://api.unusualwhales.com/api/stock/{ticker}/iv-rank` Returns the IV rank data for a ticker over a period of time. IV rank is a measure of where current implied volatility stands relative to its historical range. ## Authentication ``` Authorization: Bearer YOUR_API_KEY ``` ## Path Parameters | Name | Type | Required | Description | |------|------|----------|-------------| | `ticker` | SingleTicker | Yes | A single ticker | ## Query Parameters | Name | Type | Required | Description | |------|------|----------|-------------| | `date` | Optional Market Date | No | A trading date in the format of YYYY-MM-DD. This is optional and by default the last trading date. | | `timespan` | OptionalTimespan | No | Optional timespan parameter that can be used to specify a date range. Accepts values like '1y', '6m', '3m', '1m', '1w' or an ISO date (example: 2024-01-25). | ## Response (200) | Field | Type | Description | |-------|------|-------------| | `close` | Stock Close Price | The close stock price of the ticker. | | `date` | Market General Trading day | A trading date in ISO format. | | `iv_rank_1y` | Market General IV Rank | The IV rank value, which represents where current implied volatility stands relative to its historical range. | | `updated_at` | General UTC Timestamp | A UTC timestamp. | | `volatility` | Market General Volatility | The implied volatility value. | ## Example ### curl ```bash curl -X GET "https://api.unusualwhales.com/api/stock/{ticker}/iv-rank" \ -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/stock/{ticker}/iv-rank", headers=headers) response = conn.getresponse() print(response.read().decode("utf-8")) ``` ## Response Example ```json { "data": [ { "close": "180.50", "date": "2024-01-22", "iv_rank_1y": "0.65", "updated_at": "2024-01-22T16:35:52.168490Z", "volatility": "0.25" }, { "close": "181.25", "date": "2024-01-23", "iv_rank_1y": "0.72", "updated_at": "2024-01-23T16:35:52.168490Z", "volatility": "0.28" } ] } ```