API For Proxy Connect Config
Returns a paginated list of proxy connection configurations for the authenticated account, with support for sorting and ordering.
Maximum number of items to return per page.
Requested page number (1-based). Default: 1
Field to sort by: 'id', 'start_port', 'end_port', 'created_at', 'updated_at'. Default: start_port
Sort order: desc or asc. Default: desc
Successful response
Connection configurations list response payload.
Indicates whether the request was successful.
Human-readable response message.
Bad request
Authentication error
GET /client/v1/proxy-connection/get-list HTTP/1.1
Host: sandbox.9proxy.com
Accept: */*
{
"success": true,
"message": "text",
"result": {
"items": [
{
"id": 1,
"user_id": 1,
"server_id": 1,
"proxy_type": 1,
"country_code": null,
"city_code": null,
"state_code": null,
"isp_code": null,
"start_port": 1,
"end_port": 1,
"is_keep": 1,
"is_random_ip": 1,
"session_time": "text",
"created_at": 1,
"updated_at": 1
}
],
"total_items": 1,
"total_pages": 1
}
}Creates a new proxy connection configuration by allocating a port range based on the requested quantity and applying optional targeting filters and session settings.
Proxy type identifier.
1Country code used to target proxies.
USCity code used to target proxies.
villa_ricaState/region code used to target proxies.
californiaISP code used to target proxies.
isp_codeNumber of ports to allocate for this configuration.
10Session mode. 1: Rotation, 2: Sticky
2Sticky session duration (minutes).
33Successful response
Connection configuration creation response payload.
Indicates whether the request was successful.
Human-readable response message.
Bad request
Authentication error
POST /client/v1/proxy-connection/create HTTP/1.1
Host: sandbox.9proxy.com
Content-Type: application/json
Accept: */*
Content-Length: 158
{
"proxy_type": 1,
"country_code": "US",
"city_code": "villa_rica",
"state_code": "california",
"isp_code": "isp_code",
"quantity": 10,
"session_type": 2,
"session_time": 33
}{
"success": true,
"message": "text",
"result": {
"id": 1,
"user_id": 1,
"server_id": 1,
"proxy_type": 1,
"country_code": null,
"city_code": null,
"state_code": null,
"isp_code": null,
"start_port": 1,
"end_port": 1,
"is_keep": 1,
"is_random_ip": 1,
"session_time": "text",
"created_at": 1,
"updated_at": 1
}
}Updates an existing proxy connection configuration identified by start_port, including targeting filters and session settings.
Start port of the configuration to update.
7000Country code used to target proxies.
USCity code used to target proxies.
villa_ricaState/region code used to target proxies.
californiaISP code used to target proxies.
isp_codeSession mode. 1: Rotation, 2: Sticky
2Sticky session duration (minutes).
33Successful response
Connection configuration update response payload.
Indicates whether the request was successful.
Human-readable response message.
Bad request
Authentication error
PUT /client/v1/proxy-connection/update HTTP/1.1
Host: sandbox.9proxy.com
Content-Type: application/json
Accept: */*
Content-Length: 147
{
"start_port": 7000,
"country_code": "US",
"city_code": "villa_rica",
"state_code": "california",
"isp_code": "isp_code",
"session_type": 2,
"session_time": 33
}{
"success": true,
"message": "text",
"result": {
"id": 1,
"user_id": 1,
"server_id": 1,
"proxy_type": 1,
"country_code": null,
"city_code": null,
"state_code": null,
"isp_code": null,
"start_port": 1,
"end_port": 1,
"is_keep": 1,
"is_random_ip": 1,
"session_time": "text",
"created_at": 1,
"updated_at": 1
}
}Deletes one or more proxy connection configurations identified by their start_port values.
List of start_port values to delete.
[7000,7001,7005]Successful response
Connection configuration deletion response payload.
Indicates whether the request was successful.
Human-readable response message.
Bad request
Authentication error
DELETE /client/v1/proxy-connection/delete HTTP/1.1
Host: sandbox.9proxy.com
Content-Type: application/json
Accept: */*
Content-Length: 32
{
"start_ports": [
7000,
7001,
7005
]
}{
"success": true,
"message": "text",
"result": {
"deleted": true
}
}Last updated
Was this helpful?