> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trusset.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Order Book Trades

> Retrieve executed trades for a specific order book

Returns a paginated list of executed trades for the specified order book, ordered by most recent first.

## Authentication

Requires an instance API key with the `trading` service enabled.

## Path Parameters

<ParamField path="orderBookId" type="string" required>
  The order book identifier.
</ParamField>

## Query Parameters

<ParamField query="limit" type="integer">
  Number of trades to return. Default `50`, maximum `100`.
</ParamField>

<ParamField query="offset" type="integer">
  Offset for pagination. Default `0`.
</ParamField>

<RequestExample>
  ```bash theme={null}
  curl -X GET "https://api.trusset.org/orderbooks/stocks/api/order-books/ob_abc123/trades?limit=20" \
    -H "x-api-key: trusset_{instanceRef}_{secret}"
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "success": true,
    "data": [
      {
        "id": "trade_001",
        "orderBookId": "ob_abc123",
        "price": "100000000000000000000",
        "quantity": "2000000000000000000",
        "makerOrderId": "ord_aaa",
        "takerOrderId": "ord_bbb",
        "timestamp": "2025-01-15T10:30:00.000Z"
      }
    ],
    "metadata": {
      "requestId": "550e8400-e29b-41d4-a716-446655440000",
      "timestamp": "2025-01-15T10:30:00.000Z",
      "instanceId": "inst_abc"
    }
  }
  ```
</ResponseExample>
