POST/v1/api/trades
URL:
https://api.koindex.io/POST/v1/api/trades?api_key=****&auth_nonce=1524165420000&auth_sign=0aeb680bb3152c14f849037af45f9eb1&page_size=10
&page=1
Request filed:
api_key |
Your API key | String |
auth_nonce |
Timestamp | String |
auth_sign |
MD5coding.MD5(api_key+auth_nonce+last+page_index+page_size+apiSecret) | String |
page_size |
Item amount in each page | Integer |
page |
Number of current page | Integer |
Response:
{
"code": 0,
"data": [
[
"465148113581688832",
"ETH_BTC",
"1530941552311",
"0.010000",
"0.0010000000000000",
"0.1000",
"NuN",
"NuN",
"0"
]
],
"channel": "auth-trades-history",
"page": {
"pageNumber": 10,
"countNumber": 110,
"pageSize": 1,
"countPage": 11
}
}
data |
tradeID,pair,time,unit price,amount,quantity, order type,price of your specify,trade fee ] |
channel |
auth-make-order | auth-cancel-order | auth-orders | auth-orders-history | auth-trades-history | auth-detail-order |
countNumber |
total items |
countPage |
total pages |
pageNumber |
item amount in each page |
pageSize |
number of current page |
Error:
{"code":-1,"msg":"fail"}
code |
response status, 0 is success, other is fail. |
msg |
error massage |