Share via


Web Search endpoint

Warning

On October 30, 2020, the Bing Search APIs moved from Azure AI services to Bing Search Services. This documentation is provided for reference only. For updated documentation, see the Bing search API documentation. For instructions on creating new Azure resources for Bing search, see Create a Bing Search resource through the Azure Marketplace.

The Web Search API returns Web pages, news, images, videos, and entities. Entities have summary information about a person, place, or topic.

Endpoint

To get Web search results using the Bing API, send a GET request to the following endpoint. The headers and URL parameters define further specifications.

Endpoint: Returns Web results that are relevant to the user's search query defined by ?q="".

GET https://api.cognitive.microsoft.com/bing/v7.0/search

Endpoint: For details about headers, parameters, market codes, response objects, errors, and more, see the Bing Web API v7 reference.

Response JSON

The response to a Web search request includes all results as JSON objects. Parsing the result requires procedures that handle the elements of each type. See the tutorial and source code for examples.

Next steps

The Bing APIs support search actions that return results according to their type. All search endpoints return results as JSON response objects.  All endpoints support queries that return a specific language and location by longitude, latitude, and search radius.

For complete information about the parameters supported by each endpoint, see the reference pages for each type. For examples of basic requests using the Web search API, see Search the Web Quick-starts.