Retrieves breaking news articles and sorts them based on specified criteria.
Request body for retrieving breaking news articles with sorting and filtering options.
The sorting order of the results. Possible values are:
relevancy: The most relevant results first.date: The most recently published results first.rank: The results from the highest-ranked sources first.relevancy, date, rank "date"
If true, limits the search to sources ranked in the top 1 million online websites. If false, includes unranked sources which are assigned a rank of 999999.
true
The lowest boundary of the rank of a news website to filter by. A lower rank indicates a more popular source.
1 <= x <= 999999100
The highest boundary of the rank of a news website to filter by. A lower rank indicates a more popular source.
1 <= x <= 999999100
The page number to scroll through the results. Use for pagination, as a single API response can return up to 1,000 articles.
For details, see How to paginate large datasets.
x >= 12
The number of articles to return per page.
1 <= x <= 100050
Controls the number of top articles to include for each breaking news event.
Important limitations:
top_n_articles x page_size must not exceed 1,000 (total articles limit).1 <= x <= 1005
If true, includes English translation fields in the response (title_translated_en, content_translated_en, and NLP translation fields).
true
If true, includes an NLP object for each article in the response. This object provides results of NLP analysis, including article theme, summary, sentiment, tags, and named entity recognition if available.
To learn more, see NLP features.
true
If true, filters results to include only articles that have NLP data.
To learn more, see NLP features.
true
Filters articles based on their general topic, as determined by NLP analysis. To select multiple themes, use a comma-separated string or an array of strings.
Examples:
"Finance, Tech"["Finance", "Tech"]Note: The theme parameter is only available if NLP is included in your subscription plan.
To learn more, see NLP features.
Available options: Business, Economics, Entertainment, Finance, Health, Politics, Science, Sports, Tech, Crime, Financial Crime, Lifestyle, Automotive, Travel, Weather, General.
["Business", "Finance"]Inverse of the theme parameter. Excludes articles based on their general topic, as determined by NLP analysis. To exclude multiple themes, use a comma-separated string or an array of strings.
Examples:
"Crime, Tech"["Crime", "Tech"]Note: The not_theme parameter is only available if NLP is included in your subscription plan.
To learn more, see NLP features.
["Crime"]Filters articles that mention specific organization names, as identified by NLP analysis.
AND, OR, NOT operators, and \" escape literals for exact matches.search_in parameter (e.g., title_content_translated).To learn more, see Search by entity.
"\"Apple Inc\" OR Microsoft"
Filters articles that mention specific person names, as identified by NLP analysis.
AND, OR, NOT operators, and \" escape literals for exact matches.search_in parameter (e.g., title_content_translated).To learn more, see Search by entity.
"\"Elon Musk\" OR \"Jeff Bezos\""
Filters articles that mention specific location names, as identified by NLP analysis.
AND, OR, NOT operators, and \" escape literals for exact matches.search_in parameter (e.g., title_content_translated).To learn more, see Search by entity.
"\"San Francisco\" OR \"New York City\""
Filters articles that mention other named entities not falling under person, organization, or location categories. Includes events, nationalities, products, works of art, and more.
AND, OR, NOT operators, and \" escape literals for exact matches.search_in parameter (e.g., title_content_translated).To learn more, see Search by entity.
"AWS OR \"Microsoft Azure\""
Filters articles based on the minimum sentiment score of their titles.
Range is -1.0 to 1.0, where:
Note: The title_sentiment_min parameter is only available if NLP is included in your subscription plan.
To learn more, see NLP features.
-1 <= x <= 1-0.5
Filters articles based on the maximum sentiment score of their titles.
Range is -1.0 to 1.0, where:
Note: The title_sentiment_max parameter is only available if NLP is included in your subscription plan.
To learn more, see NLP features.
-1 <= x <= 10.5
Filters articles based on the minimum sentiment score of their content.
Range is -1.0 to 1.0, where:
Note: The content_sentiment_min parameter is only available if NLP is included in your subscription plan.
To learn more, see NLP features.
-1 <= x <= 1-0.5
Filters articles based on the maximum sentiment score of their content.
Range is -1.0 to 1.0, where:
Note: The content_sentiment_max parameter is only available if NLP is included in your subscription plan.
To learn more, see NLP features.
-1 <= x <= 10.5
If true, returns only articles/sources that comply with the publisher's robots.txt rules. If false, returns only articles/sources that do not comply with robots.txt rules. If omitted, returns all articles/sources regardless of compliance status.
true
A successful response containing breaking news articles with additional breaking news event information.
The response model for the breaking news requests. Response field behavior:
null or undefined if the data point is not presented or couldn't be extracted during processing.articles response array, use array index notation. For example, articles[n].title, where n is the zero-based index of the article object (0, 1, 2, etc.).nlp property within the article object articles[n].nlp is only available with NLP-enabled subscription plans.The status of the response.
The total number of articles matching the search criteria.
The current page number of the results.
The total number of pages available for the given search criteria.
The number of articles per page.
A list of breaking news events, each containing relevant articles.
The user input parameters for the request.