# Google News Scraper & API: Real URLs, Pay per Article (`ocius-data/google-news-reliable`) Actor

Google News API: articles by keyword or topic in 80+ countries. Real publisher URLs, exact date ranges, no 100-article cap. AI agents ready via MCP.

- **URL**: https://apify.com/ocius-data/google-news-reliable.md
- **Developed by:** [Ocius Data](https://apify.com/ocius-data) (community)
- **Categories:** News, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 1,000 unique articles

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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: Real URLs, Pay per Article

**Stories, not just links:** articles that cover the same news are grouped into stories (`storyId`), and every run ends with an `INSIGHTS` record and a status message that name the most-covered story, the top publishers and the volume per day, with real numbers from that run (for example: "Articles: 100. 60 publishers, 86 distinct stories. Most-covered story: ... (5 articles, 2 publishers). Top publisher: EIN News (12)"). None of the three most-used Google News Actors in the Apify Store groups articles by story (checked on 9 November 2026).

Collect Google News articles by **keyword**, **topic**, **local news location** or **top headlines** in more than 80 country and language editions. Each Google News link is decoded to the **publisher's real article URL**. You pay **only per unique article delivered**. Empty searches, duplicates and failed inputs are free.

### Why this Google News scraper

- **Real article URLs.** Google News links are encoded redirects. The Actor decodes them in batches to the publisher's own URL, with a one-by-one retry as fallback. If a link still cannot be decoded, the row keeps the Google News link and is marked `urlResolved: false`, so you always know which is which.
- **More than 100 articles per search.** Google returns about 100 articles per search. When you ask for more, the Actor splits the date range automatically into smaller windows, down to single days, and merges the results without duplicates.
- **Fair pricing.** One flat price per unique article. You are never charged for empty results, duplicates or errors, and your maximum cost per run is respected.
- **Search operators and date ranges.** Use `"exact phrase"`, `OR`, `-exclude`, `site:`, `intitle:`, `when:7d`, `after:` and `before:`, or set a from and to date. Every row is checked again against the selected period before it is saved.
- **Clean data.** ISO 8601 dates in UTC, the publisher name removed from the title, publisher homepage, deduplication by real URL, Google News ID and title, across all your queries.
- **Only new articles since the last run.** For hourly or daily schedules, the Actor remembers the articles already delivered for each query, topic or location and returns and charges only new ones.
- **Clear status.** Every input ends as `OK`, `NO_RESULTS`, `NO_NEW_ARTICLES`, `INVALID_INPUT`, `BLOCKED` or `ERROR`. The run message shows the counts and the `RUN_SUMMARY` record explains each input, including why fewer articles than requested were delivered. If more than 20% of inputs fail, the run is marked as failed so you notice.
- **Safe on long runs.** Progress is saved, so a platform restart never duplicates rows or charges twice.

### What data you get

| Source | Description |
|---|---|
| Search | Articles that match a keyword or a query with Google search operators, in the selected edition and period. |
| Topic | The Google News sections World, Nation, Business, Technology, Entertainment, Sports, Science and Health, or any topic ID. |
| Top headlines | The front page of the selected country edition, including related coverage from other publishers. |
| Local news | Headlines for a city, region or country name, for example `New York` or `Bogota`. |

The output tab has four views: **Articles** (the essentials), **Stories** (articles grouped by story), **Full details** and **Description and image** (filled with the publisher-page option). Download as JSON, CSV, Excel or connect through the API.

### How to use it

1. Enter one or more **search queries**, choose **topics**, add **local news locations** or enable **Top headlines**.
2. Set the **country** (for example `US`, `GB`, `CO`, `MX`, `ES`, `DE`, `IN`, `JP`) and, optionally, the **language** (for example `es`, `fr`, `hi`). Leave the language empty to use the main language of the country.
3. Choose a **time range** or set a **from date** and **to date** (`YYYY-MM-DD`).
4. Set **max articles per query**. Above about 100, the date range is split automatically.
5. Optional: enable **Fetch description and image from the publisher** to add the article summary and main image.
6. For recurring runs, enable **Only new articles since last run**.
7. Run the Actor.

### Example output

```json
{
  "title": "‘No one saves the planet if it hits their pocket’: UK heat pump installers fear planned subsidy cuts",
  "publisher": "The Guardian",
  "publisherUrl": "https://www.theguardian.com",
  "articleUrl": "https://www.theguardian.com/environment/2026/oct/27/heat-pump-installers-fear-planned-subsidy-cuts-uk-budget",
  "urlResolved": true,
  "urlDecodeStatus": "DECODED",
  "googleNewsUrl": "https://news.google.com/rss/articles/CBMi...?oc=5",
  "publishedAt": "2026-10-28T11:02:00.000Z",
  "snippet": null,
  "imageUrl": null,
  "inputType": "search",
  "query": "heat pump",
  "country": "US",
  "language": "en-US",
  "edition": "US:en",
  "rank": 9,
  "sourceUrl": "https://news.google.com/rss/search?q=heat%20pump%20when%3A7d&hl=en-US&gl=US&ceid=US%3Aen",
  "scrapedAt": "2026-11-01T19:37:16.660Z"
}
```

### Pricing

**Apify Store discounts:** 15% less on Silver and 30% less on Gold and above (USD 0.0017 and USD 0.0014 per article).

You pay a flat **USD 0.002 per unique article** delivered, real URL decoding included. Empty searches, duplicates, articles already delivered in monitoring mode and failed inputs are not charged. Your maximum cost per run is respected: the Actor stops as soon as it is reached and never delivers articles it did not charge.

**Free plan:** the USD 5 of monthly usage included in the Apify Free plan covers about 2,500 unique articles (USD 0.002 each), with real URL decoding included.

| Run | Articles | Approximate cost |
|---|---|---|
| Daily brand check, 5 queries x 20 articles | 100 | USD 0.20 |
| Hourly monitor of 5 queries, only new articles, about 40 new per day | about 1,200 per month | about USD 2.40 per month |
| Weekly topic report, 10 queries x 100 articles | 1,000 | USD 2.00 |
| Historical research, 1 query over a year | 5,000 | USD 10.00 |

Platform compute is included in the price. The Actor runs with 1,024 MB of memory by default (see Speed and memory). If a run fails because of an Actor defect, open an issue with the run ID; defects are fixed with priority, usually within 72 hours.

### Speed and memory

Measured on 5 November 2026 with 5 queries x 100 articles (500 articles, US edition, description and image on), same input in every run:

| Memory | Run time | Articles | Articles with description and image | Platform cost of the run |
|---|---|---|---|---|
| 1,024 MB (default) | 127 to 142 s | 500 | 70 to 72 % | USD 0.009 to 0.011 |
| 512 MB | 244 s | 500 | 20 % | USD 0.011 |
| 256 MB | 285 to 554 s | 496 to 500 | 9 to 27 % | USD 0.008 to 0.42 |

Most of the time goes into reading one Google News page per article to decode its link (about 0.6 MB each). With 256 MB the Actor gets very little CPU, so those pages queue up, secure connections time out and the run can fall back to residential proxies. Descriptions and images are read only during the first 150 seconds of a run, so a slower run also returns fewer of them. The price per article is the same at any memory size; platform compute is included in it.

### Typical job cost

Live price on 3 November 2026: USD 0.002 per unique article (Free and Bronze plans). Platform compute is included; the only other charge is the Actor start event of USD 0.00005. 100 articles cost about USD 0.20, and 1,000 articles about USD 2.00. **Fetch description and image** costs nothing extra.

### Output fields

| Field | Meaning | When it is null |
|---|---|---|
| `title` | Article headline, without the publisher name that Google appends. | Never |
| `publisher` | Publisher name as shown in Google News. | Rarely, when Google omits it |
| `publisherUrl` | Publisher homepage. | Rarely, when Google omits it |
| `articleUrl` | Real article URL. If decoding failed or is disabled, the Google News link. | Never |
| `urlResolved` | `true` when `articleUrl` is the publisher's real URL. | Never |
| `urlDecodeStatus` | `DECODED`, `FAILED` or `DISABLED`. With `FAILED`, `urlDecodeError` explains why. | Never |
| `googleNewsUrl`, `googleNewsId` | The original Google News link and its ID. | Never |
| `publishedAt` | Publication time in ISO 8601, UTC. | Never |
| `snippet` | Article summary. Google News feeds no longer include summaries, so it is filled from the publisher page when **Fetch description and image** is enabled. | Without that option, almost always |
| `imageUrl` | Main article image (Open Graph). | Without **Fetch description and image** |
| `author`, `canonicalUrl`, `detailsStatus` | Extra data from the publisher page and the result of that visit (`OK`, `NO_METADATA`, `TIMEOUT`, `HTTP_403`...). | Without **Fetch description and image** |
| `publisherPublishedAt`, `publisherModifiedAt` | Publication and last-update time the publisher declares on its own page (`article:published_time`, `datePublished` in JSON-LD and equivalents), ISO 8601 UTC. Google News sometimes shows an updated article with its update time; this is the original date. | Without **Fetch description and image**, or when the page does not declare it |
| `publisherDateGapHours` | `publishedAt` (Google) minus `publisherPublishedAt`, in hours. A large positive value means Google re-dated an older article. | When `publisherPublishedAt` is empty |
| `relatedCoverage` | For top headlines and topics: other publishers covering the same story (title, publisher, Google News link). | Empty list for search results |
| `inputType` | `search`, `topic`, `location` or `headlines`. | Never |
| `query`, `topic`, `location` | The input that found the article. | When the article comes from another input type |
| `country`, `language`, `edition` | The Google News edition used, for example `CO`, `es-419`, `CO:es-419`. | Never |
| `rank` | Position of the article in the Google News feed. | Never |
| `sourceUrl` | The Google News feed used, to check the data yourself. | Never |
| `scrapedAt` | When the data was collected (UTC). | Never |
| `recordType` | Always `article`. Lets you filter rows when you combine datasets from several Actors. | Never |
| `publishedTimestamp` | `publishedAt` in milliseconds since 1 January 1970 (UTC), easy to sort in spreadsheets. | When Google gives no date |
| `ageHours` | Hours between publication and collection, one decimal. | When Google gives no date |
| `storyId`, `storyTitle` | The story the article belongs to in this run, and the headline of the first article grouped into it. Articles whose headlines share most of their significant words get the same `storyId`. IDs are unique within a run, not across runs. | Never |
| `dataQuality` | Warnings when a value looks incomplete: `url_not_decoded`, `url_decoding_off`, `no_publisher`, `no_published_date`, `publisher_page_<status>`. | Empty list when the row is complete |

#### Records in the key-value store

| Record | Content |
|---|---|
| `INSIGHTS` | From this run's articles: number of publishers and stories, `topStories` (up to 20: headline, number of articles, publishers, first publication and its URL), `topPublishers` (up to 20) and `articlesPerDay`. |
| `RUN_SUMMARY` | Status per input (see below), URL decoding rate, publisher-page results, field completeness, charged events and timings. |

### Monitoring: only new articles since the last run

With **Only new articles since last run**, the Actor keeps a named key-value store (default name `google-news-monitor`) that is kept between runs. For each search query, topic, location or top headlines feed, combined with its country and language edition, it remembers the Google News ID and title of every article already delivered. Later runs skip those articles before decoding them, so they are neither saved nor charged.

- The first monitored run of an input returns all matching articles. Its `RUN_SUMMARY` entry shows `firstMonitoredRun: true`.
- Later runs show `seenInPreviousRuns`, the number of articles skipped because an earlier run already delivered them.
- When nothing is new, the input ends with status `NO_NEW_ARTICLES`, which is not a failure, and nothing is charged.
- The time range and dates are not part of the memory, so you can widen or narrow the period without receiving the same articles again.
- Use a different **Monitoring store name** for each independent monitor, for example one per client. Delete the store in **Storage** to start over.
- Recommended: combine monitoring with **Past 24 hours** for daily runs or **Past hour** for hourly runs. The memory keeps the 20,000 most recent articles per input.

Example input for an hourly brand monitor:

```json
{
  "queries": ["\"Acme Corp\"", "Acme CEO"],
  "country": "US",
  "timeRange": "1d",
  "onlyNewSinceLastRun": true,
  "monitoringStoreName": "acme-brand-monitor"
}
```

### Statuses and errors

| Status | Meaning | What to do |
|---|---|---|
| `OK` | Articles delivered and charged. The summary explains if fewer than requested were available. | Nothing |
| `NO_RESULTS` | Google News returned a valid, empty result for this input. Not charged. | Broaden the query or the period. |
| `NO_NEW_ARTICLES` | Monitoring mode: every matching article was already delivered in an earlier run. Not charged. | Nothing. New articles appear in the next run. |
| `INVALID_INPUT` | Google News does not offer this topic or location in the selected edition. Not charged. | Check the topic ID, location name or country. |
| `BLOCKED` | Google kept rate-limiting after all retries and proxy escalation. Not charged. | Run again later or select residential proxies. |
| `ERROR` | The input could not be processed. Not charged. | Check the input; if it looks correct, open an issue. |
| `NOT_PROCESSED` | The run stopped before this input, because your maximum cost per run was reached or the run was about to time out. Not charged. | Raise the limit or split the inputs across runs. |

Invalid settings, such as an unknown country, a language not offered in that country, an unknown topic name or a wrong date format, end the run in the first seconds with status SUCCEEDED, nothing charged and a status message that explains how to fix them.

#### Switching from another Google News Actor

Input copied from another Google News Actor works as it is. These field names are read as their equivalents here; your own fields of this Actor always take precedence, and the run log and the `compatibility` part of RUN_SUMMARY list what was mapped and what has no equivalent.

| Field from the other Actor | Read as |
|---|---|
| `query`, `keyword` (text), `keywords` (list) | `queries` |
| `maxItems`, `maxArticles`, `maxResults` | `maxArticlesPerQuery` (0, meaning no limit, keeps the default of 100) |
| `time_period` (last_hour to last_year), `timeframe` (1h, 1d, 1w, 1m, 1y), `timeFilter` (hour, 24h, week, month, year), `openEndedDateRange` (1h, 1d, 7d, 30d, 1y) | `timeRange` |
| `time_period: custom` with `time_period_min` / `time_period_max` (MM/DD/YYYY) | `dateFrom` / `dateTo` |
| `language` or `region_language` in the form `US:en`, `gl`, `hl` | `country` and `language` |

Field names checked in the public input schemas of lhotanova/google-news-scraper, easyapi/google-news-scraper, data_xplorer/google-news-scraper-fast and solidcode/google-news-scraper on 4 November 2026. The output keeps this Actor's field names.

### Known limits

- Google News feeds do not include article summaries any more. Enable **Fetch description and image** to get them from the publisher; some publishers block automated visits (`detailsStatus` shows it).
- Topic, top headline and local news feeds return about 30 to 60 articles and cannot be split by date. Only searches can go beyond about 100 articles.
- Splitting works down to one day. If a single day has more than about 100 matching articles, Google returns only about 100 for that day; the run summary reports how many days hit that limit.
- Dates are whole days in UTC. `after:2026-10-01 before:2026-10-15` written in a query keeps articles from 1 October 00:00 UTC up to 14 October 23:59 UTC, the same as From date and To date. Google itself reads these operators in its own time zone, so the Actor queries one extra day on each side and then filters.
- With **Any time** and no dates, splitting covers the last 30 days (configurable with **Lookback for splitting**).
- Google limits how many links one IP address can decode. The Actor rotates proxy sessions, and if Google still rate-limits decoding, it pauses decoding for two minutes instead of retrying every article. Rows collected during a pause keep the Google News link (`urlDecodeStatus: FAILED`, with the reason in `urlDecodeError`) and the run summary counts the pauses.
- URL decoding depends on an internal Google endpoint. If Google changes it, rows keep the Google News link with `urlResolved: false` until the Actor is updated.

### Integrations: API, schedules, webhooks, Google Sheets and AI agents

**API.** Run the Actor and receive the articles in one call:

```bash
curl -X POST "https://api.apify.com/v2/acts/ocius-data~google-news-reliable/run-sync-get-dataset-items?token=YOUR_API_TOKEN&format=json"   -H "Content-Type: application/json"   -d '{"queries": ["artificial intelligence"], "country": "US", "timeRange": "1d", "maxArticlesPerQuery": 50}'
```

Python, with the official `apify-client` package:

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("ocius-data/google-news-reliable").call(run_input={"queries": ["electric vehicles"], "country": "GB", "timeRange": "7d"})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["publishedAt"], row["publisher"], row["title"], row["articleUrl"])
```

**Schedules.** Save your input as a task and open **Schedules** in Apify Console to run it hourly or daily for brand, competitor or topic monitoring. With **Only new articles since last run** on, each scheduled run returns and charges only articles not delivered before. With **Remove duplicates across queries** on, each article appears once per run.

**Webhooks, Google Sheets, Zapier, Make and n8n.** In the task, open **Integrations** and add a webhook for `ACTOR.RUN.SUCCEEDED`, the Google Sheets integration, or the official Apify app in Zapier, Make or n8n (trigger "Actor run finished", action "Get dataset items").

**MCP and AI agents.** The Actor is available through the Apify MCP server (`https://mcp.apify.com`). Add `ocius-data/google-news-reliable` to the server's Actor list and an AI agent such as Claude can call it with plain inputs such as `{"queries": ["Apify"], "timeRange": "7d"}`.

