Client APIOrders
Depth of Book by Order
Returns bid-offer pairs aggregated by order for the given symbol.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Query Parameters
symbol*string
Ticker symbol to get depth by order for
Response Body
application/json
curl -X GET "https://example.com/backend/api/v1/orders/depth_by_order/?symbol=USDT"{ "message": "success", "data": [ { "symbol_name": "USDT", "bid_mpid": "MPID1", "bid_quantity": 500, "bid_price": 3.85, "bid_quote_condition": "c", "bid_updated_at": "2024-01-17T13:00:41.312422Z", "offer_mpid": "MPID10", "offer_quantity": 100, "offer_price": 3.94, "offer_quote_condition": "c", "offer_updated_at": "2024-01-17T13:00:41.324727Z" }, { "symbol_name": "USDT", "bid_mpid": "MPID2", "bid_quantity": 100, "bid_price": 3.83, "bid_quote_condition": "c", "bid_updated_at": "2024-01-17T13:00:41.358245Z", "offer_mpid": "MPID11", "offer_quantity": 100, "offer_price": 3.99, "offer_quote_condition": "c", "offer_updated_at": "2024-01-17T13:00:41.348508Z" }, { "symbol_name": "USDT", "bid_mpid": "MPID3", "bid_quantity": 100, "bid_price": 3.82, "bid_quote_condition": "c", "bid_updated_at": "2024-01-17T13:00:41.341241Z", "offer_mpid": "MPID12", "offer_quantity": 900, "offer_price": 4, "offer_quote_condition": "c", "offer_updated_at": "2024-01-17T13:00:41.362123Z" }, { "symbol_name": "USDT", "bid_mpid": "MPID4", "bid_quantity": 200, "bid_price": 3.8, "bid_quote_condition": "c", "bid_updated_at": "2024-01-17T13:00:41.337068Z", "offer_mpid": "MPID13", "offer_quantity": 1000, "offer_price": 4, "offer_quote_condition": "c", "offer_updated_at": "2024-01-17T13:00:41.371540Z" }, { "symbol_name": "USDT", "bid_mpid": "MPID5", "bid_quantity": 200, "bid_price": 3.77, "bid_quote_condition": "c", "bid_updated_at": "2024-01-17T13:00:41.321124Z", "offer_mpid": "MPID14", "offer_quantity": 200, "offer_price": 4.07, "offer_quote_condition": "c", "offer_updated_at": "2024-01-17T13:00:41.374728Z" }, { "symbol_name": "USDT", "bid_mpid": "MPID5", "bid_quantity": 200, "bid_price": 3.75, "bid_quote_condition": "c", "bid_updated_at": "2024-01-17T13:00:41.333493Z", "offer_mpid": "MPID15", "offer_quantity": 100, "offer_price": 4.11, "offer_quote_condition": "c", "offer_updated_at": "2024-01-17T13:00:41.368185Z" }, { "symbol_name": "USDT", "bid_mpid": "MPID6", "bid_quantity": 300, "bid_price": 3.75, "bid_quote_condition": "c", "bid_updated_at": "2024-01-17T13:00:41.351595Z", "offer_mpid": "MPID16", "offer_quantity": 100, "offer_price": 4.2, "offer_quote_condition": "c", "offer_updated_at": "2024-01-17T13:00:41.305474Z" }, { "symbol_name": "USDT", "bid_mpid": "MPID7", "bid_quantity": 500, "bid_price": 3.75, "bid_quote_condition": "c", "bid_updated_at": "2024-01-17T13:00:41.345118Z", "offer_mpid": "MPID17", "offer_quantity": 500, "offer_price": 4.2, "offer_quote_condition": "c", "offer_updated_at": "2024-01-17T13:00:41.317015Z" }, { "symbol_name": "USDT", "bid_mpid": "MPID8", "bid_quantity": 100, "bid_price": 3.72, "bid_quote_condition": "c", "bid_updated_at": "2024-01-17T13:46:51.868458Z", "offer_mpid": "MPID18", "offer_quantity": 1000, "offer_price": 4.3, "offer_quote_condition": "c", "offer_updated_at": "2024-01-17T13:00:41.365103Z" }, { "symbol_name": "USDT", "bid_mpid": "MPID9", "bid_quantity": 100, "bid_price": 3.7, "bid_quote_condition": "c", "bid_updated_at": "2024-01-17T13:00:41.329638Z", "offer_mpid": "MPID19", "offer_quantity": 500, "offer_price": 4.5, "offer_quote_condition": "c", "offer_updated_at": "2024-01-17T13:00:41.378161Z" } ], "code": 200}