# Google News Scraper – Original URLs, Topics & Full Article Text (`budoucnost-ai/google-news-scraper`) Actor

Scrape Google News search results, topic and top-stories feeds in any language and country. Decodes the Google redirect to the original article URL, dedupes across queries, date/site filters, splits long date ranges past the 100-item cap, optional full article text (author, date, image).

- **URL**: https://apify.com/budoucnost-ai/google-news-scraper.md
- **Developed by:** [Budoucnost AI](https://apify.com/budoucnost-ai) (community)
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 article scrapeds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 – original article URLs, topics and full article text

Scrape **Google News** search results, topic feeds (World, Business, Technology …), Top stories and any publication or section page – in **any language and country edition**. Every article comes with the **decoded original publisher URL** (not the `news.google.com` redirect), source, publish date and, optionally, the **full article text** with author, image and site name.

No API key, no login, no browser: the actor reads Google News RSS feeds and decodes article links with Google's own lightweight endpoint.

### What you can do with it

- **Brand and competitor monitoring** – schedule a daily run for your brand names, pass yesterday's URLs in `excludeUrls`, get only new articles.
- **Media lists and PR reporting** – who wrote about you, when, in which outlet, with the article text for sentiment analysis.
- **Market and topic research** – Technology or Business headlines in 10 countries at once, deduplicated.
- **Datasets for LLMs / RAG** – clean article text, word count and metadata, ready for embedding.
- **Historical coverage** – split a date range by day to get far more than Google's ~100 results per query.

### Input

| Field | Type | Description |
|---|---|---|
| `queries` | array | Search terms; Google operators (`"exact"`, `OR`, `-word`, `intitle:`) work. |
| `topics` | array | `WORLD`, `NATION`, `BUSINESS`, `TECHNOLOGY`, `ENTERTAINMENT`, `SPORTS`, `SCIENCE`, `HEALTH`. |
| `includeTopStories` | boolean | Top stories of each locale (with `relatedArticles`). |
| `feedUrls` | array | Any `news.google.com` page URL – publication, section, topic, search. |
| `locales` | array | Editions like `en-US`, `en-GB`, `cs-CZ`, `de-DE`, `fr-FR`. Default `en-US`. |
| `publishedAfter` | string | Date (`2026-10-01`, inclusive) or relative window `1h`, `12h`, `7d`, `1m`, `1y`. |
| `publishedBefore` | string | Date (`2026-10-31`, exclusive). |
| `sites` | array | Only these domains (`site:` operator, OR-joined). |
| `splitByDay` | boolean | Run each query once per day of the date range → past the 100-item cap. |
| `maxItems` | integer | Total unique articles (default 100). |
| `maxItemsPerQuery` | integer | Per query/topic/feed and locale, 0 = no limit. |
| `resolveUrls` | boolean | Decode original URLs (default `true`). |
| `includeArticleText` | boolean | Add-on: full article text, author, date, image, site name. |
| `includeRegex` / `excludeRegex` | string | Case-insensitive regex on title + source; applied **before** charging. |
| `excludeUrls` | array | Already-seen URLs (original or Google) – skipped, not charged. |
| `cacheHours` | integer | Reuse results fetched within N hours (default 24, 0 = fresh). |
| `useSharedCache` | boolean | Share decoded URLs and article texts across users (default `true`). |
| `proxyConfiguration` | object | Apify datacenter proxy, US exit by default. |

#### Example input

```json
{
    "queries": ["elektrokola"],
    "locales": ["cs-CZ"],
    "publishedAfter": "7d",
    "maxItems": 50,
    "includeArticleText": true
}
```

### Output

One row per unique article:

```json
{
    "type": "article",
    "title": "Caddy a Multivan na e-SALONu: plug-in hybridy doplňují elektrokola s radarem",
    "link": "https://www.autohled.cz/magazin/caddy-a-multivan-na-e-salonu-plug-in-hybridy-doplnuji-elektrokola-s-radarem/19141",
    "googleUrl": "https://news.google.com/rss/articles/CBMiswFBVV95cUxOSWdLbEViLUVE...?oc=5",
    "articleId": "CBMiswFBVV95cUxOSWdLbEViLUVE...",
    "resolveMethod": "batchexecute",
    "source": { "name": "Autohled.cz", "url": "https://www.autohled.cz" },
    "domain": "autohled.cz",
    "publishedAt": "2026-11-12T12:16:22.000Z",
    "description": null,
    "query": "elektrokola",
    "topic": null,
    "locale": "cs-CZ",
    "language": "cs",
    "country": "CZ",
    "position": 1,
    "relatedArticles": [],
    "article": {
        "title": "Caddy a Multivan na e-SALONu: plug-in hybridy doplňují elektrokola s radarem",
        "text": "Modernizované Volkswageny Caddy a Multivan mají na e-SALONu v pražských Letňanech …",
        "author": "Jiří Zelinka",
        "publishedAt": "2026-11-12T12:10:24.000Z",
        "image": "https://www.autohledmagazin.cz/wp-content/uploads/2026/11/volkswagen-caddy-e-salon-2026-scaled.webp",
        "siteName": "Autohled.cz",
        "wordCount": 609,
        "readingTimeMinutes": 3
    },
    "scrapedAt": "2026-11-12T23:21:34.235Z"
}
```

`relatedArticles` (Top stories and topic feeds) lists other outlets covering the same story: `{ title, googleUrl, source }`. A feed that fails after retries produces one free row with `type: "error"` (and `blocked: true` when Google refused it).

### Server API (instant results, no run to start)

This actor is also a **Server Actor**: send one HTTP request and get the results straight back in the response – for apps, dashboards, workflow tools and AI agents (Apify MCP server). Up to 5 queries and 100 articles per request. Use a normal run for larger batches.

```bash
curl -H "Authorization: Bearer $APIFY_TOKEN" \
  "https://budoucnost-ai--google-news-scraper.apify.actor/?q=elektrokola&locale=cs-CZ&maxItems=20"
```

Query parameters are the input fields (see the **Server** tab); `POST /` accepts the actor input as JSON. The response is `{"rows": [...]}` with rows in the same shape as the dataset. Same events and prices as runs.

### Pricing (pay per event)

| Event | Price | When |
|---|---|---|
| `article-scraped` | $0.0005 | Each unique article saved (= $0.50 per 1,000). |
| `article-text` | $0.001 | Add-on, only when article text was actually extracted (≥ 30 words). |

Duplicates, regex/date/`excludeUrls` rejects, failed feeds and failed text extractions are **never charged**.

### Why this instead of `data_xplorer/google-news-scraper-fast`

| | This actor | data_xplorer/google-news-scraper-fast |
|---|---|---|
| Price per 1,000 articles | **$0.50** | $1.00 |
| Original publisher URL | ✅ decoded (`resolveMethod` tells how) | Google redirect link |
| Full article text + author + image | ✅ optional add-on | ❌ |
| More than ~100 results per query | ✅ `splitByDay` | ❌ |
| Several locales and topics in one run, deduped | ✅ | partly |
| Filters before charging (regex, dates, sites, excludeUrls) | ✅ | ❌ |
| Related coverage for top stories | ✅ `relatedArticles` | ❌ |
| Cache (own + shared) | ✅ | ❌ |

### Limitations

- Google caps every feed at about 100 items; use `splitByDay` with a date range for more.
- `after:`/`before:` are interpreted by Google with some timezone fuzz; the actor re-checks every `publishedAt`, so a few items near the edges may be dropped.
- URL decoding uses Google's public article page + decode call. From **EU IP addresses** Google shows a consent page instead; the actor then keeps the Google link (`resolveMethod: "unresolved"`, `resolveError` explains). The default proxy therefore exits in the US.
- Article text depends on the publisher: paywalls, bot protection (HTTP 403) or JavaScript-only sites return `article.error` (not charged).
- The RSS feeds are provided by Google for personal feed readers; make sure your use complies with Google's terms and with the publishers' copyright.

### Usage from the API

```bash
curl -X POST "https://api.apify.com/v2/acts/budoucnost-ai~google-news-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"queries":["electric bikes"],"locales":["en-US","en-GB"],"publishedAfter":"1d","maxItems":50}'
```

```js
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('budoucnost-ai/google-news-scraper').call({ topics: ['TECHNOLOGY'], locales: ['de-DE'], maxItems: 30 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

Works with Make, Zapier, n8n, Google Sheets and webhooks like any Apify actor.

# Actor input Schema

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

Keywords or phrases, one per line. Google News operators work too ("exact phrase", OR, -exclude, intitle:). Each query is run for every locale.

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

Google News topic feeds: WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SPORTS, SCIENCE, HEALTH.

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

Also scrape the Top stories feed of every locale. Top stories include relatedArticles (other outlets covering the same story).

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

Any news.google.com page URL – a publication (…/publications/CAAq…), a section, a topic or a search page. It is converted to its RSS feed. hl/gl/ceid in the URL are kept, otherwise the first locale is used.

## `locales` (type: `array`):

Google News editions, e.g. en-US, en-GB, cs-CZ, de-DE, fr-FR, es-ES, pl-PL, sk-SK. Each query/topic is scraped in every locale.

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

A date (2026-10-01, inclusive, UTC) or a relative window: 1h, 12h, 7d, 1m (month), 1y. Sent to Google as after:/when: and checked again on every item.

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

A date (2026-10-31, exclusive, UTC). Sent to Google as before: and checked again on every item.

## `sites` (type: `array`):

Limit search queries to these domains (site: operator, joined with OR), e.g. reuters.com, bbc.co.uk.

## `splitByDay` (type: `boolean`):

Google returns at most ~100 items per feed. With a publishedAfter date (and optional publishedBefore), every query is run once per day of the range, so a 30-day range can return up to ~3000 articles. Duplicates are removed.

## `maxItems` (type: `integer`):

Stop after this many unique articles across all queries, topics and locales.

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

Per query (or topic, or feed URL) and locale. 0 = no limit.

## `resolveUrls` (type: `boolean`):

Replace the news.google.com redirect link with the publisher's URL (link). resolveMethod says how: base64 (old ids, offline), batchexecute (Google's own decode call), redirect, or unresolved (link stays the Google URL). Turn off for speed if you only need titles.

## `includeArticleText` (type: `boolean`):

Download every article page and extract the main text, author, publish date, lead image and site name (Readability). Charged per article with extracted text (article-text event); failures (paywall, blocked publisher) are free and explained in article.error.

## `includeRegex` (type: `string`):

Case-insensitive regex on title + source name + source URL. Items that do not match are skipped before charging.

## `excludeRegex` (type: `string`):

Case-insensitive regex on title + source name + source URL, e.g. "sponsored|horoscope" or a source you do not want.

## `excludeUrls` (type: `array`):

Original or Google News URLs from previous runs – skipped and never charged. Handy for scheduled monitoring.

## `cacheHours` (type: `integer`):

Reuse feeds, decoded URLs and article texts fetched within this many hours (your own cache; decoded URLs and texts also from the shared cache). 0 = always fresh.

## `useSharedCache` (type: `boolean`):

Decoded URLs and article texts are identical for everybody, so they are shared across users of this actor (faster, fewer requests to Google). Feeds are never shared. Respects cacheHours.

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

Feeds processed in parallel (each feed decodes up to 5 URLs at a time).

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

Apify datacenter proxy by default. Google shows a consent wall instead of article pages to EU IPs, so keep a non-EU country (default US) when decoding URLs.

## Actor input object example

```json
{
  "queries": [
    "electric bikes"
  ],
  "topics": [],
  "includeTopStories": false,
  "feedUrls": [],
  "locales": [
    "en-US"
  ],
  "sites": [],
  "splitByDay": false,
  "maxItems": 100,
  "maxItemsPerQuery": 0,
  "resolveUrls": true,
  "includeArticleText": false,
  "excludeUrls": [],
  "cacheHours": 24,
  "useSharedCache": true,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `articles` (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": [
        "electric bikes"
    ],
    "topics": [],
    "feedUrls": [],
    "locales": [
        "en-US"
    ],
    "sites": [],
    "excludeUrls": [],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("budoucnost-ai/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": ["electric bikes"],
    "topics": [],
    "feedUrls": [],
    "locales": ["en-US"],
    "sites": [],
    "excludeUrls": [],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("budoucnost-ai/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": [
    "electric bikes"
  ],
  "topics": [],
  "feedUrls": [],
  "locales": [
    "en-US"
  ],
  "sites": [],
  "excludeUrls": [],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call budoucnost-ai/google-news-scraper --silent --output-dataset

```

## MCP server setup

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