How can I select an IP per city?
Josh avatar
Written by Josh
Updated over a week ago

Adding the city parameter to the authorization header allows specifying which city IP to use to process the request. For example, cc-de-city-munich means that a proxy from Munich, Germany will handle the query. If there are no proxies in the requested city, the system will return the error 525 - No Exit Found.

Additionally, you can take advantage of our Endpoint generator. With this tool, you can effortlessly retrieve a list of endpoints by choosing the parameters you need.

To access the Endpoint generator, first, you have to log in to the dashboard, then on the left side, select Residential Proxies, and click on Endpoint generator. Then, select the following settings:


This section allows you to select a region for better connectivity. Pick Hong Kong or Beijing if you're connecting from China, or choose Global for the rest of the world.

Choosing the region

Authentication method

  1. User authentication — enter your proxy sub-user credentials.

  2. Whitelisted IPs — the Endpoint generator will take your whitelisted IPs automatically.

Endpoint type

Select the Backconnect entry. A single backconnect proxy enables you to choose city-specific settings via additional parameters in the username.

Location settings

Here, you can choose the precise location of a proxy. Choose the Country, State, and City that you would like to connect to.

Selecting location settings

Session type

  1. Sticky — it will keep the same IP address for up to 30 minutes. You can adjust the duration under the Session time selection.

  2. Rotating — it will use a different IP with each request.

Altering the session time

Output format

Here, you can select the format (port or HTTP) in which you’ll receive your endpoints list.

After the endpoints are generated, you can use them directly in your script or our proxy manager. Follow this link to find out more.

Did this answer your question?