Skip to content

Query Contract Information

Address/openApi/contract/symbols

Receiving Parameters

No

Submission Method: GET

Example

curl -d /openApi/contract/symbols

Submission Parameters

Parameter Name Required Type Example Description
symbol No string BTC-USDT Trading pair

Return Parameters

Parameter Name Required Type Example Description
errno Yes int 0 Status code
errmsg Yes success success Status message
result No array See example List

result Parameters Explanation

Parameter Name Required Type Example Description
id Yes int 11 Pair ID
symbol Yes string BTC-USDT Trading pair name
contract_size Yes float 1 Contract value, i.e., how many US dollars correspond to one contract
base_currency Yes string BTC Base currency of the transaction
quote_currency Yes string USDT Quoted currency type
min_size Yes float 0.0000001 Minimum trade quantity
max_size Yes float 10000 Maximum transaction quantity
min_price Yes float 0.001 Minimum transaction price
max_price Yes float 1000 Maximum transaction price
maker_fee Yes float 0.002 Maker fee, value ranges from 0 to 1, e.g., (0.1 is 10%)
taker_fee Yes float 0.002 Taker fee, value range between 0~1, for example (0.01 is 1%)

Return Example

JSON
{
    "errno": 0,
    "errmsg": "success",
    "result": [
        {
            "id": 1223,
            "symbol": "BTC-USDT",
            "base_currency": "BTC",
            "quote_currency": "USDT",
            "min_size": 0.0000001,
            "max_size": 10000,
            "min_price": 0.001,
            "max_price": 1000,
            "maker_fee": 0.002,
            "taker_fee": 0.002
        },
        {
            "id": 1223,
            "symbol": "EOS-USDT",
            "base_currency": "EOS",
            "quote_currency": "USDT",
            "min_size": 0.0000001,
            "max_size": 10000,
            "min_price": 0.001,
            "max_price": 1000,
            "maker_fee": 0.002,
            "taker_fee": 0.002
        }
    ]
}