Skip to main content
The Center's Directory
API documentation · Rotating residential proxies

List countries available for proxy extraction

Description of the authentication, parameters, and response fields of the public dynamic API.

Maintained by the ZZHTTP engineering teamUpdated October 6, 2026

Interfaces and authentication

GET/openapi/v1/proxy/countries

List countries and currently available stable ports for the dynamic proxy API. Token authentication alone does not satisfy the source allowlist and entitlement requirements for extraction.

Use HTTPS. You can authenticate with the same token in the api_key query parameter, X-API-Key, or Authorization: Bearer. Conflicting values are rejected. The actual source address must still be allowlisted.

Examples are synthesis data and placement credentials, which only describe structure. The interface contract does not mean that the target environment is open, and the open status is determined by the console.

Download OpenAPI · Import Apifox / Postman

Request parameters

Query and path parameters
FieldTypeRequired fieldDefault values / LimitsNotes
api_keystringNo.Query · Or an authentication headerAccount API token. Keep it on a trusted server. Examples use placeholders.

No requested body.

Example of a request

Shell · STATIC_API_KEY Use account tokens
curl --request GET \
  "https://api.zzhttp.com/openapi/v1/proxy/countries?api_key=${API_KEY}"

Successful response

Success or a per-item batch result. Check the business code as well as the HTTP status.

Responses omit internal fields and proxy passwords. Extraction succeeds with HTTP 200 and code 0. Allowlist and country catalog requests use code 200 for success. Extraction POST errors use code and message. Successful country catalog responses omit requestId.

Response fields (including nested fields)
FieldTypeRequired fieldDefault values / LimitsNotes
codeintegerYes, I am.—Success uses 200. Any item failure in an allowlist batch produces 10431.
messagestringYes, I am.—Response message.
dataobject[]Yes, I am.—Response data for this endpoint.
data[].countryRouteIdintegerYes, I am.—Public country route ID.
data[].countryCodestringYes, I am.—Use this country code for regional extraction. GLOBAL means worldwide.
data[].countryNamestringYes, I am.—Country display name.
data[].availableCountintegerYes, I am.—Number of stable ports currently available. This does not count proxy exits in stock.
JSON · HTTP 200
{
  "code": 200,
  "message": "Query succeeded",
  "data": [
    {
      "countryRouteId": 1,
      "countryCode": "USA",
      "countryName": "United States",
      "availableCount": 20
    }
  ]
}

Errors and Retry

Retry transient catalog read errors a limited number of times. On HTTP 429, wait as directed by Retry-After.

Error code, HTTP status, error response field and recovery method are unified inError Codes and Recommendations.

Did this answer your question?

Feedback is used only to improve the public documentation and does not submit accounts or request information.