Supertrend Indicator API

The Supertrend API delivers one of the most popular trend-following signals in crypto trading. Built on Average True Range (ATR), Supertrend flips between bullish and bearish modes to give clean, visual buy/sell signals. Get the value and trend direction for any pair or timeframe — real-time or historical — and wire it straight into your bot.

Type Trend / signal Endpoint /supertrend 20+ exchanges Timeframes 1m → 1w
Request
[GET] https://v2.taapi.io/indicator/supertrend
     Authorization: Bearer YOUR_API_KEY

     ?exchange=binance
     &symbol=BTC/USDT
     &timeframe=4h
     &period=10
     &multiplier=3
Response
{
  "value":       [66812.50],
  "valueAdvice": ["long"],
  "timestamp":   [1718233200]
}
Need every parameter, the full response schema and language SDKs? Full Supertrend developer reference →

What is Supertrend?

Supertrend is a trend-following indicator that uses the Average True Range (ATR) to build a dynamic support/resistance line that flips above or below price depending on trend direction. When Supertrend is below price and coloured green, the trend is bullish. When it is above price and coloured red, the trend is bearish. Unlike oscillators, Supertrend provides a clear binary signal — bullish or bearish — making it ideal for algorithmic systems that need an unambiguous trend state.

Supertrend trading strategies

Supertrend as entry/exit signal

Go long when Supertrend flips from bearish to bullish (value drops below price, direction = 1). Go short or exit longs when it flips the other way. The signal is clear and programmable — no discretion required.

Combining with RSI for confirmation

Supertrend crossovers on their own can generate false signals in choppy markets. Add RSI confirmation (e.g. only take bullish Supertrend when RSI > 50) to dramatically reduce noise.

Tuning ATR period and multiplier

A lower ATR multiplier (1.5–2) gives more signals but more false positives; a higher multiplier (3–4) gives fewer, higher-conviction signals. Period controls ATR lookback — 10 is the most common starting point.

Customising Supertrend

Two key parameters: 'period' (ATR lookback, default 7) and 'multiplier' (band width, default 3). Lower the multiplier to make Supertrend more sensitive and responsive; raise it to reduce whipsaws in choppy markets. A common configuration for crypto is period=10, multiplier=3.

See all parameters in the docs →

Frequently asked questions

What does the Supertrend API return?

The Supertrend endpoint returns two values: 'value' (the Supertrend line price level) and 'valueAdvice' (either 'long' or 'short'), indicating the current trend direction. This makes it trivial to use in an automated strategy.

What does 'long' vs 'short' in the response mean?

'long' means Supertrend is currently in bullish mode — the indicator line is below price and the trend is up. 'short' means it is in bearish mode — the line is above price and the trend is down.

How do I detect a Supertrend crossover?

Compare the current candle's valueAdvice to the previous candle's valueAdvice. If it changed from 'short' to 'long', that is a bullish crossover (potential buy signal). A change from 'long' to 'short' is a bearish crossover.

Can Supertrend be used for crypto?

Yes — Supertrend is extremely popular in crypto trading. Its ATR-based bands adapt to crypto's high volatility, and its clear binary signal makes it well-suited for automated bots.

Building with the Supertrend API?

The developer documentation covers the full technical reference: the /supertrend endpoint, every parameter, the response schema, rate limits, bulk queries and ready-to-run samples in Node.js, Python, PHP and cURL.

Open Supertrend docs →

Ready to get started?

Request your free API key and pull Supertrend values for any market in minutes. 7-day free trial on all paid plans.

Get free API key