GET /api/v1/ticker/price

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

Latest Spot price ticker for one or all symbols.

Parameters

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

Response

type: object
pagination: none
sample: {
  "symbol": "str",
  "price": "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/price?symbol=ASTERUSDT"