News Search Client (stable:1.0)

2025/10/22 • 3 deleted methods

News_Category (removed)
Description :  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 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).
Reference :  Link ¶

⚼ Request

GET:  /news
{
X-BingApis-SDK: string ,
Accept: string ,
Accept-Language: string ,
User-Agent: string ,
X-MSEdge-ClientID: string ,
X-MSEdge-ClientIP: string ,
X-Search-Location: string ,
cc: string ,
category: string ,
count: integer ,
headlineCount: integer ,
mkt: string ,
offset: integer ,
originalImg: boolean ,
safeSearch: string ,
setLang: string ,
textDecorations: boolean ,
textFormat: string ,
}

⚐ Response (200)

{
value:
[
{
category: string ,
headline: boolean ,
clusteredArticles:
[
string ,
]
,
}
,
]
,
location: string ,
}

⚐ Response (default)

{
errors:
[
{
code: enum ,
subCode: enum ,
message: string ,
moreDetails: string ,
parameter: string ,
value: string ,
}
,
]
,
}