Skip to main content

Symbol Configs

Endpoint

GET /symbol-configs

Request

None

Response

JSON Object


Response Fields

Symbol Configurations (a)

FieldTypeDescription
aint32Symbol ID
bint32Symbol type: SPOT (0), FUTURES (1)
cint32Base currency ID
dstringBase currency name
pint32Base currency decimal places
eint32Quote currency ID
fstringQuote currency name
qint32Quote currency decimal places
gstringSymbol name (e.g., "ETH_USDT")
kint32Price step decimal places. For example: The minimum price movement for BTC_USDT is 0.0001 USDT, then k will be 4 (indicating 4 decimal places). If the minimum price movement is 0.00001 USDT, then k will be 5.
mint32Size step decimal places. For example: The minimum amount movement for BTC_USDT is 0.0001 BTC, then m will be 4 (indicating 4 decimal places). If the minimum amount movement is 0.00001 BTC, then m will be 5.
nbooleanUser trading enabled (true/false)
oboolean
istringUser trading start time (timestamp). Valid if i > 0 and n = true
jstring
lstringTrading end time (timestamp). Valid if l > 0
hobjectTrading rules by VIP level

Trading Rules (h)

FieldTypeDescription
nint32VIP level
rstringMaker fee percent
sstringTaker fee percent
tstringMinimum order amount in quote currency
ustringMaximum market order amount in quote currency
vstringMaximum limit order amount in quote currency
xint32Maximum number of open limit orders
ystringUpper price limit percent. For example: If the last matched price for ETH/USDT is $100, and y = 10, a buy limit order cannot be placed above $110, and a sell limit order cannot be placed below $90. If y < 0, this limit does not apply.
zstringLower price limit percent. For example: If the last matched price for ETH/USDT is $100, and z = 10, a buy limit order cannot be placed below $90, and a sell limit order cannot be placed above $110. If z < 0, this limit does not apply.

Currency Details (b)

FieldTypeDescription
aint32Currency ID
bstringCurrency name
cint32Decimal places for currency
dint32Decimal places for withdrawal amount

Example Usage

curl --location 'https://spot-markets-dev.goonus.io/symbol-configs'

Response

{
"a": [
{
"a": 25,
"b": 0,
"c": 15,
"d": "ONX",
"p": 6,
"e": 1,
"f": "USDT",
"q": 8,
"g": "ONX_USDT",
"k": 8,
"m": 0,
"i": "1733126400000",
"j": "1733126390000",
"l": "0",
"n": true,
"o": true,
"h": {
"0": {
"n": 0,
"r": "0.10000000",
"s": "0.10000000",
"t": "5.00000000",
"u": "10000.00000000",
"v": "30000.00000000",
"x": 200,
"y": "50.00000000",
"z": "90.00000000"
}
}
}
],
"b": [
{
"a": 3,
"b": "BTC",
"c": 8,
"d": 8
}
]
}

note
  • Trading Rules apply differently depending on the user's VIP level.
  • Timestamps are valid only when they are greater than 0 and the corresponding trading enable flag is true.