參數 | 描述 | 必選 |
---|---|---|
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.swift.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.swift.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.swift.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.swift.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.swift.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": "Success", "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.swiftproxy.net/api/user/white_ip_list?api_key=xxx | 白名單查詢介面 |
https://www.swiftproxy.net/api/user/add_white_ip?api_key=xxx&ips=xxx | 白名單新增介面(IPs以英文逗號分隔) |
https://www.swiftproxy.net/api/user/del_white_ip?api_key=xxx&ips=xxx | 白名單移除介面(IPs以英文逗號分隔) |