Indicators›Momentum›Stochastic RSI
GET/indicator/stochrsi

Stochastic RSI

Category: Momentum · Updated November 2026


The TAAPI.IO Stochastic RSI API returns the StochRSI %K and %D lines 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 two lines: valueFastK, where RSI sits in its own recent range from 0 to 100, and valueFastD, its moving average.
  • A series, with results: one pair of values per candle, oldest first, to find crossovers.
  • A higher-timeframe check, with /bulk: 4-hour Stochastic RSI and daily RSI in one request.

So one call answers two questions: is momentum stretched, and has it just turned?

Example: ten crossovers in four weeks, 18 October to 14 November 2026

Request: one /bulk call for ETHUSDT on 4-hour Binance candles, with Stochastic RSI (results=2, backtrack=1, so the last two closed candles). Sent at 22:37 UTC on 14 November with the default settings of 14, 14, 5 and 3.

CandleFast %KFast %DReading
4h, 14 Nov 12:0042.1443.30Mid-range, %K just below %D
4h, 14 Nov 16:0038.1742.95No crossover in a zone

How to interpret this: Stochastic RSI applies the Stochastic formula to RSI, so it measures where RSI sits in its own recent range. That makes it fast: between 18 October and 14 November ETH's 4-hour line gave ten crossovers in the overbought or oversold zone, six bearish and four bullish. In a downtrend the bearish ones were the better signals. The crossovers on 21 October, 2 November, 5 November and 12 November were followed by falls of 4.3%, 2.4%, 7.8% and 5.9% within a day. Two others, on 19 and 28 October, were followed by small rises. The four bullish crossovers below 20 led to moves between −1.1% and +0.5% over the next day, and ETH was 18% to 24% lower by 14 November. Today both lines are mid-range, at 38 and 43, while ETH's 4-hour RSI is 24 and its daily RSI 24.3. When RSI is this low, Stochastic RSI can still sit mid-range, because it only compares RSI with its own recent values.

ETHUSDT 4-hour candles and Stochastic RSI 14, 14, 5, 3, 18 October to 14 November 2026 Stochastic RSI crossed often: from 18 October ETH gave six bearish crossovers above 80 and four bullish crossovers below 20. The bearish crossovers on 5 and 12 November were followed by falls of 7.8% and 5.9% within a day. 1,800 1,900 2,000 2,100 2,200 2,300 2,400 2,500 20 50 80 Stochastic RSI 14, 14, 5, 3 (4h) 20 Oct 24 Oct 28 Oct 1 Nov 5 Nov 9 Nov 13 Nov −7.8% next day −5.9% next day Fast %K Fast %D %K crosses below %D above 80 %K crosses above %D below 20 ETHUSDT · Binance 4h candles · Stochastic RSI 14, 14, 5, 3 · 18 Oct – 14 Nov 2026 (closed candles)
Top: ETHUSDT 4-hour candles. Bottom: Fast %K (blue) and Fast %D (amber) with the 80 and 20 levels. Red markers show bearish crossovers above 80 and green markers bullish crossovers below 20.
CrossoverDateETH closeOne day laterDaily RSIFilter
Bearish19 Oct 16:002,395.04+1.8%38.0take
Bearish21 Oct 16:002,494.54−4.3%43.1take
Bullish23 Oct 04:002,401.48−1.1%38.7skip
Bullish24 Oct 16:002,339.62+0.5%38.5skip
Bearish28 Oct 12:002,334.87+1.5%37.5take
Bullish30 Oct 20:002,245.54+0.5%30.6skip
Bearish2 Nov 00:002,309.25−2.4%34.8take
Bearish5 Nov 04:002,416.13−7.8%54.1skip
Bullish6 Nov 12:002,230.71+0.3%39.4skip
Bearish12 Nov 00:002,055.12−5.9%29.9take

Values are from the production API on 14 November 2026, using closed 4-hour candles. "One day later" compares the close six candles on. "Daily RSI" is the previous daily close, as the filter below reads it. Ten signals are an illustration, not a backtest. Nothing here is financial advice.

