> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/products/web-scraper-api/features/localization/domain-locale.md).

# Domain and Locale

Learn to configure domain and locale parameters to scrape accurate Amazon, Google, or Bing data.

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

## Google

### Locale <a href="#locale" id="locale"></a>

Use the `locale` parameter to set the **Google Search web page interface language**.

For example, if you target `com` domain 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 their 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`).

{% hint style="info" %}
Download the full list of `locale` values in JSON [**here**](https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FMbRF7bRXDzhafjKUjKdx%2Flocale.json?alt=media\&token=a724fd1b-6a16-42b3-ab02-7df0299ec64b).
{% endhint %}

Here's an example of locale values:

```shell
# Locale description, domain: domain-extension

"locale":
    "en-ai", # Anguilla - English, domain: com.ai
    "es-pr", # Puerto Rico - Spanish, domain: com.pr
    "nl-sr", # Suriname - Dutch, domain: sr
    "fr-ml", # Mali - French, domain: ml
    "en-lb", # Lebanon - English, domain: com.lb
    "fr-bf", # Burkina Faso - French, domain: bf
    "en-fm", # Federated States of Micronesia - English, domain: fm
    "es-mx", # Mexico - Spanish, domain: com.mx
    "fr-bj", # Benin - French, domain: bj
    "ru-ee", # Estonia - Russian, domain: ee
    "en-mv", # Maldives - English, domain: mv
```

## 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 [here](https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FMbRF7bRXDzhafjKUjKdx%2Flocale.json?alt=media\&token=a724fd1b-6a16-42b3-ab02-7df0299ec64b).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers.oxylabs.io/products/web-scraper-api/features/localization/domain-locale.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
