Spot Account Endpoints

Get Assets

Rate limit rule: 10 request/1s

HTTP Request

  • GET /api/spot/v1/account/assets

Response:

{
  "code":"00000",
  "message":"success",
  "data":[
    {
        "coinId":"10012",
        "coinName":"usdt",
        "available":"0",
        "frozen":"0",
        "lock":"0",
        "uTime":"1622697148"
    }
]
}

Response Field

Get Bill Record

Rate limit rule: 10 request/1s

HTTP Request

  • POST /api/spot/v1/account/bills

Request parameter

Response:

{
  "code":"00000",
  "message":"success",
  "data":[{
      "cTime":"1622697148",
      "coinId":"22",
      "coinName":"usdt",
      "groupType":"deposit",
      "bizType":"transfer-in", 
      "quantity":"1",
      "balance": "1",
      "fees":"0",
      "billId":"1291"
}]
}

Response Field

Get Transfer Record

Rate limit rule: 10 request/1s

HTTP Request

  • GET /api/spot/v1/account/transferRecords

Request parameter

Response:

{
    "code":"00000",
    "data":[
        {
            "coinName":"btc",
            "status":"SUCCESS",
            "toType":"USD_MIX",
            "toSymbol":"",
            "fromType":"CONTRACT",
            "fromSymbol":"BTC/USD",
            "amount":"1000.00000000",
            "tradeTime":"1631070374488"
        }
    ],
    "msg":"success",
    "requestTime":1631608142260
}

Response Field

Last updated