GET
/
v3
/
spotMargin
/
maxMargin
curl --request GET \
  --url https://api.woox.io/v3/spotMargin/maxMargin \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --header 'x-api-key: <x-api-key>' \
  --header 'x-api-signature: <x-api-signature>' \
  --header 'x-api-timestamp: <x-api-timestamp>' \
  --data 'symbol=<string>'
{
    "success": true,
    "data": {
        "symbol": "SPOT_ETH_USDT",
        "availableBaseQuantity": "24.52401647",       // max available quantity of the base token to sell into the quote token
        "availableQuoteQuantity": "15436.45960897"    // max available quantity of the quote token to buy into the base token (i.e. buying power)
    },
    "timestamp": 1696657422118
}

Limit 10 requests per 60 seconds
Get max available margin for a given spot instrument. Only supported if the account is in MARGIN mode.

{
    "success": true,
    "data": {
        "symbol": "SPOT_ETH_USDT",
        "availableBaseQuantity": "24.52401647",       // max available quantity of the base token to sell into the quote token
        "availableQuoteQuantity": "15436.45960897"    // max available quantity of the quote token to buy into the base token (i.e. buying power)
    },
    "timestamp": 1696657422118
}

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"

Body

application/x-www-form-urlencoded

The body is of type object.

Response

200 - application/json

The response is of type object.