# Public interface

# Measuring the latency with the server

GET /v1/base/delay

Module Type Isolation Type Rate Limit
Public (BASE) Query (QUERY) 0

# Parameters

NONE

# Response parameters

Name Type Description
Long Delay time

# Request Example

GET /v1/base/delay

# Response Example

{
  "code": "200",
  "message": "OK",
  "timestamp": "1687326509410",
  "data": "3751"
}

# Get server time

GET /v1/base/time

Module Type Isolation Type Rate Limit
Public (BASE) Query (QUERY) 0

# Parameters

NONE

# Response parameters

Name Type Description
Long System timestamp

# Request Example

GET  /v1/base/time 

# Response Example

{
  "code": "200",
  "message": "OK",
  "timestamp": "1687316609701",
  "data": "1687316609699"
}

# Currency configuration for spot trading

GET /v1/spot/common/coins

Module Type Isolation Type Rate Limit
Spot market (SPOT_MARKET) Query (QUERY) 5

# Parameters

NONE

# Response parameters

Name Type Description
withdrawPrecision Int Decimal places for deposits and withdrawals
depositEnabled Boolean Whether deposits are enabled for this currency
assertPrecision Int Decimal places for the currency's total asset value
fullName String Full name of the currency
withdrawEnabled Boolean Whether withdrawals are enabled for this currency
coin String Currency symbol or code

# Request Example

GET /v1/spot/common/coins

# Response Example

{
  "code": "200",
  "message": "OK",
  "timestamp": "1687316640895",
  "data": [
    {
      "coin": "USDT",
      "fullName": "TetherUSD",
      "depositEnabled": true,
      "withdrawEnabled": true,
      "withdrawPrecision": 3,
      "assertPrecision": 8
    },
    {
      "coin": "BTC",
      "fullName": "bitcoin",
      "depositEnabled": true,
      "withdrawEnabled": true,
      "withdrawPrecision": 8,
      "assertPrecision": 8
    }
    ]
}

# Spot Trading Pair Configuration

GET /v1/spot/common/symbols

Module Type Isolation type Rate Limit
Spot Market (SPOT_MARKET) Query(QUERY) 5

# Parameters

NONE

# Response Parameters

Name Type Description
minAmount Decimal Minimim order quantity
pricePrecision Int Price precision
symbol String Trading pair
visibleEnabled Boolean Whether it's visible
types Array Suppoet trading types,MARKET-Market、LIMIT-Limit、STOP_LIMIT-Stop limit、TRIGGER_ORDER_MARKET-Plan order-Market、TRIGGER_ORDER_LIMIT-Plan order-Limit
feeProbability Decimal Base fee rate
feeType String Fee type, fee type,CCOINSTANDARD - Coin-based (buyer fee in base currency, seller fee in quote currency)),GOLDSTANDARD - Gold-based (both buyer and seller fees in quote currency)
priceMustGreaterThan Decimal Percentage above market price to sell
amountPrecision Int Quantity precision
minVolume Decimal Minimum trading volime
forbidTrade Boolean Whether trading is forbidden
leverFeeOpened Boolean Whether leverage fee is opened
priceMustLessThan Decimal Percentage below market price to buy
maxAmount Decimal Maximum order quantity
baseCoin String Base currency
quoteCoin String Quote currency

# Request Example

GET /v1/spot/common/symbols

# Response Example

{
  "code": "200",
  "message": "OK",
  "timestamp": "1687316745170",
  "data": [
    {
      "symbol": "EOS/USDT",
      "baseCoin": "EOS",
      "quoteCoin": "USDT",
      "pricePrecision": 4,
      "amountPrecision": 4,
      "minAmount": "0.1",
      "maxAmount": "10000",
      "minVolume": "5",
      "visibleEnabled": true,
      "feeType": "GOLD_STANDARD",
      "leverFeeOpened": true,
      "feeProbability": "0.001",
      "forbidTrade": false,
      "priceMustLessThan": "1.1",
      "priceMustGreaterThan": "0.9",
      "types": [
        "MARKET",
        "LIMIT",
        "STOP_LIMIT",
        "TRIGGER_ORDER_MARKET",
        "TRIGGER_ORDER_LIMIT"
      ]
    },
    {
      "symbol": "LTC/USDT",
      "baseCoin": "LTC",
      "quoteCoin": "USDT",
      "pricePrecision": 2,
      "amountPrecision": 3,
      "minAmount": "0.01",
      "maxAmount": "5000",
      "minVolume": "10",
      "visibleEnabled": true,
      "feeType": "GOLD_STANDARD",
      "leverFeeOpened": false,
      "feeProbability": "0.5",
      "forbidTrade": false,
      "priceMustLessThan": "1.1",
      "priceMustGreaterThan": "0.9",
      "types": [
        "MARKET",
        "LIMIT",
        "STOP_LIMIT",
        "TRIGGER_ORDER_MARKET",
        "TRIGGER_ORDER_LIMIT"
      ]
    }
    ]
}