### FAQ

**Is it legal?** The Actor collects publicly available headlines, links and publication dates. No personal data is collected. Respect the publishers' copyright when you reuse the content.

**Why are some `articleUrl` values Google News links?** Decoding failed for those articles after all retries. They are marked `urlResolved: false` and `urlDecodeStatus: FAILED`.

**How do I monitor a brand every day?** Schedule the Actor with your brand as a query, the time range **Past 24 hours** and **Only new articles since last run** enabled. Each run then returns only articles published since the previous one.

**Am I charged again for articles I already received?** Not in monitoring mode. Articles delivered in an earlier run of the same input and edition are skipped before they are saved, so they are never charged twice. Without monitoring, each run is independent.

**How do I reset a monitor?** Delete the key-value store named in **Monitoring store name** in **Storage**, or use a new name. The next run then returns all matching articles again.

**Which countries and languages are supported?** More than 80 Google News editions, for example `US` (en, es), `CA` (en, fr), `IN` (en, hi, bn, mr, ta, te, ml), `CH` (de, fr), `BE` (fr, nl) and every Spanish-speaking Latin American edition.

### Related Actors from ocius-data

Built to the same standard: a status for every input in `RUN_SUMMARY`, actionable error messages and list-based inputs, so they chain well in one workflow:

- **[Google Trends API: Interest, Related & Trending Now](https://apify.com/ocius-data/google-trends-reliable)**: relative interest over time and by region, related queries and Trending Now.
- **[Google Ads Transparency Center API - Competitor Ads](https://apify.com/ocius-data/google-ads-transparency-reliable)**: the Google Ads your competitors are running, with full creatives, and alerts when ads start or stop.

### Changelog

- **0.1.10** (November 2026) Story grouping (`storyId`, `storyTitle`), `publishedTimestamp`, `ageHours`, `dataQuality` and `recordType` on every article; an `INSIGHTS` record with the most-covered stories, top publishers and articles per day, also summarized in the status message; new views **Stories** and **Description and image**, labels on every column and direct CSV links. Description and image stay in the opt-in **Fetch description and image** option, at no extra charge. Existing fields are unchanged.
- **November 2026** Monitoring mode: **Only new articles since last run** remembers delivered articles in a named key-value store and returns and charges only new ones (status `NO_NEW_ARTICLES` when nothing is new). Off by default; existing inputs behave as before.
- **0.1.22** (7 November 2026) New fields `publisherPublishedAt`, `publisherModifiedAt` and `publisherDateGapHours`: the date the publisher declares on its own page and its gap with the Google News date, read in the same publisher-page visit (no extra requests or charge).
- **0.1.21** (5 November 2026) Default memory raised from 256 MB to 1,024 MB: a 500-article run now takes about 2.5 minutes instead of 5 to 9, and returns descriptions and images for about 70 % of articles instead of 9 to 27 %. Direct page reads pause for 60 seconds after errors instead of stopping for the rest of the run. Same articles and fields.
- **November 2026** Faster URL decoding: 50 articles now take about 5 to 9 seconds instead of more than 60, with the same fields and the same decoding rate. The run summary also shows request latency by type.
- **0.1** First version: search, topics, top headlines and local news; real URL decoding with batching and fallback; automatic date splitting beyond 100 articles; deduplication; pay per article; per-input statuses and run summary.

### Use cases

- Brand, competitor and executive monitoring
- Market and industry intelligence
- Media and PR coverage reports
- Datasets for research and for AI agents
- Alerts on regulations, prices or events in specific countries

### Tips

- Use `site:` to follow one publisher and `intitle:` to keep only articles with a word in the headline.
- Long queries are safe: Google reads only about the first 32 words of a query, so when a query is longer the Actor moves `site:` filters and date operators to the front before searching (same meaning, nothing is dropped). The RUN_SUMMARY notes when this happened.
- To collect more than 100 articles, set a from and to date: splitting is faster and more complete with an explicit range.
- Combine several queries in one run: duplicates between them are removed and charged only once.

### Tutorials and examples

**Ready-to-import templates:** [n8n workflow](https://github.com/christianbarbosapayan-commits/apify-data-apis-examples/blob/main/integrations/n8n/google-news-monitor-to-slack.json), [Google Sheets](https://github.com/christianbarbosapayan-commits/apify-data-apis-examples/tree/main/integrations/google-sheets), [Make](https://github.com/christianbarbosapayan-commits/apify-data-apis-examples/blob/main/integrations/make.md), [Zapier](https://github.com/christianbarbosapayan-commits/apify-data-apis-examples/blob/main/integrations/zapier.md) and a [webhook receiver](https://github.com/christianbarbosapayan-commits/apify-data-apis-examples/blob/main/integrations/webhook/receiver.mjs).

- Tutorial: [Build a Google News monitor that returns real article URLs, not news.google.com redirects (Node.js)](https://github.com/christianbarbosapayan-commits/apify-data-apis-examples/blob/main/tutorials/google-news-monitor-real-urls.md)
- Example code: [JavaScript: news monitor](https://github.com/christianbarbosapayan-commits/apify-data-apis-examples/blob/main/javascript/google_news_monitor.mjs)
- All examples: [apify-data-apis-examples on GitHub](https://github.com/christianbarbosapayan-commits/apify-data-apis-examples)

### Rate this Actor

If this Actor saved you time, please consider leaving a rating or a short review on its Apify Store page. It helps other users find it and shows us what to improve. If something does not work as expected, please open an issue first so we can fix it.

### Support

Open an issue on the Actor page. Issues are reviewed every day and fixes are released quickly.

# Changelog

This Actor's version history is a separate document: https://apify.com/ocius-data/google-news-reliable/changelog.md

# Actor input Schema

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

Keywords to search in Google News. Google search operators work: "exact phrase", OR, -exclude, site:reuters.com, intitle:oil, when:7d, after:2026-01-01, before:2026-02-01. You are charged once per unique article delivered.

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

Google News sections: WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SPORTS, SCIENCE, HEALTH. You can also paste a Google News topic ID that starts with "CAAq" (from a news.google.com/topics/... link).

## `includeTopHeadlines` (type: `boolean`):

Also collect the top headlines of the selected country edition (the Google News home page).

## `locations` (type: `array`):

Optional. City, region or country names for local news, for example "New York", "Bogota" or "Bavaria".

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

Google News edition country as a two-letter code, for example US, GB, CO, MX, ES, DE, FR, BR, IN or JP. 80+ editions are supported.

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

Optional language of the edition, for example en, es, fr or hi. Leave empty to use the main language of the country. Only languages that Google News offers for that country are accepted.

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

Only articles published in this period. Ignored when From date or To date is set.

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

Optional. First publication day to include, format YYYY-MM-DD (UTC).

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

Optional. Last publication day to include, format YYYY-MM-DD (UTC). Defaults to today.

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

Maximum unique articles for each query, topic or location. Google returns about 100 articles per search; above that, the Actor splits the date range automatically to collect more.

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

Google News links are encoded redirects. When enabled, each link is decoded to the publisher's real URL. If decoding fails, the row keeps the Google News link and urlResolved is false.

## `fetchArticleDetails` (type: `boolean`):

Visits each article page and reads its meta description and main image (Open Graph). On by default; turn off for the fastest run. Requires Resolve real article URLs. Publisher pages are not charged.

## `detailsTimeoutSecs` (type: `integer`):

Maximum time to wait for each publisher page when fetching description and image.

## `deduplicate` (type: `boolean`):

Deliver and charge each article only once per run, matched by real URL, Google News ID and title.

## `onlyNewSinceLastRun` (type: `boolean`):

For scheduled or API runs. Remembers, per input and edition, the articles already delivered in a named key-value store that is kept between runs, and returns and charges only articles not delivered before. The first monitored run of an input returns all matching articles.

## `monitoringStoreName` (type: `string`):

Name of the key-value store that remembers delivered articles. Use a different name for each independent monitor (for example one per client). Delete the store to start over.

## `splitLookbackDays` (type: `integer`):

Used only when you ask for more than about 100 articles with Any time and no dates: how many past days the automatic date splitting covers.

## `maxRetries` (type: `integer`):

How many times a blocked or failed feed request is retried with a new proxy session, with exponential backoff.

## `maxConcurrency` (type: `integer`):

How many queries are processed in parallel.

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

By default the Actor uses Apify datacenter proxies and switches automatically to residential proxies in the edition country if Google blocks requests.

## Actor input object example

```json
{
  "queries": [
    "artificial intelligence"
  ],
  "includeTopHeadlines": false,
  "country": "US",
  "language": "",
  "timeRange": "any",
  "maxArticlesPerQuery": 100,
  "decodeUrls": true,
  "fetchArticleDetails": true,
  "detailsTimeoutSecs": 10,
  "deduplicate": true,
  "onlyNewSinceLastRun": false,
  "monitoringStoreName": "google-news-monitor",
  "splitLookbackDays": 30,
  "maxRetries": 5,
  "maxConcurrency": 2,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

One row per unique article: title, publisher, real article URL, publication date, snippet and the input that found it.

## `articles` (type: `string`):

The "Articles" view.

## `stories` (type: `string`):

The "Stories" view.

## `details` (type: `string`):

The "Full details" view.

## `media` (type: `string`):

The "Description and image" view (with the publisher-page option).

## `csv` (type: `string`):

Opens in Excel or Google Sheets.

## `insights` (type: `string`):

Most-covered stories, top publishers and articles per day.

## `runSummary` (type: `string`):

Status per input (OK, NO_RESULTS, INVALID_INPUT, BLOCKED, ERROR, NOT_PROCESSED), URL decoding rate and field completeness.

# 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("ocius-data/google-news-reliable").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("ocius-data/google-news-reliable").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 ocius-data/google-news-reliable --silent --output-dataset

```

## MCP server setup

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

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/RCG3FuB1imIhuthAH/builds/MV1Smr1t5IFj1bFVh/openapi.json
