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:
za,. Note: you can’t mix this param with the
The category you want to get headlines for. Possible options:
technology. Note: you can’t mix this param with the
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
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
If the request was successful or not. Options:
error. In the case of
messageproperty will be populated.
The total number of results available for your request.
The results of the request.
idand a display name
namefor 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 200 chars.