/proxy/cities
GET/proxy/cities
Returns a list of available cities for proxy connections.
This endpoint requires city proxying to be enabled on your plan.
Query Parameters:
- country (optional): Filter cities by two-letter country code (e.g., 'US', 'GB', 'DE')
The response includes a list of available cities grouped by country code.
Request
Query Parameters
Responses
- 200
- 400
- 401
- 403
- 404
- 408
- 429
- 500
- 503
Schema
- Fields
- Example (auto)
- Array [
- ]
countries object[]required
Countries with their available cities
Two-letter country code
List of city names in this country
Total number of countries
Total number of cities across all countries
filters objectrequired
Applied filters
{
"countries": [
{
"code": "string",
"cities": [
"string"
]
}
],
"totalCountries": 0,
"totalCities": 0,
"filters": {
"country": "string"
}
}
The request contains errors or didn't properly encode content.
The request is missing, or contains bad, authorization credentials.
The request targets a destination that is not allowed.
Resource couldn't be found.
The request took has taken too long to process.
Too many requests are currently being processed.
An internal error occurred when handling the request.
Service is unavailable.