> For the complete documentation index, see [llms.txt](https://faq.finerymarkets.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://faq.finerymarkets.com/api-reference/rest-api/trading/orders-and-order-book/deprecated-pending-limit-orders/deprecated-orders.md).

# \[DEPRECATED] orders

Retrieves details of pending limit orders

{% hint style="warning" %}
This is a deprecated API. Please migrate to using [/algo/orders](/api-reference/rest-api/trading/orders-and-order-book/algo-orders/orders.md)
{% endhint %}

**POST pending/orders**

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

```json
{
    "pageSize": "int",
    "pageNumber": "int",
    "from": "int (timestamp)",
    "to": "int (timestamp)",
    "instruments": ["string"],
    "statuses": ["string"],
    "side": "string" // "bid" or "ask" (case-insensitive)
}
```

{% endtab %}

{% tab title="200 OK" %}

```json
{
    "id": "int",
    "clientId": "int",
    "instrument": "string",
    "status": "string",
    "createdAt": "int (timestamp)",
    "size": "int (optional)",
    "volume": "int (optional)",
    "remainingVolumeOrSize": "int"
}
```

{% endtab %}

{% tab title="400 Bad request" %}

```json
{
    "error": "int"
}
```

{% endtab %}
{% endtabs %}

**Response description**

• **Statuses:** PENDING, COMPLETED, or CANCELED
