Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bing Search API: Narrow by date

In it's current version, is it possible to use Bing's "Narrow By Date" feature when accessing it's API?

I cannot find any information about how to narrow the results such that it only shows results from the "past 24 hours" or "past week" (and so on).

The website/documentation isn't exactly clear on what I can and cannot do, and how. Do any of you know whether it's possible or not?

I can see on their Advanced Search Keywords page that you can use other narrowing features (region, language, hasfeed, etc.) here: http://onlinehelp.microsoft.com/en-ca/bing/ff808421.aspx

If you need any more context or information please ask. Thank you for your patience and help.

like image 551
DRobinson Avatar asked Oct 02 '11 04:10

DRobinson


People also ask

Where can I find the documentation for the Bing API?

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. When you query the web, Bing returns all the relevant content it finds for the search.

How do I limit Bing search results to a specific date?

To limit the results to a single date, set the freshness parameter to a specific date: The results may include webpages that fall outside the specified period if the number of webpages that Bing matches to your filter criteria is less than the number of webpages you requested (or the default number that Bing returns).

When did the Bing search APIs move to Azure?

On October 30, 2020, the Bing Search APIs moved from Cognitive 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.

What is Bing search and how does it work?

The Bing Search APIs add intelligent search to your app, combing hundreds of billions of webpages, images, videos, and news to provide relevant results with no ads. The results can be automatically customized to your user's locations or markets, increasing relevancy by staying local.


1 Answers

The Bing search API is pretty vague in terms of limiting results and what you can and cannot use. After testing various words and placement to try and get date to work, I'm fairly certain that there is not a way to use a date to narrow results.

like image 58
nwalke Avatar answered Sep 29 '22 04:09

nwalke