GET /api/v1/ticker/24hr

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

24-hour rolling price change and volume statistics for Spot pairs.

Parameters

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

Response

type: object
count key: count
pagination: offset
sample: {
  "symbol": "str",
  "priceChange": "str",
  "priceChangePercent": "str",
  "weightedAvgPrice": "str",
  "lastPrice": "str",
  "lastQty": "str",
  "openPrice": "str",
  "highPrice": "str",
  "lowPrice": "str",
  "volume": "str",
  "quoteVolume": "str",
  "openTime": "int",
  "closeTime": "int",
  "firstId": "int",
  "lastId": "int",
  "count": "int",
  "baseAsset": "str",
  "quoteAsset": "str",

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/24hr?symbol=ASTERUSDT"