Jump to content
Sign in to follow this  

How to pull historic data for Cryptocurrencies or Bitcoin from the API

Recommended Posts

I am trying to build an AI model for trading CryptoCurrency or Bitcoins. For this I need historic data as well as live data. How should be the end point for achieving this.


Share this post

Link to post

Hi Shilpa,

For historic price data, we have several endpoints available in the REST API. Please refer to the API documentation at: http://docs.labs.gaincapital.com/.

Navigate to CIAPI Reference > HTTP Services > Price History and consult the topics contained within that topic book. 

In the case of Live data, you'll need to subscribe to the Lightstreamer price stream for the markets you are interested in. The authentication credentials for Lightstreamer are your account user name and the password is the Session ID you receive when you login to the REST API. 

Kind Regards, PM

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this