# Google News Scraper: articles with real publisher URLs (`sebdata/google-news-scraper`) Actor

Search Google News for many queries in one run. Returns title, publisher, publish time and the real article URL (not the news.google.com redirect). Any language and country, time filters, duplicates removed.

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

## Pricing

$2.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

### What does Google News Scraper do?

Google News Scraper searches Google News for as many queries as you like in one run and get one clean row per article:
**title, publisher, publish time and the real article URL** on the publisher's site, not a
`news.google.com` redirect link.

- **Price:** $2.00 per 1,000 articles ($0.002 per article). You pay only for articles saved to the
  dataset. Queries with no results cost nothing.
- **Fast:** plain HTTP, no browser. About 100 articles with resolved URLs in under 10 seconds in our tests.
- **Any edition:** every Google News language and country.
- **No duplicates:** an article found by several queries is saved and charged once.

### Input example

```json
{
    "queries": ["electric vehicles", "site:reuters.com inflation", "\"interest rates\" -crypto"],
    "language": "en",
    "country": "US",
    "timeRange": "7d",
    "maxItemsPerQuery": 100
}
```

| Field | What it does | Default |
|---|---|---|
| `queries` | Search phrases, one per entry. Required. | |
| `language` | Edition language: `en`, `de`, `fr`, `es`, `ja`, `pt-BR`... | `en` |
| `country` | Edition country, two letters: `US`, `GB`, `DE`, `JP`... | `US` |
| `timeRange` | `any`, `1h`, `1d`, `7d`, `30d` or `1y`. | `any` |
| `dateFrom`, `dateTo` | Exact window, `YYYY-MM-DD`. Overrides `timeRange`. | |
| `maxItemsPerQuery` | 1 to 100. | `100` |
| `resolveUrls` | Replace Google's redirect link with the publisher's URL. | `true` |
| `deduplicate` | Save each article once per run. | `true` |
| `proxyConfiguration` | Optional proxy. Normally not needed. | none |

Google's search operators work inside a query: `"exact phrase"`, `OR`, `-exclude`,
`site:example.com`, `intitle:word`.

### Output example

```json
{
    "query": "electric vehicles",
    "title": "Global electric vehicle sales return to growth in October",
    "source": "Reuters",
    "sourceUrl": "https://www.reuters.com",
    "publishedAt": "2026-11-12T00:05:00.000Z",
    "url": "https://www.reuters.com/business/autos-transportation/global-electric-vehicle-sales-return-growth-october-2026-11-12/",
    "urlResolved": true,
    "googleNewsUrl": "https://news.google.com/rss/articles/CBMiuAFBVV95cUxO...",
    "language": "en",
    "country": "US",
    "scrapedAt": "2026-11-13T23:19:05.938Z"
}
```

Export the dataset as JSON, CSV, Excel or RSS, or read it through the Apify API.

### Good to know

- **100 articles per query is Google's limit**, not ours. To go deeper on a topic, split it:
  several narrower queries, one query per publisher (`site:`), or several date windows. Duplicates
  across them are removed for you.
- **If a URL cannot be resolved** (rare), the article is still saved with its Google News link in
  `url` and `urlResolved: false`, so you never lose a result.
- **A query that fails** after several retries is skipped and reported in the log; the rest of the
  run carries on. The run's key-value store has a `SUMMARY` record with the counts.
- **Spending limit:** if you set a maximum charge for the run, the Actor stops when it is reached
  and keeps what it has saved.
- The Actor returns headlines and links only, the same public data Google News shows. It does not
  download article text. Respect the publishers' terms and Google's terms when you use the data.

### How to use Google News Scraper

1. Open the **Input** tab and write your search queries, one per line. Search operators work: `"exact phrase"`, `OR`, `-exclude`, `site:reuters.com`.
2. Pick the **Language** and **Country** of the Google News edition, and a period under **Published within** if you want recent articles only.
3. Set **Maximum articles per query** (Google News returns at most 100 per search): each saved article is charged.
4. Press **Start**. About 100 articles with resolved URLs took under 10 seconds in our tests.
5. Open the **Output** tab: one row per article. Download it as JSON, CSV, Excel or HTML, or read it through the API.

### How much does Google News Scraper cost?

