# Google News Scraper (`scrapeworks/google-news-scraper`) Actor

Search Google News by keyword or read topic and top stories feeds for 50+ country editions. Get the headline, publisher, publish time and the real article link. Date ranges are read day by day, so you can get far more than 100 articles per search.

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

## Pricing

from $0.70 / 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.
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

Get news articles from Google News into a spreadsheet, a database or your own app. Search by keyword with Google's usual operators, or read the topic pages (Business, Technology, Sports and more) and the front page, for over 50 country and language editions. Each article comes back with its headline, publisher, publish time and the real link to the publisher's page.

### What you can do with it

- Follow news about your company, your clients or your competitors
- Collect coverage of a topic over weeks or months for research
- Feed headlines into alerts, dashboards or AI summaries
- Track which publishers write about a subject, and when

### How to use it

1. Add one or more **Search queries**, pick **Topics**, or both.
2. Pick the **Country and language** edition.
3. Optional: limit the time range, or set exact dates.
4. Run it and download the results as JSON, CSV or Excel, or use the API.

#### Search tips

Google's operators work in the queries:

- `"interest rates"` for an exact phrase
- `tesla OR rivian` for either word
- `apple -iphone` to leave a word out
- `site:reuters.com nvidia` for one publisher
- `intitle:merger` for a word in the headline

#### More than 100 articles

Google News shows at most 100 articles for one search. Set **Maximum articles per search** above 100 and the actor reads one day at a time, newest first, over your date range (or the last 30 days when you don't set one). Each day can give up to 100 articles, so a month of a busy topic can return thousands.

#### Example input

```json
{
    "queries": ["electric vehicles", "site:reuters.com tesla"],
    "topics": ["BUSINESS"],
    "edition": "US:en",
    "timeRange": "7d",
    "maxResultsPerQuery": 300
}
```

### Example result

```json
{
    "title": "Electric cars have a special problem in floodwaters",
    "source": "San Francisco Chronicle",
    "sourceUrl": "https://www.sfchronicle.com",
    "url": "https://www.sfchronicle.com/weather/article/electric-car-saltwater-water-fire-22527768.php",
    "domain": "sfchronicle.com",
    "publishedAt": "2026-11-18T12:03:46Z",
    "googleNewsUrl": "https://news.google.com/rss/articles/CBMilAFBVV95cUxNcVZyTExvbUQ0djZ0MHh2MTRueFZNWk1BWjR2UlFkNVBvcFhjamN3eVoyejRhV09nWmxocHY2SjB0SVc1eHd5Tnc5WFVPV1cybmJEUS1BUENlQW8xWmpETlF3ZEZCb2pSazdOU2?oc=5",
    "query": "electric vehicles",
    "topic": null,
    "position": 1,
    "edition": "US:en",
    "relatedCoverage": [],
    "articleId": "CBMilAFBVV95cUxNcVZyTExvbUQ0djZ0MHh2MTRueFZNWk1BWjR2UlFkNVBvcFhjamN3eVoyejRhV09nWmxocHY2SjB0SVc1eHd5Tnc5WFVPV1cybmJEUS1BUENlQW8xWmpETlF3ZEZCb2pSazdOU2",
    "scrapedAt": "2026-11-23T09:16:20Z"
}
```

### Fields

| Field | What it holds |
|---|---|
| title | Headline, without the publisher name Google adds at the end |
| source, sourceUrl | Publisher name and home page |
| url, domain | The real article link and its domain |
| publishedAt | Publish time (UTC) |
| googleNewsUrl | Google's own link to the article |
| query or topic | The search or topic the article came from |
| position | Order within that search or topic, as Google lists it |
| edition | Country and language edition |
| relatedCoverage | On topic pages: other articles about the same story (headline, publisher, Google link) |
| articleId, scrapedAt | Google's article ID and when the article was read |

### Pricing

You pay per article returned. Articles whose real link can't be found are returned but not charged. Set a maximum charge on the run if you want a hard ceiling.

### Good to know

- The actor reads Google News's public feeds. It does not log in anywhere.
- Google News lists headlines and links, not the full article text.
- Publish times come from Google and are sometimes a little off for older stories.

### Questions or problems

Open an issue on the Issues tab with the input you used.

# Actor input Schema

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

What to search for, one search per line. Google's search operators work: "exact phrase", OR, -word, site:reuters.com, intitle:word.

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

Also (or instead) read Google News topic pages. Top stories is the front page.

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

Which Google News edition to read. It decides the language and which publishers come first.

## `maxResultsPerQuery` (type: `integer`):

Google News shows at most 100 articles for one search. Above 100, the actor reads one day at a time (newest first) over the date range below, or over the last 30 days when no range is set.

## `maxResults` (type: `integer`):

Optional cap for the whole run, across all searches and topics. You pay per article returned.

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

Only articles from this recent period. Ignored when you set dates below.

## `dateFrom` (type: `string`):

Articles published on or after this day.

## `dateTo` (type: `string`):

Articles published on or before this day.

## `decodeUrls` (type: `boolean`):

Google News only gives its own redirect links. On: the actor looks up the publisher's link for each article (url). Articles whose link can't be found are not charged. Off: faster, and url stays empty.

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

Google slows down busy addresses. The Apify proxy keeps link lookups going on big runs.

## Actor input object example

```json
{
  "queries": [
    "tesla",
    "\"interest rates\" site:reuters.com"
  ],
  "edition": "US:en",
  "maxResultsPerQuery": 20,
  "timeRange": "any",
  "decodeUrls": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

One row per article, in the dataset of this run.

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

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

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

```

## MCP server setup

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