GET /api/v1/ticker/bookTicker

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/aster/api/v1/ticker/bookTickerCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Best bid and ask price and quantity on the Spot order book.

Parameters

nameintypedescription
symbolquerystroptionalSpot symbol; omit for all pairs.
example: ASTERUSDT

Response

type: object
pagination: none
sample: {
  "symbol": "str",
  "bidPrice": "str",
  "bidQty": "str",
  "askPrice": "str",
  "askQty": "str",
  "time": "int"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/aster/api/v1/ticker/bookTicker?symbol=ASTERUSDT"