GET /fapi/v1/depth

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

Futures L2 order book snapshot (bids and asks) for a symbol.

Parameters

nameintypedescription
symbolquerystrrequiredFutures symbol.
example: BTCUSDT
limitqueryintoptionalDepth levels (5..1000).
example: 5

Response

type: object
data key: bids
pagination: none
sample: {
  "lastUpdateId": "int",
  "E": "int",
  "T": "int",
  "bids": "array[5]",
  "asks": "array[5]"
}

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/fapi/v1/depth?symbol=BTCUSDT&limit=5"