List countries available for proxy extraction
Description of the authentication, parameters, and response fields of the public dynamic API.
Interfaces and authentication
/openapi/v1/proxy/countriesList 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 / PostmanRequest parameters
| Field | Type | Required field | Default values / Limits | Notes |
|---|---|---|---|---|
api_key | string | No. | Query · Or an authentication header | Account API token. Keep it on a trusted server. Examples use placeholders. |
No requested body.
Example of a request
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.
| Field | Type | Required field | Default values / Limits | Notes |
|---|---|---|---|---|
code | integer | Yes, I am. | — | Success uses 200. Any item failure in an allowlist batch produces 10431. |
message | string | Yes, I am. | — | Response message. |
data | object[] | Yes, I am. | — | Response data for this endpoint. |
data[].countryRouteId | integer | Yes, I am. | — | Public country route ID. |
data[].countryCode | string | Yes, I am. | — | Use this country code for regional extraction. GLOBAL means worldwide. |
data[].countryName | string | Yes, I am. | — | Country display name. |
data[].availableCount | integer | Yes, I am. | — | Number of stable ports currently available. This does not count proxy exits in stock. |
{
"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.