Skip to main content

Trade Info

Get min/max order size and precision for a symbol — the data you need to validate orders before submitting them.

HTTP

MethodGET
Endpoint/trade/api/v2/tradeInfo

Request Parameters

ParameterTypeMandatoryDescription
exchangestringYesSee Exchange Identifiers.
symbolstringNoBASE/QUOTE. If omitted, returns info for all symbols on the exchange.

Example

import requests

headers, path = sign_request("GET", "/trade/api/v2/tradeInfo",
params={"exchange": "coinswitchx",
"symbol": "BTC/INR"})
response = requests.get(BASE_URL + path, headers=headers)
print(response.json())

Response

{
"data": {
"coinswitchx": {
"BTC/INR": {
"quote": {
"min": "150",
"max": "2500000"
},
"precision": {
"base": 6,
"quote": 2,
"limit": 0
}
}
}
}
}

Response Parameters

data is keyed by exchange, then by symbol. Each symbol object:

FieldTypeDescription
quote.minstringMinimum total order value, in quote asset (INR or USDT). Reject orders below this.
quote.maxstringMaximum total order value, in quote asset. Split larger orders.
precision.baseintegerDecimal places for quantity.
precision.quoteintegerDecimal places for price.
precision.limitintegerLimit-order precision adjustment.