# Orderbook

## Orderbook

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

**Parameters**

| Name     |                        |
| -------- | ---------------------- |
| `symbol` | `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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://fixt.gitbook.io/apis/reference/derivative/orderbook.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
