# Order Book

## Get Order Book

<mark style="color:green;">`GET`</mark>`/orderbook`

Get current order book details.

**Query Parameters**

<table><thead><tr><th>Name</th><th>Value</th><th data-type="checkbox">Required</th></tr></thead><tbody><tr><td>ticker_id</td><td><code>DEMONIZA/USDT</code></td><td>true</td></tr><tr><td>depth</td><td><code>100</code></td><td>false</td></tr></tbody></table>

**Response**

{% tabs %}
{% tab title="200" %}

```json
[
    {
        "ticker_id": "DEMONIZA/USDT",
        "timestamp": 1712613489,
        "bids": [
            [
                "0.00867410",
                "2.41520892"
            ],
            ...
        ],
        "asks": [
            [
                "0.00869230",
                "2912.00000000"
            ],
            ...
        ]
    }
]
```

{% endtab %}

{% tab title="422" %}

```json
{
    "success": false,
    "error": {
        "message": "The given data was invalid!",
        "validations": [
            "Pair attribute must be set"
        ],
        "code": 422
    }
}
```

{% endtab %}
{% endtabs %}
