REST API DOCS

Depth of Book by Price

GET
/backend/api/v1/orders/depth_by_price/

Returns bid-offer pairs aggregated by price level for the given symbol.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

symbol*string

Ticker symbol to get depth by price for

Response Body

application/json

curl -X GET "https://example.com/backend/api/v1/orders/depth_by_price/?symbol=USDT"
{  "message": "success",  "data": [    {      "bid_count": 1,      "bid_quantity": 500,      "bid_price": 3.85,      "offer_count": 1,      "offer_quantity": 100,      "offer_price": 3.94    },    {      "bid_count": 1,      "bid_quantity": 100,      "bid_price": 3.83,      "offer_count": 1,      "offer_quantity": 100,      "offer_price": 3.99    },    {      "bid_count": 1,      "bid_quantity": 100,      "bid_price": 3.82,      "offer_count": 2,      "offer_quantity": 1900,      "offer_price": 4    },    {      "bid_count": 1,      "bid_quantity": 200,      "bid_price": 3.8,      "offer_count": 1,      "offer_quantity": 200,      "offer_price": 4.07    },    {      "bid_count": 1,      "bid_quantity": 200,      "bid_price": 3.77,      "offer_count": 1,      "offer_quantity": 100,      "offer_price": 4.11    },    {      "bid_count": 3,      "bid_quantity": 1000,      "bid_price": 3.75,      "offer_count": 2,      "offer_quantity": 600,      "offer_price": 4.2    },    {      "bid_count": 1,      "bid_quantity": 100,      "bid_price": 3.72,      "offer_count": 1,      "offer_quantity": 1000,      "offer_price": 4.3    },    {      "bid_count": 1,      "bid_quantity": 100,      "bid_price": 3.7,      "offer_count": 1,      "offer_quantity": 500,      "offer_price": 4.5    }  ],  "code": 200}