# Orderbook

## Orderbook

<mark style="color:green;">`GET`</mark> <https://sapi.fixt.io/api/v0/market/orderbook?symbol=BTC_USDT&depth=10&level=1>

**Parameters**

| Name     | Description                                                                                                                                              |
| -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `symbol` | String  e.g BTC\_USDT                                                                                                                                    |
| `depth`  | <p>Orders depth quantity: \[0,5,10,20,50,100,500]</p><p>Not defined or 0 = full order book</p><p>Depth = 100 means 50 for each bid/ask side.</p>         |
| `level`  | <p> Level 1 – Only the best bid and ask.</p><p> Level 2 – Arranged by best bids and asks.</p><p> Level 3 – Complete order book, no aggregation. <br></p> |

**Response Body**

| Name      | Type    | Description                                                                      |
| --------- | ------- | -------------------------------------------------------------------------------- |
| timestamp | Integer | Unix timestamp in milliseconds for when the last updated time occurred.          |
| bids      | decimal | An array containing 2 elements. The offer price and quantity fyor each bid order |
| asks      | decimal | An array containing 2 elements. The ask price and quantity for each ask order    |

**Response**

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

```json
{
    "status":"true",
    "msg":"success",
    "result": {
            "timestamp": 1713382097818,
            "bids": [[61028.1,2.931],[61027.9,0.863],[],[]...],
            "asks": [[61028.1,2.931],[61027.9,0.863],[],[]...],
        }
}
```

{% endtab %}
{% endtabs %}
