Please update to the latest patch version to use it.
Basics
POST /api/v2/proxy-list/create
Description: Add proxies to the Proxy List. A maximum of 500 proxies can be added at a time. Duplicate verification is not supported.
Request Parameters
Optional Body parameters can be omitted, and the parameter format is JSON.
Name | Type | Necessary | Default | Example | Description |
type | text | Yes | - | http | Proxy type, support: http/https/ssh/socks5 |
host | text | Yes | - | 192.168.0.1 | Proxy host, support: ipV4、ipV6 |
port | text | Yes | - | 8000 | Port, range: 0-65536 |
user | text | No | - | user12345678 | Proxy username |
password | text | No | - | password | Proxy password |
proxy_url | text | No | - |
ttps://www.baidu.com/
|
URL used to refresh the proxy |
remark | text | No | - | valid | remark |
ipchecker | text | No | - | ip2location |
IP checker. If left blank, the setting in Global settings will be used. Support: ip2location/ipapi/ipfoxy/ipidea |
Return Data
// Operation successed
{
"code": 0,
"data": {
"proxy_id":["xxx","xxx","xxx"] //proxyid
},
"msg": "Success"
}
// Opreation failed
{
"code":-1,
"data":{},
"msg":"failed"
}