# Google News Scraper & API: decoded article URLs, topics, dates (`innocent_archipelago/google-news`) Actor

Scrape Google News by keyword or topic in any country and language: title, source, publish date and the publisher's real article URL, decoded from Google's RSS redirect links. Date ranges go past the 100-result cap, one day at a time. No browser, $2 per 1,000 articles.

- **URL**: https://apify.com/innocent\_archipelago/google-news.md
- **Developed by:** [Spyridon Pikoulas](https://apify.com/innocent_archipelago) (community)
- **Categories:** News, AI, Marketing
- **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. 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 & API

Scrape Google News by keyword or by topic, in any country and language. Every article comes with
its title, source, publish date, and the **publisher's real URL**. Google's feeds only give
news.google.com redirect links, and this actor decodes them for you.

- **Search queries** take Google News operators: `"exact phrase"`, `OR`, `-exclude`,
  `site:reuters.com`, `intitle:`.
- **Topics:** top stories, world, nation, business, technology, entertainment, sports, science,
  health.
- **Any edition:** set the country and language, for example `DE` + `de`, or `IN` + `en`.
- **Time range**, from the past hour to the past year, or an exact **date range**.
- **Past the 100-result cap:** Google returns at most 100 articles per search. A date range is
  searched one day at a time, so it gets up to 100 articles per day. Three days of "bundesliga"
  in the German edition gave 226 articles.

It needs no browser, and it is fast: 50 articles with decoded URLs took 4 seconds. It costs
**$2 per 1,000 articles**.

### What people use it for

- **Media monitoring:** track mentions of a brand, a competitor or a person.
- **AI and LLM pipelines:** feed fresh news to agents, summaries and RAG.
- **Market and financial research:** news on tickers, sectors and deals, day by day.
- **Datasets:** news archives by topic or country over a date range.

### How to use it

```json
{
  "queries": ["nvidia", "\"electric vehicles\" -tesla"],
  "topics": ["TECHNOLOGY"],
  "country": "US",
  "language": "en",
  "timeRange": "7d",
  "maxArticlesPerQuery": 100
}
```

For a date range, set `dateFrom` and `dateTo` (YYYY-MM-DD) instead of `timeRange`. Date ranges
apply to search queries; topics are always the current headlines.

Turn off **Decode article URLs** if you only need titles and sources. The run gets faster, and
`url` stays empty.

### Output

```json
{
  "title": "OpenAI’s A.I. Went Rogue and Meddled With U.S. Government Websites",
  "source": "The New York Times",
  "sourceUrl": "https://www.nytimes.com",
  "publishedAt": "2026-09-25T23:16:40+00:00",
  "googleUrl": "https://news.google.com/rss/articles/CBMijAFBVV95cUxQZmkx…?oc=5",
  "url": "https://www.nytimes.com/2026/09/25/technology/openais-ai-us-government-websites.html",
  "query": "openai"
}
```

Articles from a topic have `topic` in place of `query`. An article found by two queries is
returned once.

### Use it as an API

One call runs it and returns the results as JSON (for runs under 5 minutes; longer ones start a
run and read its dataset). Apify's Python and JavaScript clients, and its Make, Zapier and n8n
integrations, work the same way.

```bash
curl -X POST "https://api.apify.com/v2/acts/innocent_archipelago~google-news/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"queries": ["artificial intelligence"], "topics": ["TECHNOLOGY"], "timeRange": "1d", "maxArticlesPerQuery": 10}'
```

### Pricing

You pay **$0.002 per article**, which is $2 per 1,000. Runs that go through Apify's residential
proxy also pay its traffic, $0.0012 per 100 KB. There are no monthly fees.

### Good to know

- Google News gives headlines, sources and links, not the article text.
- Day boundaries in a date range follow Google's time zone, so a few articles from the day before
  or after can show up.
- Google seldom blocks this. If it starts refusing, turn on a proxy in the input.

# Actor input Schema

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

Keywords, as you would type them into Google News. Operators work: "exact phrase", OR, -exclude, site:reuters.com, intitle:.

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

Google News sections: TOP (top stories), WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SPORTS, SCIENCE, HEALTH.

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

Two-letter country code of the Google News edition: US, GB, DE, FR, IN...

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

Two-letter language code of the edition: en, de, fr, es...

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

Only news from the last hour, day, week, month or year. Ignored when a date range is set.

## `dateFrom` (type: `string`):

Start of a date range (YYYY-MM-DD). Each day is searched on its own, so a range can return up to 100 articles per day. Applies to search queries, not topics.

## `dateTo` (type: `string`):

End of the date range (YYYY-MM-DD), included. Defaults to today.

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

Google gives up to 100 per query; with a date range, up to 100 per day.

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

Turns Google's news.google.com links into the publisher's real URL. Off makes the run faster, and url stays empty.

## `proxyConfiguration` (type: `object`):

Not needed for most runs. Turn it on if Google starts refusing requests.

## Actor input object example

```json
{
  "queries": [
    "artificial intelligence"
  ],
  "country": "US",
  "language": "en",
  "timeRange": "",
  "maxArticlesPerQuery": 100,
  "decodeUrls": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (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("innocent_archipelago/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"] }

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

```

## MCP server setup

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