# Google News Scraper (Search & Topics) (`datalantern/google-news-search`) Actor

Export Google News results by keyword, topic, language and country: headline, publisher, publisher website, publish date and link, with optional original article URLs. Fast, no login needed.

- **URL**: https://apify.com/datalantern/google-news-search.md
- **Developed by:** [Data Lantern](https://apify.com/datalantern) (community)
- **Categories:** News, Marketing, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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 (Search & Topics)

**Google News Scraper** exports Google News results for any keyword or topic: headline, publisher, publisher website, publish date, Google News link, and (optionally) the original article URL. Choose the language, country, and time range, run many queries at once, and download the results as CSV, Excel, or JSON for media monitoring, brand tracking, PR reports, market research, or news datasets.

### What can this tool do?

- Search Google News for many keywords in one run, with full Google News search syntax (`"exact phrase"`, `OR`, `-exclude`, `site:reuters.com`, `after:2026-01-01`).
- Export topic headlines: Top stories, World, Business, Technology, Science, Health, Sports, Entertainment.
- Pick any Google News edition by language and country, for example English–US, German–Germany, Portuguese–Brazil.
- Limit results to the past hour, day, week, month, or year.
- Optionally resolve Google's redirect links to the publisher's original article URL.
- Return the same clean columns for every article, sorted as Google ranks them (`position`).

### What data does it return?

One row per article. Example values from a real run (default input, and the same article with **Find original article URLs** on):

| Field | Example |
|---|---|
| `query` | artificial intelligence |
| `position` | 1 |
| `title` | US diplomats told to say ‘super intelligence’ — not ‘artificial intelligence’ — after Trump’s call |
| `source` | AP News |
| `sourceUrl` | https://apnews.com |
| `publishedAt` | 2026-09-23T23:45:00.000Z |
| `googleNewsUrl` | https://news.google.com/rss/articles/CBMiqAFBVV95cUxQWDBXSVlKYjVLV1hzNnphbmpR… |
| `articleUrl` | https://apnews.com/article/trump-super-intelligence-rebrand-ai-diplomats-02123c7bf18c692a12b2b3e3b9ce30c5 (with **Find original article URLs** on; otherwise null) |

- For topics, `query` shows the topic, for example `topic:TECHNOLOGY`.
- `publishedAt` is in UTC. Missing values are `null`.

### How to use it

1. Enter one or more search queries and/or pick topics.
2. Choose the language, country, time range, and maximum articles per query.
3. Click **Start**, then download the results as CSV, Excel, or JSON, or read them through the API.

### Pricing

Pay per article: **$2.00 per 1,000 articles**, plus $0.005 per run. You only pay for articles you receive. Set a maximum cost per run in the run options.

### Use it through the API, AI agents, and integrations

Schedule it hourly or daily for news alerts, call it from your code with the Apify API, or connect it to Make, Zapier, n8n, Slack, Google Sheets, or an AI agent through Apify's MCP server.

### Is it legal?

This tool reads Google News' public RSS feeds: headlines, publisher names, dates, and links, which Google publishes for feed readers. It does not download article text, log in, or bypass access controls, and it collects no personal data. Headlines and articles belong to their publishers; you are responsible for how you use the data.

### FAQ

**Why do I get at most 100 articles per query?** Google News returns up to 100 results for each query. To collect more, split the query by time with `after:` and `before:` (for example one query per week), or use more specific keywords.

**Why is `articleUrl` empty?** It is only filled when **Find original article URLs** is on. Google sometimes pauses these lookups for a while; the run still succeeds and the `googleNewsUrl` link still opens the article.

**Does it get the full article text?** No. It exports headlines and links only; the article text belongs to each publisher.

### Feedback

Found a bug or need a field added? Open an issue on the **Issues** tab. We usually respond within 24 hours.

# Actor input Schema

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

One query per line. Google News search syntax works: quotes for exact phrases, OR, -exclude, site:reuters.com, intitle:, after:2026-01-01, before:2026-02-01.

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

Optional. Also export the headlines of these Google News sections.

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

Only for search queries.

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

Google News returns up to 100 articles per query or topic.

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

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

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

Two-letter country code of the edition, for example us, gb, de, in, au.

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

Google News links redirect through Google. Turn this on to also get the publisher's own URL in articleUrl. Slower (two extra requests per article); if Google pauses these lookups, articleUrl is left empty and the run still succeeds.

## Actor input object example

```json
{
  "queries": [
    "artificial intelligence",
    "electric vehicles"
  ],
  "timeRange": "any",
  "maxItemsPerQuery": 20,
  "language": "en",
  "country": "us",
  "decodeUrls": 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",
        "electric vehicles"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datalantern/google-news-search").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",
        "electric vehicles",
    ] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datalantern/google-news-search"
        }
    }
}
```

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/sv3aBeF5eK2E4Ql3w/builds/xp1ipjHdj4QHLD6bH/openapi.json
