Skip to content

Query Trading Pair Precision

Endpoint: /v1/spot/symbol_precision

Request Method

GET

Description

Retrieve precision and trading limits for one or multiple spot trading pairs.

Example

Bash
curl -X GET "https://oapi.websea.com/v1/spot/symbol_precision?symbol=BTC-USDT"

Description

Retrieve precision and trading limits for one or multiple spot trading pairs.

Query Parameters

Parameter Required Type Example Description
symbol No string BTC-USDT Trading pair. If omitted, precision data for all trading pairs will be returned

Response Parameters

Parameter Required Type Example Description
errno Yes int 0 Status code
errmsg Yes string success Status message
result Yes object See example Result data

Result Fields

Parameter Required Type Example Description
amount Yes string 3 Quantity precision
price Yes string 2 Price precision
minQuantity Yes string 0.01 Minimum order quantity
maxQuantity Yes string 100000000 Maximum order quantity
minPrice Yes string 0.000001 Minimum order price
maxPrice Yes string 100000 Maximum order price

Response Example

JSON
{
    "errno": 0,
    "errmsg": "success",
    "result": {
        "BTC-USDT": {
            "amount": "3",
            "minQuantity": "0.01",
            "maxQuantity": "100000000",
            "price": "2",
            "minPrice": "0.000001",
            "maxPrice": "100000"
        }
    }
}