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

# Список заказов

> Список ваших заказов с пагинацией и фильтрами

## Список заказов

Возвращает постраничный список ваших заказов, начиная с новых.

### Параметры запроса

<ParamField query="page" type="number">
  Номер страницы (по умолчанию 1)
</ParamField>

<ParamField query="page_size" type="number">
  Результатов на страницу (по умолчанию 50, максимум 100)
</ParamField>

<ParamField query="status" type="string">
  Фильтр по статусу (например, `filled`, `pending`, `failed`)
</ParamField>

<ParamField query="type" type="string">
  Фильтр по типу заказа — `energy` или `bandwidth`
</ParamField>

### Ответ

Возвращает `orders` (массив объектов заказа), `total`, `page` и `page_size`.

### Пример

```bash theme={null}
curl "https://api.tronrental.com/v1/orders?type=energy&status=filled&page=1" \
  -H "X-API-Key: your_api_key"
```

```json Response theme={null}
{
  "orders": [
    {
      "id": 12345,
      "type": "energy",
      "target_address": "TRecipientAddress...",
      "volume": 65000,
      "duration": "1h",
      "price_trx": "1.79",
      "status": "filled",
      "delegate_txid": "a1b2c3d4e5f6...",
      "undelegate_txid": null,
      "reclaim_at": null,
      "source": "api",
      "created_at": "2026-06-10T04:30:00Z"
    }
  ],
  "total": 42,
  "page": 1,
  "page_size": 50
}
```
