Get candlestick data
GET/{market}/candles
Returns the OHLCV market data used to create candlestick charts.
Candlestick data is always returned in chronological order from the latest to the earliest. Data is returned when trades are made in the interval represented by that candlestick. If no trades occur you see a gap in data flow - zero trades are represented by zero candlesticks.
This is a public endpoint. However, authenticating your request gives you a higher rate limit.
Rate limit weight points: 1
Request
Path Parameters
The market for which to return the candlestick data.
For the list of all markets on Bitvavo, make a Get markets request.
BTC-EURQuery Parameters
Possible values: [1m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 1W, 1M]
The time interval between each candlestick. Determines the allowed values for start and end parameters.
Possible values: >= 1 and <= 1440
The maximum number of candlestick data to return.
1440Possible values: >= 0
The Unix timestamp starting from which to return the candlestick data.
The timestamp must align exactly with the start of the specified
interval. For example, for a 1-hour candlestick that starts at 13:00:00.000 Amsterdam time, use1704067200000.
1704067200000Possible values: <= 8640000000000000
The Unix timestamp until which to return the candlestick data.
The timestamp must align exactly with the end of the specified
interval. For example, for a 1-hour candlestick that ends at 14:00:00.000 Amsterdam time, use1766062800000.
1704153600000Responses
- 200
- 4XX
The request was successful.
- application/json
- Schema
- Example (body)
Schema
- Array [
- ]
The start time for this candlestick data.
1538784000000The starting price for the market at timestamp.
4999The highest price for the market during the interval.
5012The lowest price for the market during the interval.
4999The closing price for the market after the interval.
5012The amount traded in the market during the interval.
0.45[
"1538784000000",
"4999",
"5012",
"4999",
"5012",
"0.45"
]
For error codes, see Handle errors.