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

Scrape Google News search results and topic headlines in 32 editions: headline, publisher, publish time, description and the publisher's real article URL (Google redirect links are resolved). Filter by time range.

- **URL**: https://apify.com/dabooti/google-news-scraper.md
- **Developed by:** [Danial Maqbool](https://apify.com/dabooti) (community)
- **Categories:** News, SEO tools, Automation
- **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 articles

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

Scrape Google News search results and topic headlines into JSON, CSV or Excel. Enter keywords (Google operators like `site:` and `-word` work), choose one of 32 country editions and a time range, and get each article's headline, publisher, publish time and **the publisher's real article URL**. Google's `news.google.com` redirect links are resolved for you.

No API key, login or proxy setup needed.

### What you can use it for

- **Media monitoring and PR**: track every mention of your brand, product, competitors or executives.
- **Market and investment research**: follow news about companies, sectors and tickers by the hour.
- **News aggregation and newsletters**: build curated feeds by keyword or by Google News section.
- **AI and RAG pipelines**: collect fresh article URLs, then fetch the full text with a crawler.
- **SEO and content research**: see which publishers rank in Google News for your keywords.

### What data you get

| Field | Description |
|---|---|
| `title` | Headline, with the publisher suffix removed |
| `publisher`, `publisherUrl` | Publisher name and home page |
| `articleUrl` | The publisher's direct article URL |
| `googleNewsUrl` | The original Google News link |
| `publishedAt` | Publish time (ISO 8601) |
| `position` | Rank in the Google News feed |
| `query` or `topic` | What produced the article |
| `description` | Related coverage text for topic headlines, when Google provides it |
| `edition`, `guid`, `scrapedAt` | Edition used, Google's article ID, scrape time |

### How to use it

1. Add keywords in **Search queries**, for example `"artificial intelligence"`, `tesla -stock` or `climate site:reuters.com`.
2. Optionally pick **Topic headlines** such as Business or Technology.
3. Choose the **Edition** (for example United States, United Kingdom, India, Pakistan, Germany) and **Published within**.
4. Click **Start** and export from the **Output** tab.

#### Example input

```json
{
  "queries": ["openai", "nvidia earnings"],
  "topics": ["TECHNOLOGY"],
  "edition": "US:en",
  "timeRange": "1d",
  "maxArticlesPerQuery": 100,
  "resolveUrls": true
}
```

#### Example output

One record from a real run:

```json
{
  "source": "query",
  "query": "artificial intelligence",
  "topic": null,
  "position": 1,
  "title": "People project a specific racial identity onto artificial intelligence, study finds",
  "publisher": "PsyPost",
  "publisherUrl": "https://www.psypost.org",
  "articleUrl": "https://www.psypost.org/people-project-a-specific-racial-identity-onto-artificial-intelligence-study-finds/",
  "googleNewsUrl": "https://news.google.com/rss/articles/CBMiqwFBVV95cUxNRkdRMzktcVVDd0k0ZUgxRzcxR0d1cEU3anlLdklMbWlxVDJtWXBaOHo0MDV6dVE0Q3JxM1FCY1ZEQWZ2YlVMNm9pVC1ib0owVWpDNFBPbFN6UGpFWllfZk9vUWllRlc2VldXNTZrWWliMWlXUklyUV9QejE1R3NzQ0hUVFY1M0dCT18zQkhCaDBwc3dGaGo4WnhyLTdnUlpMRWhHUlJwQXNLMWs?oc=5",
  "publishedAt": "2026-11-11T21:23:58.000Z",
  "description": null,
  "guid": "CBMiqwFBVV95cUxNRkdRMzktcVVDd0k0ZUgxRzcxR0d1cEU3anlLdklMbWlxVDJtWXBaOHo0MDV6dVE0Q3JxM1FCY1ZEQWZ2YlVMNm9pVC1ib0owVWpDNFBPbFN6UGpFWllfZk9vUWllRlc2VldXNTZrWWliMWlXUklyUV9QejE1R3NzQ0hUVFY1M0dCT18zQkhCaDBwc3dGaGo4WnhyLTdnUlpMRWhHUlJwQXNLMWs",
  "edition": "US:en",
  "scrapedAt": "2026-11-12T17:06:43.501Z"
}
```

### Pricing

Pay per event: **$2.00 per 1,000 articles** saved, including URL resolving, plus a tiny standard start fee and Apify platform usage (usually a fraction of a cent per run). Set **Max cost per run** in the run options to cap spending.

### Tips and limits

- Google News returns up to about **100 articles per query**. For bigger collections, use the time range filter and several narrower queries (for example one query per company or per day).
- Turn off **Resolve publisher article URLs** if you only need headlines and publishers; runs then finish in a couple of seconds.
- Each run stores a `RUN_SUMMARY` in its key-value store with the number of articles found, saved and resolved per query.

### FAQ

**Does it return the full article text?** No. It returns headlines, publishers, times and direct article URLs. Pass the `articleUrl` list to a content crawler such as Website Content Crawler if you need full text.

**Can I monitor news continuously?** Yes. Schedule the Actor hourly or daily with **Published within: Past hour / Past 24 hours** and send results to Slack, Google Sheets, email or a webhook.

### Legal note

This Actor reads publicly available Google News feeds. Respect publishers' copyrights and terms when you reuse headlines or content, and use the data for a legitimate purpose.

# Actor input Schema

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

Keywords to search on Google News. Google search operators work, for example "electric vehicles" site:reuters.com or tesla -stock.

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

Optional. Also collect the current headlines for these Google News sections.

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

Which Google News edition to read.

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

Only return search results published in this period. Does not apply to topic headlines.

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

Google News returns up to about 100 articles per query. Use a time range or several narrower queries to collect more.

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

Convert each news.google.com redirect link into the publisher's real article URL. Turn off for faster runs if you only need titles and publishers.

## Actor input object example

```json
{
  "queries": [
    "artificial intelligence"
  ],
  "topics": [],
  "edition": "US:en",
  "timeRange": "any",
  "maxArticlesPerQuery": 50,
  "resolveUrls": true
}
```

# Actor output Schema

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

No description

## `resultsFull` (type: `string`):

No description

## `summary` (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("dabooti/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("dabooti/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 dabooti/google-news-scraper --silent --output-dataset

```

## MCP server setup

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