短效代理api
shortip-api
Base URLs:
Authentication
Default
GET 提取ip
GET /s5/apigetshortip
正式环境使用http://api.jianyunip.com
请求参数
名称 位置 类型 必选 说明 po query string 是 订单编号 count query string 是 单次需要提取的代理数量 posecret query string 是 订单密钥 formattype query string 是 text: 文本格式,json: json格式 proxytype query string 否 1: http代理(默认)2: socks代理 filter query string 否 是否去重,默认不去重(1=是;0=否) province query string 否 省份编号 city query string 否 城市编号 separator query string 否 分割符默认\r\n pw query string 否 是否需要账密yes需要,no不需要(需添加白名单才能使用) agentid query string 否 none ti query string 否 当前时间戳根据ti字段单位是s,判断请求是否过期 nonce query string 否 随机字符,每次要不一样 sign query string 否 md5(ti + nonce + apikey)
返回示例
{"count":"5","status":"0","expire":"2025-03-22 12:23:50","list":[{"sever":"231.75.39.112","port":44044,"net_type":1,"username":"user1","password":"MhrrXXwo"},{"sever":"173.82.138.92","port":46846,"net_type":2,"username":"user2","password":"p5yXkRad"},{"sever":"28.216.6.77","port":31891,"net_type":1,"username":"user3","password":"23kBZhau"},{"sever":"164.144.188.85","port":55533,"net_type":3,"username":"user4","password":"vD0FUBqD"},{"sever":"4.76.164.170","port":9472,"net_type":3,"username":"user5","password":"Cp3sdaRf"}]}
"43.14.207.188:22371:user1:tNQdYqpI 231.51.135.172:26005:user2:9UBzZoba 195.62.91.134:51064:user3:IUQLAukb 226.170.178.66:42798:user4:2SV2yThE 42.190.109.228:50235:user5:UyJviJEg"
{"count":"0","status":"1","message":"当日ip数量不足","list":[]}
{"count":"1","expire":"2025-08-28 10:09:50","list":[{"net_type":"2","port":"55214","pw":"4685120242724","sever":"112.85.171.149","user":"9e0fe42aaafcb366"}],"status":"0"}
返回结果
状态码 状态码含义 说明 数据模型 200 none Inline
返回数据结构
GET 获取省份编号
GET /api/getprovincelist
请求参数
名称 位置 类型 必选 说明 agentid query string 否 none ti query string 否 当前时间戳根据ti字段单位是s,判断请求是否过期 nonce query string 否 随机字符,每次要不一样 sign query string 否 md5(ti + nonce + apikey)
返回示例
200 Response
{
"errcode": "0",
"provincelist": [
{
"id": "1",
"provincename": "北京市",
"provincecode": "214"
},
{
"id": "2",
"provincename": "天津市",
"provincecode": "234"
},
{
"id": "3",
"provincename": "河北省",
"provincecode": "254"
},
{
"id": "4",
"provincename": "山西省",
"provincecode": "433"
},
{
"id": "5",
"provincename": "内蒙古自治区",
"provincecode": "559"
},
{
"id": "6",
"provincename": "辽宁省",
"provincecode": "673"
},
{
"id": "7",
"provincename": "吉林省",
"provincecode": "786"
},
{
"id": "8",
"provincename": "黑龙江省",
"provincecode": "853"
},
{
"id": "9",
"provincename": "上海市",
"provincecode": "994"
},
{
"id": "10",
"provincename": "江苏省",
"provincecode": "1014"
},
{
"id": "11",
"provincename": "浙江省",
"provincecode": "1131"
},
{
"id": "12",
"provincename": "安徽省",
"provincecode": "1232"
},
{
"id": "13",
"provincename": "福建省",
"provincecode": "1353"
},
{
"id": "14",
"provincename": "江西省",
"provincecode": "1447"
},
{
"id": "15",
"provincename": "山东省",
"provincecode": "1557"
},
{
"id": "16",
"provincename": "河南省",
"provincecode": "1712"
},
{
"id": "17",
"provincename": "湖北省",
"provincecode": "1886"
},
{
"id": "18",
"provincename": "湖南省",
"provincecode": "2002"
},
{
"id": "19",
"provincename": "广东省",
"provincecode": "2139"
},
{
"id": "20",
"provincename": "广西壮族自治区",
"provincecode": "2279"
},
{
"id": "21",
"provincename": "海南省",
"provincecode": "2403"
},
{
"id": "22",
"provincename": "重庆市",
"provincecode": "2429"
},
{
"id": "23",
"provincename": "四川省",
"provincecode": "2469"
},
{
"id": "24",
"provincename": "贵州省",
"provincecode": "2669"
},
{
"id": "25",
"provincename": "云南省",
"provincecode": "2766"
},
{
"id": "26",
"provincename": "西藏自治区",
"provincecode": "2912"
},
{
"id": "27",
"provincename": "陕西省",
"provincecode": "2993"
},
{
"id": "28",
"provincename": "甘肃省",
"provincecode": "3109"
},
{
"id": "29",
"provincename": "青海省",
"provincecode": "3209"
},
{
"id": "30",
"provincename": "宁夏回族自治区",
"provincecode": "3260"
},
{
"id": "31",
"provincename": "新疆维吾尔自治区",
"provincecode": "3287"
}
]
}
返回结果
状态码 状态码含义 说明 数据模型 200 none Inline
返回数据结构
GET 获取城市编号
GET /api/getcitylist
请求参数
名称 位置 类型 必选 说明 provincename query string 是 none agentid query string 否 none ti query string 否 当前时间戳根据ti字段单位是s,判断请求是否过期 nonce query string 否 随机字符,每次要不一样 sign query string 否 md5(ti + nonce + apikey)
返回示例
200 Response
{
"errcode": "0",
"citylist": [
{
"citycode": "215",
"cityname": "北京市"
}
]
}
返回结果
状态码 状态码含义 说明 数据模型 200 none Inline
返回数据结构
GET 获取订单的使用记录
GET /api/shortipgetlog
请求参数
名称 位置 类型 必选 说明 po query string 是 订单号 page query string 否 页码 limit query string 否 页数 userid query string 是 用户id agentid query string 否 none ti query string 否 当前时间戳根据ti字段单位是s,判断请求是否过期 nonce query string 否 随机字符,每次要不一样 sign query string 否 md5(ti + nonce + apikey)
返回示例
200 Response
{
"errcode": "0",
"total_count": 60,
"page": "1",
"data": [
{
"uid": "1902922761391575040",
"po": "A17425225751609406",
"createtime": "2025-03-21 11:18:35",
"count": 5
},
{
"uid": "1902922761966194688",
"po": "A17425225751609406",
"createtime": "2025-03-21 11:18:35",
"count": 5
},
{
"uid": "1902922761416740864",
"po": "A17425225751609406",
"createtime": "2025-03-21 11:18:35",
"count": 5
},
{
"uid": "1902922761362214912",
"po": "A17425225751609406",
"createtime": "2025-03-21 11:18:35",
"count": 5
},
{
"uid": "1902922761437712384",
"po": "A17425225751609406",
"createtime": "2025-03-21 11:18:35",
"count": 5
}
]
}
返回结果
状态码 状态码含义 说明 数据模型 200 none Inline
返回数据结构
GET 获取白名单列表
GET /api/getshortwhitelist
请求参数
名称 位置 类型 必选 说明 po query string 否 none agentid query string 否 none ti query string 否 当前时间戳根据ti字段单位是s,判断请求是否过期 nonce query string 否 随机字符,每次要不一样 sign query string 否 md5(ti + nonce + apikey)
返回示例
200 Response
{}
返回结果
状态码 状态码含义 说明 数据模型 200 none Inline
返回数据结构
GET 添加白名单
GET /api/addshortwhite
请求参数
名称 位置 类型 必选 说明 po query string 否 none posecret query string 否 none whiteip query string 否 none agentid query string 否 none ti query string 否 当前时间戳根据ti字段单位是s,判断请求是否过期 nonce query string 否 随机字符,每次要不一样 sign query string 否 md5(ti + nonce + apikey)
返回示例
200 Response
{}
返回结果
状态码 状态码含义 说明 数据模型 200 none Inline
返回数据结构
GET 删除白名单
GET /api/removeshortwhite
请求参数
名称 位置 类型 必选 说明 po query string 否 none posecret query string 否 none whiteip query string 否 none agentid query string 否 none ti query string 否 当前时间戳根据ti字段单位是s,判断请求是否过期 nonce query string 否 随机字符,每次要不一样 sign query string 否 md5(ti + nonce + apikey)
返回示例
200 Response
{}
返回结果
状态码 状态码含义 说明 数据模型 200 none Inline
返回数据结构
代理商
GET 购买订单
GET /v2/httppoBuy
Body 请求参数
prdid: "36"
num: "1000"
请求参数
名称 位置 类型 必选 说明 prdid query string 是 none num query string 是 none agentid query string 否 none ti query string 否 当前时间戳根据ti字段单位是s,判断请求是否过期 nonce query string 否 随机字符,每次要不一样 sign query string 否 md5(ti + nonce + apikey) body body object 否 none » prdid body string 否 none » num body string 否 none
返回示例
200 Response
{}
返回结果
状态码 状态码含义 说明 数据模型 200 none Inline
返回数据结构
GET 获取提取链接
GET /v2/httpgetshorturl
请求参数
名称 位置 类型 必选 说明 po query string 是 订单号 proxyType query string 否 2为socks5 1为http authtype query string 是 账密验证userpwd,不填要设置白名单才能使用 datatype query string 否 提取格式 text和json separator query string 否 分割符 num query string 是 数量 only query string 否 是否去重 province query string 否 none city query string 否 none agentid query string 否 none ti query string 否 当前时间戳根据ti字段单位是s,判断请求是否过期 nonce query string 否 随机字符,每次要不一样 sign query string 否 md5(ti + nonce + apikey)
返回示例
200 Response
{"errcode":"0","msg":"http://192.168.18.144:8082/s5/getshortip?id=1934465593180688384&num=1&only=1&proxytype=sk5&sign=DmvYy1DKQt"}
返回结果
状态码 状态码含义 说明 数据模型 200 none Inline
返回数据结构
GET 获取短效套餐列表
GET /v2/getshortprdlist
请求参数
名称 位置 类型 必选 说明 prdtype query string 否 套餐类型 2 为按量 1为按时 agentid query string 否 none ti query string 否 当前时间戳根据ti字段单位是s,判断请求是否过期 nonce query string 否 随机字符,每次要不一样 sign query string 否 md5(ti + nonce + apikey)
返回示例
200 Response
{}
返回结果
状态码 状态码含义 说明 数据模型 200 none Inline
返回数据结构
GET 代理商通过订单获取密钥
GET /v2/httpgetshortpokey
请求参数
名称 位置 类型 必选 说明 po query string 否 none agentid query string 否 none ti query string 否 当前时间戳根据ti字段单位是s,判断请求是否过期 nonce query string 否 随机字符,每次要不一样 sign query string 否 md5(ti + nonce + apikey)
返回示例
200 Response
{}
返回结果
状态码 状态码含义 说明 数据模型 200 none Inline
返回数据结构
GET 短效按量续费
GET /v2/httppoRenewTo
请求参数
名称 位置 类型 必选 说明 po query string 否 none ipcount query string 否 none agentid query string 否 none ti query string 否 当前时间戳根据ti字段单位是s,判断请求是否过期 nonce query string 否 随机字符,每次要不一样 sign query string 否 md5(ti + nonce + apikey)
返回示例
200 Response
{}
返回结果
状态码 状态码含义 说明 数据模型 200 none Inline
暂无评论,快来分享您的想法吧!