Scrape with geolocation proxies

Route browser automation traffic through specific geolocations to access region-specific content

Scrape with geolocation proxies demo
Copy prompt to run with your AI agent

Send this template to your email, or view it on your desktop for the source code.

Access region-specific content with geolocation proxies

Route your browser automation traffic through specific cities to access location-dependent content. This template shows how to configure geolocation proxies (New York, London, Tokyo, São Paulo) and extract region-specific data from websites. Perfect for price comparison across regions, localized content testing, and geo-restricted site access. Uses Browserbase Proxies with structured data extraction.

Steps

  1. Configure a Browserbase session with a geolocation proxy (city/country/state)
  2. Navigate to a weather site through that proxy
  3. Extract the current temperature and unit with Stagehand + Zod schema validation
  4. Repeat for multiple locations to compare results across geographies
  5. Print a formatted summary of weather results for all locations