PluginBench
Skill
Fail
Audit score 45

google-news

fetcher-sh/fetcher-skills

Google News API alternative—keyword search, section headlines, and URL decoding via clean HTTP GET, paid per call in USDC or prepaid credits.

What is google-news?

A pay-per-call Google News API on fetcher.sh that returns headlines and search results as JSON without RSS scraping. Use it to search Google News by keyword across language editions, fetch section headlines (world, business, technology, etc.), retrieve latest news, or decode Google News redirect URLs to real article links.

  • Search Google News by keyword across 100+ language-region editions
  • Fetch section headlines (world, business, technology, entertainment, sport, science, health)
  • Retrieve latest headlines and topic-specific news by topic ID
  • Decode Google News redirect URLs to real article URLs
  • List all supported language-region codes
  • Pay per call in USDC (Base, Polygon, Arbitrum, Monad, Solana) or use prepaid credits

How to install google-news

npx skills add https://github.com/fetcher-sh/fetcher-skills --skill google-news
Prerequisites
  • A fetcher.sh account and API key (get prepaid credits at https://fetcher.sh/topup) or ability to pay per call via x402 (USDC on Base, Polygon, Arbitrum, Monad, or Solana)
Claude Code
Cursor
Windsurf
Cline

How to use google-news

  1. 1.Install the skill: npx skills add https://github.com/fetcher-sh/fetcher-skills --skill google-news
  2. 2.Set your FETCHER_API_KEY environment variable (or omit it to pay per call with x402)
  3. 3.Call /api/search with a keyword and languageCode (e.g., en-US) to search headlines
  4. 4.Call /api/language-regions to list all supported language-region codes before querying
  5. 5.Call section endpoints (/api/technology, /api/business, etc.) with a languageCode to fetch category headlines
  6. 6.Use /api/decode-article-url with a Google News redirect URL to get the real article link
  7. 7.Each call costs $0.005 and returns JSON with status, message, and data fields

Use cases

Good for
  • Monitor news coverage of a company or topic across multiple language editions
  • Build a headline aggregator or press-mention alert system without scraping RSS
  • Retrieve the latest technology or business news for a dashboard or report
  • Decode obfuscated Google News links to get direct article URLs
  • Track breaking news in a specific language region in real time
Who it's for
  • News aggregators and media monitoring platforms
  • AI agents building real-time news feeds or alerts
  • Developers integrating Google News without scraping or undocumented APIs
  • Researchers tracking press coverage across regions and languages

google-news FAQ

Do I need to scrape Google News RSS feeds?

No. This skill provides a clean HTTP API that returns JSON directly, with no RSS scraping or reverse-engineering of undocumented endpoints.

What payment methods are supported?

Two options: prepaid credits (recommended—buy at https://fetcher.sh/topup) or pay per call in USDC via x402 on Base, Polygon, Arbitrum, Monad, or Solana.

How many language editions are supported?

Over 100 language-region codes (e.g., en-US, en-GB, fr-FR, de-DE). Call /api/language-regions to see the full list.

Can I search by keyword in a specific language?

Yes. Pass both keyword and languageCode parameters to /api/search to search headlines in that language edition.

What happens if my credits run out?

You'll receive a 402 error with a topup_required message. Top up credits at https://fetcher.sh/topup or switch to x402 pay-per-call mode.

Full instructions (SKILL.md)

Source of truth, from fetcher-sh/fetcher-skills.


name: google-news description: >- A Google News API alternative on fetcher.sh — pay-per-call in USDC via x402, or prepaid credits with a Bearer key, no RSS scraping. Use when the user wants keyword search across Google News scoped to a language edition, section headlines (world, business, technology, entertainment, sport, science, health, or a specific topic ID), the latest headlines, a list of supported language-region codes, or to decode a Google News redirect URL into the real article URL. Also covers news monitoring, headline aggregation, media tracking, and press-mention alerts without scraping Google News' RSS feeds directly. keywords:

  • google-news
  • google-news-api
  • news-api-alternative
  • headline-monitoring
  • media-monitoring
  • x402
  • ai-agent

Google News API

Google News headlines and search as clean JSON — one plain HTTP GET per call, paid as you go. No RSS feed scraping, no redirect-URL decoding by hand, no undocumented internal endpoints.

Base URL: https://google-news.fetcher.sh

Authentication

Two ways to pay, same data — full mechanics in the fetcher skill:

# 1. Prepaid credits (recommended — get a key at https://fetcher.sh/topup
#    or via POST /api/credits/topup, see the fetcher skill)
export FETCHER_API_KEY="bby_live_xxxxxxxxxxxx"
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  "https://google-news.fetcher.sh/api/search?keyword=hello&languageCode=en-US"

# 2. x402 pay-per-call — omit the header; a GET with no payment returns 402
#    with machine-readable payment requirements (USDC on Base, Polygon,
#    Arbitrum, Monad, or Solana). @x402/fetch signs and retries automatically.

Every response is { "status": number, "message": string, "data": ... }; the HTTP status mirrors status.

Endpoints (12 — all GET, $0.005/call)

EndpointWhat it returns
/api/searchHeadlines matching a keyword, in one language edition
/api/latestLatest headlines
/api/worldWorld section headlines
/api/businessBusiness section headlines
/api/technologyTechnology section headlines
/api/entertainmentEntertainment section headlines
/api/sportSport section headlines
/api/scienceScience section headlines
/api/healthHealth section headlines
/api/topic/{topicId}Headlines for an arbitrary topic ID
/api/language-regionsEvery supported languageCode value
/api/decode-article-urlResolves a Google News redirect URL to the real article URL

languageCode (e.g. en-US, en-GB, fr-FR) is required on every endpoint except /api/language-regions, which takes no parameters at all and exists specifically to list the valid values. keyword is additionally required on /api/search; url is required on /api/decode-article-url.

Scenarios

Keyword search, US English edition:

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  --data-urlencode "keyword=stablecoin regulation" -G \
  --data-urlencode "languageCode=en-US" \
  "https://google-news.fetcher.sh/api/search"

Same search, UK English edition:

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  --data-urlencode "keyword=ai policy" -G \
  --data-urlencode "languageCode=en-GB" \
  "https://google-news.fetcher.sh/api/search"

Section headlines (technology, business):

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  --data-urlencode "languageCode=en-US" -G \
  "https://google-news.fetcher.sh/api/technology"

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  --data-urlencode "languageCode=en-US" -G \
  "https://google-news.fetcher.sh/api/business"

Headlines for a specific topic ID:

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  --data-urlencode "languageCode=en-US" -G \
  "https://google-news.fetcher.sh/api/topic/CAAqJggKIiBDQkFTRWdvSUwyMHZNRGxqTVdZU0FtVnVHZ0pWVXlnQVAB"

List every supported language/region code before picking one:

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  "https://google-news.fetcher.sh/api/language-regions"

Decode a Google News redirect URL into the real article link:

curl -H "Authorization: Bearer $FETCHER_API_KEY" -G \
  --data-urlencode "url=https://news.google.com/rss/articles/CBMi..." \
  "https://google-news.fetcher.sh/api/decode-article-url"

MCP

{
  "mcpServers": {
    "google-news": {
      "url": "https://google-news.fetcher.sh/mcp",
      "headers": { "Authorization": "Bearer bby_live_..." }
    }
  }
}

Free: search_endpoints, describe_endpoint, check_balance. Paid: fetch_data (any endpoint above), topup_credits, plus the named shortcut google_news_search. Drop the headers block to pay per call with x402 instead — see the fetcher skill for the full flow.

Errors

  • 400 — missing/invalid parameter (message names it) — most commonly a missing languageCode
  • 401 — unknown or rotated key
  • 402 — payment required (x402 challenge) or topup_required (credits exhausted)
  • 404 — not a priced path
  • No rate limits; no refunds on upstream failures (settlement precedes delivery)

Reference