On this page
Country targeting decides which country your exit IP comes from. Websites show different content, prices, ads and search results depending on where a visitor appears to be, so the exit country often matters as much as the IP itself. Residential proxies support country targeting, and FreshProxies covers many countries. The locations page has the current list.
How to target a country
Use the generator on your plan page:
- Pick the country.
- Pick rotating or sticky.
- Generate the lines and copy them into your tool.
The targeting is built into the generated line, so you don't need to edit usernames or remember country codes. Your dashboard shows the username format for your plan if you want to see how a line is put together.
You can combine a country with either session mode. A rotating line for Germany, for example, gives you a new German IP for each request, and a sticky line keeps one German IP for the length of the session.
Static IP plans
Static residential, ISP and datacenter plans give you a fixed IP for 30 days. Each IP has one location for the whole period, so the country is settled when you order rather than per request.
Check the exit country
Send a request through the proxy to a geolocation service:
curl -s -x "http://USERNAME:PASSWORD@HOST:PORT" https://ipinfo.io/json
The country field in the response is a two-letter country code. In a browser connected through the proxy, the IP lookup tool shows the same kind of information.
Keep two things in mind:
- Geolocation is a database lookup, not a measurement. Different databases can disagree, mostly about regions and cities and occasionally about the country. Websites use their own data provider, so a site may place an IP slightly differently than the tool you checked with.
- Some countries have fewer available IPs than others. In those countries, rotation may repeat IPs more often and speeds can vary more.
Make the rest of your setup match
An IP from one country combined with a browser that says it's somewhere else looks inconsistent. When you target a country, match the language and time zone too.
For scripts, send a matching Accept-Language header:
import requests
PROXY = "http://USERNAME:PASSWORD@HOST:PORT" # a German line from the generator
headers = {"Accept-Language": "de-DE,de;q=0.9,en;q=0.5"}
r = requests.get("https://example.com", headers=headers,
proxies={"http": PROXY, "https": PROXY}, timeout=30)
print(r.status_code)
For browsers, set the locale and time zone. In Playwright:
const context = await browser.newContext({
proxy: { server: 'http://HOST:PORT', username: 'USERNAME', password: 'PASSWORD' },
locale: 'de-DE',
timezoneId: 'Europe/Berlin',
});
Antidetect browsers usually set the time zone and geolocation from the proxy IP for you.
Use it for the right reasons
Country targeting is how teams check localized search results, confirm that ads appear correctly in each market and compare regional prices. It is not a way around a service's regional restrictions or licensing terms. Using it that way breaks our acceptable use policy, and usually the service's own terms as well.