Del via


What is the Bing News 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 News Search API makes it easy to integrate Bing's cognitive news searching capabilities into your applications. The API provides a similar experience to Bing News, letting you send search queries and receive relevant news articles.

Be aware that the Bing News Search API provides news search results only. Use the Bing Web Search API, Video Search API and Image Search API for other types of web content.

Bing News Search API features

While the Bing News Search API primarily finds and returns relevant news articles, it provides several features for intelligent, and focused news retrieval on the web.

Feature Description
Suggesting and using search terms Improve your search experience by using the Bing Autosuggest API to display suggested search terms as they're typed.
Get general news Find news by sending a search query to the Bing News Search API, and getting back a list of relevant news articles.
Today's top news Get the top news stories for the day, across all categories.
News by category Search for news in specific categories.
Headline news Search for top headlines across all categories.

Workflow

The Bing News 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

First, try the interactive demo for the Bing News Search API. This demo shows how you can quickly customize a search query and find news on the web.

To quickly get started with your first API request, try a quickstart for the REST API or one of the SDKs.

See also

  • The Bing News Search API v7 reference section contains definitions and information on the endpoints, headers, API responses, and query parameters that you can use to request image-based search results.
  • The Bing Use and Display Requirements specify acceptable uses of the content and information gained through the Bing search APIs.
  • Visit the Bing Search API hub page to explore the other available APIs.