How to get specific data for specific languages ​​and locations in the Bing search interface?

I am trying to get the result in the specified language in the query, but I have no idea how to mention it, even I found the information I don’t know which syntax can help me?

I tried this to get results in french using php like

$request = 'https://api.datamarket.azure.com/Bing/Search/Web';
$full_request =  urlencode( '\'' . $_POST["searchText"] . '\'').'%27language:fr%27&$top=10';

Here frmeans for the French language, but I could not get the result as expected. Can anyone help with this?

+3
source share
1 answer

As described in the documentation, this should be a Market parameter, see the link and link below. Do not forget that there may be different behavior, as well as other content based on this language:

https://datamarket.azure.com/dataset/8818F55E-2FE5-4CE3-A617-0B8BA8419F65#schema

, API , IP- , .

https://api.datamarket.azure.com/Bing/Search/Web?Query=%27Xbox%27&WebSearchOptions=%27DisableQueryAlterations%2BDisableHostCollapsing%27&Market=fr-FR

+2

All Articles