# Google News Scraper: by query, topic or country headlines (`steadydata/google-news`) Actor

News articles from Google News by search query, by topic or as country headlines: title, source, publication date, link and snippet, up to 200 queries per run. Language and country control, no start fee, and only delivered articles are charged.

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

## Pricing

$3.50 / 1,000 article listeds

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Google News Scraper (bulk queries, lightweight)

News articles from Google News for **up to 200 search terms per run**: title, source,
publication date, link and snippet. Works on search terms, on topic sections, and on a
country's front page. **You only pay for articles that are actually delivered.**

### Why this scraper

- **Three kinds of input, one table.** A search term like `electric vehicles`, a topic
  like `technology`, or the word `headlines` for the country's front page. Mix them in
  one run and every row tells you which query it came from.
- **Properly region aware.** Google News is strongly region bound. Set `country` and
  `language` and you get what a reader in that country sees, not a US default. A Dutch
  run returns NU, NRC and Volkskrant, not CNN.
- **Clean dates.** The publication date comes back as ISO 8601 so it sorts and filters
  straight away, with the original text alongside it.
- **Only delivered articles are charged.** A term without results comes back as a clear
  error record at no cost.
- **A hard cost ceiling you control.** `maxArticlesPerQuery` is the cap: one delivered
  article is one charged event.

### Who this is for

Media and brand monitoring, topic tracking, competitor watching, and news feeds for
dashboards or AI pipelines. Run the same list of terms on a schedule and you have a
timeline of what was written about them, by whom and when.

### Who this is not for

**Read this before you buy.** The `url` is a news.google.com link, not the publisher's
own address. Google encrypts the target inside that link, so this actor cannot hand you
`nrc.nl/article/...` directly. The link opens the correct article in a browser, and the
publisher is returned separately in the `source` field.

That makes this actor a strong fit for monitoring, alerting and analysis, and a poor fit
if you need to fetch the full article text automatically. If that is your use case, you
need a scraper that visits each publisher, and this is not it. Better to know that now
than after you have paid.

### Input example

```json
{
    "queries": [
        "artificial intelligence",
        "technology",
        "headlines"
    ],
    "maxArticlesPerQuery": 50,
    "country": "US",
    "language": "en"
}
```

Topic names that work: `world`, `nation`, `business`, `technology`, `entertainment`,
`sports`, `science`, `health`. Anything else is treated as a search term.

### Output example

```json
{
    "query": "artificial intelligence",
    "country": "US",
    "language": "en",
    "position": 1,
    "title": "AI could kill all humans in next decade, warn experts",
    "source": "The Guardian",
    "publishedAt": "2026-09-10T01:31:00+00:00",
    "publishedText": "Thu, 10 Sep 2026 01:31:00 GMT",
    "url": "https://news.google.com/rss/articles/CBMirgFBVV95cUxNNUNtV20wYXJ",
    "snippet": "AI could kill all humans in next decade, warn experts",
    "status": "ok"
}
```

A term that cannot be delivered produces an error record instead, and is **not**
charged:

```json
{
    "input": "qzxwv nonsense 99999",
    "status": "error",
    "errorCode": "NO_RESULTS",
    "error": "No articles for 'qzxwv nonsense 99999' in US"
}
```

Error codes: `INVALID_QUERY`, `NO_RESULTS`, `BLOCKED`. `INPUT_TRUNCATED` appears once when your input is longer than this actor accepts.

### Related actors from steadydata

- rss-feed-reader (publishing soon): the publishers' own feeds, for sources Google News omits
- [google-trends-batch](https://apify.com/steadydata/google-trends-batch): whether interest in the topic is rising or falling

### Pricing

Pay per event: one `article-listed` event per delivered article. No charge for terms
that fail or return nothing, no separate platform-usage surcharge.

### FAQ

**How many articles do I get per term?**
Google returns up to about a hundred per feed, and fewer for narrow terms. You are only
charged for what actually arrives.

**How far back does it go?**
Google News is a moving window, weighted towards recent coverage. For older material a
narrower search term helps, but there is no date filter in the feed itself.

**Can I track a topic over time?**
Yes, and that is the main use: run the same term list daily and keep the rows with a
timestamp. The `publishedAt` field makes deduplication across runs straightforward.

**Why is the snippet almost the same as the title?**
Because that is what Google supplies in the feed. It is returned as given rather than
padded out with invented text.

**Is personal data collected?**
No. Public article metadata only: headline, outlet, date and link.

**What happens when Google changes something?**
Feeds change from time to time; that is the nature of this work. The actor is monitored
daily and fixed fast, and while it is broken you are not charged, because only delivered
articles cost anything.

# Actor input Schema

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

A search term like 'artificial intelligence', a topic name (world, nation, business, technology, entertainment, sports, science, health), or the word 'headlines' for the country's front page. Up to 200 per run.

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

Stop after this many articles per query. This is your cost ceiling: one delivered article is one charged event. Google returns at most about 100 per feed.

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

ISO country code, e.g. US, NL, DE. Google News is strongly region bound, so this decides which outlets you get.

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

Language code, e.g. en, nl, de. Match it to the country for the best results.

## Actor input object example

```json
{
  "queries": [
    "artificial intelligence",
    "technology",
    "headlines"
  ],
  "maxArticlesPerQuery": 50,
  "country": "US",
  "language": "en"
}
```

# 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",
        "technology",
        "headlines"
    ]
};

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

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

```

## MCP server setup

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

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/U5YCbprWkdvWgwhw4/builds/1mhLIQIV3WkBG7Lk8/openapi.json
