Skip to main content
No Result Found

IP Geolocation

Your guide to testing your websites and mobile apps across different countries and states using IP Geolocation.

IP Geolocation is available in all paid plans for Live and App Live. It is an Enterprise feature for Automate and App Automate. Contact sales for details.

BrowserStack’s IP Geolocation feature allows you to simulate website and mobile behavior from different locations by selecting IP addresses hosted in 60+ countries and 30+ states around the world. By incorporating IP geolocation into your tests, you can verify scenarios such as localized pricing, languages, product listings and much more.

With IP geolocation enabled, traffic to your website or mobile app will originate from an IP address hosted in the country you have chosen. With over 60+ countries and 30+ states to choose from, you can test how your website or mobile app behaves across the world.

IP Geolocation is available in the following BrowserStack products:

You can test the IP geolocation scenario on private website that has a public DNS entry or a static IP.

Also, refer to the following section to know the supported countries and states:

Live

In your Live session, you can use the Change Location > IP Location feature to change the location to your desired location. For detailed steps, see Change location documentation for Live.

App Live

In your Live session, you can use the Change Location > IP Location feature to change the location to your desired location. For detailed steps, see Change location documentation for App Live.

Automate

To use IP Geolocation with your automated tests, you need to set the browserstack.geoLocation capability.

For detailed steps, see the documentation for your framework:

App Automate

To use IP Geolocation with your automated tests, you need to set the browserstack.geoLocation capability.

Have questions? We are happy to help. Contact sales

For detailed steps, see the documentation for your framework:

Test private websites

Testing an IP geolocation scenario in a private website is an Enterprise plan feature for both Manual Testing (Live and App Live) and Automate Testing (Automate and App Automate) products. Please contact sales if you wish to explore the Enterprise plan.

If your website has a public DNS entry or has a static IP and is behind security layers, you can get IP Geolocation to work by doing inbound whitelisting for the IP addresses of our Geolocation proxies.

Testing of websites on localhost or intranet is not supported with IP Geolocation.

You can get IPs for inbound IP whitelisting for IP GeoLocation using our API.

You can create an automated script using the following information, in order to get IPs to whitelist or remove whitelisted IPs which are no longer valid:

  • API URL Path: https://www.browserstack.com/local/api/v1/inbound-ip-geolocation
  • Basic Auth Details:

For example, if you try to make a cURL request, you can use:

curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" 
"https://www.browserstack.com/local/api/v1/inbound-ip-geolocation"

The underlying IPs for various countries can change for network optimisation or maintenance reasons. Please ensure that you request your account manager or customer engineer to be subscribed to email notifications.

List of countries

The following is the list of supported countries:

Country Name Country Code
Albania AL
Andorra AD
Argentina AR
Armenia AM
Australia AU
Austria AT
Azerbaijan AZ
Bahrain BH
Bangladesh BD
Belarus BY
Belgium BE
Bosnia and Herzegovina BA
Brazil BR
Bulgaria BG
Cambodia KH
Canada CA
Chile CL
China CN
Colombia CO
Costa Rica CR
Croatia HR
Curaçao CW
Cyprus CY
Czech Republic CZ
Denmark DK
Dominican Republic DO
Ecuador EC
Egypt EG
El Salvador SV
Estonia EE
Finland FI
France FR
Georgia GE
Germany DE
Greece GR
Guatemala GT
Honduras HN
Hong Kong HK
Hungary HU
Iceland IS
India IN
Indonesia ID
Ireland IE
Isle of Man IM
Israel IL
Italy IT
Jamaica JM
Japan JP
Jordan JO
Kazakhstan KZ
Kenya KE
Kuwait KW
Kyrgyzstan KG
Latvia LV
Lebanon LB
Lithuania LT
Luxembourg LU
Malaysia MY
Malta MT
Mexico MX
Moldova MD
Mongolia MN
Morocco MA
Netherlands NL
New Zealand NZ
Nicaragua NI
Nigeria NG
Norway NO
Oman OM
Pakistan PK
Panama PA
Paraguay PY
Peru PE
Philippines PH
Poland PL
Portugal PT
Puerto Rico PR
Qatar QA
Romania RO
Russia RU
Saudi Arabia SA
Serbia RS
Singapore SG
Slovakia SK
Slovenia SI
South Africa ZA
South Korea KR
Spain ES
Sweden SE
Switzerland CH
Taiwan TW
Tanzania TZ
Thailand TH
Tunisia TN
Turkey TR
Ukraine UA
United Arab Emirates AE
United Kingdom GB
United States US
Uruguay UY
Uzbekistan UZ
Venezuela VE
Vietnam VN

List of states

The following are the lists of supported states:

State Name State Code
Arizona US-AZ
California US-CA
Colorado US-CO
Connecticut US-CT
Delaware US-DE
Florida US-FL
Georgia US-GA
Illinois US-IL
Indiana US-IN
Iowa US-IA
Massachusetts US-MA
Michigan US-MI
Missouri US-MO
Nevada US-NV
New Hampshire US-NH
New Jersey US-NJ
New York US-NY
North Carolina US-NC
Ohio US-OH
Oklahoma US-OK
Oregon US-OR
Pennsylvania US-PA
Tennessee US-TN
Texas US-TX
Utah US-UT
Virginia US-VA
Washington US-WA
Wisconsin US-WI
State Name State Code
Alberta CA-AB
British Columbia CA-BC
Manitoba CA-MB
Nova Scotia CA-NS
Ontario CA-ON
Quebec CA-QC
Saskatchewan CA-SK
State Name State Code
Bavaria DE-BY
Brandenburg DE-BB
Hesse DE-HE
Lower Saxony DE-NI
North Rhine-Westphalia DE-NW
Schleswig-Holstein DE-SH
State Name State Code
South Australia AU-SA
Queensland AU-QLD
Victoria AU-VIC
Western Australia AU-WA
Northern AU-NT
State Name State Code
Osaka JP-27
Tokyo JP-13
State Name State Code
London GB-LND
Manchester GB-MAN

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle