Orders

NOTE: This endpoint requires API key and request signing, for more information please refer to Authentication section.

post
Create

https://api.tdax.com/api/orders/
Request
Response
Request
Headers
Signature
required
string
This field require encrypt of API key and API Secret
Authorization
required
string
This field require API key
Body Parameters
type
required
string
A string representing order type, can be 'limit' or 'merket'
pair
required
string
A string representing paring, can be 'btc_thb' 'eth_thb' ...
side
required
string
A string representing order side, can be 'sell' or 'buy'
price
required
string
A string representing price you want to buy or sell, in smallest unit
amount
required
string
A string representing quantity you want to buy or sell
nonce
required
integer
An unique integer for each request, normally this will unix time stamp
Response
202: Accepted
{
"id": 1293
}

get
List user orders

https://api.tdax.com/api/orders/user
Request
Response
Request
Headers
Signature
required
string
This field require encrypt of API key and API secret
Authorization
required
string
This field require API key
Query Parameters
pair
required
string
A string representing pairing
limit
required
string
A string representing limit to return
offset
required
string
A string representing offset
status
optional
string
A string representing order status ("open" or "close")
side
required
string
A string representing side
Response
200: OK
[
{
"id": 7033371,
"price": "32.897531",
"amount": "532.870154",
"remaining_amount": "532.870154",
"side": "sell",
"cost": "0",
"created_at": "2018-12-04T13:17:18.419747+01:00",
"status": "created"
},
{
"id": 7033346,
"price": "32.882336",
"amount": "222.017572",
"remaining_amount": "222.017572",
"side": "sell",
"cost": "0",
"created_at": "2018-12-04T13:17:11.33432+01:00",
"status": "created"
},
{
"id": 7033329,
"price": "32.562438",
"amount": "484.427136",
"remaining_amount": "484.427136",
"side": "sell",
"cost": "0",
"created_at": "2018-12-04T13:17:06.304916+01:00",
"status": "created"
},
{
"id": 7033314,
"price": "32.570467",
"amount": "915.08836",
"remaining_amount": "915.08836",
"side": "sell",
"cost": "0",
"created_at": "2018-12-04T13:17:01.087918+01:00",
"status": "created"
},
{
"id": 7033311,
"price": "32.551656",
"amount": "1128.126593",
"remaining_amount": "1128.126593",
"side": "sell",
"cost": "0",
"created_at": "2018-12-04T13:17:00.184203+01:00",
"status": "created"
},
{
"id": 7033307,
"price": "32.764417",
"amount": "235.979696",
"remaining_amount": "235.979696",
"side": "sell",
"cost": "0",
"created_at": "2018-12-04T13:16:58.309938+01:00",
"status": "created"
},
{
"id": 7033300,
"price": "32.888194",
"amount": "432.81729",
"remaining_amount": "432.81729",
"side": "sell",
"cost": "0",
"created_at": "2018-12-04T13:16:57.309632+01:00",
"status": "created"
},
{
"id": 7033288,
"price": "32.823571",
"amount": "458.850473",
"remaining_amount": "458.850473",
"side": "sell",
"cost": "0",
"created_at": "2018-12-04T13:16:53.881117+01:00",
"status": "created"
},
{
"id": 7033265,
"price": "32.887462",
"amount": "406.845988",
"remaining_amount": "406.845988",
"side": "sell",
"cost": "0",
"created_at": "2018-12-04T13:16:46.226628+01:00",
"status": "created"
}
]

delete
Cancel order

https://api.tdax.com/api/orders/{order_id}
Request
Response
Request
Headers
Signature
required
string
This field require an encrypt of API key and API secret
Authorization
required
string
This field require API key
Body Parameters
pair
required
string
A string representing pair
Response
202: Accepted