1.1 接口说明
URL
http://api.proxy.com/?actions=show
方法
GET
编码
utf-8响应
code:状态码;
success: 成功标记;
local_address:本地绑定地址;
proxy_address:代理IP地址;
ttl:剩余有效时长;
create_at:代理IP上线时间(timestamp);
get_at:提取时间(timestamp);
connections:当前并发数;
状态码
200:获取成功;
1.2 接口示例
请求: GET /?actions=show
Host: api.proxy.com
响应:
{
"code": 200,
"data": {
"t_index": 0,
"index": 0,
"local_address": ":26766",
"proxy_address": "117.42.254.48:33844",
"ttl": 103,
"create_at": 1649208241,
"get_at": 1649208258,
"connections": 0
}
}
2.1 接口说明
URL http://api.proxy.com/?actions=change
方法 GET
编码 utf-8
响应
code:状态码;
success: 成功标记;
address:本地绑定地址;
create_at:代理IP上线时间(timestamp);
during:代理IP有效时长(分钟);
状态码
200:获取成功;
1010:异常,切换频繁;
2.2 接口示例
请求: GET /?actions=change标签:200,code,api,actions,API,文档,proxy,address,客户端 From: https://blog.51cto.com/u_15135810/5804886
Host: api.proxy.com
响应:
{
"code": 200,
"data": {
"address": "116.139.201.253:34320",
"create_at": 1649208718,
"during": 2
}
}