cURL
curl --request GET \ --url https://api.example.com/v1/rotating/locations \ --header 'X-Api-Key: <api-key>'
[ { "name": "United States", "countryCode": "US", "cities": [ "New York", "Los Angeles", "Chicago" ] } ]
Get a list of all available proxy locations with countries and cities
Successful response
Full name of the country
"United States"
2-letter country code (ISO 3166-1 alpha-2)
2
"US"
Array of available cities in this country
["New York", "Los Angeles", "Chicago"]
Was this page helpful?