> 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/market-data/order-book.md).

# Order book

## Get Order book

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

#### Query Parameters

| Name         | Type   | Description |
| ------------ | ------ | ----------- |
| market\_code | string |             |

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

```
{
    "asks": [
        {
            "id": 4301745908,
            "created_at": "2021-08-12T09:06:11Z",
            "market_code": "btcusdt",
            "side": "sell",
            "state": "wait",
            "ord_type": "limit",
            "price": "45280.41",
            "avg_price": "0.0",
            "volume": "0.107126",
            "remaining_volume": "0.107126",
            "executed_volume": "0.0",
            "trades_count": 0
        },
        {
            "id": 4301745913,
            "created_at": "2021-08-12T09:06:11Z",
            "market_code": "btcusdt",
            "side": "sell",
            "state": "wait",
            "ord_type": "limit",
            "price": "45280.66",
            "avg_price": "0.0",
            "volume": "0.05",
            "remaining_volume": "0.05",
            "executed_volume": "0.0",
            "trades_count": 0
        },
        {
            "id": 4301745915,
            "created_at": "2021-08-12T09:06:11Z",
            "market_code": "btcusdt",
            "side": "sell",
            "state": "wait",
            "ord_type": "limit",
            "price": "45281.09",
            "avg_price": "0.0",
            "volume": "0.009391",
            "remaining_volume": "0.009391",
            "executed_volume": "0.0",
            "trades_count": 0
        }
    ],
    "bids": [
        {
            "id": 4301746026,
            "created_at": "2021-08-12T09:06:13Z",
            "market_code": "btcusdt",
            "side": "buy",
            "state": "wait",
            "ord_type": "limit",
            "price": "45014.2",
            "avg_price": "0.0",
            "volume": "0.00849",
            "remaining_volume": "0.00849",
            "executed_volume": "0.0",
            "trades_count": 0
        },
        {
            "id": 4301746030,
            "created_at": "2021-08-12T09:06:13Z",
            "market_code": "btcusdt",
            "side": "buy",
            "state": "wait",
            "ord_type": "limit",
            "price": "45010.31",
            "avg_price": "0.0",
            "volume": "0.03",
            "remaining_volume": "0.03",
            "executed_volume": "0.0",
            "trades_count": 0
        }
    ]
}
```

{% endtab %}
{% endtabs %}
