GET/indicator/adx

Average Directional Index (ADX)

Category: Momentum · Updated November 2026


The TAAPI.IO ADX API returns the Average Directional Index as JSON for crypto pairs and US stocks. Send an exchange, symbol and timeframe to get real-time or historical values, with no candles to download and no calculations to maintain.

What one request returns

  • The ADX (value), from 0 to 100: how strong the trend is, whichever way it points. Below 20 usually means no trend, above 25 a trend.
  • A series, with results: one value per candle, oldest first, to see whether a trend is gaining or losing strength.
  • Direction too, with the dmi endpoint: ADX together with +DI and −DI, for several symbols in one /bulk request.

So one call answers one question that price alone can't: is this market trending at all?

Example: a record high with no trend, and a crash with a strong one, 13 November 2026

Request: one /bulk call with two constructs, AAPL and NVDA on daily US stock candles, each with ADX and the closing price. Sent at 22:37 UTC on Saturday 14 November, so the latest candle is Friday's close. Direction comes from the dmi endpoint, in the recipe below.

SymbolClose, 13 NovADX+DI−DIReading
AAPL355.4016.5426.015.8Two days after a record close, but no strong trend
NVDA161.0145.034.035.3Strong trend, pointing down

How to interpret this: On the same day, AAPL closed two days after its record and NVDA closed 33% below its October high. Only one of them was trending by ADX. AAPL rose 9.3% from 1 September, but in a staircase of rallies and pullbacks, and its ADX never got above 25.4. NVDA fell in one direction, and its ADX climbed from 14 to 45. ADX measures how one-sided the movement is, not which way it goes. +DI and −DI supply the direction: NVDA's −DI of 35.3 against a +DI of 4.0 says that almost all of the recent movement was down. ADX is also slow. NVDA's ADX only crossed 25 on 4 November, at a close of 199.77, when the stock was already 16.8% below its 5 October close of 240.20. As a filter that is useful: it said "use trend tools" for NVDA and "use range tools" for AAPL. As an entry signal it came late.

AAPL and NVDA daily closes rebased to 100, and their 14-day ADX, September to November 2026 AAPL rose 9% to a record close while its ADX stayed between 15 and 25. NVDA fell 26% from 1 September and its ADX climbed from 14 to 45, but only reached 25 on 4 November, after NVDA was already 16.8% below its 5 October high. 70 80 90 100 110 0 25 50 ADX 14 (trend strength, not direction) Sep Oct Nov AAPL: record close, ADX 16.5 NVDA: −26% since 1 Sep, ADX 45.0 4 Nov: NVDA ADX reaches 25 AAPL NVDA ADX 25 AAPL and NVDA · US stocks, daily closes rebased to 100 on 1 Sep · ADX 14 · 1 Sep – 13 Nov 2026
Top: AAPL (blue) and NVDA (amber) daily closes, rebased to 100 on 1 September. Bottom: their 14-day ADX, with the 25 level dashed. The circle marks the day NVDA's ADX reached 25.
DateNVDA closeNVDA ADXWhat it said
5 Oct240.2019.2No trend, at the high
23 Oct211.1120.2Trend forming, 12% below the high
4 Nov199.7725.8Trend confirmed, 16.8% below the high
12 Nov167.8442.4Strong trend, 30% below the high
13 Nov161.0145.0Strongest reading of the move

Values are from the production API on 14 November 2026, using daily candles. Two stocks are an illustration, not a backtest. Nothing here is financial advice.

SpecValue
EndpointGET https://v2.taapi.io/indicator/adx
OutputsADX value, timestamp
Default settingsPeriod 14
MarketsBinance, Binance Futures, Bybit, Gate.io, Kraken and US stocks
Timeframes1m to 1w
DeliveryREST, bulk and WebSocket

Get ADX with one API call

This request returns ADX for BTCUSDT on 1-hour Binance candles. Add your API key to run it here.

curl -G https://v2.taapi.io/indicator/adx \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "exchange=binance" \
  --data-urlencode "symbol=BTCUSDT" \
  --data-urlencode "timeframe=1h"

ADX API response

This response came from the live API on 9 November 2026.

200 OK
{
  "value": [26.43205462753991],
  "timestamp": [1794218400]
}
FieldTypeDescription
valuenumber[]ADX result
timestampinteger[]Unix time of each candle, in seconds

ADX API parameters

NameTypeRequiredDefaultDescription
exchangestringYes—binance, binancefutures, bybit, gateio, kraken or stocks
symbolstringYes—Pair or ticker, e.g. BTCUSDT or AAPL
timeframestringYes—1m 5m 15m 1h 4h 1d 1w
periodintegerNo14Smoothing period for the directional movement, the true range and ADX
resultsintegerNo1Number of values to return, or max
backtrackintegerNo0Candles to skip from the most recent

What is ADX?

The Average Directional Index, developed by J. Welles Wilder, measures how strong a trend is, whichever direction it points. It is a smoothed average of the DX line, which compares upward and downward directional movement.

ADX formula

OutputCalculation
+DM / −DMToday's high minus yesterday's, or yesterday's low minus today's, whichever is larger and positive
+DI / −DISmoothed +DM or −DM ÷ smoothed true range × 100
DX|+DI − −DI| ÷ (+DI + −DI) × 100
ADXWilder's smoothed average of DX

For NVDA on 13 November, |4.0 − 35.3| ÷ (4.0 + 35.3) gives a DX of about 80, far above the ADX of 45. Each day like that pulls the ADX higher, a little at a time.

How to read ADX in your code

