For information on changes for our US clients, please visit our Support Center article.

A causa dell’incremento della domanda, la verifica dell’account potrebbe subire ritardi. Evita di inviare più richieste e, per ottenere risultati migliori, rivedi in anticipo i requisiti del documento.
How to retrieve historical time and sales (trading history) using the REST API Trades endpoint.
The REST API OHLC endpoint only provides a limited amount of historical data, specifically 720 data points of the requested interval. For example, asking for OHLC data in 1 minute intervals will return the most recent 720 minutes (12 hours) of data.
For applications that require additional OHLC or tick data, it is possible to retrieve the entire trading history of our markets (the historical time and sales) via the REST API Trades endpoint. The OHLC for any time frame and any interval can then be created from the historical time and sales data.
The Trades endpoint takes an optional parameter named since, which specifies the starting date/time of the data. The since value is a UNIX timestamp at nanosecond resolution (a standard UNIX timestamp in seconds with 9 additional digits).
For example, a call to the Trades endpoint such as would return the historical time and sales for XBT/USD from the 1st of June 2019 at 00:00:00 UTC:
Subsequent calls to the Trades endpoint should replace the since parameter's value with the last parameter's value from the results of the previous call such as
Using the special since value of 0 (zero) would return the historical time and sales from the beginning of the market (starting with the very first trade).