SpecValue
EndpointGET https://v2.taapi.io/indicator/stochrsi
OutputsFast %K, fast %D, timestamp
Default settingsRSI period 14, stochastic period 14, K period 5, D period 3
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.

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 length
stochasticPeriodintegerNo14Candles in the RSI high-low range
kPeriodintegerNo5Smoothing applied to %K
dPeriodintegerNo3Moving average length for %D
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
RSIRSI over rsiPeriod candles
StochRSI(RSI − lowest RSI) ÷ (highest RSI − lowest RSI) × 100, over stochasticPeriod candles
Fast %KStochRSI smoothed over kPeriod
Fast %DMoving average of Fast %K over dPeriod

Because it is a range position, StochRSI reaches 0 or 100 whenever RSI makes a new low or high for the window, even if RSI itself is only at 45 or 55. That is why it fires far more often than RSI.

How to read Stochastic RSI in your code

SignalMeaningCondition
OverboughtRSI at the top of its rangevalueFastK above 80
OversoldRSI at the bottom of its rangevalueFastK below 20
Bullish crossoverRSI momentum turning upvalueFastK crosses above valueFastD below 20
Bearish crossoverRSI momentum turning downvalueFastK crosses below valueFastD above 80

Limitations: it hits its extremes very often, so most readings are noise without a filter. Nothing on this page is financial advice.

Stochastic RSI or RSI?

RSI answers how strong momentum is. Stochastic RSI answers whether momentum is at the top or bottom of its recent range. A deeply oversold market can show a mid-range Stochastic RSI, as ETH did on 14 November with RSI at 24, because RSI had been even lower a few candles earlier. Use RSI to judge the market's condition and Stochastic RSI to time turns within it.

Filter Stochastic RSI crossovers with daily RSI

A 4-hour crossover is taken only if the daily trend agrees: bearish crossovers while daily RSI is below 50, bullish ones while it is at 50 or above. One /bulk request returns both. Two constructs need the Pro plan or above. On Basic, make two GET requests 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": "eth_4h",
      "exchange": "binance",
      "symbol": "ETHUSDT",
      "timeframe": "4h",
      "indicators": [
        {
          "id": "stochrsi",
          "indicator": "stochrsi",
          "results": 2,
          "backtrack": 1
        }
      ]
    },
    {
      "id": "eth_1d",
      "exchange": "binance",
      "symbol": "ETHUSDT",
      "timeframe": "1d",
      "indicators": [
        {
          "id": "rsi",
          "indicator": "rsi",
          "backtrack": 1
        }
      ]
    }
  ]
}'

The response at 22:37 UTC on 14 November. Neither line is in a zone, so the script prints No crossover in a zone (%K 38.2, %D 42.9), daily RSI 24.3

200 OK
{
  "eth_4h": {
    "stochrsi": {
      "valueFastK": [42.14181180694379, 38.174019550626944],
      "valueFastD": [43.3012184879812, 42.94698048970826],
      "timestamp": [1794657600, 1794672000]
    }
  },
  "eth_1d": {
    "rsi": {
      "value": [24.26876662277223],
      "timestamp": [1794528000]
    }
  }
}

Since 18 October this rule took five of the six bearish crossovers and skipped all four bullish ones. It missed the best signal, on 5 November, because the 4 November rally had lifted ETH's daily RSI to 54.1. Trend filters often turn at the top of a bounce, which is exactly where sell signals work best. Other common filters: require the crossover on two timeframes, or confirm with a MACD crossover.

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"
}

Common Stochastic RSI settings

These are starting points, not recommendations. Test any setting on your own market and timeframe.

SettingsCharacterTypical use
14, 14, 5, 3API defaultGeneral use
14, 14, 3, 3Common chart defaultMatching most charting platforms
21, 21, 5, 5SlowerFewer crossovers

Why Stochastic RSI values can differ between platforms

  • Settings: the API smooths %K over 5 candles by default. Many charts use 3. Set kPeriod=3 to match them.
  • RSI history: Stochastic RSI inherits any difference in the RSI underneath, which depends on how much history the calculation starts from.
  • Open candle: the newest values change until the candle closes. Use backtrack=1 to read closed candles.

Stochastic RSI API FAQ

What does the Stochastic RSI API return?

Two arrays, valueFastK and valueFastD, from 0 to 100, plus a timestamp for each candle.

Why does Stochastic RSI hit 0 and 100 so often?

It measures where RSI sits in its own recent range, so every new RSI high or low for the window reads as 100 or 0. See Stochastic RSI or RSI?.

How do I match my chart's Stochastic RSI?

Most charts use 14, 14, 3, 3. Set kPeriod=3. The API default is 5.

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.

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.

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