Rest API

EXX provides APIs for fast access to its spot markets with the following features: Market data, Order book, Depths of bids and asks, Trade history, Trade execution, Order information, Order history, Account information.

In case of any problem, please contact our support team, please contact on support@exx.com.

Receive the latest EXX market data

Interface Description
+- https://api.exx.com/data/v1/markets All markets
+- https://api.exx.com/data/v1/tickers All price
+- https://api.exx.com/data/v1/ticker Market quotation
+- https://api.exx.com/data/v1/depth The depth of market
+- https://api.exx.com/data/v1/trades Trade History
+- https://api.exx.com/data/v1/klines 获取K线

Trade API

Fast Trade on EXX.com

Interface Description
+- https://trade.exx.com/api/order Place commissioned order
+- https://trade.exx.com/api/cancel Cancel order
+- https://trade.exx.com/api/getOrder Acquire buy order or sell order
+- https://trade.exx.com/api/getOpenOrders Acquire multiple buy order or sell order, request to return 10 records each time.
+- https://trade.exx.com/api/getBalance Acquire user information
+- https://trade.exx.com/api/getChargeAddress Get deposit address
+- https://trade.exx.com/api/getChargeRecord Get deposit record
+- https://trade.exx.com/api/getWithdrawAddress Get certification withdrawal address
+- https://trade.exx.com/api/getWithdrawRecord Get withdrawal record
+- https://trade.exx.com/api/withdraw Withdrawal

Sample Code

Request Parameter Specification(Encrypted signature please according to this order, signature and ReqTime need not to join with signature string)

    //......
    try{
    	//......
        String params = "accesskey=yourAccessKey&nonce="+System. currentTimeMillis();
    	String secretKey = "yourSecretKey";
    	String baseURL = "https://trade.exx.com/api/getBalance";
    	String signature = HmacSHA512(params, secretKey);
    	String url = baseURL + "?" + params + "&signature=" + signature;
    	String result = doRequest(url);

        //String params = "accesskey=yourAccessKey&nonce=1234567890123";
        //String secretKey = "yourSecretKey";
        //The result of being encrypted with HmacSHA512:
        //c247be4b0b3f448254e70d422d199c874afa8fe873fd25d39cc1d14e4d60700bdbe0ea681a57bf772a8c16706e8a4d4bef3cd362fcc89f03a15e7e1b9e1930b1
    	//......
    }catch(Exception ex){
    	ex.printStackTrace();
    }
    //......
    

FAQ

Access Restrictions

1. Each IP can send maximum of 1000 https requests within 1 minute. If exceeds 1000 requests, the system will automatically block the IP for one hour. After an hour, the IP will be automatically unlocked.

2. Each user can send maximum of 10 request within one second, it will be considered invalid if exceeds 10 requests.

3.The asset interface supports up to 3 visits per second

4.The address and record interface can be accessed at most 1 times per second.

5.The money raising authority needs to be opened in the generated API key operation, and the default is not opened.

6.Subaccount does not allow currency manipulation