# Option Price Levels `GET` `https://api.unusualwhales.com/api/stock/{ticker}/option/stock-price-levels` Returns the call and put volume per price level for the given ticker. ---- Can be used to build a chart such as following: ![Option Price Level chart](https://i.imgur.com/y6BZ4sG.png) ## 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. | ## Response (200) | Field | Type | Description | |-------|------|-------------| | `call_volume` | Market General Call Volume | The sum of the size of all the call transactions that executed. | | `price` | Stock Price Level | The price level. | | `put_volume` | Market General Put Volume | The sum of the size of all the put transactions that executed. | ## Example ### curl ```bash curl -X GET "https://api.unusualwhales.com/api/stock/{ticker}/option/stock-price-levels" \ -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}/option/stock-price-levels", headers=headers) response = conn.getresponse() print(response.read().decode("utf-8")) ``` ## Response Example ```json { "data": [ { "call_volume": 22074116, "price": "120.12", "put_volume": 19941285 }, { "call_volume": 220741, "price": "123.12", "put_volume": 199415 } ] } ```