Menu

Batch Add Proxies

Usage Instructions

Batch add proxies, supporting the addition of up to 20 proxies at a time.

Request Instructions

POST /api/v1/proxy/add

Request Parameters

Parameter Type Required Description
proxy_list array Yes Proxy information, supporting up to 20 proxies.
ip_scan_channel string No Proxy detection channels, supporting: ip2location, ipapi

proxy_list

Parameter Type Required Description
protocol string Yes Protocol, currently only socks5 is supported.
host string Yes Host
port integer Yes Port
user string No Account
password string No Password
name string No Name

Request Example

json Copy
{
    "proxy_list": [
        {
            "protocol": "socks5",
            "host": "host",
            "port": "3000",
            "user": "user",
            "password": "pass",
            "name": "name"
        }
    ],
    "ip_scan_channel": "ip2location"
}

Response Example

json Copy
{
    "code": 200,
    "data": {
        "success": [
            {
                "index": 0, // Submitted array index
                "id": "xx" // ID
            }
        ],
        "fail": [
            {
                "index": 1, // Submitted array index
                "message": "xx" // Error message
            }
        ]
    },
    "message": "Success"
}
Previous
Proxy List
Next
Batch Delete Proxies
Last modified: 2025-03-07Powered by