SignalMeaningCondition
Weak or no trendRange-bound conditionsvalue below 20
TrendingA trend is in placevalue above 25
Trend strengtheningThe trend is gaining forcevalue rising over recent candles
DirectionWhich way the trend pointsplusdi above or below minusdi, from the dmi endpoint

Limitations: ADX says nothing about direction, so pair it with +DI and −DI. Because it is smoothed twice, it confirms trends late, as with NVDA above. Nothing on this page is financial advice.

What ADX levels mean

ADX runs from 0 to 100, though readings above 60 are uncommon. Below 20 usually means no meaningful trend. Above 25 is the usual sign that one exists. These levels are conventions from Wilder's work and vary by market, so check them on your own symbols.

A falling ADX does not mean price is falling. It means the trend, in either direction, is losing strength. Similarly, ADX can rise during a sharp decline.

ADX as a strategy filter

ADX is most often used to decide which rules to apply. When it's high, trend tools such as moving-average crossovers and SuperTrend tend to behave better. When it's low, range tools such as RSI or Bollinger Bands are usually more suitable.

Because of its double smoothing, ADX often rises only after a move is under way. That makes it better as a filter than as an entry signal.

Build an ADX trend filter with Python

ADX alone has no direction, so this uses the dmi endpoint, which returns ADX with +DI and −DI in a single response.

curl -G https://v2.taapi.io/indicator/dmi \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "exchange=binance" \
  --data-urlencode "symbol=BTCUSDT" \
  --data-urlencode "timeframe=1h" \
  --data-urlencode "backtrack=1"

Compare trend strength across symbols

The dmi endpoint returns ADX with +DI and −DI, so one request gives both strength and direction. With /bulk you can check several symbols at once, for example to decide which ones a trend-following strategy should trade. Two constructs need the Pro plan or above. On Basic, make one GET request per symbol instead.

POST/bulk
curl -X POST https://v2.taapi.io/bulk \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "constructs": [
    {
      "id": "aapl_1d",
      "exchange": "stocks",
      "symbol": "AAPL",
      "timeframe": "1d",
      "indicators": [
        {
          "id": "dmi",
          "indicator": "dmi"
        }
      ]
    },
    {
      "id": "nvda_1d",
      "exchange": "stocks",
      "symbol": "NVDA",
      "timeframe": "1d",
      "indicators": [
        {
          "id": "dmi",
          "indicator": "dmi"
        }
      ]
    }
  ]
}'

The response at 22:37 UTC on 14 November. The script prints aapl_1d: no strong trend (ADX 16.5), +DI 26.0 vs -DI 15.8 nvda_1d: strong trend down (ADX 45.0)

200 OK
{
  "aapl_1d": {
    "dmi": {
      "adx": [16.536962864140403],
      "plusdi": [26.013730474057677],
      "minusdi": [15.845376790620193],
      "timestamp": [1794528000]
    }
  },
  "nvda_1d": {
    "dmi": {
      "adx": [45.0322160678413],
      "plusdi": [4.038138225030274],
      "minusdi": [35.33829474072137],
      "timestamp": [1794528000]
    }
  }
}

The 20 and 25 levels are conventions from Wilder's work. Check them on your own symbols and timeframe: a volatile crypto pair can show an ADX above 25 in a choppy market.

Get historical ADX values

Add results to return a series for backtesting or charting. The last element is the most recent candle.

curl -G https://v2.taapi.io/indicator/adx \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "exchange=binance" \
  --data-urlencode "symbol=BTCUSDT" \
  --data-urlencode "timeframe=1h" \
  --data-urlencode "results=100"

Get ADX for multiple symbols

Combine ADX with other indicators in one request. Each exchange, symbol and timeframe combination is one construct: Basic allows 1 per request, Pro 3 and Expert 10.

POST/bulk
curl -X POST https://v2.taapi.io/bulk \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "constructs": [
    {
      "id": "btc_1h",
      "exchange": "binance",
      "symbol": "BTCUSDT",
      "timeframe": "1h",
      "indicators": [
        {
          "id": "adx",
          "indicator": "adx"
        },
        {
          "id": "rsi",
          "indicator": "rsi"
        }
      ]
    }
  ]
}'

Stream ADX in real time

Subscribe over WebSocket to receive new values every 5 seconds while the candle is forming. Streaming supports 1m, 5m, 15m and 1h, and uses interval where REST uses timeframe.

WSSwss://v2.taapi.io/streaming
{
  "type": "subscribe",
  "id": "adx",
  "exchange": "binance",
  "symbol": "BTCUSDT",
  "interval": "1m",
  "indicator": "adx"
}

Why ADX values can differ between platforms

  • Smoothing: TAAPI.IO uses Wilder's method for the directional movement, the true range and ADX. Tools may start the first values differently, and the effect fades with more history.
  • Settings: some charts use separate lengths for the DI lines and the ADX smoothing.
  • Exchange data: ADX is built from highs and lows, which differ between venues.

ADX API FAQ

What does the ADX API return?

An array of ADX values in value, from 0 to 100, plus a timestamp for each candle.

Does ADX show whether the trend is up or down?

No. Use the dmi endpoint, which returns adx, plusdi and minusdi. +DI above −DI points up, the reverse points down.

What ADX level means a trend?

Below 20 usually means no trend and above 25 a trend. In the example above, NVDA's ADX reached 25 on 4 November and 45 by 13 November.

Is the latest ADX value final?

No. The newest value belongs to the candle still forming and can change until it closes. Add backtrack=1 to read the last closed candle.

Can I get ADX for US stocks?

Yes. Use exchange=stocks with a ticker such as AAPL. US stocks are included on the Pro plan and above.

Build with ADX on Binance, Bybit or US stocks. Start for free or browse all 262 indicators.