# Google News Scraper — Headlines by Keyword & Topic (`hipersoft/google-news-scraper`) Actor

Scrape Google News for any search keyword or topic section (Business, Technology, Sports…). Returns headline, source, publish time, article link and snippet for any language and country. No setup.

- **URL**: https://apify.com/hipersoft/google-news-scraper.md
- **Developed by:** [hiper soft](https://apify.com/hipersoft) (community)
- **Categories:** News, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.002125 / article scraped

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Google News Scraper — Headlines by Keyword & Topic

Monitor the news at scale. Give the Actor any set of **search keywords** or **topic
sections** and it returns fresh Google News articles — **headline, source, publish
time, link and snippet** — for any language and country edition. Powered by Google
News's public RSS feeds, so **no login and no API key**.

Great for **media monitoring, brand/competitor tracking, PR, research datasets, and
news alerting**. Export to JSON, CSV or Excel.

![Google News Scraper input — search queries, topic sections and language/country edition in the Apify Console](https://api.apify.com/v2/key-value-stores/SUfvnaFLd9z9eBCtV/records/google-news-scraper-input.png?v=2)

### Features

- 📰 **Keyword & topic feeds** — pull articles by search term or by section (Technology, Business, Sports…).
- 🌍 **Any edition** — set the `language`/`country` pair to target any Google News edition.
- 🧹 **Clean headlines** — Google's trailing " - Source" is stripped and the publisher is captured separately.
- 🔁 **De-duplicated** — overlapping queries and topics are merged within a run.
- 🎚️ **Volume control** — `maxItemsPerFeed` and `maxConcurrency` tune throughput and size.

### What you get per article

![Google News Scraper output example — news headlines with source, publish time and link as structured JSON](https://api.apify.com/v2/key-value-stores/SUfvnaFLd9z9eBCtV/records/google-news-scraper-output.png?v=5)

| Field | Notes |
|---|---|
| `title` | Clean headline (Google's trailing " - Source" is stripped out). |
| `source` | Publisher name (e.g. Reuters, BBC). |
| `publishedAt` | Publish time (RFC-822). |
| `link` | Google News article link. |
| `snippet` | Short text snippet when the feed provides one. |
| `query` / `topic` | Which search term or section the article came from. |
| `language` / `country` | The edition used (`hl` / `gl`). |

Results are **de-duplicated** across overlapping queries/topics within a run.

### Input

```json
{
  "queries": ["artificial intelligence", "electric vehicles"],
  "topics": ["TECHNOLOGY", "BUSINESS"],
  "language": "en-US",
  "country": "US",
  "maxItemsPerFeed": 0
}
```

- **queries** — search terms, one per line.
- **topics** — sections: `WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SPORTS, SCIENCE, HEALTH`.
- **language** (`hl`) / **country** (`gl`) — the Google News edition, e.g. `en-GB`/`GB`, `de`/`DE`.
- **maxItemsPerFeed** — cap per feed (0 = all, ~100).
- **maxConcurrency** — feeds fetched in parallel.
- **proxyConfiguration** — optional; only if you hit rate limits.

### Output (one row per article)

```json
{
  "query": "artificial intelligence",
  "title": "The Case for Nationalizing Artificial Intelligence",
  "source": "Jacobin",
  "link": "https://news.google.com/rss/articles/CBMi...",
  "publishedAt": "Thu, 09 Jul 2026 14:47:17 GMT",
  "snippet": "…",
  "language": "en-US",
  "country": "US"
}
```

#### Output schema

| Field | Type | Description |
| --- | --- | --- |
| `query` | string | Search term the article was found under (empty for topic feeds). |
| `topic` | string | Topic section the article came from (empty for keyword queries). |
| `title` | string | Clean headline with the trailing " - Source" removed. |
| `source` | string | Publisher name (e.g. Reuters, BBC). |
| `link` | string (URL) | Google News article link; opens the publisher's page. |
| `publishedAt` | string | Publish time in RFC-822 format. |
| `guid` | string | Unique identifier for the article within the feed. |
| `snippet` | string | Short text snippet when the feed provides one. |
| `language` | string | Language edition used (`hl`), e.g. `en-US`. |
| `country` | string | Country edition used (`gl`), e.g. `US`. |

### Use cases

- **Media monitoring** — track a brand, product or executive across every publisher.
- **Competitor tracking** — watch rivals' announcements and coverage in near real time.
- **PR reporting** — measure share of voice and pickup for a campaign.
- **Research datasets** — build a labelled corpus of headlines by topic and edition.
- **News alerting** — trigger downstream workflows whenever new matching articles appear.

### FAQ

**Do I need an account or API key?**
No. The Actor pulls from [Google News](https://news.google.com)'s public RSS feeds, so it needs no login, API key, or Google account.

**How many articles can I get per run?**
Each individual Google News feed returns up to ~100 of the most relevant recent items. Combine several queries, topics, and country editions to widen coverage; `maxItemsPerFeed` caps how many are kept per feed (0 = all).

**Is scraping Google News legal?**
The Actor collects only publicly available headline metadata (title, source, publish time, link, snippet). Use it responsibly and in line with Google's terms; the `link` opens the original publisher's page.

**What's the output format?**
A JSON dataset with one row per article, de-duplicated across overlapping queries and topics within a run. Export as JSON, CSV, or Excel from the Apify Console or API.

**Can I filter or limit results?**
Yes. Scope results with `queries`, `topics` (sections like TECHNOLOGY or BUSINESS), `language`/`country` editions, and `maxItemsPerFeed`.

**Can I connect this Actor to other apps?**
The Google News Scraper can be connected with almost any cloud service or web app thanks to [integrations on the Apify platform](https://apify.com/integrations). It works with [Make](https://apify.com/integrations/make), [Zapier](https://apify.com/integrations/zapier), [Slack](https://docs.apify.com/platform/integrations/slack), [Airbyte](https://docs.apify.com/platform/integrations/airbyte), [GitHub](https://docs.apify.com/platform/integrations/github), [Google Drive](https://docs.apify.com/platform/integrations/drive) and [many more](https://apify.com/integrations), plus the [Apify API](https://docs.apify.com/api/v2), JavaScript/Python clients and MCP. Or use [webhooks](https://docs.apify.com/platform/integrations/webhooks) to trigger an action whenever a run finishes.

### Related Actors

Round out your media-monitoring stack with:

- [Reddit Scraper](https://apify.com/hipersoft/reddit-scraper) — posts, comments, users, and subreddits without login.
- [Telegram Channel Scraper](https://apify.com/hipersoft/telegram-scraper) — public posts from Telegram channels, no login.
- [Hacker News Scraper](https://apify.com/hipersoft/hacker-news-scraper) — stories, comments, and users from Hacker News.
- [Website Content Crawler](https://apify.com/hipersoft/website-content-crawler) — crawl article pages into clean text for analysis or RAG.

### Notes

Each Google News feed returns up to ~100 of the most relevant recent items. Use
several keywords/topics (and country editions) for broader coverage. `link` is the
Google News article link (opens the publisher's page). Only publicly available
headline data is collected.

# Actor input Schema

## `queries` (type: `array`):

Search terms to pull news for (e.g. "artificial intelligence", "Tesla stock"). One per line.

## `topics` (type: `array`):

Google News sections to pull. Allowed: WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SPORTS, SCIENCE, HEALTH.

## `language` (type: `string`):

Interface/content language, e.g. en-US, en-GB, es-419, de, fr, pt-BR.

## `country` (type: `string`):

Two-letter country/edition code, e.g. US, GB, DE, FR, IN, BR.

## `maxItemsPerFeed` (type: `integer`):

Cap articles per query/topic (0 = all the feed returns, up to ~100).

## `maxConcurrency` (type: `integer`):

How many feeds to fetch in parallel.

## `proxyConfiguration` (type: `object`):

Proxy configuration. Leave the default — it is tuned for reliable results.

## Actor input object example

```json
{
  "queries": [
    "artificial intelligence"
  ],
  "topics": [],
  "language": "en-US",
  "country": "US",
  "maxItemsPerFeed": 0,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

The scraped results as dataset items.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "queries": [
        "artificial intelligence"
    ],
    "topics": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("hipersoft/google-news-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "queries": ["artificial intelligence"],
    "topics": [],
}

# Run the Actor and wait for it to finish
run = client.actor("hipersoft/google-news-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "queries": [
    "artificial intelligence"
  ],
  "topics": []
}' |
apify call hipersoft/google-news-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hipersoft/google-news-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/whKawP18cJ1TMV3U1/builds/v2ltj66rOqHXeOO1J/openapi.json
