获取代理IP列表

公共参数

请求地址(目前只提供正式环境,暂无沙箱环境)

环境HTTP地址HTTPS地址
正式环境无https://gw.open.zhanfubrowser.com/api/route

公共请求参数

参数名称参数类型是否必填参数描述
apiString必填API接口名称
app_keyString必填POP分配给应用的app_key
access_tokenString必填通过code换取的access_token
timestampString必填UNIX时间戳,单位秒,需要与站斧服务器时间差值在10分钟内
signString必填API输入参数签名结果,签名算法参考开放平台接入指南第三部分底部。

请求参数说明

参数接口参数类型是否必填示例说明
agentIpIdsstring否[1,2]ip的id数组
searchstring否127.0.0.1ip或映射ip
unbindMallbool否false默认false查询所欲ip,true则查询未绑定店铺的ip
ipTypeint否1类型:1平台ip,2自有ip,3本地ip
map_ipstring否127.0.0.2代理映射IP
map_portstring否9090代理映射端口
usernamestring否abcdefg代理IP的用户名
passwordstring否abcdefg代理IP的用户密码
encryptionstring否rc4-md5加密方法
protocolstring否auth_sha1_v4店铺cookie的list string
protocol_parameterstring否abcdefg协议参数
confusestring否http_simple混淆方法
confuse_parameterstring否abcedfg混淆参数

响应示例

{ "errorCode": 0, "message": "分页IP列表获取成功", "data": { "agentIp": { "current_page": 1, "data": [ { "id": 5193, "platform_ids": [ 0 ], "uid": 1090, "ip_number": "0", "ip": "221.23.23.12", "port": 8080, "order_number": null, "ip_type": 2, "ip_area": 1, "partner_id": 0, "proxy_type": "http", "protocol_family": 1, "map_ip": null, "map_port": "", "username": "", "password": "", "encryption": "", "protocol": "", "protocol_parameter": null, "confuse": "", "confuse_parameter": null, "status": 1, "is_enable": 1, "machine_code": null, "remark": null, "ext": { "ipInfo": { "ip": "221.23.23.12", "lat": 35.6629, "lon": 139.761, "city": "Minato-ku", "state": "13", "country": "Japan", "default": false, "currency": "JPY", "iso_code": "JP", "timezone": "Asia/Tokyo", "continent": "Unknown", "state_name": "Tokyo", "postal_code": "104-0045" } }, "created_at": "2020-11-10 10:50:13", "updated_at": "2020-11-10 10:50:13", "deleted_at": null, "ip_price": "0.00", "mall_count": 0, "mall_name": "", "ip_platform": "独享IP", "remain_day": 0, "type_name": "自有IP", "area_name": "中国大陆", "status_name": "正常", "need_renew_name": "不需要", "auto_renew_name": "关闭", "renew_status_name": "-", "has_many_bind_mall": [], "has_one_use_ip": { "id": 5168, "buy_record_id": 0, "agent_ip_id": 5193, "uid": 1090, "lease_record_number": null, "ip_price": "0.00", "ip_lease_cycle": 0, "status": 5, "recovery_status": 1, "is_enable": 1, "need_renew": 2, "auto_renew": 2, "renew_status": 0, "last_renew_at": null, "expired_at": "2020-11-10 10:50:13", "distributed_at": null, "recovery_time": null, "recovery_reason": 0, "remark": null, "bind_mall_count": 0, "locking": null, "ext": null, "created_at": "2020-11-10 10:50:13", "updated_at": "2020-11-10 10:50:13", "deleted_at": null } } ], "from": 1, "last_page": 4, "next_page_url": "http://ruxapi.dianba6.com/api/mall/agentIp/show?page=2", "path": "http://ruxapi.dianba6.com/api/mall/agentIp/show", "per_page": 10, "prev_page_url": null, "to": 10, "total": 36 } } }