# Expiry Breakdown `GET` `https://api.unusualwhales.com/api/stock/{ticker}/expiry-breakdown` Returns all expirations for the given trading day for a ticker. ## 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 | |-------|------|-------------| | `chains` | integer | The total amount of chains for that expiry | | `expiry` | Option Contract Expiry | The contract expiry date in ISO format. | | `open_interest` | integer | The total open interest for that expiry | | `volume` | integer | The total volume for that expiry | ## Example ### curl ```bash curl -X GET "https://api.unusualwhales.com/api/stock/{ticker}/expiry-breakdown" \ -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}/expiry-breakdown", headers=headers) response = conn.getresponse() print(response.read().decode("utf-8")) ``` ## Response Example ```json { "data": [ { "chains": 5000, "expiry": "2023-09-07", "open_interest": 554, "volume": 1566232 }, { "chains": 50, "expiry": "2023-10-20", "open_interest": 0, "volume": 1532 }, { "chains": 20, "expiry": "2023-11-30", "open_interest": 33112, "volume": 931 } ] } ```