Skip to content
Tidewell Software
Google News API

Scrape Google News with Python

Search Google News and get title, publisher, time and the real article URL as JSON.

Steps

  1. Get an API token. Apify Console → Settings → API & Integrations. Export it as APIFY_TOKEN.
  2. Install the client. pip install apify-client
  3. Write the searches. Put them in queries. "exact", OR, -word and site: work.
  4. Run the actor. Call tidewell/google-news-api and read the dataset.

Input

input.json
{"queries": ["openai"], "timeWindow": "1d", "maxItemsPerQuery": 3, "maxItems": 3}

Run it

run.py
import os

from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("tidewell/google-news-api").call(run_input={
    "queries": ["openai"],
    "timeWindow": "1d",
    "maxItemsPerQuery": 3,
    "maxItems": 3
})

for a in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(a["publishedAt"], a["publisher"], a["title"], a["articleUrl"])

Output

Run on 9 November 2026: 3 articles, $0.006 at list price.

Dataset row (trimmed)
{
  "title": "Exclusive: Former Meta and OpenAI Contractor Sama Liquidates, Citing Lawsuits",
  "publisher": "Time Magazine",
  "publishedAt": "2026-11-09T16:37:25Z",
  "articleUrl": "https://time.com/article/2026/11/09/sama-ai-data-liquidates-lawsuits-meta/",
  "googleNewsUrl": "https://news.google.com/rss/articles/CBMif0FVX3lxTE9Ed2ppQ2t...",
  "publisherUrl": "https://time.com",
  "feedType": "search",
  "query": "openai",
  "searchQuery": "openai when:1d",
  "edition": "US:en",
  "rank": 1,
  "scrapedAt": "2026-11-09T19:56:15Z"
}

Options

editions
Country and language, e.g. GB:en, DE:de. Several per run
timeWindow
1h, 1d, 7d, 30d, 1y; or dateFrom/dateTo
splitByDay
One search per day, past Google's ~100-per-search cap
includeArticleText
Publisher page text and word count, +$0.001 an article
onlyNew
With stateKey, each article once across scheduled runs

Use it from Claude or ChatGPT

Apify MCP server, this actor only
https://mcp.apify.com/?tools=tidewell/google-news-api
Claude
Settings → Connectors → Add custom connector. Paste the URL, sign in to Apify
Claude Code
claude mcp add apify "https://mcp.apify.com/?tools=tidewell/google-news-api" -t http
ChatGPT
Add a custom MCP server with the URL and OAuth
Then ask
Use tidewell/google-news-api to find today's Google News articles about OpenAI. List publisher, time and link.

FAQ

Does Google News have an API?

Not a public one. Google News publishes RSS feeds for searches, topics and places. The actor reads those feeds and decodes each link to the publisher's URL.

Pricing

Pay per event, from the actor's live pricing on 9 November 2026.

Price
$0.002 per article ($2 per 1,000). Page details or full text +$0.001. No start fee.
Free
Undecoded links, blocked or paywalled publisher pages, failed feeds