https://api.zhizhuip.com/public/ip/port/extract| 参数名 | 类型 | 必选 | 说明 |
|---|---|---|---|
| cty | string | 否 | 地区代码(默认随机) |
| st | string | 否 | 州/省(默认随机) |
| ct | string | 否 | 城市(默认随机) |
| spec | string | 否 | IP池 |
| num | number | 是 | 提取数量,限制范围1~1000 |
| response_type | string | 是 | 数据格式,text(默认),json |
| tm | string | 是 | 有效时间,默认20m(单位:分钟) |
| delimiter | string | 是 | 分隔符,可选值:crlf (\r\n 默认),lf (\n),cr (\r),lb (/br),tab (\t),自定义字符 |
US(美国)、CN(中国)等。不传此参数则随机分配。text: 文本格式(默认)json: JSON格式20m(20分钟)。格式:数字 + 单位(m表示分钟)。crlf: 回车换行符 \r\n(默认)lf: 换行符 \ncr: 回车符 \rlb: /brtab: 制表符 \thttps://api.zhizhuip.com/public/ip/port/extract?num=1&response_type=json&delimiter=crlf&tm=20mhttps://api.zhizhuip.com/public/ip/port/extract?num=1&response_type=json&delimiter=crlf&cty=US&tm=20mhttps://api.zhizhuip.com/public/ip/port/extract?num=10&response_type=text&delimiter=lf&tm=30mhttps://api.zhizhuip.com/public/ip/port/extract?num=5&response_type=json&delimiter=crlf&spec=pool1&tm=20m| 名称 | 类型 | 说明 |
|---|---|---|
| list | string[] | API链接集合 |
{
"list": [
"192.168.xxx.xxx",
"192.168.xxx.xxx"
]
}list 字段,list 是一个字符串数组,每个元素是一个IP地址(格式:IP:端口)。192.168.xxx.xxx
192.168.xxx.xxxdelimiter 参数指定的分隔符分隔。num、response_type、tm、delimiter 为必选参数,缺少任意一个参数可能导致请求失败。num 参数的值必须在 1~1000 之间。tm 参数的单位为分钟(m),例如 20m 表示20分钟,60m 表示60分钟。{
"code": 400,
"msg": "参数错误:num参数必填",
"data": null
}400: 参数错误401: 认证失败403: 权限不足500: 服务器错误cty 参数获取指定国家的IP代理num 参数一次性提取多个IP代理text 或 json 格式