Search through millions of articles from over 80,000 large and small news sources and blogs.
This endpoint suits article discovery and analysis.
Your API key. Alternatively you can provide this via the
Keywords or phrases to search for in the article title and body.
Advanced search is supported here:
- Surround phrases with quotes (") for exact match.
- Prepend words or phrases that must appear with a + symbol. Eg: +bitcoin
- Prepend words that must not appear with a - symbol. Eg: -bitcoin
- Alternatively you can use the AND / OR / NOT keywords, and optionally group these with parenthesis. Eg: crypto AND (ethereum OR litecoin) NOT bitcoin.
The complete value for
qmust be URL-encoded. Max length: 500 chars.
The fields to restrict your
The possible options are:
Multiple options can be specified by separating them with a comma, for example:
This parameter is useful if you have an edge case where searching all the fields is not giving the desired outcome, but generally you should not need to set this.
Default: all fields are searched.
A comma-seperated string of identifiers (maximum 20) for the news sources or blogs you want headlines from. Use the /sources endpoint to locate these programmatically or look at the sources index.
A comma-seperated string of domains (eg bbc.co.uk, techcrunch.com, engadget.com) to restrict the search to.
A comma-seperated string of domains (eg bbc.co.uk, techcrunch.com, engadget.com) to remove from the results.
A date and optional time for the oldest article allowed. This should be in ISO 8601 format (e.g.
Default: the oldest according to your plan.
A date and optional time for the newest article allowed. This should be in ISO 8601 format (e.g.
Default: the newest according to your plan.
The 2-letter ISO-639-1 code of the language you want to get headlines for. Possible options:
Default: all languages returned.
The order to sort the articles in. Possible options:
relevancy= articles more closely related to
popularity= articles from popular sources and publishers come first.
publishedAt= newest articles come first.
The number of results to return per page.
Use this to page through the results.
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. Only a limited number are shown at a time though, so use the
pageparameter in your requests to page through them.
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.