GET/indicator/supportresistance

Support & Resistance

Category: Support, resistance & structure · Updated November 2026


The TAAPI.IO Support & Resistance API finds the horizontal price levels where a market has turned more than once: support, the floors where buyers stepped in, and resistance, the ceilings where sellers did. It works on crypto pairs and US stocks. Send an exchange, symbol and timeframe, with no candles to download and no calculations to maintain.

What one request returns

  • The nearest support and resistance: nearest_support and nearest_resistance, with their distance from price in percent. These are always included.
  • The current price: current_price, so the distances need no second request.
  • Every level, with results=max: its price, whether it sits below price (support) or above it (resistance) right now, how many times price turned there, when it last did, how far away it is in percent, and whether price has since closed through it.

So one call answers three questions: where is the next floor, where is the next ceiling, and how much room is there to each?

Example: NVDA on 10 November 2026

Request: NVDA on daily candles with lookback=10, lookforward=10 and results=max. Taken at 10:05 UTC, before the US open, so the current price includes pre-market trading.

LevelPriceFrom priceWhere it comes from
Resistance190.20+4.5%Tops in December 2025 and January 2026
Nearest resistance182.86+0.4%Turned price down in July 2025 and March 2026
Current price182.08—Latest daily candle
Nearest support176.89−2.8%Lows in October and November 2025
Support170.65−6.3%Lows in December 2025 and February 2026

How to interpret this: NVDA ran up to about 243 in October, then fell hard, and it's now back in the 170–190 range it traded in last winter. That old range left marks. Price is sitting just under a ceiling at 182.86, only 0.4% higher, where it turned down twice before. The first floor is 176.89, 2.8% lower. Yesterday the stock dipped to 170.24, right at the next floor of 170.65, and bounced. So the level to watch is 182.86: a daily close above it opens room to 190.20, and a close below 176.89 brings 170.65 back into play.

NVDA weekly candles with the support and resistance levels returned on 10 November 2026 Price at 182.08. Nearest resistance 182.86, 0.4% above. Resistance 190.20, 4.5% above. Nearest support 176.89, 2.8% below. Support 170.65, 6.3% below, where the 9 November low of 170.24 bounced. 160 170 180 190 200 210 220 230 240 250 Jul Sep Nov Jan 2026 Mar May Jul Sep Nov 190.20 +4.5% Resistance 182.86 +0.4% Nearest resistance 176.89 −2.8% Nearest support 170.65 −6.3% Support 182.08 Price now October high 243 9 Nov low 170.24 bounced at 170.65 NVDA · weekly candles · levels from timeframe=1d, lookback=10, lookforward=10 · 10 Nov 2026
Solid lines are the nearest support and resistance; dashed lines are other levels. Circles mark the first and last touch of each level, and the shaded area is the winter range where these levels formed.

All four levels show broken: true, because price has closed through each of them at some point. Levels that price keeps coming back to still matter, which is why the nearest_* fields include them. Example for illustration only, not financial advice.

SpecValue
EndpointGET https://v2.taapi.io/indicator/supportresistance
Outputsline_type, price, role, touches, last_touch_timestamp, distance_percent, broken, nearest_support, nearest_resistance
MarketsBinance, Binance Futures, Bybit, Gate.io, Kraken and US stocks
Timeframes1m to 1w
DeliveryREST, bulk and WebSocket

Get Support & Resistance with one API call

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

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

Support & Resistance API response

Example for BTCUSDT on 1-day Binance candles, 9 November 2026. Long lists are shortened here.

200 OK
{
  "line_type": ["support"],
  "left_timestamp": [1719187200],
  "right_timestamp": [1794182400],
  "price": [60293.3],
  "pattern_index": [20],
  "role": ["support"],
  "touches": [2],
  "last_touch_timestamp": [1728518400],
  "distance": [-14618.709999999992],
  "distance_percent": [-19.514507753830117],
  "broken": [true],
  "broken_timestamp": [1782345600],
  "current_price": 74912.01,
  "nearest_support": 73072.4,
  "nearest_support_distance_percent": -2.455694353949388,
  "nearest_resistance": 75644.48,
  "nearest_resistance_distance_percent": 0.9777737908781265,
  "timestamp": [1794182400]
}
FieldTypeDescription
line_typestring[]Type of pivot the line was built from. It does not change when price crosses the line, so use role for the side of price
left_timestampnumber[]Earliest pivot on the line
right_timestampnumber[]Latest candle
pricenumber[]Horizontal price level
pattern_indexnumber[]Rank, where 1 is the strongest line
rolestring[]support if the line is below the current price, resistance if above
touchesnumber[]Pivots merged into the line
last_touch_timestampnumber[]Most recent of those pivots
distancenumber[]Line price minus current price
distance_percentnumber[]Distance as a percentage of current price; negative is below
brokenboolean[]A later candle closed through the line, beyond the merge distance
broken_timestamp(number or null)[]First such close, or null
current_pricenumberClose of the latest candle
nearest_supportnumber or nullClosest qualifying level below price
nearest_support_distance_percentnumber or nullIts distance from price
nearest_resistancenumber or nullClosest qualifying level above price
nearest_resistance_distance_percentnumber or nullIts distance from price
timestampinteger[]Unix time of each candle, in seconds

