GET
/
v3
/
account
/
tokenConfig
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>'
{
    "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.

{
    "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

x-api-key
string
required

api-key

Example:

"abcdef123456"

x-api-signature
string
required

api-signature

Example:

"signaturestring"

x-api-timestamp
string
required

api-timestamp

Example:

"1718943200000"

Response

200 - application/json

The response is of type object.