SerpApi Official icon

SerpApi Official

Get live Google Search data and more from SerpApi's official node

Search → Google News

AI-generated

Overview

This node performs a Google News search using the SerpApi service. It allows users to query Google News with various parameters such as search query, country, language, topic token, publication token, story token, sorting method, and other advanced options. This node is useful for retrieving live news data from Google News for monitoring news trends, gathering news articles on specific topics, or analyzing news coverage from different regions and publishers.

Use Case Examples

  1. A user wants to get the latest news articles about 'climate change' in the United States in English.
  2. A user wants to fetch news from a specific publisher like CNN using the publication token.
  3. A user wants to retrieve news sorted by date rather than relevance.

Properties

Name Meaning
Search Query (q) Defines the query to search in Google News. Cannot be used with publication_token, story_token, or topic_token.
Country (gl) Defines the country to use for the Google News search, affecting localized results.

Output

JSON

  • results - The main JSON response containing the search results from Google News.

Dependencies

  • SerpApi API key credential

Troubleshooting

  • Ensure the API key credential for SerpApi is correctly configured and valid.
  • If the search query parameter 'q' is used, do not use publication_token, story_token, or topic_token simultaneously as they are mutually exclusive.
  • Check network connectivity and proxy settings if requests fail or time out.
  • If using async mode, be aware that results need to be retrieved later via the Search Archive API, which is not handled automatically by this node.

Links

Discussion