账号详情
按 accountId 查询单个账号的完整信息。详情返回完整记录(约 40 个字段),列表接口只返回 7 个精简字段——需要密码、接入点、并发线程时必须走本接口。
接口信息
GET /api/iplt/client/dynamics/account/list?accountId=384940
认证方式: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)
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| accountId | 是 | String | 账号 ID |
说明单账号详情复用列表接口,用
accountId 精确筛选即可,返回结构同为 total + rows。响应示例
{
"total": 1,
"rows": [
{
"id": 451,
"accountId": "10000080",
"account": "iplt1000",
"password": "******",
"sourceId": 25,
"sourceCode": "standard",
"label": "标准基础池 Standard",
"status": "active",
"poolType": "residential",
"trafficLimit": 6000.0,
"threads": null,
"stickyRangeStart": null,
"defaultEndpointHost": "as.d5.iplight.net",
"defaultEndpointPort": 1337,
"syncStatus": null,
"lastSyncTime": null,
"createTime": "2026-11-05 00:30:17",
"updateTime": "2026-11-05 00:30:17"
}
],
"code": 200,
"msg": "查询成功"
}
响应参数说明(主要字段)
| 参数名 | 类型 | 说明 |
|---|---|---|
| id | Long | 账号记录主键 |
| accountId | String | 账号 ID,提取代理时作为入参 |
| account | String | 代理用户名 |
| password | String | 代理密码 |
| status | String | 账号状态,如 active |
| poolType | String | 产品池:residential / datacenter |
| sourceCode | String | 产品代号(内部标识,用于区分底层池) |
| label | String | 自定义标签 |
| trafficLimit | Decimal | 流量上限(MB) |
| threads | Integer | 并发线程数 |
| stickyRangeStart | Integer | 会话粘滞最短时长(分钟) |
| stickyRangeEnd | Integer | 会话粘滞最长时长(分钟) |
| defaultEndpointHost | String | 默认接入点域名 |
| defaultEndpointPort | Integer | 默认接入点端口 |
| blocked | Integer | 是否被限制 |
| blockedHosts | String | 被限制的目标域名 |
| defaultPoolParametersCountries | String | 默认国家(逗号分隔) |
| defaultPoolParametersStates | String | 默认州/省 |
| defaultPoolParametersCities | String | 默认城市 |
| defaultPoolParametersAsns | String | 默认 ASN |
| defaultPoolParametersRotationInterval | Integer | 默认轮换间隔(秒) |
| remarks | String | 备注 |
| isDelete | Integer | 1 表示已删除 |
| lastSyncTime | String | 最近一次与资源池同步的时间(ISO 8601) |
| createTime | String | 创建时间 |
| updateTime | String | 更新时间 |
注意
password 返回时已打码(******),属敏感字段,请勿写入前端代码或日志。