This endpoint provides live top and breaking headlines for a country, specific category in a country, single source, or multiple sources. You can also search with keywords. Articles are sorted by the earliest date published first.
This endpoint is great for retrieving headlines for display on news tickers or similar.
The 2-letter ISO 3166-1 code of the country you want to get headlines for. Possible options: aearataubebgbrcachcncocuczdeegfrgbgrhkhuidieilinitjpkrltlvmamxmyngnlnonzphplptrorsrusasesgsiskthtrtwuausveza . Note: you can't mix this param with the sources param.
The category you want to get headlines for. Possible options: businessentertainmentgeneralhealthsciencesportstechnology . Note: you can't mix this param with the sources param.
A comma-seperated string of identifiers for the news sources or blogs you want headlines from. Use the /sources endpoint to locate these programmatically or look at the sources index. Note: you can't mix this param with the country or category params.
Keywords or a phrase to search for.
The number of results to return per page (request). 20 is the default, 100 is the maximum.
Use this to page through the results if the total results found is greater than the page size.
Your API key. Alternatively you can provide this via the X-Api-Key HTTP header.
If the request was successful or not. Options: ok, error. In the case of error a code and message property will be populated.
The total number of results available for your request.
The results of the request.
The identifier id and a display name name for the source this article came from.
The author of the article
The headline or title of the article.
A description or snippet from the article.
The direct URL to the article.
The URL to a relevant image for the article.
The date and time that the article was published, in UTC (+000)
The unformatted content of the article, where available. This is truncated to 260 chars for Developer plan users.