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
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 minutem55 minutesm1515 minutesm3030 minutesh11 hourh44 hoursd11 dayw11 weekmo11 month5 indicators, zero client-side math.
Server-side computation means faster page loads, consistent results, and no dependency on client libraries.
Simple Moving Average
/v1/crypto/indicator/sma/{timeframe}/{window}/{base}-{quote}Average closing price over a configurable window period.
Exponential Moving Average
/v1/crypto/indicator/ema/{timeframe}/{window}/{base}-{quote}Weighted moving average that gives more weight to recent prices.
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.
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.
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.
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.
# 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'
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.