Products/Crypto/OHLC & Indicators
OHLC & Indicators

Candlesticks and indicators. Server-side.

Historical OHLC data across 9 timeframes and 5 technical indicators computed on demand from Redis TimeSeries. Power your charts, backtests, and trading strategies with a single API call.

9

Timeframes

5

Indicators

1,000

Max candles

On-demand

Computation

Timeframes

9 timeframes, one endpoint.

From 1-minute scalping candles to monthly macro views. Each returns open, high, low, close, and volume with up to 1,000 candles per request.

GET /v1/crypto/ohlc/{timeframe}/{base}-{quote}
m11 minute
m55 minutes
m1515 minutes
m3030 minutes
h11 hour
h44 hours
d11 day
w11 week
mo11 month
Technical indicators

5 indicators, zero client-side math.

Server-side computation means faster page loads, consistent results, and no dependency on client libraries.

SMA

Simple Moving Average

/v1/crypto/indicator/sma/{timeframe}/{window}/{base}-{quote}

Average closing price over a configurable window period.

EMA

Exponential Moving Average

/v1/crypto/indicator/ema/{timeframe}/{window}/{base}-{quote}

Weighted moving average that gives more weight to recent prices.

RSI

Relative Strength Index

/v1/crypto/indicator/rsi/{timeframe}/{window}/{base}-{quote}

Momentum oscillator measuring speed and magnitude of price changes. RSI > 70 = overbought, < 30 = oversold.

MACD

Moving Average Convergence Divergence

/v1/crypto/indicator/macd/{timeframe}/{base}-{quote}

Trend-following momentum indicator showing the relationship between two EMAs. Includes MACD line, signal line, and histogram.

BBands

Bollinger Bands

/v1/crypto/indicator/bbands/{timeframe}/{window}/{base}-{quote}

Volatility bands placed above and below a moving average. Includes upper, middle, lower bands, bandwidth, and %B.

Developer-first

Charts and signals in two calls.

Fetch candle data and overlay indicators — all from the same API. Relative time queries make it easy to always get the freshest data.

9 Timeframes

From 1-minute scalping candles to monthly macro views — m1, m5, m15, m30, h1, h4, d1, w1, and mo1.

Server-Side Computation

All indicators are calculated on-demand from Redis TimeSeries data — no client-side math required.

Up to 1,000 Candles

Each request returns up to 1,000 data points. Enough for detailed charts and comprehensive backtesting.

Relative Time Queries

Use human-readable time expressions like from=now-7d and to=now for flexible data retrieval.

ohlc-example.sh
# Get hourly candles (last 7 days)
curl 'https://api.windy.network/v1/crypto/ohlc/h1/BTC-USD?from=now-7d&to=now' \
  -H 'X-API-Key: your-api-key'

# Response
{
  "candles": [{
    "o": 94800.00,
    "h": 95200.00,
    "l": 94650.00,
    "c": 95100.00,
    "v": 1234.56,
    "t": 1701234000000
  }]
}

# Get 14-period RSI on hourly
curl 'https://api.windy.network/v1/crypto/indicator/rsi/h1/14/BTC-USD' \
  -H 'X-API-Key: your-api-key'
200 OK62 ms · 168 candles
Get started

Ready to power your charts and strategies?

Get your API key and start fetching OHLC candles and technical indicators for any crypto pair in minutes.

9 Timeframes5 IndicatorsFree trial available