# Google News Scraper: Search, Topics, Real URLs, Full Text (`zhtech/google-news-scraper`) Actor

Google News scraper using the public RSS feeds: keyword search, topics, local news, top stories, 50+ editions. Date filters, day by day collection past the 100 result cap, real publisher URLs and article text, author and date.

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

## Pricing

from $0.90 / 1,000 news results

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?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Google News Scraper: Search, Topics, Real URLs, Full Text

Scrape Google News by keyword, topic section, local area, top stories or any news.google.com URL. Get clean,
structured news data: headline, source name and website, publication date (ISO, UTC), Google News link, related
coverage, and optionally the **real publisher article URL** and the **full article text with author, dates,
description, image and keywords**. Works in 57 Google News editions (country and language), supports date filters
and collects **past Google's 100 result limit** by walking day by day.

The Actor reads Google News' public RSS feeds. It does not log in, does not call any internal Google API, and does
not try to get around rate limits, bot checks or paywalls.

### What you can do with it

- **News monitoring and alerts**: track a brand, product, person, competitor or ticker every hour or every day.
- **Media and PR analysis**: count coverage per source, find who wrote about you and when.
- **Market and investment research**: build a dated news timeline for a company, sector or keyword.
- **AI and LLM pipelines**: feed fresh articles (with full text) into summarization, classification, RAG or agents.
- **SEO and content research**: see which publishers rank in Google News for your topics.
- **Academic and data journalism**: collect historic coverage for a date range, beyond 100 articles.

### Features

- **Many inputs in one run**: any number of search queries, the 8 Google News topic sections (World, Nation,
  Business, Technology, Entertainment, Sports, Science, Health), local news for any place, the top stories page, and
  any Google News page URL (topic, subtopic, full coverage story, search). Web page URLs are converted to their RSS
  feed automatically.
- **Google News search operators**: `"exact phrase"`, `OR`, `-exclude`, `site:reuters.com`, `intitle:`, `when:`,
  `after:`, `before:`.
- **Date filters**: past hour, 6 hours, 12 hours, 24 hours, 2 days, 7 days, 30 days, 90 days, past year, or an exact
  date range. Articles Google returns outside your window are dropped (and never charged).
- **More than 100 results per query**: one RSS request returns at most 100 articles. When you ask for more, the
  Actor collects day by day inside your window until it has enough, with a hard stop so it never runs for hours.
- **Real publisher URL** (optional): resolves the Google News link to the article on the publisher's website.
- **Full article details** (optional): headline, description, authors, published and modified dates, main image,
  section, keywords, language, canonical URL and the cleaned main text, from schema.org ld+json, meta tags and a
  readability style text extractor.
- **Clean, flat output**: one row per article, consistent field names, ISO timestamps, ready for Excel, Google
  Sheets, databases and AI tools. Related coverage from top story clusters is kept in `relatedArticles`.
- **Deduplication** across queries and feeds (duplicates are not charged).
- **Honest per item statuses** instead of crashes: `resolveStatus` and `articleStatus` tell you exactly what
  happened for every article.
- **Fast and cheap by default**: the default run makes a single request and finishes in about a second. A browser
  is only started when you turn on URL resolution.

### How to use it

1. Enter one or more **Search queries** (or pick **Topic sections**, **Local news** places, **Top stories** or paste
   **Google News URLs**).
2. Pick the **Edition** (for example United States, English or Germany, German) and a **Time range** or exact dates.
3. Set **Max articles per query or feed**.
4. Optional: turn on **Resolve original article URL** and/or **Fetch article text and metadata**.
5. Click **Start**. Download the results as JSON, CSV, Excel, XML or HTML, or read them through the API.

### Input example

```json
{
  "queries": ["artificial intelligence", "\"interest rates\" site:reuters.com"],
  "topics": ["BUSINESS"],
  "edition": "US:en",
  "timeRange": "7d",
  "maxItemsPerQuery": 250,
  "resolveOriginalUrl": true,
  "fetchArticleDetails": false
}
```

Exact dates instead of a time range:

```json
{
  "queries": ["Bundesliga"],
  "edition": "DE:de",
  "publishedAfter": "2026-11-01",
  "publishedBefore": "2026-11-15",
  "maxItemsPerQuery": 1000
}
```

#### Main input fields

