Skip to main content
GET
/
analytics
/
futures-perpetuals
/
depth
Depth
curl --request GET \
  --url https://api.amberdata.com/markets/derivatives/analytics/futures-perpetuals/depth \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": {
    "data": [
      {
        "basisPoints005": 6.830253600000002,
        "basisPoints005OrderCount": 60,
        "basisPoints010": 29.522870730000008,
        "basisPoints010OrderCount": 111,
        "basisPoints015": 44.98593633999999,
        "basisPoints015OrderCount": 150,
        "bestAskPrice": 82695.55,
        "bestBidPrice": 82691.18,
        "exchange": "deribit",
        "midPrice": 82693.36499999999,
        "instrument": "BTC-PERPETUAL",
        "side": "ask",
        "spreadPercent": 0.005284583593871039,
        "timestamp": 1742342400000
      }
    ]
  }
}

Authorizations

x-api-key
string
header
required

Query Parameters

exchange
string
default:deribit
required

[Required] The select exchange for which to view liquidity depth. [Examples] gdax | okex | binance | binanceus

instrument
string
default:BTC-PERPETUAL
required

[Required] The currency pair for which to view liquidity depth. [Examples] btc_usd | btc_usdc | eth_usd

startDate
string

[Optional] Payload only includes data after this date (inclusive). [Formats] seconds | milliseconds | iso8601 [Examples] 1578531600 | 1578531600000 | 2025-02-27

endDate
string

[Optional] Payload only includes data up to this date (exclusive). [Formats] seconds | milliseconds | iso8601 [Examples] 1578531600 | 1578531600000 | 2025-02-28

timeFormat
string
default:hr

[Optional] Time format of the timestamps in the return payload. [Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable

Response

200

status
integer
Example:

200

title
string
Example:

"OK"

description
string
Example:

"Successful request"

payload
object