Indicators›Momentum›Stochastic RSI
GET/indicator/stochrsi

Stochastic RSI

Category: Momentum · Updated November 2026


The TAAPI.IO Stochastic RSI API returns fast k, fast d values for the Stochastic RSI indicator as JSON, for crypto pairs and US stocks. Send an exchange, symbol and timeframe to get real-time or historical data, with no candles to download and no calculations to maintain.

SpecValue
EndpointGET https://v2.taapi.io/indicator/stochrsi
OutputsvalueFastK, valueFastD
MarketsBinance, Binance Futures, Bybit, Gate.io, Kraken and US stocks
Timeframes1m to 1w
DeliveryREST, bulk and WebSocket

Get Stochastic RSI with one API call

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

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

Stochastic RSI API response

This response came from the live API on 9 November 2026. Long lists are shortened here.

200 OK
{
  "valueFastK": [58.74069002804051],
  "valueFastD": [54.388094968533515],
  "timestamp": [1794218400]
}
FieldTypeDescription
valueFastKnumber[]Fast k
valueFastDnumber[]Fast d
timestampinteger[]Unix time of each candle, in seconds

Stochastic RSI 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
rsiPeriodintegerNo14Rsi period
stochasticPeriodintegerNo14Stochastic period
kPeriodintegerNo5K period
dPeriodintegerNo3D period
resultsintegerNo1Number of values to return, or max
backtrackintegerNo0Candles to skip from the most recent

What is Stochastic RSI?

Stochastic RSI, from Tushar Chande and Stanley Kroll, applies the stochastic formula to RSI values instead of price. It measures where RSI sits within its own recent range, which makes it faster and more sensitive than RSI.

Stochastic RSI formula

OutputCalculation
StochRSI(RSI − lowest RSI) ÷ (highest RSI − lowest RSI)
%K / %DSmoothed StochRSI and its moving average

How to read Stochastic RSI in your code

SignalMeaningCondition
OverboughtRSI at top of its rangevalueFastK above 80
OversoldRSI at bottom of its rangevalueFastK below 20
Bullish crossRSI momentum turning upvalueFastK crosses above valueFastD

Limitations: It hits its extremes very often. An overbought reading is common in ordinary uptrends and is not a sell signal by itself. Nothing on this page is financial advice.

Compare the last two closed Stochastic RSI values

Use backtrack=1 to skip the candle still forming, and results=2 to compare the last two closed candles. Arrays run oldest first.

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

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

Get Stochastic RSI for multiple symbols

Combine Stochastic RSI 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": "stochrsi",
          "indicator": "stochrsi"
        },
        {
          "id": "rsi",
          "indicator": "rsi"
        }
      ]
    }
  ]
}'

Stream Stochastic RSI 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": "stochrsi",
  "exchange": "binance",
  "symbol": "BTCUSDT",
  "interval": "1m",
  "indicator": "stochrsi"
}

Stochastic RSI API FAQ

What does the Stochastic RSI API return?

It returns valueFastK, valueFastD, plus a timestamp for the request. Results are JSON.

Is the latest Stochastic RSI 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 Stochastic RSI settings can I change?

You can set rsiPeriod, stochasticPeriod, kPeriod, dPeriod. See the parameters table above for defaults.

Can I get Stochastic RSI 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.