检索活动代理
要充分利用此 API 端点,请确保您清楚了解在网络中实施的代理类型。利用过滤选项检索精确而有意义的代理数据。
有关实施此 API 的更多详情,请参阅 API 文档,其中提供了请求示例、响应格式以及可用于定制数据检索的其他参数。
终点
GEThttps://proxy-seller.com/personal/api/v1/{YourApiKey}/proxy/list/{type}
路径参数
名称 | 价值 | 说明 |
|---|---|---|
授权 |
| 您的个人应用程序接口密钥 (如何获得) |
代理类型(可选) |
| 要检索的代理类型 |
请注意,如果未指定代理类型,则将为您的配置文件返回所有可用类型。
请求参数
名称 | 类型 | 说明 |
|---|---|---|
最新 | 字符串 | Y/N - 返回上次订单的代理 |
orderId | 字符串 | 从指定的orderId或基本订单号 |
国家 | 字符串 | Alpha3 国家名称(法国、美国或......) |
结束 | 字符串 | Y - 终止代理列表 |
示例
检索所有类型的代理:
https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/proxy/list检索特定类型的代理(如 IPv4):
https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/proxy/list/ipv4回应
所有类型的代理
{
"status": "success",
"data": {
"ipv4": [],
"ipv6": [],
"mobile": [],
"isp": [],
"mix": [],
"mix_isp": [],
"resident": [] //proxy lists
},
"errors": []
}一种代理
{
"status": "success",
"data": {
"items": [
{
"id": "0678564",
"order_id": "123456",
"order_number": "2000096_20240080",
"basket_id": "12345566",
"ip": "31.6.33.97",
"ip_only": "31.6.33.97",
"protocol": "HTTP",
"port_socks": 12345,
"port_http": 12345,
"login": "ruht5734hg",
"password": "gou5h437g",
"auth_ip": "",
"rotation": null,
"link_reboot": "#",
"country": "Belgium",
"country_alpha3": "BEL",
"status": "Active",
"status_type": "ACTIVE",
"can_prolong": true,
"date_start": "23.06.2024",
"date_end": "23.07.2024",
"comment": "",
"auto_renew": "N",
"auto_renew_period": ""
}
]
},
"errors": []
}代理类型错误
{
"status": "error",
"data": null,
"errors": [
{
"message": "Could not find description of list{type} in CrmUserApiProxy",
"code": 22002,
"customData": null
}
]
}