> For the complete documentation index, see [llms.txt](https://abcc-docs.gitbook.io/api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://abcc-docs.gitbook.io/api/spot-trade/get-orders.md).

# List Order

## Get Order List

<mark style="color:blue;">`GET`</mark> `https://api.abcc.com/api/v1/exchange/orders`

#### Query Parameters

| Name         | Type   | Description                                                 |
| ------------ | ------ | ----------------------------------------------------------- |
| per\_page    | string | Return number per page (default is 10)                      |
| page         | string | Page code (Default is 1)                                    |
| direction    | string | ASC ascending order DESC descending order (default is DESC) |
| order\_by    | string | Sorted field id/price/volume (Default is id)                |
| side         | string |                                                             |
| state        | string |                                                             |
| market\_code | string |                                                             |
| signature    | string |                                                             |
| access\_key  | string |                                                             |
| tonce        | string | Timestamp of the current time in milliseconds (Unix epoch)  |

{% tabs %}
{% tab title="200 Data successfully retrieved." %}

```
{
	"meta": {
		"page": 1,
		"per_page": 1,
		"total_count": 58
	},
	"orders": [{
		"id": 4936589,
		"created_at": "2021-08-12T06:44:05Z",
		"market_code": "btcusdt",
		"side": "sell",
		"state": "wait",
		"ord_type": "limit",
		"price": "45125.98",
		"avg_price": "0.0",
		"volume": "0.000113",
		"remaining_volume": "0.000113",
		"executed_volume": "0.0",
		"trades_count": 0
	}
}
```

{% endtab %}
{% endtabs %}

**OUTPUT EXPLANATION**

| Parameter         | Type    | Explanation                            |
| ----------------- | ------- | -------------------------------------- |
| id                | Integer | ID                                     |
| created\_at       | String  | order time                             |
| market\_code      | String  | The only code for the market           |
| side              | String  | Buy and sell type                      |
| state             | String  | status                                 |
| ord\_type         | String  | Order type                             |
| price             | String  | Order price                            |
| avg\_price        | String  | The average price of transactions      |
| volume            | String  | Initial pending order volume           |
| remaining\_volume | String  | The remaining amount of pending orders |
| executed\_volume  | String  | Executed pending order volume          |
| trades\_count     | Integer | Number of transactions                 |

SIDE

| Parameter | Type   | Explanation |
| --------- | ------ | ----------- |
| buy       | String | buy         |
| sell      | String | sell        |

STATE

| Parameter | Type   | Explanation           |
| --------- | ------ | --------------------- |
| wait      | String | Pending order         |
| done      | String | Completed transaction |
| cancel    | String | Canceled              |

ORD\_TYPE

| Parameter | Type   | Explanation  |
| --------- | ------ | ------------ |
| limit     | String | Limit order  |
| market    | String | Market order |
