Get Book Ticker

GET /api/v1/market/bookTickers

Weight: 1

Request parameters

Name

Type

Mandatory

Description

symbol

string

No

Symbol.

type

string

No

Type, if the symbol is specified, the type is irrelevant. If the symbol is not specified, the default is PERP, with the possible values being SPOT / PERP.

Response format

Name

Type

Description

tickers

array

Collection of tickers.

symbol

string

Symbol.

bidPrice

number

Best bid price.

bidSize

string

Volume at the best bid price.

askPrice

string

Best ask price.

askSize

string

Volume at the best ask price.

timestamp

string

Timestamp in millisecond.

Error code

  • MARKET_INVALID_SYMBOL Invalid symbol.

  • MARKET_PARAMETER_ERROR Parameter error.

Request example

GET https://{site}/api/v1/market/bookTicker

Response example

{ 
  "data": {
    "tickers": [
      
    ]
  },
  "result": true,
  "timestamp": 1566691672311
}

Last updated