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

Get structured article data from Google News — no API key or login needed. Supports keyword search (~100 results) and topic/section feeds (~250 results) across 130+ languages and regions. Returns title, URL, publish time, source, thumbnail, and authors in clean JSON.

- **URL**: https://apify.com/crw/google-news-scraper.md
- **Developed by:** [CRW](https://apify.com/crw) (community)
- **Categories:** News, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 7 total users, 1 monthly users, 96.4% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

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

> Get structured news data from Google News — no API key, no login, no rate limit headaches.

Search by keyword **and** scrape topic feeds — both modes in one actor. Get clean JSON with titles, URLs, publishers, timestamps, thumbnails, and authors — ready to plug into your pipeline.

***

### What you get

```json
[
  {
    "title": "SpaceX's plan: Put all the data centers in space, then profit",
    "url": "https://www.washingtonpost.com/technology/2026/06/19/data-center-space-musks-spacex-has-some-people-taking-it-seriously/",
    "publishedAt": 1781888401,
    "source": { "name": "The Washington Post" },
    "thumbnail": "https://www.washingtonpost.com/wp-apps/imrs.php?src=https://arc-anglerfish-washpost-prod-washpost.s3.amazonaws.com/public/X6HY6FR3HEWBIATANRWYEHVSYY_size-normalized.jpg&w=1440",
    "authors": ["Elizabeth Dwoskin", "Faiz Siddiqui"]
  },
  {
    "title": "Summer solstice 2026: What is it and why is it the longest day of the year?",
    "url": "https://www.bbc.com/weather/articles/c4gy3x0k32yo",
    "publishedAt": 1781593422,
    "source": { "name": "BBC" },
    "thumbnail": "https://ichef.bbci.co.uk/ace/standard/1920/cpsprodpb/62b7/live/a3d32eb0-6bcd-11f1-8546-8f19e4fe30f4.jpg",
    "authors": []
  }
]
```

Results export as JSON, CSV, Excel, XML, or HTML — pick what fits your workflow.

***

### What you can do with it

- Monitor breaking news on any keyword or topic
- Track competitor mentions and brand sentiment
- Feed an LLM with fresh, relevant context
- Power a news dashboard or newsletter
- Run media research across 130+ countries and languages

***

### Two modes, one actor

Most news scrapers do one or the other. This one does both — so you can run keyword monitoring and topic feeds in the same pipeline without switching tools.

#### Search — keyword-driven

Query any term and get the articles Google thinks are most relevant right now.

```
query: "OpenAI"  →  up to 100 articles
```

Good for: brand monitoring, competitor tracking, event-driven research.

#### Category — topic feed

Pull the latest articles from Google News topic feeds — the same feeds you see when you browse the site.

```
topic: "Technology/Artificial intelligence"  →  up to 250 articles
```

Good for: daily digests, LLM context pipelines, niche topic monitoring.

Supported top-level topics: **Business, Entertainment, World, Technology, Sports, Science, Health, U.S.**

Each topic has sub-sections:

- Business: Economy, Markets, Jobs, Personal Finance, Entrepreneurship
- Entertainment: Movies, Music, TV, Books, Arts & Design, Celebrities
- Technology: Mobile, Gadgets, Internet, Virtual Reality, Artificial Intelligence, Computing
- Sports: NFL, NBA, MLB, NHL, NCAA Football, NCAA Basketball, Soccer, NASCAR, Golf, Tennis, WNBA
- Science: Environment, Space, Physics, Genetics, Wildlife
- Health: Medication, Health Care, Mental Health, Nutrition, Fitness

***

### Quick start

**On Apify platform (no code):**

1. Click **Try for free**
2. Set `mode` to `search` and enter your `query` — or set `mode` to `category` and pick a `topic`
3. Click **Start** and grab your results from the **Dataset** tab

**Via API:**

```bash
curl -X POST "https://api.apify.com/v2/acts/crw~google-news-scraper-1k-results-1/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode": "search", "query": "artificial intelligence", "maxResults": 100}'
```

***

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `mode` | `"search"` | `"category"` | `"category"` | How to find articles |
| `query` | string | — | Search term. Required when `mode=search` |
| `topic` | string | `"Business"` | Topic feed. Required when `mode=category` |
| `customTopic` | string | — | Raw topic path for topics not in the dropdown (see below) |
| `language` | string | `"en-US"` | Language and region |
| `maxResults` | integer | `100` | How many articles to return (50–250) |

#### Language

Set `language` to any `language-REGION` code to get results localized for that audience. Common values:

`en-US` · `en-GB` · `ko-KR` · `ja-JP` · `zh-CN` · `zh-TW` · `de-DE` · `fr-FR` · `es-ES` · `pt-BR` · `ru-RU` · `ar-SA`

130+ locales are supported. See the full list in [input_schema.json](.actor/input_schema.json).

#### Custom Topic

Google News has many more topics than what's in the dropdown — country editions, niche categories, local news, and more. To scrape any of them, grab the URL from your browser:

```
https://news.google.com/topics/CAAqJggKIiBDQkFTRWdv.../sections/CAQiRkNC...
                                └─────────────────────────────────────────┘
                                         copy this part
```

Paste it into `customTopic` (the `topics/` prefix is optional — it gets stripped automatically). This takes priority over the `topic` dropdown.

***

### Output fields

| Field | Type | Notes |
|-------|------|-------|
| `articleId` | string | Google News internal ID |
| `title` | string | Article headline |
| `url` | string | Direct link to the article |
| `publishedAt` | number | Unix timestamp (seconds) |
| `source.name` | string | Publisher name |
| `source.favicon` | string | null | Publisher favicon URL |
| `thumbnail` | string | null | Article thumbnail image URL |
| `authors` | string\[] | Author names (may be empty) |

***

### Expected article counts

| Mode | Typical results |
|------|----------------|
| Search | ~100 articles |
| Category (top-level) | ~250 articles |
| Category (sub-section) | 45–230 articles |

Results reflect what Google News currently shows for that topic — counts vary by how much news is happening.

# Actor input Schema

## `mode` (type: `string`):

search: keyword search results, category: topic feed

## `query` (type: `string`):

Required when mode=search. E.g. 'iran', 'AI technology'

## `topic` (type: `string`):

Required when mode=category.

## `customTopic` (type: `string`):

Override topic with a raw path. E.g. 'topics/CAAq.../sections/CAQi...'. Takes priority over Topic dropdown when mode=category.

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

Language and region for Google News results.

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

Maximum number of articles to collect

## Actor input object example

```json
{
  "mode": "category",
  "topic": "Business",
  "language": "en-US",
  "maxResults": 100
}
```

# Actor output Schema

## `api` (type: `string`):

REST API endpoint to download the dataset programmatically.

# 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 = {};

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

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

```

## MCP server setup

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