> For the complete documentation index, see [llms.txt](https://remusdex.gitbook.io/remusdex-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://remusdex.gitbook.io/remusdex-docs/how-to-interact/viewing-the-orderbook.md).

# Viewing the Orderbook

* **Basic Orderbook**:

  ```bash
  starkli call \
    <DEX_ADDRESS> \
    get_orderbook <MARKET_ID>
  ```
* **Detailed Orderbook** (levels + aggregated sizes):

  ```bash
  starkli call \
    <DEX_ADDRESS> \
    get_whole_orderbook_with_levels_and_size <MARKET_ID>
  ```
