Proxy locations: rotating IPs in 177 countries
Our rotating proxy networks provide IPs from specific countries, US states, and cities, which you select by adding options to your proxy username. Understanding these proxy locations is key for tasks like price monitoring, localization testing, and checking geo-restricted content.
Proxy Locations for Each Network
Our four rotating proxy networks each have distinct geographic coverage and targeting capabilities. The rotating residential network offers IPs from households in 177 countries. The rotating mobile network provides IPs from cellular carriers in 87 countries. For both residential and mobile networks, you can target the country, US state (when country is US), and specific cities from a published list. The rotating datacenter network consists of server IPs in 16 countries, and the rotating ISP network uses IPs registered to consumer internet providers but hosted on fast servers in 12 countries. For datacenter and ISP networks, targeting is available at the country level only.
How Country Targeting Works in the Username
You specify your desired proxy location by adding options to your proxy username, separated by underscores. Country targeting uses the cc. key followed by a lowercase ISO 3166-1 alpha-2 country code. For example, USERNAME_net.res_cc.de routes your traffic through residential IPs geolocated in Germany. This is essential for projects like rank tracking where local search results differ. If you omit the cc. option, the network will assign an IP from its global pool, which could be in any available country. For a full list of supported country codes, check the location list in your dashboard or via the API.
Targeting US States with Rotating Proxies
When you target the United States (cc.us), you can further narrow the location to a specific state using the st. option with the two-letter state code. The format is USERNAME_net.res_cc.us_st.ca for California residential IPs. This granularity is valuable for real estate data collection, job data collection, or checking regional pricing on sites like Walmart. State targeting is only available for the residential and mobile networks and only in conjunction with cc.us. You cannot target a state within another country or use state targeting with datacenter or ISP networks.
How to Target a Specific City
City targeting provides the most precise location control, available for residential and mobile IPs. You add the city. option with a lowercase city token, where spaces in the city name are replaced by hyphens. For instance, to get IPs from New York, you would use USERNAME_net.mob_cc.us_city.new-york. A list of supported city tokens is published and accessible via the dashboard's proxy setup tools. Using city proxies helps simulate a local user experience, which is critical for ad verification or travel fare aggregation where prices can vary by metro area. Remember, city targeting also requires a country code, and for US cities, you can include a state code as well for clarity.
What to Do When a City Is Not Listed
If the city you need is not on our published list, you have a few practical options. First, target the nearest major metropolitan area that is listed; for many applications, an IP from a nearby city within the same region will serve the same purpose. Second, fall back to state-level targeting (st.) or country-level targeting (cc.), which will still provide IPs from the correct general region. Third, for some use cases like web scraping broad public data, country-level IPs may be perfectly sufficient. You can find more guidance on this specific scenario in our help article what if my city is not listed.
IP Geolocation Accuracy and Database Disagreements
The IPs in our networks are assigned based on geolocation data from a leading commercial provider. However, it's important to know that different geolocation databases can and often do disagree on the precise location of an IP address. A site you access might use a different database than we do, resulting in it detecting your IP in a neighboring city or a different part of the state. This is a normal aspect of how IP geolocation works, not an error in our service. For a deeper dive, read our guide on how accurate is IP geolocation. This understanding is crucial when your project, such as checking geo-restricted content, depends on precise location detection by the target site.
Choosing Proxy Locations for Your Job
Selecting the right proxy location depends on your specific task. For accessing content that is explicitly restricted to a local audience, such as a local news site or a country-specific version of an ecommerce store, you should match the IP country precisely. For price monitoring, you often need IPs from the country where the store operates, and sometimes from specific cities if prices are regional. For social media management from different regions, country-level targeting is typically adequate. If you're testing how a website performs for users in a specific area, like in website performance testing by region, choose a city or state close to your test audience. Our guide on choosing proxy locations offers further detailed advice.
How Location Interacts with Sessions and Rotation
Your location choice works in tandem with session settings. Without a session ID (sid.), every new connection through your proxy string will get a new IP from your chosen location (e.g., a new German residential IP each time). If you use a session ID, like USERNAME_net.res_cc.de_sid.abc123_ttl.30, you will keep the same German residential IP for the duration of the TTL (30 minutes). This sticky session is useful for tasks that require a consistent IP, such as maintaining a logged-in state on a site like LinkedIn. The location targeting remains in effect for the entire session.
Finding Available Locations via API and Dashboard
You can programmatically discover all supported countries, US states, and cities for each network using our REST API. The /api/v1/locations endpoint, authenticated with your Bearer key, returns a structured list. This allows you to build dynamic proxy configuration into your scraping or testing tools. In the dashboard, the proxy setup section includes a visual string builder that lets you select a network, country, state, and city from dropdown menus, generating the correct username for you. This tool is helpful for quickly creating configurations for use with Python requests or Playwright.
Common Mistakes with Proxy Location Syntax
A few syntax errors can prevent location targeting from working. Ensure the options are appended to the proxy user's login with an underscore, not a space or other character. The keys (net., cc., st., city., sid., ttl.) must be lowercase, and the values (like de, ca, new-york) must also be lowercase. The order of options does not matter. A common mistake is trying to use state targeting without cc.us, or city targeting without a country code. Another is using an unsupported country code; always verify against the current list. For a complete reference, see the username options documentation.
Every country by network
Country pages cover the 87 countries with mobile and more; the rest take residential traffic by country and city.
| Country | Code | Networks | Cities |
|---|---|---|---|
| af | Residential | 10 | |
| al | Residential | 10 | |
| dz | Residential Mobile | 10 | |
| ad | Residential | 2 | |
| ao | Residential Mobile | 10 | |
| ar | Residential Mobile | 10 | |
| am | Residential | 10 | |
| aw | Residential | 3 | |
| au | Residential Mobile Datacenter ISP | 10 | |
| at | Residential Mobile | 10 | |
| az | Residential | 10 | |
| bs | Residential | 3 | |
| bh | Residential | 8 | |
| bd | Residential Mobile | 10 | |
| bb | Residential | 1 | |
| be | Residential Mobile | 10 | |
| bz | Residential | 4 | |
| bj | Residential | 10 | |
| bm | Residential | 1 | |
| bt | Residential | 4 | |
| bo | Residential Mobile | 10 | |
| ba | Residential | 10 | |
| bw | Residential | 10 | |
| br | Residential Mobile Datacenter ISP | 10 | |
| vg | Residential | 2 | |
| bn | Residential | 4 | |
| bg | Residential Mobile | 10 | |
| bf | Residential | 10 | |
| kh | Residential | 10 | |
| cm | Residential | 10 | |
| ca | Residential Mobile Datacenter ISP | 10 | |
| cv | Residential | 4 | |
| ky | Residential | 1 | |
| cl | Residential Mobile | 10 | |
| cn | Residential Mobile | 10 | |
| co | Residential Mobile | 10 | |
| cr | Residential Mobile | 10 | |
| ci | Residential Mobile | 10 | |
| hr | Residential Mobile | 10 | |
| cw | Residential | 1 | |
| cy | Residential Mobile | 7 | |
| cz | Residential Mobile | 10 | |
| cd | Residential | 10 | |
| dk | Residential Mobile | 10 | |
| dj | Residential | 5 | |
| do | Residential Mobile | 10 | |
| ec | Residential Mobile | 10 | |
| eg | Residential Mobile | 10 | |
| sv | Residential | 10 | |
| ee | Residential Mobile | 9 | |
| sz | Residential | 3 | |
| et | Residential | 10 | |
| fj | Residential | 4 | |
| fi | Residential Mobile | 10 | |
| fr | Residential Mobile Datacenter ISP | 10 | |
| pf | Residential | 3 | |
| ga | Residential | 9 | |
| gm | Residential | 6 | |
| ge | Residential Mobile | 10 | |
| de | Residential Mobile Datacenter ISP | 10 | |
| gh | Residential Mobile | 10 | |
| gi | Residential | 1 | |
| gr | Residential Mobile | 10 | |
| gp | Residential | 10 | |
| gu | Residential | 6 | |
| gt | Residential | 10 | |
| gg | Residential | 1 | |
| gy | Residential | 3 | |
| ht | Residential | 10 | |
| hn | Residential | 10 | |
| hk | Residential Mobile | 7 | |
| hu | Residential Mobile | 10 | |
| is | Residential | 4 | |
| in | Residential Mobile Datacenter | 10 | |
| id | Residential Mobile | 10 | |
| iq | Residential | 10 | |
| ie | Residential Mobile | 10 | |
| im | Residential | 1 | |
| il | Residential Mobile | 10 | |
| it | Residential Mobile Datacenter ISP | 10 | |
| jm | Residential | 10 | |
| jp | Residential Mobile Datacenter ISP | 10 | |
| je | Residential | 1 | |
| jo | Residential | 10 | |
| kz | Residential Mobile | 10 | |
| ke | Residential Mobile | 10 | |
| kw | Residential Mobile | 10 | |
| kg | Residential | 10 | |
| la | Residential | 10 | |
| lv | Residential Mobile | 10 | |
| lb | Residential | 10 | |
| ls | Residential | 8 | |
| ly | Residential | 10 | |
| li | Residential | 1 | |
| lt | Residential Mobile | 10 | |
| lu | Residential Mobile | 3 | |
| mo | Residential | 1 | |
| mg | Residential | 10 | |
| mw | Residential | 10 | |
| my | Residential Mobile | 10 | |
| mv | Residential | 1 | |
| ml | Residential | 10 | |
| mt | Residential | 5 | |
| mq | Residential | 9 | |
| mr | Residential | 10 | |
| mu | Residential Mobile | 10 | |
| mx | Residential Mobile | 10 | |
| md | Residential Mobile | 10 | |
| mc | Residential | 1 | |
| mn | Residential | 10 | |
| me | Residential | 8 | |
| ma | Residential Mobile | 10 | |
| mz | Residential | 10 | |
| mm | Residential | 10 | |
| na | Residential | 10 | |
| np | Residential | 10 | |
| nl | Residential Mobile Datacenter ISP | 10 | |
| nc | Residential | 3 | |
| nz | Residential Mobile | 10 | |
| ni | Residential | 10 | |
| ne | Residential | 10 | |
| ng | Residential Mobile | 10 | |
| mk | Residential | 10 | |
| no | Residential Mobile | 10 | |
| om | Residential Mobile | 10 | |
| pk | Residential Mobile | 10 | |
| ps | Residential | 10 | |
| pa | Residential Mobile | 10 | |
| pg | Residential | 10 | |
| py | Residential Mobile | 10 | |
| pe | Residential Mobile | 10 | |
| ph | Residential Mobile | 10 | |
| pl | Residential Mobile Datacenter ISP | 10 | |
| pt | Residential Mobile | 10 | |
| pr | Residential Mobile | 10 | |
| qa | Residential Mobile | 5 | |
| cg | Residential | 10 | |
| re | Residential | 10 | |
| ro | Residential Mobile | 10 | |
| rw | Residential | 10 | |
| sa | Residential Mobile | 10 | |
| sn | Residential | 10 | |
| rs | Residential Mobile | 10 | |
| sc | Residential | 1 | |
| sl | Residential | 10 | |
| sg | Residential Mobile Datacenter | 1 | |
| sk | Residential Mobile | 10 | |
| si | Residential Mobile | 9 | |
| za | Residential Mobile | 10 | |
| kr | Residential Mobile | 10 | |
| es | Residential Mobile Datacenter ISP | 10 | |
| lk | Residential | 10 | |
| sd | Residential | 10 | |
| sr | Residential | 2 | |
| se | Residential Mobile Datacenter | 10 | |
| ch | Residential Mobile Datacenter | 10 | |
| tw | Residential Mobile | 10 | |
| tj | Residential | 10 | |
| tz | Residential | 10 | |
| th | Residential Mobile | 10 | |
| tg | Residential | 10 | |
| tt | Residential | 10 | |
| tn | Residential Mobile | 10 | |
| tr | Residential Mobile | 10 | |
| vi | Residential | 2 | |
| ug | Residential Mobile | 10 | |
| ua | Residential Mobile | 10 | |
| ae | Residential Mobile | 10 | |
| gb | Residential Mobile Datacenter ISP | 10 | |
| us | Residential Mobile Datacenter ISP | 60 | |
| uy | Residential Mobile | 10 | |
| uz | Residential | 10 | |
| ve | Residential Mobile | 10 | |
| vn | Residential Mobile | 10 | |
| ye | Residential | 10 | |
| zm | Residential Mobile | 10 | |
| zw | Residential | 10 |
US state targeting codes
Add cc.us and a state code, for example USERNAME_cc.us_st.tx. Works on residential and mobile.
Location questions
Can I get a proxy IP from a specific ZIP code or neighborhood?
No, we do not offer targeting by ZIP code, neighborhood, ASN, or ISP name. The most precise targeting available is at the city level for residential and mobile networks. If you need a very specific location, choose the closest supported city.
Why does the target website show my IP in a different city than I specified?
This is due to discrepancies between IP geolocation databases. We assign IPs based on one leading database, but the website you are accessing may use a different one that has slightly different records for that IP. This is a common industry-wide occurrence.
Can I use city targeting with datacenter or ISP proxies?
No. City targeting is only available for the rotating residential and rotating mobile proxy networks. The rotating datacenter and rotating ISP networks only support country-level targeting.
How do I make sure every request uses a new IP from the same city?
Omit the session ID (<code>sid.</code>) option. With a username like <code>USERNAME_net.res_cc.us_city.los-angeles</code>, each new connection will rotate to a different IP that is still geolocated to Los Angeles.
Is there an extra cost to target a specific country, state, or city?
No. There is no additional charge for geo-targeting. You pay the same rate per GB for the network you are using ($1.79 for residential, $3.00 for mobile, etc.), regardless of the location you choose.
How fresh is your IP geolocation data for assigning proxies?
We update our geolocation mapping regularly using a leading commercial data provider. However, because IP assignments change and databases update continuously, we cannot guarantee 100% real-time accuracy for every IP, which is why occasional discrepancies can occur.