ScraperAPI icon

ScraperAPI

Official ScraperAPI nodes for n8n

Structured Data Endpoint → News

AI-generated

Summary

Fetch news results from Google News using a structured data extraction query.

Inputs

  • Platform (required) — Select 'Google' as platform since this operation targets Google News.
  • Query (required) — Enter the search query string for the news articles.
  • Optional Parameters — Configure additional options including Google top-level domain (TLD), country code for geo-targeting, desired output format (JSON or CSV), and a time period filter for the news results, such as past day or past week.

Output shape

a single HTTP response object containing status and body with the news search results in the chosen format.

The operation returns the full HTTP response, with parsed news results provided in the response body as JSON or CSV depending on the selected output format. Optional parameters influence filtering by time and geography. Requires selecting 'googleNews' operation and 'google' platform.

Examples

Example 1: Retrieve recent Google news articles for a search query filtered to the past day and default TLD

Set resource to 'Structured Data Endpoint', platform to 'Google', operation to 'News', enter your query, and optionally adjust time period and output format to JSON.

Links

Discussion