# Technical Indicator `GET` `https://api.unusualwhales.com/api/stock/{ticker}/technical-indicator/{function}` Returns any technical indicator time series for a ticker. Supports international stocks and OTC. **Supported functions:** SMA, EMA, WMA, DEMA, TEMA, TRIMA, KAMA, MAMA, T3, MACD, MACDEXT, STOCH, STOCHF, RSI, STOCHRSI, WILLR, ADX, ADXR, APO, PPO, MOM, BOP, CCI, CMO, ROC, ROCR, AROON, AROONOSC, MFI, TRIX, ULTOSC, DX, MINUS_DI, PLUS_DI, MINUS_DM, PLUS_DM, BBANDS, MIDPOINT, MIDPRICE, SAR, TRANGE, ATR, NATR, AD, ADOSC, OBV, HT_TRENDLINE, HT_SINE, HT_TRENDMODE, HT_DCPERIOD, HT_DCPHASE, HT_PHASOR, VWAP. Not all parameters apply to every function. For example, STOCH and BOP only use `interval`, while RSI uses all three (`interval`, `time_period`, `series_type`). The `month` parameter is only relevant for intraday intervals (1min, 5min, 15min, 30min, 60min). For daily/weekly/monthly intervals, full history is returned and `month` is ignored. ## Authentication ``` Authorization: Bearer YOUR_API_KEY ``` ## Path Parameters | Name | Type | Required | Description | |------|------|----------|-------------| | `ticker` | SingleTicker | Yes | A single ticker | | `function` | string | Yes | The technical indicator function name (e.g. RSI, SMA, MACD, BBANDS) | ## Query Parameters | Name | Type | Required | Description | |------|------|----------|-------------| | `interval` | string | No | Time interval between data points | | `time_period` | integer | No | Number of data points used to calculate the indicator (e.g. 14 for RSI, 20 for SMA) | | `series_type` | string | No | The price type used in the calculation | | `month` | string | No | Target month for intraday data in YYYY-MM format (e.g. 2026-02). Only applies to intraday intervals. | ## Response (200) | Field | Type | Description | |-------|------|-------------| | `date` | string | | | `indicator` | string | | | `interval` | string | | | `series_type` | string | | | `ticker` | string | | | `time_period` | integer | | | `values` | object | Indicator output values keyed by AlphaVantage's labels for the requested function. Keys vary by function (e.g. a single "RSI", or "MACD"/"MACD_Signal"/"MACD_Hist"). | ## Example ### curl ```bash curl -X GET "https://api.unusualwhales.com/api/stock/{ticker}/technical-indicator/{function}" \ -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}/technical-indicator/{function}", headers=headers) response = conn.getresponse() print(response.read().decode("utf-8")) ``` ## Response Example ```json { "data": [ { "date": "2026-01-03", "indicator": "MACD", "interval": "daily", "series_type": "close", "ticker": "AAPL" } ] } ```