Skip to main content

Getting Proxy List with Parameters

Description: This method provides functionality for filtering, sorting, and paginating proxies. It can filter results by workspace ID, folder ID, proxy ID, name, and sorting criteria. If parameters are not specified, the response returns the default page of proxies in standard order.

Request parameters:

ParameterTypeFormatDefaultDescription
workspaceIdintegerint64-1Workspace identifier. -1 means the default workspace.
startintegerint32(empty)Starting index for the list of proxies to retrieve.
totalintegerint32(empty)Maximum number of proxies to retrieve.
folderIdstringuuid(empty)Optional folder ID for filtering proxies. Pass null to ignore this filter.
idstringuuid(empty)Optional proxy ID to filter. Pass null to ignore this filter.
namestring(empty)Optional name for filtering proxies. Pass null to ignore this filter.
sortingstring(empty)Optional sorting string to determine the order of the returned proxies. Pass an empty string for default sorting.
proxyUristring(empty)Optional proxy Uri address to filter proxies by. Pass empty string to ignore this filter.

Example request:

GET
CURL:

curl 'http://localhost:8160/v1/proxies?workspaceId=-1&start=0&total=1000&folderId=123e4567-e89b-12d3-a456-426614174000&id=123e4567-e89b-12d3-a456-426614174000&name=ApiEntity&sorting=name%20ASC&proxyUri=http%3A%2F%2Flogin%3Apass%40127.0.0.1%3A8080' \
--header 'Api-Token: YOUR_SECRET_TOKEN'

C#:

using System.Text;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("http://localhost:8160/v1/proxies?workspaceId=-1&start=0&total=1000&folderId=123e4567-e89b-12d3-a456-426614174000&id=123e4567-e89b-12d3-a456-426614174000&name=ApiEntity&sorting=name%20ASC&proxyUri=http%3A%2F%2Flogin%3Apass%40127.0.0.1%3A8080"),
Headers =
{
{ "Api-Token", "YOUR_SECRET_TOKEN" },
},
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}

Cube:

http://localhost:8160/v1/proxies?workspaceId=&start=&total=&folderId=&id=&name=&sorting=

Additionally:
User-Agent: {-Profile.UserAgent-}
Api-Token: Token from UserArea2.

Response API:

Response codeResult
200 OKOK
401 UnauthorizedUnauthorized
403 ForbiddenForbidden
500 Internal Server ErrorInternal Server Error

Success Response (200 OK):

{
"totalCount": 1,
"items": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"folderId": "123e4567-e89b-12d3-a456-426614174000",
"name": "Sample Name",
"proxyUri": "http://login:pass@127.0.0.1:8080",
"checkStatus": "Ok",
"checkStatusLastUpdateTime": "2026-05-19T10:00:00Z",
"ipChangeUrl": "https://example.com",
"changeStatus": "Ok",
"ipV4": "string",
"ipV6": "string"
}
]
}

Error Response (500):

{
"message": null
}