Getting Started
Public Data
Trading
- POSTPlace order
- DELCancel order
- DELCancel multiple orders
- GETGet order
- GETGet orders
- PUTEdit order
- POSTPlace algo order
- DELCancel algo order
- DELCancel multiple algo orders
- DELCancel all orders by symbol
- GETGet algo order
- GETGet algo orders
- PUTEdit algo order
- GETGet transaction by trade id (last 3 months)
- GETGet transaction history (in the past 2 years)
- GETGet trading fee
- POSTCancel all after
Account
Assets
Futures
Spot Margin
Websocket Streams
- Introduction
- Public Market Data
- Private User Data
- Commands
Account
Token config
Get the token level configurations.
GET
/
v3
/
account
/
tokenConfig
Copy
curl --request GET \
--url https://api.woox.io/v3/account/tokenConfig \
--header 'x-api-key: <x-api-key>' \
--header 'x-api-signature: <x-api-signature>' \
--header 'x-api-timestamp: <x-api-timestamp>'
Copy
{
"success": true,
"data": {
"rows": [
{
"token": "BTC",
"collateralRatio": "0.85",
"marginFactor": "0.00000023",
"collateral": true, // if the token is now used as collateral
"canCollateral": true, // if the token can be used as collateral
"canShort": true, // if the token supports short selling
"marginMaxLeverage": 10,
"marginMaxPosition": 100000000000
},
{
"token": "ETH",
"collateralRatio": "0.85",
"marginFactor": 0.00000025",
"collateral": true,
"canCollateral": true,
"canShort": true,
"marginMaxLeverage": 10,
"marginMaxPosition": 100000000000
},
{
"token": "WOO",
"collateralRatio": "0.6",
"marginFactor": "0.00000025",
"collateral": false,
"canCollateral": false,
"canShort": false,
"marginMaxLeverage": 5,
"marginMaxPosition": 100000000000
}
]
},
"timestamp": 1721351502594
}
Limit: 10 requests per 1 second
Get the token level configurations.
Copy
{
"success": true,
"data": {
"rows": [
{
"token": "BTC",
"collateralRatio": "0.85",
"marginFactor": "0.00000023",
"collateral": true, // if the token is now used as collateral
"canCollateral": true, // if the token can be used as collateral
"canShort": true, // if the token supports short selling
"marginMaxLeverage": 10,
"marginMaxPosition": 100000000000
},
{
"token": "ETH",
"collateralRatio": "0.85",
"marginFactor": 0.00000025",
"collateral": true,
"canCollateral": true,
"canShort": true,
"marginMaxLeverage": 10,
"marginMaxPosition": 100000000000
},
{
"token": "WOO",
"collateralRatio": "0.6",
"marginFactor": "0.00000025",
"collateral": false,
"canCollateral": false,
"canShort": false,
"marginMaxLeverage": 5,
"marginMaxPosition": 100000000000
}
]
},
"timestamp": 1721351502594
}
Headers
api-key
Example:
"abcdef123456"
api-signature
Example:
"signaturestring"
api-timestamp
Example:
"1718943200000"
Response
200 - application/json
The response is of type object
.
Copy
curl --request GET \
--url https://api.woox.io/v3/account/tokenConfig \
--header 'x-api-key: <x-api-key>' \
--header 'x-api-signature: <x-api-signature>' \
--header 'x-api-timestamp: <x-api-timestamp>'
Copy
{
"success": true,
"data": {
"rows": [
{
"token": "BTC",
"collateralRatio": "0.85",
"marginFactor": "0.00000023",
"collateral": true, // if the token is now used as collateral
"canCollateral": true, // if the token can be used as collateral
"canShort": true, // if the token supports short selling
"marginMaxLeverage": 10,
"marginMaxPosition": 100000000000
},
{
"token": "ETH",
"collateralRatio": "0.85",
"marginFactor": 0.00000025",
"collateral": true,
"canCollateral": true,
"canShort": true,
"marginMaxLeverage": 10,
"marginMaxPosition": 100000000000
},
{
"token": "WOO",
"collateralRatio": "0.6",
"marginFactor": "0.00000025",
"collateral": false,
"canCollateral": false,
"canShort": false,
"marginMaxLeverage": 5,
"marginMaxPosition": 100000000000
}
]
},
"timestamp": 1721351502594
}
Assistant
Responses are generated using AI and may contain mistakes.