Technical Indicators API
Pull daily technical indicator values for US stocks and ETFs: RSI, MACD, SMA and EMA moving averages, Bollinger Bands, ADX, SuperTrend, Ichimoku, Stochastic, ATR, OBV and more: 52 indicators, up to 10 in one call. Every value is computed over the ticker's full price history with TradingView and TA-Lib conventions, so a 200-day EMA or a Wilder RSI matches what you see on a chart, back to the first trading day on file. The response names the company and each indicator's parameters once in metadata; each row in data carries the date and the indicator values. The technical analysis API is free on every plan.
https://data.businessquant.com/technical_indicators?ticker={ticker}&indicators={ids}&api_key={api_key}
Related endpoints: Find every indicator id, its parameters and output fields in the List of Technical Indicators API. Pull the underlying daily OHLCV from the EOD Stock Prices API, and combine price signals with fundamentals through the Stock Screener API.
1. Request Parameters
Provide an API key, one company (ticker or CIK) and up to 10 indicator ids. Without a date range the call returns the latest 500 trading days, newest first. Indicator ids come from /technical_indicators/list; common names such as sma50, bollinger or williams_r are accepted too.
| Parameter | Description |
|---|---|
| api_key | Required Your unique API key for authentication. |
| indicators | Required Comma-separated indicator ids, at most 10 per call. Each id returns all of its output fields: macd returns the MACD line, signal line and histogram.Format: indicators=rsi,macd,sma_50 |
| ticker | Conditional Stock or ETF ticker. (Provide exactly one: ticker or cik). BRK.B and BRK-B both work.Format: ticker=AAPL |
| cik | Conditional SEC Central Index Key of the company. (Provide exactly one: ticker or cik).Format: cik=320193 |
| from_date | Optional First trading day to return, inclusive.Format: from_date=2025-01-01 |
| till_date | Optional Last trading day to return, inclusive.Format: till_date=2025-12-31 |
| limit | Optional Rows to return: default 500, maximum 20,000. Applied after the date range, from the end that order starts at.Format: limit=250 |
| order | Optional desc (newest first, default) or asc (oldest first).Format: order=asc |
| include_ohlc | Optional true adds the day's open, high, low, close and volume to every row.Format: include_ohlc=true |
curl -X GET "https://data.businessquant.com/technical_indicators?ticker=AAPL&indicators=rsi,macd,sma_50,bbands&limit=10&api_key=YOUR_API_KEY"
import requests
r = requests.get("https://data.businessquant.com/technical_indicators", params={
"ticker": "AAPL",
"indicators": "rsi,macd,sma_50",
"from_date": "2025-01-01",
"order": "asc",
"api_key": "YOUR_API_KEY",
})
rows = r.json()["data"] # [{"date": "2025-01-02", "rsi": ..., "macd": ...}, ...]
2. Sample Response
Apple's RSI, MACD, 50-day SMA and Bollinger Bands for the latest 10 trading days. metadata.indicators lists each requested indicator with its parameters and the fields it adds to every row. Switch to JSON for the raw response.
Apple — Daily Technical Indicators
Ticker: AAPL •
Indicators: rsi, macd, sma_50, bbands •
10 trading days
| Date | rsi | macd | macd_signal | macd_hist | sma_50 | bb_upper | bb_middle | bb_lower | bb_percent_b | bb_bandwidth |
|---|---|---|---|---|---|---|---|---|---|---|
| 2026-11-20 | 46.45 | 2.67 | 3.43 | -0.7601 | 341.81 | 359.42 | 347.48 | 335.53 | 0.2942 | 6.88 |
| 2026-11-19 | 52.97 | 3.54 | 3.62 | -0.0785 | 341.60 | 359.47 | 347.74 | 336.00 | 0.5628 | 6.75 |
| 2026-11-18 | 56.56 | 3.93 | 3.64 | 0.2858 | 341.15 | 359.40 | 347.69 | 335.97 | 0.7033 | 6.74 |
| 2026-11-17 | 56.10 | 4.03 | 3.57 | 0.4603 | 340.41 | 358.87 | 347.26 | 335.66 | 0.7002 | 6.68 |
| 2026-11-16 | 57.00 | 4.16 | 3.46 | 0.7033 | 339.69 | 358.51 | 346.64 | 334.77 | 0.7585 | 6.85 |
| 2026-11-13 | 60.64 | 4.17 | 3.28 | 0.8933 | 339.04 | 357.78 | 346.15 | 334.53 | 0.9352 | 6.72 |
| 2026-11-12 | 59.69 | 3.77 | 3.06 | 0.7186 | 338.48 | 356.21 | 345.51 | 334.81 | 0.9379 | 6.19 |
| 2026-11-11 | 60.42 | 3.35 | 2.88 | 0.4769 | 337.88 | 354.75 | 344.87 | 334.98 | 1.04 | 5.73 |
| 2026-11-10 | 55.62 | 2.69 | 2.76 | -0.0668 | 337.27 | 352.82 | 344.23 | 335.65 | 0.7492 | 4.99 |
| 2026-11-09 | 57.61 | 2.53 | 2.77 | -0.2438 | 336.63 | 352.31 | 343.87 | 335.43 | 0.9040 | 4.91 |
3. Response Field Reference
Everything that repeats across rows (the company, the interval, each indicator's parameters) is stated once in metadata. Each data row has the trading date plus one field per indicator output.
Metadata Fields
| Field | Type | Description |
|---|---|---|
| ticker | string | Ticker the values belong to (share classes use a dash: BRK-B). |
| cik | integer | SEC Central Index Key. |
| companyname | string | Company name as registered. |
| companyname_short | string | Short company name. |
| interval | string | Bar interval the indicators are computed on: daily. |
| indicators | array | One object per requested indicator: id, name, category, parameters (period, smoothing, multipliers) and fields, the keys it adds to each data row. |
| order | string | desc or asc, as requested. |
| from_date | string | Earliest date in data. |
| till_date | string | Latest date in data. |
| total_records | integer | Number of rows in data. |
| message | string | Present only when data is empty, saying why (for example, no trading days in the requested range). |
Data Fields
| Field | Type | Description |
|---|---|---|
| date | string | Trading date (YYYY-MM-DD). |
| {indicator field} | number|null | One key per output of each requested indicator, for example rsi, macd, macd_signal, macd_hist, bb_upper. null while the indicator is still warming up (a 200-day SMA has no value for a ticker's first 199 trading days). |
| supertrend_direction | integer | 1 in an uptrend (the line is below price), -1 in a downtrend. |
| obv | integer | On-balance volume, a running total of shares. |
| open, high, low, close | number | Only with include_ohlc=true: the day's split-adjusted prices. |
| volume | integer | Only with include_ohlc=true: shares traded that day. |
4. How the Indicators Are Calculated
Recursive indicators such as the EMA, RSI, ATR and ADX depend on every bar before the one you read. Many technical analysis APIs start the calculation a few hundred bars back, so their long-period values drift from a charting platform's. This API computes each indicator over the ticker's whole daily history, with the conventions TradingView and TA-Lib use:
| Convention | Detail |
|---|---|
| EMA seeding | The first EMA value is the SMA of the first n closes; after that alpha = 2 / (n + 1). DEMA, TEMA, MACD, PPO, TRIX and Keltner Channels build on this EMA. |
| Wilder smoothing | RSI, ATR, NATR, ADX, +DI and -DI use Wilder's moving average (alpha = 1 / n), seeded with a simple average. |
| Bollinger Bands | 20-day SMA ± 2 population standard deviations. |
| Parabolic SAR | Acceleration 0.02, step 0.02, maximum 0.2, as TA-Lib's SAR. |
| Ichimoku spans | Senkou span A and B are reported on the day they are plotted, 26 trading days after the bars that produce them. |
| Prices | Daily bars adjusted for splits. Indicators are calculated from the ticker's current price history on every request, so a split or a price correction is reflected in every value straight away. |
| Updates | Calculated from the latest daily prices: a new trading day appears as soon as its price bar does. |
Technical Indicators API Request Examples
Copy any request below directly into your application.
https://data.businessquant.com/technical_indicators?ticker=AAPL&indicators=rsi&limit=30&api_key=YOUR_API_KEY
https://data.businessquant.com/technical_indicators?ticker=MSFT&indicators=macd&from_date=2025-01-01&till_date=2025-12-31&order=asc&api_key=YOUR_API_KEY
https://data.businessquant.com/technical_indicators?ticker=NVDA&indicators=sma_50,sma_200&limit=250&api_key=YOUR_API_KEY
https://data.businessquant.com/technical_indicators?ticker=TSLA&indicators=supertrend,adx&include_ohlc=true&api_key=YOUR_API_KEY
https://data.businessquant.com/technical_indicators?cik=320193&indicators=bbands,atr,obv&api_key=YOUR_API_KEY
{
"metadata": {
"ticker": "AAPL",
"cik": 320193,
"companyname": "Apple Inc.",
"companyname_short": "Apple",
"interval": "daily",
"indicators": [
{
"id": "supertrend",
"name": "SuperTrend",
"category": "Trend",
"parameters": {
"atr_period": 10,
"multiplier": 3
},
"fields": [
"supertrend",
"supertrend_direction"
]
},
{
"id": "adx",
"name": "Average Directional Index",
"category": "Trend",
"parameters": {
"period": 14,
"smoothing": "Wilder"
},
"fields": [
"adx",
"plus_di",
"minus_di"
]
}
],
"order": "desc",
"from_date": "2026-11-16",
"till_date": "2026-11-20",
"total_records": 5
},
"data": [
{
"date": "2026-11-20",
"supertrend": 334.2701,
"supertrend_direction": 1,
"adx": 15.60654,
"plus_di": 23.03306,
"minus_di": 27.01057,
"open": 352.63,
"high": 354.3,
"low": 340.56,
"close": 342.56,
"volume": 72368860
},
{
"date": "2026-11-19",
"supertrend": 334.2701,
"supertrend_direction": 1,
"adx": 16.19565,
"plus_di": 26.2926,
"minus_di": 24.74597,
"open": 352.91,
"high": 355.28,
"low": 346.47,
"close": 349.21,
"volume": 37810532
},
{
"date": "2026-11-18",
"supertrend": 334.2701,
"supertrend_direction": 1,
"adx": 17.20836,
"plus_di": 28.71178,
"minus_di": 21.80094,
"open": 351.87,
"high": 356.42,
"low": 351.47,
"close": 352.45,
"volume": 27823478
},
{
"date": "2026-11-17",
"supertrend": 334.2701,
"supertrend_direction": 1,
"adx": 17.47967,
"plus_di": 29.07977,
"minus_di": 22.90024,
"open": 352.92,
"high": 355.36,
"low": 349.67,
"close": 351.91,
"volume": 34138497
},
{
"date": "2026-11-16",
"supertrend": 334.2701,
"supertrend_direction": 1,
"adx": 17.90978,
"plus_di": 30.73396,
"minus_di": 22.56336,
"open": 357.1,
"high": 357.1,
"low": 351.31,
"close": 352.78,
"volume": 38364630
}
]
}
Frequently Asked Questions
Which technical indicators does the API provide?
52 indicators in five groups: moving averages (SMA and EMA at 5, 10, 20, 50, 100 and 200 days, WMA, DEMA, TEMA, TRIMA, KAMA, HMA, VWMA), trend (MACD, ADX with +DI and -DI, Aroon, Parabolic SAR, SuperTrend, Ichimoku Cloud), momentum (RSI, Stochastic, Stochastic RSI, Williams %R, CCI, ROC, Momentum, CMO, PPO, TRIX, Ultimate Oscillator, Balance of Power, Awesome Oscillator), volatility (ATR, NATR, Bollinger Bands, Keltner Channels, Donchian Channels, standard deviation, historical volatility) and volume (OBV, Accumulation/Distribution, Chaikin Oscillator, Chaikin Money Flow, MFI, average volume, relative volume). The List of Technical Indicators API returns all of them with their parameters.
Will the RSI and MACD values match TradingView?
Yes, for the same daily bars. Values follow TradingView and TA-Lib conventions (SMA-seeded EMAs, Wilder smoothing for RSI, ATR and ADX) and are computed from each ticker's first trading day, so long-period indicators such as the 200-day EMA do not depend on how much history the request covers.
How far back does the indicator history go?
As far back as the ticker's daily price history, decades for long-listed stocks. Use from_date and till_date to choose a range, and limit (up to 20,000 rows) to control the size of each response.
Can I request several indicators in one call?
Yes, up to 10 indicator ids per call, comma-separated. Each indicator's parameters are listed once in the metadata, and every data row carries all of the requested values for that date.
Why are some values null?
An indicator needs a minimum number of bars before it has a value: 14 for RSI, 26 plus 9 for the MACD signal line, 200 for the 200-day SMA. Rows inside that warm-up period return null for that indicator.
Is the Technical Indicators API free?
Yes. Technical indicators are available on every plan, including Free, with full history. Sign up for an API key to start pulling RSI, MACD, moving averages and the other indicators immediately.