You are here

LakeBTC API - Sample Source Code

LakeBTC is a Chinese based BitCoin exchange service. Using their REST API, developers can make requests to the Market Data ticker to receive information on the last price, best bid, best ask, 24-hour high and 24-hour low prices in New York and the United States. Calls to the API may also be made to return information from the 'Orderbook,' and 'Trade History' parameters in order to showcase details on all recent trades. For authentication, users must submit an API key, valid timestamp, and use the correct JSON formatting aimed as a POST HTTP method. Private functionality of the API allows users to programmatically purchase, sell, and trade, edit existing orders, etc. The public Market Data API may also be retrieved by subscribing to the LakeBTC Websocket. Client libraries exist to enable developers to access the websocket API from various languages (C++, Ruby, Rails).