GET api/v2/orders

General information about endpoints

InformationDescription

Description

Lists orders with optional filters.

Route

GET api/v2/orders

Permissions

Private

Request Parameters:

ParameterTypeRequiredDescription

market

string

Optional

Filter by market identifier

from

date

Optional

Filter by start date

to

date

Optional

Filter by end date

asset

string

Optional

Filter by asset identifier

state

string

Optional

Filter by status

side

string

Optional

Filter by direction

ord_type

string

Optional

Filter by order type

price_min

number

Optional

Filter by minimum price

price_max

number

Optional

Filter by maximum price

sort

string

Optional

Sort order (asc or desc)

sort_by

string

Optional

Sort by specified field

page

integer

Optional

Pagination page

per_page

integer

Optional

Number of items per page

Response:

{
"prices" : {
"sell" : [
],
"buy" : [
1000.0,
10000.0,
26948.7
]
},
"order" :  ,
"total_count" : 7,
"per_page" : 2,
"total_pages" : 4,
"page" : 1,
"prev_page" : ,
"next_page" : 2,
"items" : [
{
"avg_price" : ,
"created_at" : 20220822T09:16:50.941Z,
"executed_volume" : 0.0,
"fulfillment" : 0.0,
"id" : 682,
"market_id" : btcusdt,
"ord_type" : limit,
"price" : 1000.0,
"remaining_volume" : 0.01,
"side" : buy,
"state" : wait,
"trades_count" : 0,
"volume" : 0.01
},
{
"avg_price" : ,
"created_at" : 20220826T09:36:56.629Z,
"executed_volume" : 0.0024,
"fulfillment" : 0.24,
"id" : 737,
"market_id" : btcusdt,
"ord_type" : limit,
"price" : 1000.0,
"remaining_volume" : 0.0076,
"side" : buy,
"state" : wait,
"trades_count" : 5,
"volume" : 0.01
}
]
}