Indicators›Trend›Fibonacci Retracement
GET/indicator/fibonacciretracement

Fibonacci Retracement

Category: Trend · Updated November 2026


The TAAPI.IO Fibonacci Retracement API returns value, trend, start price, end price values for the Fibonacci Retracement 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/fibonacciretracement
Outputsvalue, trend, startPrice, endPrice, startTimestamp, endTimestamp
MarketsBinance, Binance Futures, Bybit, Gate.io, Kraken and US stocks
Timeframes1m to 1w
DeliveryREST, bulk and WebSocket

Get Fibonacci Retracement with one API call

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

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

Fibonacci Retracement API response

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

200 OK
{
  "value": 75203.31382000001,
  "trend": "DOWNTREND",
  "startPrice": 76249.99,
  "endPrice": 73510,
  "startTimestamp": 1794042000,
  "endTimestamp": 1794171600,
  "timestamp": [1794218400]
}
FieldTypeDescription
valuenumberValue
trendstringTrend
startPricenumberStart price
endPricenumberEnd price
startTimestampnumberStart timestamp
endTimestampnumberEnd timestamp
timestampinteger[]Unix time of each candle, in seconds

Fibonacci Retracement 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
periodintegerNo50Period
retracementnumberNo0.618Retracement
trendstringNoAUTOTrend
resultsintegerNo1Number of values to return, or max
backtrackintegerNo0Candles to skip from the most recent

What is Fibonacci Retracement?

Fibonacci retracement finds a price swing and calculates the level at a chosen ratio of that swing. Traders watch ratios such as 38.2%, 50% and 61.8% as possible support or resistance during pullbacks. The endpoint returns the level along with the swing it was measured from.

Fibonacci Retracement formula

OutputCalculation
Uptrend levelSwing high − (swing high − swing low) × retracement
Downtrend levelSwing low + (swing high − swing low) × retracement

How to read Fibonacci Retracement in your code

SignalMeaningCondition
LevelPrice of the chosen retracementvalue
Swing directionDetected or forced trendtrend
Swing boundsWhere the measurement starts and endsstartPrice and endPrice

Limitations: Levels depend entirely on which swing is chosen, and the ratios have no proven causal basis. Treat them as zones. Nothing on this page is financial advice.

Read Fibonacci Retracement from Python

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

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

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

Get Fibonacci Retracement for multiple symbols

Combine Fibonacci Retracement 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": "fibonacciretracement",
          "indicator": "fibonacciretracement"
        },
        {
          "id": "rsi",
          "indicator": "rsi"
        }
      ]
    }
  ]
}'

Stream Fibonacci Retracement 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": "fibonacciretracement",
  "exchange": "binance",
  "symbol": "BTCUSDT",
  "interval": "1m",
  "indicator": "fibonacciretracement"
}

Fibonacci Retracement API FAQ

What does the Fibonacci Retracement API return?

It returns value, trend, startPrice, endPrice, startTimestamp, endTimestamp, plus a timestamp for the request. Results are JSON.

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

You can set period, retracement, trend. See the parameters table above for defaults.

Can I get Fibonacci Retracement 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.