The default results=1 returns only the last line in the list, which is the lowest ranked. Add results=max to get every line. current_price and the nearest_* fields are always included and do not depend on results. The nearest levels can come from lines beyond max_lines, and can include broken lines, since a broken level often acts from the other side.

Multi-day levels

For daily levels, use timeframe=1d with lookback=10 and lookforward=10, and add results=max to get every line. A swing then has to be the highest or lowest of 21 days, about three weeks, which keeps the swings traders watch over several weeks and drops short-term noise. The default of 5 suits shorter timeframes and finds more levels closer to price.

curl -G https://v2.taapi.io/indicator/supportresistance \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "exchange=binance" \
  --data-urlencode "symbol=BTCUSDT" \
  --data-urlencode "timeframe=1d" \
  --data-urlencode "lookback=10" \
  --data-urlencode "lookforward=10" \
  --data-urlencode "results=max"

A swing is confirmed only after lookforward more daily candles have closed, so with 10 a new level appears 10 days after the swing that forms it. To see new levels sooner while still requiring a large swing, lower lookforward and keep lookback high, for example 15 and 5. A much wider window leaves few lines: on BTCUSDT 1d, a window of 20 returned no resistance above price. To focus on levels that still hold, filter on broken=false and sort by distance_percent.

Support & Resistance 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
lookbackintegerNo5Candles before a swing that it must be higher or lower than. Use 10 for daily levels
lookforwardintegerNo5Candles after a swing that must close before it is confirmed. New levels appear this many candles late. Use 10 for daily levels
deviationATRnumberNo1Deviation atr
deviationTypestringNoatrDeviation type
sourcestringNowickSource
merge_distancenumberNo0.5How close two swings must be to merge into one level, as a percent of price: 0.5 means within 0.5%. A later close must also clear a level by this much to mark it broken. Raise it, for example to 1 or 1.5, to merge nearby levels on volatile markets
min_touchesintegerNo2Min touches
max_linesintegerNo20Max lines
resultsintegerNo1Number of values to return, or max
backtrackintegerNo0Candles to skip from the most recent

What is Support & Resistance?

This endpoint detects horizontal support and resistance lines from price pivots, merges nearby levels and keeps those touched enough times. Each line comes with its type, price and the timestamps it spans.

Support & Resistance formula

OutputCalculation
PivotsSwing points confirmed by lookback and lookforward, and filtered by ATR deviation
LinesPivots within merge_distance percent of each other grouped into levels with at least min_touches touches

How to read Support & Resistance in your code

SignalMeaningCondition
TypeSupport or resistanceline_type
LevelLine priceprice
SpanWhen the level was activeleft_timestamp to right_timestamp

Limitations: Pivots need lookforward candles to confirm, so the newest structure appears with a delay. Nothing on this page is financial advice.

Read Support & Resistance from Python

Use backtrack=1 to read the result as of the last closed candle.

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

Get historical Support & Resistance 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/supportresistance \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "exchange=binance" \
  --data-urlencode "symbol=BTCUSDT" \
  --data-urlencode "timeframe=1h" \
  --data-urlencode "results=100"

Get Support & Resistance for multiple symbols

Combine Support & Resistance 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": "supportresistance",
          "indicator": "supportresistance"
        },
        {
          "id": "rsi",
          "indicator": "rsi"
        }
      ]
    }
  ]
}'

Stream Support & Resistance 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": "supportresistance",
  "exchange": "binance",
  "symbol": "BTCUSDT",
  "interval": "1m",
  "indicator": "supportresistance"
}

Support & Resistance API FAQ

What does the Support & Resistance API return?

It returns line_type, left_timestamp, right_timestamp, price, pattern_index, plus a timestamp for the request. Results are JSON.

Is the latest Support & Resistance 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.

Which Support & Resistance settings can I change?

You can set lookback, lookforward, deviationATR, deviationType, source, merge_distance. See the parameters table above for defaults.

Can I get Support & Resistance for US stocks?

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

See the full list of indicators, or start for free.