Bewerken

Delen via


What is the Bing Image Search API?

Bing Image Search API lets your users find images on the world-wide-web. If you're looking to build an experience similar to bing.com/images, this is the API to use.

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 Image Search SDK. For examples to help you get up and running quickly for either option, see Quickstarts.

Features

Bing provides the following Image APIs:

Note

Use Visual Search API to get insights about an image.

By default, Image Search API returns images that the user requested. But if you want to have some control over what Bing returns, see the following search features:

Feature Description
Filter the images that bing returns Filter images by when Bing discovered them, by image type such as animated GIFs, by their license type, and more.
Pivot user search queries Get search strings that pivot on the user's search string.
Expand user search queries Get search strings that expand on the user's search string.
Page results Page through multiple pages of image results.
Resize and crop thumbnails Resize or crop thumbnail images in the response to fit your experience.

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 many more. For details, see Bing Web Statistics.

Search or search-like experience

Bing Image 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