首页 / 帮助文档 / 开发者文档 / 1.1. 账号列表

账号列表

分页返回当前账号下的动态住宅代理账号,含账号 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": "查询成功"
}

响应参数说明

参数名类型说明
accountIdString账号 ID(提取代理、查余额等接口的入参)
accountString代理用户名
statusString账号状态:active / deleted
poolTypeString产品池:residential / datacenter / mobile
trafficLimitDecimal流量上限(MB);null 表示不限
remarksString备注
createTimeString创建时间,yyyy-MM-dd HH:mm:ss
说明列表只返回上表 7 个精简字段,不含密码与接入点。需要密码、并发线程、默认接入点等完整字段,请调用 账号详情。
技术支持 support@iplight.net · 返回官网 · 使用教程