帳密模式

賬密選取

{{ item.country_name }} 暫無認證帳戶? 去創建
複製連結
複製連結 批量生成

使用說明

參數 描述 必選
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 主用戶過期

介面使用方法

·zone-指定地區

[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
API 取得

API 取得

{{ item.country_name }} HTTP/HTTPS SOCKS5 TXT JSON \r\n /br \r \n \t
產生API連結 複製連結 開啟連結

使用說明

參數 描述 類型 必選
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以英文逗號分隔)