# Google News Scraper - Articles, Sources & Real URLs (`cancap/google-news-scraper`) Actor

Scrape Google News by keyword, topic or site in any country and language. Get headline, publisher, date, snippet and the REAL article URL (not news.google.com links). Fast, no browser or API key, pay only per article. For brand monitoring, PR, SEO and AI agents.

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

## Pricing

from $1.50 / 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 - Articles, Sources & Real URLs

Scrape **Google News** by keyword, topic or website, in any country and language. For each article you get the **headline, publisher, publish date and the real article URL** (not the news.google.com redirect). Fast, no browser, and you pay only for the articles you get.

### What you can do

- **Monitor brands and competitors**: get every new article that mentions your company, product or CEO.
- **Track topics and markets**: crypto, AI, elections, your industry, in 140+ countries and languages.
- **Feed AI agents and RAG pipelines** with fresh news and real publisher URLs.
- **PR and media monitoring**: see which outlets covered you, and when.
- **Research and dashboards**: export to Excel, CSV, JSON, Google Sheets, or connect via API, Zapier, Make or n8n.

### How to use

1. Add one or more **search keywords**, for example `tesla`, `"climate change"`, or `site:reuters.com ai`.
2. Optionally pick **topics** (World, Business, Technology, Sports...) or turn on **headline top stories**.
3. Choose a **time range**, **country** and **language**.
4. Click **Start** and download your data.

Google News operators work in keywords: `"exact phrase"`, `-exclude`, `OR`, `site:`, `intitle:`, `when:7d`.

#### Example input

```json
{
  "queries": ["openai", "site:techcrunch.com startups"],
  "topics": ["BUSINESS"],
  "timeRange": "1d",
  "maxItemsPerQuery": 50,
  "country": "US",
  "language": "en",
  "resolveUrls": true
}
```

### Output example

```json
{
  "query": "openai",
  "queryType": "search",
  "position": 1,
  "title": "OpenAI announces new model for developers",
  "source": "The Verge",
  "sourceUrl": "https://www.theverge.com",
  "publishedAt": "2026-11-20T14:05:00.000Z",
  "url": "https://www.theverge.com/2026/11/20/openai-new-model",
  "urlResolved": true,
  "googleNewsUrl": "https://news.google.com/rss/articles/CBMi...",
  "relatedArticles": [],
  "country": "US",
  "language": "en",
  "scrapedAt": "2026-11-20T15:00:00.000Z"
}
```

### Pricing

Pay per article returned. No monthly fee. Set a **maximum cost per run** in run options and the Actor stops cleanly at your limit.

### Tips

- Google News returns up to ~100 articles per search. For more, split by time range (`Past 24 hours`) or by site (`site:bbc.com`), or schedule the Actor daily.
- Schedule it every hour or day to build a news alert feed, and connect the dataset to Slack or email.
- Turn off **Get the real article URL** for the fastest, cheapest runs if you only need headlines.

### FAQ

**Which countries and languages are supported?** Every Google News edition. Use the 2-letter country code (US, GB, IN, PK, DE...) and the language code (en, de, ur, hi, pt-BR...).

**Do I need a Google account or API key?** No.

**Is it legal?** The Actor reads only public Google News feeds. Respect the publishers' terms when reusing article content.

# Actor input Schema

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

One search per line. Supports Google News operators, e.g. "tesla", ""climate change" -opinion", "site:reuters.com ai", "intitle:bitcoin".

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

Get the top stories of a Google News section instead of (or as well as) keywords.

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

Adds the main Google News front page for the selected country.

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

Only articles published within this period.

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

Google News returns up to about 100 articles per search. Split your search by time range or site for more.

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

Google News edition, as a 2-letter country code (US, GB, IN, PK, DE, FR, AU, CA...).

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

Language code of the edition, e.g. en, es, de, fr, hi, ur, pt-BR.

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

Google News hides the publisher link behind a news.google.com redirect. On: the Actor returns the real publisher URL (slightly slower). Off: returns the Google News link only.

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

Google News is requested directly first and through Apify Proxy only if it blocks requests.

## Actor input object example

```json
{
  "queries": [
    "artificial intelligence"
  ],
  "includeTopStories": false,
  "timeRange": "any",
  "maxItemsPerQuery": 20,
  "country": "US",
  "language": "en",
  "resolveUrls": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

One row per article: title, source, publish date and the real article URL.

## `allFields` (type: `string`):

No description

## `failedQueries` (type: `string`):

Searches that could not be read, with the reason.

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

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

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

```

## MCP server setup

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