GET
/
sapi
/
v1
/
depth
curl --request GET \
  --url https://openapi.odyssey.trade/sapi/v1/depth
{
  "asks": [
    [
      "1.1",
      "1.2"
    ]
  ],
  "bids": [
    [
      "2.1",
      "2.2"
    ]
  ],
  "time": 0
}

Query Parameters

limit
integer
required

The maximum number of items that can be returned in the query result. The value must be a positive integer. The default value is 100, maximum value is 100.

symbol
string
required

The uppercase symbol name, e.g., BTCUSDT.

Response

200
application/json
Successful Response

Response of the request: :class:odyssey_exchange_api.requests.SpotDepthRequest.

Contains an arrays with price and volume.

asks
array
required
bids
array
required
time
integer
required