| Field | What it does |
|---|---|
| `queries` | Search queries, one per line. Search operators are supported. |
| `topics` | Topic sections: WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SPORTS, SCIENCE, HEALTH. |
| `locations` | Places for local headlines, for example `Austin` or `Manchester`. |
| `includeTopStories` | Also scrape the front page (top stories) of the edition. |
| `feedUrls` | Any news.google.com page or RSS URL. |
| `edition` | Country and language, for example `US:en`, `GB:en`, `IN:en`, `DE:de`, `FR:fr`, `BR:pt-419`, `JP:ja`. |
| `timeRange` | `any`, `1h`, `6h`, `12h`, `1d`, `2d`, `7d`, `30d`, `90d`, `1y`. |
| `publishedAfter`, `publishedBefore` | Exact date window (YYYY-MM-DD, UTC, inclusive). Overrides `timeRange`. |
| `maxItemsPerQuery` | Max articles per query, topic, place or URL (up to 5,000). |
| `maxDaysBack` | How far back an Any time search may walk to get more than 100 articles (default 30 days). |
| `sortBy` | `newest` (default) or `relevance` (Google's order). |
| `resolveOriginalUrl` | Resolve Google News links to publisher URLs. |
| `fetchArticleDetails` | Fetch each publisher page and extract metadata and text (turns on URL resolution). |
| `maxArticleTextChars` | Cut long article text (default 30,000 characters, 0 = no limit). |
| `respectRobotsTxt` | Skip publisher pages that robots.txt disallows (default on). |

### Output example

One dataset row per article (`recordType: "article"`). A real row with both add ons turned on and
`maxArticleTextChars` set to 3000 (long values shortened here):

```json
{
  "recordType": "article",
  "position": 1,
  "query": "nasa artemis",
  "feedType": "search",
  "title": "'Maybe the scariest thing I've heard in my life': Artemis II astronaut Victor Glover reveals his toughest challenge before flying to the moon",
  "sourceName": "Space",
  "sourceUrl": "https://www.space.com",
  "sourceDomain": "space.com",
  "publishedAt": "2026-11-16T18:00:00Z",
  "snippet": "For Artemis II astronaut Victor Glover, one of the hardest parts of traveling to the moon happened before he even left Earth.",
  "googleNewsUrl": "https://news.google.com/rss/articles/CBMi...?oc=5",
  "originalUrl": "https://www.space.com/space-exploration/artemis/maybe-the-scariest-thing-ive-heard-in-my-life-...",
  "originalDomain": "space.com",
  "resolveStatus": "resolved",
  "resolveError": null,
  "imageUrl": null,
  "relatedArticles": [],
  "articleStatus": "ok",
  "articleError": null,
  "articleTitle": "'Maybe the scariest thing I've heard in my life': Artemis II astronaut Victor Glover reveals ...",
  "articleDescription": "For Artemis II astronaut Victor Glover, one of the hardest parts of traveling to the moon ...",
  "articleAuthors": ["Daisy Dobrijevic"],
  "articleAuthor": "Daisy Dobrijevic",
  "articlePublishedAt": "2026-11-16T18:00:00+00:00",
  "articleModifiedAt": "2026-11-16T18:00:00+00:00",
  "articleImage": "https://cdn.mos.cms.futurecdn.net/....jpg",
  "articleSiteName": "Space",
  "articleSection": "Artemis",
  "articleKeywords": [],
  "articleLanguage": "en",
  "articleCanonicalUrl": "https://www.space.com/space-exploration/artemis/...",
  "articleText": "TENERIFE, Canary Islands: Former NASA astronaut Victor Glover has flown in combat, ...",
  "articleTextTruncated": true,
  "articleWordCount": 509,
  "articleIsAccessibleForFree": null,
  "articleMetadataSource": "ld+json",
  "articleFinalUrl": "https://www.space.com/space-exploration/artemis/...",
  "edition": "US:en",
  "language": "en-US",
  "country": "US",
  "feedUrl": "https://news.google.com/rss/search?q=nasa%20artemis%20when%3A7d&hl=en-US&gl=US&ceid=US%3Aen",
  "googleNewsId": "CBMi...",
  "scrapedAt": "2026-11-17T03:29:16Z"
}
```

Without the add ons, the `article*` fields are absent, `originalUrl` is `null` and `resolveStatus` is
`not_requested`. Feeds that fail (for example when Google rate limits the IP) produce one `recordType: "error"` row
with `errorType` and `message`, so you always know what was missed. A run summary is saved as `OUTPUT` in the
key-value store.

#### Status values

| Field | Values |
|---|---|
| `resolveStatus` | `resolved`, `rate_limited` (Google limited link opening, see Limitations), `failed`, `consent_required` (EU cookie page), `skipped` (max charge reached), `not_requested` |
| `articleStatus` | `ok`, `blocked` (publisher refused automated access or showed a bot check), `robots_disallowed`, `http_error`, `not_html`, `timeout`, `no_content`, `not_resolved`, `parse_error`, `skipped`, `failed` |

### Pricing

Pay per event. You only pay for what you get:

- a tiny fee per run start,
- one **news article** event per article row delivered,
- one **URL resolved** event per article whose publisher URL was actually resolved (only when you turn it on),
- one **article details** event per publisher page that was actually fetched and extracted (only when you turn it on).

Not charged: duplicates, articles outside your date window, articles beyond your max, failed or rate limited
resolutions, blocked or robots.txt disallowed pages, error rows. The current prices for your plan are on the
Pricing tab. If you set a maximum cost per run, the Actor stops cleanly when it is reached.

### FAQ

**How many articles can I get per query?**
Google News RSS returns up to 100 articles per request. For search queries the Actor collects day by day inside
your time range (or the last `maxDaysBack` days for Any time) until it reaches `maxItemsPerQuery`. Busy topics give
hundreds of articles per day. Topic, local and top stories feeds are not searchable by date and return the current
headlines (usually 30 to 100).

**Why is `snippet` often empty?**
Google News RSS only provides the headline and the source, not a text snippet. With **Fetch article text and
metadata** on, `snippet` is filled with the publisher's own description.

**Does it get the full text of paywalled articles?**
No. It only reads what the publisher page publicly serves. For paywalled sites you typically get the metadata and
the free part of the text; `articleIsAccessibleForFree` is filled when the publisher declares it.

**Can I monitor news over time?**
Yes. Schedule the Actor (for example hourly with `timeRange` `1h` or daily with `1d`) and connect the dataset to
Google Sheets, Slack, email, Make, Zapier or n8n through Apify integrations.

**Do I need a proxy?**
No. Google News RSS works without a proxy and the default input does not use one. A proxy can help if you resolve
many links or fetch many publisher pages in one run.
URL resolution never runs through residential proxy: if you pick Apify Proxy RESIDENTIAL, Google News links are
resolved through Apify datacenter proxy instead (the log says so), while feeds and publisher pages keep your proxy
settings.

**Which languages and countries are supported?**
57 Google News editions, from United States English to Japan Japanese. You can also override `language` (hl) and
`country` (gl) for advanced cases.

### Limitations

- **Publisher URL resolution is rate limited by Google.** New Google News links are opaque and can only be turned
  into publisher URLs by opening them the way a reader does. This Actor does exactly that in a headless browser,
  one link at a time with a pause between links, and does not use any internal Google API. Google limits how fast
  one IP can open news links: expect roughly 300 to 600 resolved links per hour per IP. When Google rate limits, the
  Actor waits, slows down and retries; after several limits in a row it stops resolving for the rest of the run and
  marks the remaining items `rate_limited` (not charged). Older links that embed the URL are decoded instantly.
- On EU IPs Google can show a cookie consent page instead of forwarding; such items get `consent_required`.
- Publisher pages that block automated access, show a bot check, or are disallowed by robots.txt are reported, not
  bypassed. Some sites render articles with JavaScript only; for those the text can be short or missing.
- Google's `after:` / `before:` operators work on whole days and are a little fuzzy around midnight. The Actor
  filters strictly in UTC, so the rows you get are always inside your window.
- Google News RSS feeds are provided by Google for personal feed readers. You are responsible for how you use the
  data and for complying with Google's and publishers' terms in your jurisdiction.

### API, integrations and AI agents

Run it from your code with the Apify API or client libraries:

```bash
curl -X POST "https://api.apify.com/v2/acts/zhtech~google-news-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"queries": ["openai"], "timeRange": "1d", "maxItemsPerQuery": 50}'
```

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("zhtech/google-news-scraper").call(run_input={"queries": ["openai"], "timeRange": "1d"})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["publishedAt"], item["sourceName"], item["title"])
```

**LLM and MCP use**: the Actor works as a tool in the Apify MCP server, so AI assistants and agents can call it to
fetch current news. Keep `maxItemsPerQuery` small (10 to 30) for chat use and turn on `fetchArticleDetails` when the
agent needs to read the articles.

### Support

Found a problem or need a feature? Open an issue on the Issues tab with your input and run link. Feedback is read
and answered.

# Actor input Schema

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

Keywords to search on Google News, one per line. Google News operators work: "exact phrase", OR, -exclude, site:reuters.com, intitle:, plus when:7d, after:2026-01-01 and before:2026-02-01 (when you type a date operator yourself, the date settings below are not added to that query).

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

Google News topic sections (headlines for the selected edition). Topic feeds return the current headlines, usually 30 to 100 articles, and cannot be searched by date (the date filter still removes older items).

## `locations` (type: `array`):

City, region or country names for Google News local headlines, for example Austin, Manchester, Bavaria.

## `includeTopStories` (type: `boolean`):

Also scrape the Google News front page (top stories) of the selected edition. Top stories come in clusters; related coverage is returned in relatedArticles.

## `feedUrls` (type: `array`):

Any news.google.com page or RSS URL: a topic or subtopic page (news.google.com/topics/CAAq...), a search page, a full coverage story, a publisher section. Web page URLs are converted to their public RSS feed automatically.

## `edition` (type: `string`):

Which Google News edition to use. It sets the language and country of results, exactly like the edition picker on news.google.com.

## `timeRange` (type: `string`):

Only articles published within this period (Google's when: operator). Ignored when Published after or Published before is set.

## `publishedAfter` (type: `string`):

Only articles published on or after this date (YYYY-MM-DD, UTC). Uses Google's after: operator.

## `publishedBefore` (type: `string`):

Only articles published on or before this date (YYYY-MM-DD, UTC, inclusive). Uses Google's before: operator.

## `strictDateFilter` (type: `boolean`):

Google sometimes returns articles slightly outside the requested window. When on, those are dropped (and never charged).

## `maxItemsPerQuery` (type: `integer`):

Upper limit of articles for each search query, topic, place or URL. One Google News RSS request returns at most 100 articles; for search queries above 100 the Actor collects day by day (one request per day) inside your date window.

## `maxDaysBack` (type: `integer`):

When a search with Time range Any time hits the 100 cap and you asked for more, the Actor walks back this many days at most. It also stops after 7 days in a row without new articles.

## `sortBy` (type: `string`):

Order of articles within each query or feed.

## `deduplicate` (type: `boolean`):

Skip an article already returned for an earlier query or feed in the same run (duplicates are not charged).

## `resolveOriginalUrl` (type: `boolean`):

Turn Google News links (news.google.com/rss/articles/...) into the publisher's own URL. Older links are decoded instantly; newer ones are opened in a headless browser like a reader clicking the link (about 2 to 4 seconds each). Google limits how fast one IP can open news links, so large batches can be rate limited: affected items keep resolveStatus rate_limited and are not charged for resolution.

## `fetchArticleDetails` (type: `boolean`):

Open each publisher page (public pages only) and extract headline, description, authors, publish and modified dates, image, section, keywords, language, canonical URL and the main article text (schema.org ld+json, meta tags and a readability style extractor). Turns on URL resolution. Paywalled, blocked or robots.txt disallowed pages get an articleStatus explaining why, they are not worked around.

## `maxArticleTextChars` (type: `integer`):

Cut articleText after this many characters (0 = no limit). articleTextTruncated tells you when it was cut.

## `respectRobotsTxt` (type: `boolean`):

Skip publisher pages that robots.txt disallows for generic crawlers (articleStatus robots_disallowed).

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

How many articles are processed in parallel. Requests to the same publisher are always spaced out.

## `requestDelaySecs` (type: `number`):

Minimum pause between two RSS requests to Google News.

## `resolveDelaySecs` (type: `number`):

Minimum pause between two Google News links opened in the browser. Raise it if you see rate_limited resolve statuses.

## `publisherDelaySecs` (type: `number`):

Minimum pause between two page requests to the same website.

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

Optional. Google News RSS works without a proxy (default). A proxy can help when you resolve many links or fetch many publisher pages. URL resolution never uses RESIDENTIAL: if you pick it, links are resolved through Apify datacenter proxy instead.

## Actor input object example

```json
{
  "queries": [
    "artificial intelligence"
  ],
  "includeTopStories": false,
  "edition": "US:en",
  "timeRange": "1d",
  "strictDateFilter": true,
  "maxItemsPerQuery": 20,
  "maxDaysBack": 30,
  "sortBy": "newest",
  "deduplicate": true,
  "resolveOriginalUrl": false,
  "fetchArticleDetails": false,
  "maxArticleTextChars": 30000,
  "respectRobotsTxt": true,
  "maxConcurrency": 4,
  "requestDelaySecs": 1,
  "resolveDelaySecs": 3,
  "publisherDelaySecs": 2,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

# 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"
    ],
    "timeRange": "1d",
    "maxItemsPerQuery": 20,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("zhtech/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"],
    "timeRange": "1d",
    "maxItemsPerQuery": 20,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("zhtech/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"
  ],
  "timeRange": "1d",
  "maxItemsPerQuery": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call zhtech/google-news-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zhtech/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/nqzSo4GThBDIYixiH/builds/jjLlrQdEgjytGI4xW/openapi.json
