?
参数 | 描述 | 必选 |
---|---|---|
zone | 地区,不填默认全球混播 | 是 |
st | 州,部分国家含有,不填默认随机 | 否 |
city | 都市,不填默认随机 | 否 |
sid | 8位随机纯数字 | 否 |
time | 持续时间小于180分钟 | 否 |
错误编码 | 描述 |
---|---|
400 | 账号密码格式不正确 |
401 | 账号密码不正确 |
402 | 流量余额不足 |
403 | 子账号流量限制不足 |
405 | 找不到出口节点 |
406 | 找不到出口节点 |
407 | 认证失败 |
408 | IP未添加白名单 |
409 | 请求未设置地区 |
410 | 找不到出口节点 |
411 | 出口配置错误 |
412 | 找不到出口节点 |
413 | 出口配置错误 |
414 | 找不到出口节点 |
415 | 找不到出口节点 |
416 | 找不到子账号 |
417 | 找不到子账号 |
418 | 找不到主账号 |
419 | 找不到子账号 |
420 | 认证账号密码为空 |
421 | 认证账号密码不正确 |
422 | 找不到主账号 |
423 | 使用大陆网络访问 |
424 | 子用户被暂停 |
425 | 主用户被暂停 |
426 | 出口节点配置错误 |
427 | 主用户过期 |
[account]_custom_zone_BR:[password] zone_BR 巴西 zone_JP 日本 zone_GB 英国 zone_KR 韩国 示例: # 访问韩国 curl -x us.ipwo.net:7878 -U "[account]_custom_zone_KR:[password]" ipinfo.io·st-指定州
[account]_custom_zone_US_st_California:[password] st_California st_Florida st_Oregon st_NorthCarolina 示例: # 访问美国加利福尼亚州 curl -x us.ipwo.net:7878 -U "[account]_custom_zone_US_st_California:[password]" ipinfo.io·city−指定城市
[account]_custom_zone_US_st_Mississippi_city_Jackson:[password] city_Tremont city_Jackson 示例: # 访问美国密西西比州杰克逊 curl -x us.ipwo.net:7878 -U "[account]_custom_zone_US_st_Mississippi_city_Jackson:[password]" ipinfo.io·sid−固定一个出口ip
[account]_custom_zone_global_sid_14675113:[password]
示例:
# 全球随机固定一个出口ip
curl -x us.ipwo.net:7878 -U "[account]_custom_zone_global_sid_14675113:[password]" ipinfo.io
·time-指定一个出口ip最长持续时间 最高 180分钟
sid 搭配使用
[account]_custom_zone_global_sid_14675113_time_20:[password]
time_5 5分钟
time_10 10分钟
time_30 30分钟
示例:
# 全球随机 固定一个出口ip 存活20分钟
curl -x us.ipwo.net:7878 -U "[account]_custom_zone_global_sid_14675113_time_20:[password]" ipinfo.io
?
参数 | 描述 | 类型 | 必选 |
---|---|---|---|
num | IP提取数量 | int | 是 |
regions | 国家 | string | 否 |
protocol | 协议(http:HTTP/HTTPS socks5:SOCKS5) | string | 否 |
return_type | 数据格式:txt json | string | 否 |
lb | 分隔符(1:\r\n 2:/br 3:\r 4:\n 5:\t 6 :自定义) | string | 否 |
sb | 自定义分隔符 | string | 否 |
{ "code": 0, "success": true, "msg": "操作成功", "request_ip": "127.0.0.1", "data": [ {"ip" :"1.1.2.2","port" :14566}, {"ip" :"1.1.2.2","port" :14577}, ] }
名称 | 类型 | 描述 |
---|---|---|
IP | int | IP地址 |
PORT | int | 端口号 |
接口 | 描述 |
---|---|
https://www.ipwo.net/api/user/white_ip_list?api_key=xxx | 白名单查询接口 |
https://www.ipwo.net/api/user/add_white_ip?api_key=xxx&ips=xxx | 白名单添加接口(ips以英文逗号隔开) |
https://www.ipwo.net/api/user/del_white_ip?api_key=xxx&ips=xxx | 白名单删除接口(ips以英文逗号隔开) |