# Google News Scraper - Keywords, Topics & Real Article URLs (`swerve/google-news-scraper`) Actor

Scrape Google News by keyword, topic or any news.google.com page, in any country and language, and get one row per article with the publisher real URL (resolved), source, publish time and snippet. No login, no API key; pay per article.

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

## Pricing

$1.00 / 1,000 articles

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 - Keywords, Topics & Real Article URLs

Scrape **Google News** by keyword, standard topic or any news.google.com page, in any country and language, and get one row per article with the **publisher's real URL**, source, publish time and snippet. **No login, no API key.**

### Why this news scraper

- **Real links, not redirect tokens.** Google News hands out `news.google.com/articles/...` links that only work in a browser. This actor resolves each one to the article on the publisher's site, so the rows are usable in a database, an alert, or a crawler.
- **Any edition.** Set the language and country (`he` + `IL`, `de` + `DE`, `pt-BR` + `BR`) and the results come from that edition of Google News.
- **Keywords with operators.** `"exact phrase"`, `site:reuters.com`, `intitle:`, `-excluded`, `OR`, plus a "published within" filter from the last hour to the last year.
- **Topics and copied URLs.** Top stories, World, Business, Technology, Entertainment, Sports, Science and Health, or paste any topic, section, publication or search page URL from your browser.
- **Fast and cheap.** A keyword with 100 articles resolves in a few seconds over the datacenter proxy.

### Use cases

- Media monitoring: every article mentioning your brand, competitor or client, with the source and time
- News alerts and newsletters fed from resolved publisher links
- Market and policy research across countries and languages
- Building news datasets for AI pipelines (pair with a page-text extractor on the resolved URLs)

### Input

| Field | What it does | Example |
|-------|--------------|---------|
| **Search keywords** | One Google News search per keyword; operators work. | `"interest rates" site:bloomberg.com` |
| **Topics** | Standard Google News sections in the chosen edition. | `TECHNOLOGY`, `BUSINESS` |
| **Google News URLs** | Any news.google.com topic, section, publication or search page URL. | `https://news.google.com/topics/CAAq...` |
| **Language / Country** | The Google News edition. | `en` / `US`, `he` / `IL` |
| **Published within** | Last hour, 24 hours, 7 days, 30 days or year (keyword searches). | `7d` |
| **Max articles per keyword / topic** | Google serves up to about 100 per feed; blank = all of them. | `50` |
| **Resolve real article URLs** | On by default. Off returns only the Google News link, faster. | on |

### Output

One row per article:

```json
{
  "title": "Inside Anthropic’s Urgent Hunt for A.I. Computing Power",
  "url": "https://www.nytimes.com/2026/11/02/technology/anthropic-ai-computing-power.html",
  "urlResolved": true,
  "googleNewsUrl": "https://news.google.com/rss/articles/CBMihgFBVV95cUxQSzNBLTZEQWd3WGJtSVlvWW9BYnlFNW91WUowLUhCZFJ4NmREYU4tUG9hM1Jzb0RaOVNKczZPTUZQVHk3SHVSVlRFRGM4UnZtdHhMcnNWM1FLOWFUSzlGVXpiYUpPNElWcnpzWmliRUk4Z2JIaE0yeVFhc3NLcEZUdl9NdVN3Zw?oc=5",
  "source": "The New York Times",
  "sourceUrl": "https://www.nytimes.com",
  "publishedAt": "2026-11-02T15:08:36.000Z",
  "description": "Inside Anthropic’s Urgent Hunt for A.I. Computing Power The New York Times",
  "query": "artificial intelligence",
  "language": "en",
  "country": "US",
  "scrapedAt": "2026-11-02T19:40:12.000Z"
}
```

### How it works

Listings come from Google News' own feeds for the keyword, topic or page you give, in the edition you choose. For every article the actor opens its Google News article page for the short signature Google embeds there and asks Google's resolver for the publisher URL, the same exchange the Google News site performs when you click a headline. Nothing is guessed: when a link cannot be resolved, the row keeps the Google News link and `urlResolved` is false.

### Limits

- Google News serves at most about 100 articles per keyword search and 35-70 per topic feed. For more coverage, split a broad keyword into several narrower ones or add a time filter.
- `description` is the feed's snippet (for grouped stories, the related headlines), not the article body.
- The "published within" filter is applied by Google to keyword searches only.

### Export formats

Download results as JSON, CSV, Excel or XML, or pull them through the Apify API into your own app, spreadsheet, database or MCP client.

### Frequently asked questions

**Why are the links real URLs and not news.google.com links?** Because the actor resolves them for you. You can switch resolution off if you only need the Google link.

**Can I get the full article text?** Not from this actor; chain the resolved URLs into any article-text extractor.

**Does it work for Hebrew, German, Spanish...?** Yes, set the language and country of the edition you want.

**Is scraping Google News legal?** The actor collects only public headline data and resolves public links. You are responsible for how you use it; review Google's terms and your local laws before large-scale use.

### Pricing

Pay per article returned.

# Actor input Schema

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

Each keyword is one Google News search. Google's search operators work: "exact phrase", site:reuters.com, intitle:, -excluded, OR. Examples: Apify, "interest rates" site:bloomberg.com, בחירות

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

Google News front page and standard sections, in the chosen country and language.

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

Any news.google.com topic, section, publication or search page URL copied from your browser, e.g. https://news.google.com/topics/CAAqJggKIiBDQkFTRWdvSUwyMHZNRGx1YlY4U0FtVnVHZ0pWVXlnQVAB

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

Two-letter language code for the results, e.g. en, he, es, de, fr, pt-BR.

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

Two-letter country code that picks the edition, e.g. US, GB, IL, DE, IN.

## `timeframe` (type: `string`):

Keep only articles from this period. Applies to keyword searches (Google ignores it on topic feeds).

## `maxItemsPerSource` (type: `integer`):

Google News serves up to about 100 articles per keyword search or topic feed; leave blank to take everything it serves.

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

Optional overall cap for the run. Leave blank for everything.

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

Google News links are redirect tokens, not the article. On, the scraper resolves each one to the publisher's own URL (one extra request per article). Off is faster and returns only the news.google.com link.

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

Google News answers datacenter proxies, so the cheap Apify datacenter pool is the default. Switch to residential only if Google starts refusing your runs.

## Actor input object example

```json
{
  "queries": [
    "artificial intelligence"
  ],
  "topics": [],
  "feedUrls": [],
  "language": "en",
  "country": "US",
  "timeframe": "any",
  "resolveUrls": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `articles` (type: `string`):

All article rows (JSON). Append ?format=csv for CSV.

# 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": [],
    "feedUrls": [],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("swerve/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": [],
    "feedUrls": [],
    "proxyConfiguration": { "useApifyProxy": True },
}

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

```

## MCP server setup

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