List proxies
Return a paginated list of proxies accessible to the current user and team. Supports custom, api, integ, and syt modes. API proxy settings include auth_type (whitelist, the default, or credential for username/password authentication) and the corresponding username and password. password and the API extraction URL are sensitive fields and must not be written to caller logs.
Request parameters
Authorization Bearer Token
Include your API Key as a Bearer token in the Authorization request header.
Authorization: Bearer <api-key>Query parameters
1011minimum: 11010minimum: 1maximum: 100minLength: 1minLength: 1minLength: 1custom means a custom proxy; api means a proxy obtained from an extraction URL; integ means an integrated proxy; syt means a synchronized SiYeTian Proxy.http means HTTP; https means HTTPS; socks5 means SOCKS5.unchecked means no check has been performed; available means the last check succeeded; unavailable means the last check failed.true means expired; false means not expired or no expiration date. Primarily used for integ and syt proxies.name means name; created_at means creation time; updated_at means update time; checked_at means most recent check time. asc means ascending; desc means descending.Request code examples
JavaScript / TypeScript: Node.js 18+ with fetch; PHP: cURL extension; Go: 1.16+; Java: JDK 11+. Replace the token and example parameter values before running.
curl -H 'Authorization: Bearer <TOKEN>' 'http://local.zhongyibrowser.com:39025/api/v1/proxies?page=1&size=10'Responses
Success: code = 0. Failure: code > 0. Select a status to view its fields and example. Expand objects to inspect nested fields. Optional fields may be omitted.
Proxy list
Body
application/jsonProxyListSuccessResponseobjectrequiredEndpoint business dataAdditional fields are not allowed.
Additional fields are not allowed.
Generated from the schema; not a live response.
{
"code": 0,
"message": "success",
"data": {
"items": [
{
"id": "string",
"name": "string",
"remark": "string",
"status": "unchecked",
"checked_at": "2024-01-15T09:30:00Z",
"browser_count": 0,
"is_expired": true,
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z",
"mode": "custom",
"config": {
"protocol": "http",
"ip_protocol": "ipv4",
"host": "string",
"port": 0,
"username": "string",
"password": "string"
}
}
],
"total": 0,
"page": 0,
"size": 0,
"total_pages": 0
}
}