Candles
Changed onThe Candles endpoint provides OCHL (Open, Close, High, Low) and volume data for the specified funding currency or trading pair. The endpoint provides the last 100 candles by default, but a limit and a start and/or end timestamp can be specified.
Request
- Base URLhttps://api-pub.bitfinex.com/v2
- URLhttps://api-pub.bitfinex.com/v2/candles/{candle}/{section}
- Authnone required
Path parameters
Check Available candles table to understand how to compose this argument.
Available values: "last", "hist".
Query parameters
+1: sort in ascending order | -1: sort in descending order (by MTS field).
If start is given, only records with MTS >= start (milliseconds) will be given as response.
If end is given, only records with MTS <= end (milliseconds) will be given as response.
Number of records in response (max. 10000).
Response
200
Changes
- breaking
for the
queryrequest parameterlimit, default value120was added - breaking
for the
queryrequest parametersort, default value-1was added
- breaking