Muokkaa

Jaa


What is the Bing Web Search API?

Bing Web Search API enables safe, ad-free, location-aware search results, surfacing relevant information from billions of web documents. Help your users find what they're looking for from the world-wide-web by harnessing Bing's ability to comb billions of webpages, images, videos, and news with a single API call.

Get started

To get started using the API, pick the subscription you want from Bing API Pricing. After getting your subscription key, you're all set to make your first call.

You can easily call the API by sending a native HTTP GET request or by using the Web Search SDK. For examples to help you get up and running quickly for either option, see Quickstarts.

Features

By default, the API returns and ranks whatever content is relevant to the user's search query. But if you want to have some control over what Bing returns, see the following features:

Feature Description
Filter the answers that bing returns Filter the response to include or exclude specific answers such as news or images, return webpages that Bing discovered within the last week, and more.
Page results Page through multiple pages of webpage results.
Hit highlighting Add highlighting characters to words and phrases in the results' titles and descriptions that identify the words or phrases from the user's search query.

Bing also provides API metrics, which you can use to inform your strategic decisions. Quickly retrieve statistics such as your top queries, call volume, market distribution, response code summary, and much more. For details, see Bing Web Statistics.

Search or search-like experience

Bing Web Search API may only be used as a result of a direct user query or search, or as a result of an action within an app or experience that logically can be interpreted as a user’s search request. For illustration purposes, the following are some examples of acceptable search or search-like experiences:

  • User enters a query directly into a search box in an app.
  • User selects specific text or image and requests “more information” or “additional information”.
  • User asks a search bot about a particular topic.
  • User dwells on a particular object or entity in a visual search type scenario.

If you are not sure if your experience can be considered a search-like experience, check with Microsoft.

Next steps