# Orderbook

## Orderbook

Order book depth of any given trading pair, split into two different arrays for bid and ask orders.



## Orderbook

<mark style="color:green;">`GET`</mark> `https://fapi.api.fixt.io/api/v0/market/depth?symbol={ticker_id}&level={level}`

Order book depth of any given trading pair, split into two different arrays for bid and ask orders

**Parameters**

| Name        |                        |
| ----------- | ---------------------- |
| `ticker_id` | `String  e.g BTC_USDT` |
| `level`     | `Integer  e.g 50`      |

**Response Body**

| Name        | Type    | Description                                                                      |
| ----------- | ------- | -------------------------------------------------------------------------------- |
| `ticker_id` | string  | Identifier of a ticker with delimiter to separate base/quote, eg. BTC-USDT       |
| `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": {
            "ticker_id": "BTC_USDT",
            "timestamp": 1713382097818,
            "bids": [[61028.1,2.931],[61027.9,0.863],[],[]...],
            "asks": [[61028.1,2.931],[61027.9,0.863],[],[]...],
        }
}
```
{% endtab %}
{% endtabs %}