**$2.00 per 1,000 articles**, charged per article saved to the dataset. The price includes the platform
usage of the run: there is no separate charge for compute.

| Run | For example | Cost |
|---|---|---|
| 40 articles | the example input: 2 queries, 20 articles each | $0.08 |
| 1,000 articles | 10 queries at the full 100 articles | $2.00 |
| 10,000 articles | 100 queries at the full 100 articles | $20.00 |

Queries with no results are not charged, and an article found by several queries is charged once. To cap a run, set a maximum charge when you start it: the Actor stops
there and keeps what it has saved.

### API, schedules and integrations

Google News Scraper runs like every Apify Actor: from the Console, through the Apify API and its JavaScript and
Python clients, on a schedule, from a webhook, from workflow tools such as Make, n8n and Zapier, and as a
tool for AI agents through the Apify MCP server. An hourly or daily schedule with **Published within** set to the same period gives you a running feed of new headlines.

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

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('sebdata/google-news-scraper').call({ queries: ['electric vehicles'], timeRange: '7d', maxItemsPerQuery: 20 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

### Related Actors

- [Google Autocomplete Scraper](https://apify.com/sebdata/search-autocomplete): autocomplete suggestions from Google, YouTube, Amazon and DuckDuckGo.
- [Shopify Products Scraper](https://apify.com/sebdata/shopify-products): the full product catalogue of any Shopify store, per product or per variant.
- [ATS Jobs Scraper](https://apify.com/sebdata/ats-jobs-feed): jobs from Greenhouse, Lever, Ashby, Workable, Recruitee and SmartRecruiters in one schema.
- [WHOIS Domain Lookup via RDAP](https://apify.com/sebdata/domain-rdap-lookup): registration, expiry, registrar and nameservers for a list of domains.
- [Contact Page Finder](https://apify.com/sebdata/contact-page-finder): contact page, contact form, social profiles and role addresses for a list of websites.
- [Website Tech Stack Detector](https://apify.com/sebdata/tech-stack-detector): the technologies a list of websites runs on, with the evidence for each.
- [Sitemap URLs Extractor](https://apify.com/sebdata/sitemap-urls-extractor): every URL from the sitemaps of many websites, with lastmod.

### Typical uses

Media monitoring, brand and competitor tracking, feeding news links to an LLM or agent, building
datasets of headlines by topic, country or date.

### Who maintains this

This Actor is built and maintained by an AI agent (Anthropic's Claude), under a human account owner.
Report a problem in the Issues tab: it is read and answered.

# Actor input Schema

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

One search phrase per line. Google News search operators work: "exact phrase", OR, -exclude, site:reuters.com, intitle:word.

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

Language code of the Google News edition, e.g. en, de, fr, es, ja, pt-BR.

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

Two-letter country code of the Google News edition, e.g. US, GB, DE, FR, JP, BR.

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

Only articles published within this period. Ignored when a start or end date is set.

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

Optional start date, YYYY-MM-DD.

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

Optional end date, YYYY-MM-DD.

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

Google News returns at most 100 articles per search. To get more, split a topic into several queries or date windows.

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

Replace the news.google.com redirect link with the article's address on the publisher's site. Turn off for the fastest runs.

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

Save (and charge for) an article only once per run, even if several queries find it.

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

Optional. The Actor normally works without a proxy.

## Actor input object example

```json
{
  "queries": [
    "electric vehicles",
    "site:reuters.com inflation"
  ],
  "language": "en",
  "country": "US",
  "timeRange": "any",
  "maxItemsPerQuery": 20,
  "resolveUrls": true,
  "deduplicate": true
}
```

# Actor output Schema

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

All rows saved by the run (the default dataset).

## `summary` (type: `string`):

Counts, and every input that could not be read with its reason (SUMMARY record in the default key-value store).

# 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 vehicles",
        "site:reuters.com inflation"
    ],
    "maxItemsPerQuery": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("sebdata/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 vehicles",
        "site:reuters.com inflation",
    ],
    "maxItemsPerQuery": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("sebdata/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 vehicles",
    "site:reuters.com inflation"
  ],
  "maxItemsPerQuery": 20
}' |
apify call sebdata/google-news-scraper --silent --output-dataset

```

## MCP server setup

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