Domain, Locale, Results Language

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.

41KB
locale.json

Last updated