# List Limit Orders

List limit orders for the authenticated owner with optional filters.

**Endpoint:** `GET /api/v1/limit-orders/limits`\
**Auth:** Required (`Authorization: Bearer YOUR_API_KEY`)

## Query parameters

| Parameter | Type    | Required | Description                              | Example |
| --------- | ------- | -------- | ---------------------------------------- | ------- |
| `limit`   | integer | No       | Max orders to return (1–200, default 50) | `20`    |
| `status`  | string  | No       | Filter by status                         | `open`  |

## Example

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

```bash
curl -X GET 'https://api.gateway.zert.com/api/v1/limit-orders/limits?limit=20&status=open' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

{% endtab %}

{% tab title="Example Response" %}

```json
{
  "data": {
    "limitOrders": [
      {
        "limitOrderId": "lim_abc123",
        "status": "open",
        "timeInForce": "GTC",
        "createdAtMs": 1745396400000,
        "updatedAtMs": 1745396400000,
        "expiresAtMs": 1745403600000,
        "minAmountOut": "1"
      }
    ]
  },
  "meta": {
    "requestId": "req_xyz",
    "timestamp": "2026-04-23T12:00:00.000Z"
  }
}
```

{% endtab %}
{% endtabs %}

## Returned row fields

| Field          | Type    | Description              |
| -------------- | ------- | ------------------------ |
| `limitOrderId` | string  | Limit-order identifier   |
| `status`       | string  | Current order status     |
| `timeInForce`  | string  | Expiry mode              |
| `createdAtMs`  | integer | Creation timestamp       |
| `updatedAtMs`  | integer | Last update timestamp    |
| `expiresAtMs`  | integer | Expiry timestamp         |
| `minAmountOut` | string  | Minimum output threshold |

## Responses

| Code | Description                               |
| ---- | ----------------------------------------- |
| 200  | OK                                        |
| 401  | Unauthorized (missing or invalid API key) |
| 503  | PG unavailable                            |

{% embed url="<https://api.gateway.zert.com/docs>" %}
Zert API — List Limit Orders
{% endembed %}


---

# 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://docs.zert.com/api-reference/limit-orders/limit-orders-list.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.
