Country targeting
To route through a specific country, append-country- followed by the 2-letter ISO country code (uppercase) to the end of your proxy username.
Examples:
yourusername-country-US— United Statesyourusername-country-GB— United Kingdomyourusername-country-DE— Germany
City targeting
To narrow a country down to a specific city, append-city- followed by the city name (lowercase, no spaces) after the -country- code.
Examples:
yourusername-country-US-city-newyork— New York City, United Statesyourusername-country-GB-city-london— London, United Kingdomyourusername-country-DE-city-berlin— Berlin, Germany
State targeting
To narrow a country down to a specific state, append-state- followed by the 2-letter state code (uppercase, no spaces) after the -country- code.
Examples:
yourusername-country-US-state-CA— California, United Statesyourusername-country-US-state-TX— Texas, United Statesyourusername-country-US-state-FL— Florida, United States
Not all countries, cities, and states are supported. To check whether a specific location is available, reach out to our support team.
You can also build these usernames from the dashboard: go to the Proxy Setup section, choose your desired country, city, or state from the dropdowns, and the appended characters are generated at the end of your username for you to copy and paste into your program.
Sticky sessions
By default, residential proxies rotate the exit IP on every request. To keep the same IP across multiple requests, append-session-{id}-ttl-{seconds} to the end of your proxy username, where:
{id}is a session identifier — any number from 0 to 99999.{seconds}is how long the session stays sticky. Duration is minute-based, so use a whole number of minutes expressed in seconds (e.g.60,300,600).
yourusername-session-658235-ttl-300— 5 minute sticky sessionyourusername-session-658235-ttl-600— 10 minute sticky sessionyourusername-country-US-city-newyork-session-658235-ttl-900— 15 minute sticky session with city targeting (New York City, United States)yourusername-country-US-state-CA-session-658235-ttl-900— 15 minute sticky session with state targeting (California, United States)
The session
{id} can also be generated from the dashboard: go to the Proxy Setup section and the appended characters are generated at the end of your username for you to copy and paste into your program.