账号列表
分页返回当前账号下的动态住宅代理账号,含账号 ID、状态与流量上限。
接口信息
GET /api/iplt/client/dynamics/account/accountList
认证方式:API Key(x-merchant-code + x-merchant-token)
请求头
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| x-merchant-token | 是 | String | 商户令牌(API Key 的 token 部分) |
| x-merchant-code | 是 | String | 商户代码(API Key 的 code 部分) |
| Content-Type | 否 | String | 固定 application/json(POST/PUT 必填) |
请求参数(Query)
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| pageNum | 否 | Integer | 页码,默认 1 |
| pageSize | 否 | Integer | 每页条数,默认 10 |
| accountId | 否 | String | 按账号 ID 精确筛选 |
| sourceId | 否 | Long | 按产品源筛选 |
| label | 否 | String | 按自定义标签筛选 |
| status | 否 | String | 按状态筛选,如 active |
| poolType | 否 | String | 按产品池筛选:residential |
请求示例
curl -s 'https://www.iplight.net/api/iplt/client/dynamics/account/accountList?pageNum=1&pageSize=10&poolType=residential' \
-H 'x-merchant-code: YOUR_CODE' \
-H 'x-merchant-token: YOUR_TOKEN'
响应示例
{
"total": 1,
"rows": [
{
"accountId": "10000080",
"status": "active",
"poolType": "residential",
"account": "iplt1000",
"trafficLimit": 6000.0,
"remarks": "auto: 2026-11-05 00:30:17",
"createTime": "2026-11-05 00:30:17"
}
],
"code": 200,
"msg": "查询成功"
}
响应参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| accountId | String | 账号 ID(提取代理、查余额等接口的入参) |
| account | String | 代理用户名 |
| status | String | 账号状态:active / deleted |
| poolType | String | 产品池:residential / datacenter / mobile |
| trafficLimit | Decimal | 流量上限(MB);null 表示不限 |
| remarks | String | 备注 |
| createTime | String | 创建时间,yyyy-MM-dd HH:mm:ss |
说明列表只返回上表 7 个精简字段,不含密码与接入点。需要密码、并发线程、默认接入点等完整字段,请调用 账号详情。