Open documentation ↗Overview
The News Search API lets you send a search query to Bing and get back a list of news that are relevant to the search query. This section provides technical details about the query parameters and headers that you use to request news and the JSON response objects that contain them. For examples that show how to make requests, see [Searching the web for news](https://docs.microsoft.com/en-us/azure/cognitive-services/bing-news-search/search-the-web).
News Search Client is a development API from microsoft.com. Requests are authenticated with an API key. It is served over HTTPS. Its OpenAPI description documents 3 endpoints.
At a glance
- Authentication
- API key
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Development
- Base URL
https://api.cognitive.microsoft.com/bing/v7.0- Version
- 1.0
- Endpoints
- 3
- OpenAPI
- Specification ↗
- Spec updated
- 2020-07-22
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://api.cognitive.microsoft.com/bing/v7.0/news" \
-H "Accept: application/json" \
-H "X-API-Key: YOUR_API_KEY"const response = await fetch("https://api.cognitive.microsoft.com/bing/v7.0/news", {
method: "GET",
headers: {
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://api.cognitive.microsoft.com/bing/v7.0/news",
headers={
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /news | The News Category API lets you search on Bing and get back a list of top news articles by category. This section provides technical details about the query para |
| GET | /news/search | The News Search API lets you send a search query to Bing and get back a list of news that are relevant to the search query. This section provides technical deta |
| GET | /news/trendingtopics | The News Trending Topics API lets you search on Bing and get back a list of trending news topics that are currently trending on Bing. This section provides tech |
Questions
Does the News Search Client API need an API key?
Yes. The News Search Client API uses API key authentication; the documentation explains how to get credentials.
Does the News Search Client API support HTTPS?
Yes, the News Search Client API is served over HTTPS.
How many endpoints does the News Search Client API have?
Its OpenAPI description lists 3 endpoints in version 1.0. All of them are shown on this page.
What are alternatives to the News Search Client API?
Other Development APIs include Cloudflare, Azure DevOps, IPify, App Store Connect API, StackExchange.
Similar development APIs
Compare alternatives →Cloudflare
DevelopmentManage DNS, CDN, Workers and other services; documented with an official OpenAPI 3.0 spec
Azure DevOps
DevelopmentThe Azure DevOps basic components of a REST API request/response pair
IPify
DevelopmentA simple IP Address API
App Store Connect API
DevelopmentThe data structure that represents an app store connect api resource.
StackExchange
DevelopmentQ&A forum for developers
IPinfo
DevelopmentAnother simple IP Address API
Listed from APIs.guru (CC0).