Share via


What is the Bing Visual Search API?

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 Bing Visual Search API returns insights for an image. You can either upload an image or provide a URL to one. Insights are visually similar images, shopping sources, webpages that include the image, and more. Insights returned by the Bing Visual Search API are similar to ones shown on Bing.com/images.

If you use the Bing Image Search API, you can use insight tokens from that API's search results for your Bing Visual Search instead of uploading an image.

Important

If you get image insights using the Bing Image Search API, consider switching to the Bing Visual Search API, which provides more comprehensive insights.

Insights

You can discover the following insights by using Bing Visual Search:

Insight Description
Visually similar images A list of images that are visually similar to the input image.
Shopping sources Places where you can buy the item shown in the input image.
Related searches Related searches made by others or that are based on the contents of the image.
Webpages that include the image Webpages that include the input image.
Recipes Webpages that include recipes for making the dish shown in the input image.
Entities Well-known people, places, and things.

In addition to insights, Bing Visual Search returns a variety of terms (that is, tags) derived from the input image. The tags enable users to explore concepts found in the image. For example, if the input image is of a famous athlete, one of the tags may be the name of the athlete, another tag could be Sports. Or, if the input image is of an apple pie, the tags could be Apple Pie, Pies, and Desserts.

Bing Visual Search results also include bounding boxes for regions of interest in the image. For example, if the image contains several celebrities, the results may include bounding boxes for each of the recognized celebrities. Or, if Bing recognizes a product or clothing in the image, the result may include a bounding box for the recognized item.

Workflow

The Bing Visual Search API is a RESTful web service, making it easy to call from any programming language that can make HTTP requests and parse JSON. You can use either the REST API or the SDK for the service.

  1. Create an Azure AI services account to access the Bing Search APIs. If you don't have an Azure subscription, you can create an account for free.
  2. Send a request to the API with a valid search query.
  3. Process the API response by parsing the returned JSON message.

Next steps

First, try the Bing Visual Search API interactive demo. The demo shows how you can quickly customize a search query and scour the web for images.

To get started quickly with your first request, see the quickstarts:

See also