Web Scraping / Geo-Targeting

How to Scrape from Any Country

Amazon shows different prices in the US and UK. Google returns different search results in Germany and Japan. Booking.com shows different hotel availability based on where you are. If your scraper runs from one location, you only get one version of the data. Here is how to scrape from anywhere.

Why location matters when scraping

Prices vary by region

E-commerce sites, airlines, and hotels adjust pricing based on the visitor's location. A product that costs $29.99 in the US might cost $34.99 in Canada or be unavailable entirely in another region. If you are doing price monitoring or competitive analysis, you need to see what customers in each market actually see.

Content is region-locked

Some websites restrict content to specific countries - different product catalogs, different news articles, different search results. A US IP might see a full product listing while a European IP sees a "not available in your region" message.

Search results are localized

Google, Bing, and other search engines return different results based on location. An SEO monitoring tool that scrapes from a US datacenter cannot accurately track rankings in the UK, Germany, or Australia. You need IPs in those countries to see what local users see.

Scrape from a specific country

Use the country_code parameter with a two-letter ISO country code. Browser7 routes your request through a residential IP in that country, so the target site serves content as if a local visitor is browsing.

from browser7 import Browser7

client = Browser7(api_key="b7_your_api_key")

# Scrape Amazon UK from a UK residential IP
result = client.render(
    "https://www.amazon.co.uk/dp/B0DDZJS3SB",
    country_code="GB",
)

print(result.html)

Browser7 supports residential proxies in 195 countries. The response includes a selectedCity field that confirms which city the proxy IP was located in, so you can verify the request went through the right region.

Target a specific city

For even more precise location targeting, use the city parameter. This is useful for real estate sites, local business directories, and any service that varies by city rather than just country.

from browser7 import Browser7

client = Browser7(api_key="b7_your_api_key")

# Scrape from a residential IP in New York
result = client.render(
    "https://www.zillow.com/syracuse-ny/",
    country_code="US",
    city="New York",
)

print(result.html)

Regional API endpoints

Browser7 has API endpoints in multiple regions. Using the endpoint closest to your target country reduces latency and improves render times:

RegionEndpointBest for
North Americaca-api.browser7.com/v1US, Canada, Mexico, Latin America
Europeeu-api.browser7.com/v1UK, EU, Middle East, Africa

The endpoint you choose determines where the browser renders the page. The proxy IP still comes from whatever country you specify with country_code. For example, using the EU endpoint with country_code="GB" renders the page in Europe through a UK residential IP - fast and geographically accurate.

Common use cases for geo-targeted scraping

Price monitoring

Track how competitors price products in different markets. See local currency pricing, regional promotions, and market-specific availability.

SEO rank tracking

Monitor search engine rankings from specific countries and cities. Google returns different results in London vs Manchester, not just UK vs US.

Real estate data

Scrape property listings that are only visible from local IPs. Many real estate platforms restrict or modify listings based on visitor location.

Ad verification

Verify that ads are displaying correctly in each target market. Check creative content, landing pages, and targeting accuracy across regions.

What this costs

Geo-targeting is included in every Browser7 request at $0.01 per page. There is no surcharge for specific countries, no premium for city-level targeting, and no per-country proxy pricing. A request from the US costs the same as one from Japan, Brazil, or Germany.

See it in practice

These guides use geo-targeting to get location-specific content:

Try it yourself

100 free renders with geo-targeting included. Scrape from any country, no payment required.