# Futures Candles (OHLCV) `GET` `https://api.unusualwhales.com/api/futures/{contract}/candles` OHLCV candles for a contract. Available on the Advanced API tier, or with the `futures` add-on — contact oskar@unusualwhales.com for access. ## Authentication ``` Authorization: Bearer YOUR_API_KEY ``` ## Path Parameters | Name | Type | Required | Description | |------|------|----------|-------------| | `contract` | string | Yes | Dated CME contract symbol, e.g. ESU6. | ## Query Parameters | Name | Type | Required | Description | |------|------|----------|-------------| | `interval` | string | No | Candle interval: 1m (default), 5m, or 1d. | | `range` | string | No | History range: 1d (default), 5d, 1w, 1m, 3m, 1y. | ## Response (200) | Field | Type | Description | |-------|------|-------------| | `c` | string | Close | | `date` | string | Trading date | | `end` | string | | | `h` | string | High | | `l` | string | Low | | `o` | string | Open | | `start` | string | | | `v` | integer | Volume | ## Example ### curl ```bash curl -X GET "https://api.unusualwhales.com/api/futures/{contract}/candles" \ -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/futures/{contract}/candles", headers=headers) response = conn.getresponse() print(response.read().decode("utf-8")) ``` ## Response Example ```json { "data": [ { "c": "string", "date": "string", "end": "string", "h": "string", "l": "string" } ] } ```