Public & Private API


API Documentation

We are providing Public and Private API. Both API uses HTTP requests and responses are in JSON format. Public API shows all info about trading - volume on each pair, current price, order book, trade history. Private API allows you to submit buy&sell orders, cancel your orders and retreive actual balance on your assets.

You need to generate API token in the top of this page (must be logged) in order to use private API.

API endpoint is:

https://www.btcsquare.net/api/v1

All methods are appended.

Public API

Markets

/markets
GET method

Retrieve list of all markets including high,low,bid,ask,volume and current price.

Example:

https://www.btcsquare.net/api/v1/markets

Order book

/orders/{market}
GET method

Retrieve list of all orders for specified market.

Example:

https://www.btcsquare.net/api/v1/orders/BTC-LTC

Trade history

/history/{market}
GET method

Retrieve list of all trades for specified market. The list is limited to 100 records. Date is UNIX UTC timestamp.

Example:

https://www.btcsquare.net/api/v1/history/btc-ltc

Private API

Private API will be available in few days.