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

Scrape Google News by keyword or topic across 13 editions with time filters, and get each article's real publisher URL (decoded from news.google.com links). Title, source, date, optional description and image. $2 per 1,000 articles.

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

## Pricing

from $2.00 / 1,000 article scrapeds

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 with real article URLs

Collect **Google News articles** for any keyword or topic, with each article's **real publisher URL** instead of the scrambled `news.google.com/rss/articles/...` link most scrapers give you.

### Features

- Search any keyword, with Google operators (`site:`, `OR`, quotes, `-exclude`).
- Topic headlines: World, Business, Technology, Sports, Science, Health and more.
- 13 editions: UK, US, Ireland, Australia, Canada, India, Germany, France and others.
- Time filter: past hour, day, week, month or year.
- **Real article URLs**, decoded automatically.
- Optional: open each article for its description, image and author.

### Output example

```json
{
  "query": "bitcoin",
  "title": "Bitcoin suffered identical sell-off pattern ahead of Anthropic, SpaceX IPOs",
  "source": "CNBC",
  "sourceUrl": "https://www.cnbc.com",
  "publishedAt": "2026-11-20T14:18:44+00:00",
  "url": "https://www.cnbc.com/2026/11/20/bitcoin-pre-ipo-selloff-pattern-anthropic-spacex.html",
  "googleNewsUrl": "https://news.google.com/rss/articles/CBMi..."
}
```

### Use cases

- Brand and competitor monitoring (schedule hourly or daily)
- PR and media tracking, news alerts to Slack or email via webhooks
- Feeding AI summaries, newsletters and research datasets

### Pricing

**$2 per 1,000 articles**, URL decoding included.

### Notes

Google News returns up to about 100 results per query. Use several narrower queries or time filters to collect more.

# Actor input Schema

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

Keywords to search Google News for. Supports Google operators, e.g. "climate change" site:bbc.co.uk, OR, -word.

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

Also collect the current headlines for these topics.

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

Edition (language & country).

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

Published within.

## `maxArticlesPerQuery` (type: `integer`):

Max articles per query/topic.

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

Converts news.google.com redirect links into the publisher's real article URL.

## `fetchArticleDetails` (type: `boolean`):

Opens each article to read its meta description, image and author (slower).

## Actor input object example

```json
{
  "queries": [
    "artificial intelligence"
  ],
  "edition": "en-GB:GB",
  "timeframe": "any",
  "maxArticlesPerQuery": 100,
  "decodeUrls": true,
  "fetchArticleDetails": false
}
```

# Actor output Schema

## `results` (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": [
        "artificial intelligence"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jbyzl/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"] }

# Run the Actor and wait for it to finish
run = client.actor("jbyzl/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"
  ]
}' |
apify call jbyzl/google-news-scraper --silent --output-dataset

```

## MCP server setup

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