tidewell/google-news-api
tidewell--google-news-apiThis tool calls the Actor "tidewell/google-news-api" and retrieves its output results. Actor description: Returns Google News articles: headline, publisher, published date and decoded publisher article URL, plus optional description, image, author and full text. Input: keyword searches (site:, intitle:, when:), topics, locations or Google News URLs, any country. $2 per 1,000 articles.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tidewell--google-news-api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dateTo | No | Optional end date (YYYY-MM-DD), sent as before:. | |
| dedupe | No | An article found by several queries, topics or editions is returned once (matched by Google id, article URL, and title + publisher). Example values: true | |
| topics | No | Google News topic headlines for each edition. 'Nation' is the edition's own country (U.S. for US:en). | |
| onlyNew | No | For scheduled monitoring: skip articles returned by earlier runs with the same state key. Seen articles are kept for 45 days in the named key-value store 'google-news-state'. | |
| queries | No | One Google News search per line. Google News operators work: "exact phrase", OR, -exclude, site:reuters.com, intitle:tesla, inurl:, when:7d, after:2026-01-01, before:2026-02-01. A query with its own date operator ignores the time window below. Example values: ["artificial intelligence","\"electric vehicles\""] | |
| dateFrom | No | Optional start date (YYYY-MM-DD), sent as after:. Overrides the time window. | |
| editions | No | Google News edition as COUNTRY:language (the ceid parameter), one per line. Every query, topic and location runs once per edition. Examples: US:en, GB:en, IN:en, CA:fr, DE:de, FR:fr, ES:es, IT:it, NL:nl, BR:pt-419, MX:es-419, JP:ja, KR:ko, TW:zh-Hant, AU:en. hl and gl are derived from it (US:en = hl en-US, gl US). Example values: ["US:en"] | |
| language | No | Optional. Overrides the hl parameter for every edition, e.g. en-GB or es-419. Leave empty to derive it from the edition. | |
| maxItems | No | Stop after this many articles across all feeds. 0 = no limit. You can also cap spending with the run's maximum cost. Example values: 50 | |
| stateKey | No | Name for the only-new memory. Use a different key per monitor (e.g. 'brand-acme', 'competitors') so they don't share history. Example values: "default" | default |
| waitSecs | No | Max seconds (0–45, default 30) to cap the wait for the Actor run to reach terminal state. For long-running Actors the response returns at the cap with the current run status; follow `nextStep` to poll via get-actor-run. Set to 0 to fire-and-forget. | |
| locations | No | Local headlines for a city, region or country name, as on Google News > Local, e.g. 'London', 'Austin, Texas', 'Bavaria'. | |
| splitByDay | No | Google News returns at most about 100 articles per search. With a date range or a time window of 2 days or more, this runs each query once per day, so a 30-day window can return up to about 3,000 articles per query. Duplicates are removed. | |
| timeWindow | No | Only articles published within this window. Added to searches as when:, and applied to topic, location and URL feeds by publish date. Example values: "1d" | |
| resolveUrls | No | Decode Google's news.google.com redirect links to the publisher's article URL (articleUrl). Articles whose link can't be decoded are returned with articleUrl null and are free. Example values: true | |
| googleNewsUrls | No | Paste any news.google.com page (a search, a topic, a publication or a story page) or its RSS URL, or a topic ID such as CAAqJggKIiBDQkFTRWdvSUwyMHZNRGRqTVhZU0FtVnVHZ0pWVXlnQVAB. The actor reads its RSS feed. A URL with its own hl/gl/ceid keeps that edition. | |
| maxItemsPerQuery | No | Cap per search, topic, location or URL feed (per edition, and per day when split by day). 0 = everything the feed returns (about 100 for a search). Example values: 25 | |
| respectRobotsTxt | No | Skip publisher pages that robots.txt disallows. Publisher pages are always read politely: one request at a time per site, at least 1 second apart. Example values: true | |
| includeArticleText | No | Also extract the main article text (and word count) from the publisher page. Turns on article details. Paywalled pages often return only the intro. | |
| proxyConfiguration | No | Optional. Google News RSS normally works without a proxy. If Google starts rate-limiting, turn Apify Proxy on: a blocked request then retries on a new IP. Example values: {"useApifyProxy":false} | |
| fetchArticleDetails | No | Open each article on the publisher's site and add its description (snippet), image, author, published time, site name and language. Extra charge per page read successfully; pages that are blocked, paywalled or disallowed by robots.txt are free. | |
| useProxyForPublishers | No | By default publisher pages are read directly. Turn on to send them through the proxy above. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tip | No | Advisory guidance RAG Web Browser wrote to its key-value store under the reserved "TIP" key | |
| runId | Yes | Actor run ID | |
| stats | No | Run statistics | |
| status | Yes | Run status: READY | RUNNING | TIMING-OUT | TIMED-OUT | ABORTING | ABORTED | SUCCEEDED | FAILED | |
| actorId | Yes | Stable Apify Actor ID from the run record | |
| summary | Yes | Past-tense summary of the run state | |
| exitCode | No | Actor process exit code; populated for terminal states (especially FAILED) | |
| nextStep | Yes | One primary follow-up action with identifiers interpolated | |
| storages | Yes | Dataset and key-value store metadata, keyed by alias. "default" is always the primary entry. | |
| actorName | No | "username/actor-name" | |
| startedAt | No | ISO timestamp when the run started | |
| finishedAt | No | ISO timestamp when the run finished (terminal states only) | |
| statusMessage | No | Pass-through from Apify run.statusMessage | |
| apifyConsoleUrl | No | Personalized Apify Console link to the run; present only for Console sessions |