Spot Account Endpoints
Get Assets
Rate limit rule: 10 request/1s
HTTP Request
GET /api/spot/v1/account/assets
Response:
Response Field
Field | Description |
---|---|
coinId | Currency id |
coinName | Currency name |
available | Available assets |
frozen | Frozen assets |
lock | Locked assets |
uTime | Updated time |
Get Bill Record
Rate limit rule: 10 request/1s
HTTP Request
POST /api/spot/v1/account/bills
Request parameter
Parameters | Type | Required | Description |
---|---|---|---|
coinId | Integer | No | Currency ID |
groupType | String | No | Transaction group type |
bizType | String | No | Business type |
after | String | No | Send in billId, the data before this billId |
before | String | No | Send in billId, the data after this billId |
limit | Integer | No | default 100, Max. 500 |
Response:
Response Field
Field | Description |
---|---|
cTime | Created time |
coinId | Currency Id |
coinName | Currency name |
groupType | Transaction group type |
bizType | Business type |
quantity | Quantity |
balance | Assets before action |
fees | Transaction fees |
billId | id |
Get Transfer Record
Rate limit rule: 10 request/1s
HTTP Request
GET /api/spot/v1/account/transferRecords
Request parameter
Parameters | Type | Required | Description |
---|---|---|---|
coinId | Integer | No | Currency ID |
fromType | String | No | Account Type |
after | Long | No | after transfer balance |
before | Long | No | before transfer balance |
limit | Integer | No | default 100, Max. 500 |
Response:
Response Field
Field | Description |
---|---|
coinName | Currency name |
status | Status |
toType | Transfer in account type |
toSymbol | Transfer to account Symbol |
fromType | Transfer out account type |
fromSymbol | Transfer in account Symbol |
amount | Number of transfers |
tradeTime | Transfer time |
Last updated