News API Advanced Search

This component allows you to query the News API (newsapi.org) in order to return news articles for specific search terms and parameters.

The component can be used for finding articles related to a specific topic, company, or combination of search terms. The results can be used for text analysis models, business applications, and web scraping projects.

Please notice that a valid API Key for the News API is required.

Also notice that this component works best together with the other News API components available on the KNIME Hub in the Verified Components repository for Text Processing (hub.knime.com/knime/spaces/Examples/latest/00_Components/Text%20Processing).

See newsapi.org/docs for additional documentation for the News API.

Options

Page Size
The number of results to return per page. 20 is the default, 100 is the maximum.
Page
Use this to page through the results.
Language
The 2-letter ISO-639-1 code of the language you want to get headlines for. See https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes for reference.
Sort by
The order to sort the articles in.
News API Key
API Key for the News API.
Query
Surround phrases with quotes (") for exact match. Prepend words or phrases that must appear with a + symbol (e.g. +bitcoin). Prepend words that must not appear with a - symbol (e.g. -bitcoin). Boolean AND/OR/NOT also works with parentheses.

Input Ports

This node has no input ports

Output Ports

Icon
Search results from the News API.

Nodes

Extensions

Links