The trades endpoint allows the retrieval of past public trades and includes details such as price, size, and time. Optional parameters can be used to limit the number of results; you can specify a start and end timestamp, a limit, and a sorting method.

get/trades/{symbol}/hist

Request

  • Base URL
    https://api-pub.bitfinex.com/v2
  • URL
    https://api-pub.bitfinex.com/v2/trades/{symbol}/hist
  • Auth
    none required

Path parameters

symbolstring required

The symbol you want information about. (e.g. tBTCUSD, tETHUSD, fUSD, fBTC)

Query parameters

limitinteger

Number of records in response (max. 10000).

sortinteger

+1: sort in ascending order | -1: sort in descending order (by MTS field).

startinteger

If start is given, only records with MTS >= start (milliseconds) will be given as response.

endinteger

If end is given, only records with MTS <= end (milliseconds) will be given as response.

Response

200

Changes