> ## 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.

# 分页列出套餐

> 您的转账套餐的一页 — 主列表或归档

## 分页列出套餐

返回您的转账套餐的一页：主列表，或在 `archived=true` 时返回归档。未结束的套餐（生效中、已暂停、等待付款或激活）排在最前，其后按最新排序。控制台显示的就是这个列表；[套餐列表](https://docs.tronrental.com/zh/api-reference/transfer-packages/list.md) 仍一次返回全部套餐。

### 查询参数

**archived** `boolean` (default: false)

`true` — 归档（通过[归档钱包](https://docs.tronrental.com/zh/api-reference/transfer-packages/archive.md)移入的套餐）；`false`（默认）— 主列表

**page** `number`

页码（默认 1）。最大 `1000000`。

**page\_size** `number`

每页套餐数（默认 20，最多 100）

### 响应

**packages** `array`

该页的套餐 — 与[套餐列表](https://docs.tronrental.com/zh/api-reference/transfer-packages/list.md)相同的对象，带 `label` 和 `archived_at`。

**total** `number`

所请求列表的套餐总数（所有页）。

**page** `number`

请求中的页码。

**page\_size** `number`

请求中的每页数量。

**archived\_packages** `number`

您的账户在归档中的套餐数 — 无论请求的是哪个列表。

**archived\_wallets** `number`

这些归档套餐所在的地址数。

### 示例

```bash theme={null}
curl "https://api.tronrental.com/v1/transfer-packages/list?page=1&page_size=20" \
  -H "X-API-Key: your_api_key"
```

```json Response theme={null}
{
  "packages": [
    {
      "id": 101,
      "user_id": 1234,
      "address": "TYourAddress...",
      "package_size": 500,
      "price_per_transfer": "3.0",
      "total_price_trx": "1500.0",
      "quota_total": 500,
      "quota_used": 187,
      "subscription_used": 3,
      "remaining": 310,
      "payment_method": "balance",
      "tx_hash": null,
      "paid_amount": null,
      "paid_currency": null,
      "is_single_transfer": false,
      "bw_guarantee": true,
      "bw_fee_per_transfer": "0.3",
      "status": "active",
      "next_subscription_at": "2026-11-26T10:00:00Z",
      "activated_at": "2026-11-15T10:00:00Z",
      "completed_at": null,
      "paused_at": null,
      "expires_at": null,
      "created_at": "2026-11-15T10:00:00Z",
      "label": "主钱包",
      "archived_at": null
    }
  ],
  "total": 27,
  "page": 1,
  "page_size": 20,
  "archived_packages": 2,
  "archived_wallets": 2
}
```

### 错误

以[标准形式](https://docs.tronrental.com/zh/errors.md)返回，错误码位于 `detail.error.code`。出现其中任何一个错误后，一切保持不变。

| 代码 | 状态 | 何时返回 |
| - | - | - |
| — | `422` | `page` \< 1, `page_size` ∉ 1–100 |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.