/v2/searchendpoint, our news API returns some key information. For example, an API call about "Tesla" for the last week
total_hitstells you how many articles are found.
total_hits, chances are that there are more than 10,000 news articles for your query. The above Telsa example API call actually matches 25,290 articles. To get all of these results, you have two choices:
get_search_all_articlesmethod from our Python SDK to automatically divide your query.
get_search_all_articlesmethod. It takes your query and based on the
byparameter divides it into a bunch of sub-queries. It then returns the combination of all their results.
byparameter accepts four values:
'months'. And it is set to