https://api.woox.io
Staging: https://api.staging.woox.io
x-api-key
API key created from WOO X console
x-api-timestamp
Unix epoch time in milliseconds
x-api-signature
Encoded signature (see Request Example for more details)
api_key
and api_secret
.
Key | Value | Description |
---|---|---|
api_key | AbmyVJGUpN064ks5ELjLfA== | create from WOO X console |
api_secret | QHKRXHPAW1MC9YGZMAT8YDJG2HPR | create from WOO X console |
timestamp | 1578565539808 | Unix epoch time in milliseconds |
x-api-signature
header is generated as follows:
api_secret
using the HMAC_SHA256 algorithm
x-api-signature
, and put timestamp in x-api-timestamp
, and also api_key in x-api-key
.
GET /v3/algo/orders?algoType=STOP
Normalize request content, the result will look like:
1578565539808GET/v3/algo/orders?algoType=STOP
Then use api-secret
to generate a signature using the HMAC_SHA256 algorithm
If the POST request looks like:
1578565539808POST/v3/algo/order{"symbol": "PERP_BTC_USDT", "side": "BUY", "reduceOnly": false, "type": "MARKET", "quantity": "1", "algoType": "TRAILING_STOP", "callbackRate": "100"}
Then use api-secret
to generate a signature using the HMAC_SHA256 algorithm
The final GET request would look like this: