Domain, Locale, Results Language

This page guides you on configuring the domain, locale, and results language parameters for scraping Amazon, Google, and Bing. These settings help customize the marketplace or top-level domain (TLD), interface language, and search results for accurate, region-specific data extraction.

Amazon

Domain

Use the domain parameter to specify which Amazon marketplace you would like to scrape.

Locale

Use the locale parameter to set the interface language.

Not all Amazon marketplaces allow setting the interface language, and supported languages differ on each marketplace. The table below lists the supported domain and locale value combinations. Some of the languages are marked as default. If you would like to get the default interface language, you don't have to send the locale parameter.

Google

Locale

Using the locale parameter will allow you to change the interface language (not the results) of the Google Search web page.

For example, if you use domain com and locale parameter de-DE, the results will still be American, but Accept-Language header value will be set to de-DE,de;q=0.8. This would imitate a person from US searching in com domain, who has the UI of his browser set to German language.

If you don't use this parameter, we will set 'Accept-Language' parameter to match the domain (i.e. en-US for com).

Download the full list of locale values in JSON here.

[  
   {  
      "locale":{  
         "en-ai":{  
            "description":"Anguilla - English",
            "domain":"com.ai"
         },
         "es-pr":{  
            "description":"Puerto Rico - Spanish",
            "domain":"com.pr"
         },
         ...
         "en-by":{  
            "description":"Belarus - English",
            "domain":"by"
         },
         "en-in":{  
            "description":"India - English",
            "domain":"co.in"
         }
      }
   }
]

Results language

When scraping Google, you have the option to specify the language of the obtained results. You can find the complete list of supported languages and their corresponding values in JSON format here.

For example, to set the results language to Arabic when scraping Google SERP, add this key and value:

{
    "key": "results_language",
    "value": "ar"
}

Domain

Use domain parameter to specify which Google top-level domain (TLD) you would like to scrape. The full list of available domains for Google can be found here.

Bing

Locale

Using the locale parameter will allow you to change Bing search page web interface language (not results).

For example, if you use the domain com and locale parameter de-DE, the results will still be American, but the Accept-Language header value will be set to de-DE,de;q=0.8. This would imitate a person from US searching in com domain, who has the UI of his browser set to German language.

If you don't use this parameter, we will set 'Accept-Language' parameter to match the domain (i.e. en-US for com).

Download the full list of locale values in JSON format below.

Last updated