To know which market Bing used, get the BingAPIs-Market header in the response. Or, Bing may use an aggregated or default market for the results. If the languages list does not include a supported language, Bing finds the closest language and market that supports the request. Bing uses the first supported language it finds in the specified languages and combines it with the country code to determine the market to return results for. If you set this parameter, you must also specify the Accept-Language header. For a list of possible values, see Market codes. If you included the responseFilter query parameter in the same request and set it to webpages and news, the response would include only webpages.įor information about promoting a ranked answer into the response, see the promote query parameter.Ī 2-character country code of the country where the results come from. For example, if Bing returns webpages, images, videos, and relatedSearches for a request and you set this parameter to two (2), the response includes webpages and images. The answers that Bing returns are based on ranking. The number of answers that you want the response to include. You must URL encode the query parameter values. The Required column indicates whether you must specify the parameter. The following are the query parameters that requests may include.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |