แชร์ผ่าน


What is Bing Entity 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 Entity Search API sends a search query to Bing and gets results that include entities and places. Place results include restaurants, hotel, or other local businesses. Bing returns places if the query specifies the name of the local business or asks for a type of business (for example, restaurants near me). Bing returns entities if the query specifies well-known people, places (tourist attractions, states, countries/regions, etc.), or things.

Feature Description
Real-time search suggestions Provide search suggestions that can be displayed as a dropdown list as your users type.
Entity disambiguation Get multiple entities for queries with multiple possible meanings.
Find places Search for and return information on local businesses and entities

Workflow

The Bing Entity 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 the service using either the REST API, or the SDK.

  1. Create an Azure AI services API account with access to 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