For the complete documentation index, see llms.txt. This page is also available as Markdown.

Google News

The Pullbay Google News API provides programmatic access to Google News articles — search by keyword or browse by category. Retrieve article titles, source names, publication timestamps, images, and original article URLs without scraping.

Base URL: https://api.pullbay.com

Overview

The Google News service lets you:

  • Search Google News by keyword, with optional language/region filtering

  • Browse the top articles in a category (Business, Technology, Sports, and more)

  • Optionally resolve Google's redirect URLs to direct article URLs

All endpoints are read-only GET requests. No Google credentials are required — only your Pullbay API key.

Common Use Cases

News Monitoring — Search a keyword on a schedule to track breaking news, brand mentions, or topic coverage over time.

Competitive Intelligence — Monitor news coverage for competitors, products, or industry keywords and surface new articles as they appear.

Content Aggregation — Pull top articles by category to populate a news feed, newsletter, or dashboard with fresh content.

Sentiment & Trend Analysis — Feed article titles and sources into an NLP pipeline to track how media sentiment around a topic shifts over time.

Research & Alerting — Trigger alerts when new articles appear for specific queries (e.g. a company name, a product launch, a regulatory topic).

Endpoints

Endpoint
Description
Pagination

GET /google-news/search

Search articles by keyword

maxItems (bulk only)

GET /google-news/category

Browse top articles by category

— (full result set)

Search News

Search Google News articles by keyword, with optional language/region and URL resolution.

Request

Parameters

Parameter
Type
Required
Default
Description

query

string

Yes

—

Search keyword, 1–500 characters

languageCode

string

No

US:en

Language and region code (see Language Codes). Defaults to US:en (English, United States)

resolveUrl

string

No

no

yes to resolve Google redirect URLs to direct article URLs. Adds a resolvedUrl field to each article. no returns the raw Google News URL

maxItems

integer

No

100

Maximum articles to return, 1–100

Example

Python

Response

Response Schema

Field
Type
Description

data

array

pagination

object

All fields are null — this endpoint does not paginate

pricing.creditsCharged

number

Credits charged for this request (1 credit per article returned)

Credit cost: 1 credit per article returned. A request returning 20 articles costs 20 credits.

News by Category

Returns the current top articles for a Google News category. Returns up to 300 articles in a single call — no pagination.

Request

Parameters

Parameter
Type
Required
Default
Description

category

string

Yes

—

One of: business, entertainment, health, latest, science, sport, technology, world

languageCode

string

No

US:en

Language and region code (see Language Codes)

Example

Python

Response

Response Schema

Field
Type
Description

data

array

pagination

object

All fields are null — this endpoint returns the full result set in one call

pricing.creditsCharged

number

Credits charged for this request (1 credit per article returned)

Credit cost: 1 credit per article returned. Up to 300 articles per category.

Errors

All non-2xx responses use the same envelope:

Status
Code
Cause

400

VALIDATION_ERROR

Missing or invalid parameter (e.g. unknown category, query too long)

401

AUTHENTICATION_UNAUTHORIZED

Missing or invalid API key

402

TEAM_INSUFFICIENT_CREDITS

Credit balance is 0

429

RATE_LIMIT_EXCEEDED

Request rate exceeded for your plan

5xx

—

Server-side error — retry with exponential backoff

Failed requests do not consume credits.

Object Schema

GoogleNewsArticle object

Field
Type
Description

title

string

Article headline

articleUrl

string

Google News redirect URL for the article. Resolves to the original publisher URL when resolveUrl=yes

publishedAt

string (ISO 8601)

Publication timestamp, e.g. 2026-04-27T13:07:55Z

imageUrl

string, nullable

Thumbnail image path or URL. May be a relative path — prepend https://news.google.com if needed

source

string

Publisher name, e.g. TechCrunch

sourceIconUrl

string

URL of the publisher's favicon

author

string, nullable

Author byline if present, e.g. By Jane Smith. null if not available

resolvedUrl

string, nullable

Direct link to the original article — only present when resolveUrl=yes was passed on the Search endpoint

Language Codes

Both endpoints accept a languageCode parameter in COUNTRY:language format. The default is US:en. There are 84 supported codes covering languages including English, Spanish, French, German, Portuguese, Arabic, Chinese, Japanese, Hindi, and more.

Examples:

Code
Region

US:en

English (United States) — default

GB:en

English (United Kingdom)

DE:de

German (Germany)

FR:fr

French (France)

ES:es

Spanish (Spain)

MX:es

Spanish (Mexico)

BR:pt-419

Portuguese (Brazil)

JP:ja

Japanese (Japan)

CN:zh-Hans

Chinese Simplified (China)

IN:en

English (India)

AU:en

English (Australia)

CA:en

English (Canada)

AR:ar

Arabic (Saudi Arabia)

Pass the exact code string as the languageCode parameter value.

URL Resolution

By default, articleUrl is a Google News redirect link (https://news.google.com/read/...). These links are valid and open in a browser, but they require a redirect to reach the original article.

Pass resolveUrl=yes on the Search endpoint to have Pullbay follow the redirect and return the direct publisher URL in a resolvedUrl field alongside the original articleUrl:

resolveUrl is only available on the Search endpoint. The Category endpoint always returns raw Google News redirect URLs.

Pagination

Neither endpoint supports page-by-page pagination.

  • Search accepts maxItems (1–100) to control how many articles are returned in one call. There is no cursor or page mechanism — you receive up to 100 articles per request.

  • Category always returns the full set of top articles for that category (up to 300) in a single call. There are no pagination parameters.

Python Examples

Keyword monitoring loop

Poll a keyword every hour and print new articles since the last run:

Fetch top technology news

Resolve article URLs

FAQ

How often is the data refreshed?

Articles are fetched from Google News in real time on each request. Results reflect what Google News is currently surfacing for the query or category at the moment of the call. There is no cached snapshot — each request hits Google News live.

What is the maximum number of articles I can get?

Search returns up to 100 articles per call (maxItems 1–100). Category returns up to 300 articles per call. Neither endpoint supports additional pagination beyond these limits.

Why does articleUrl point to news.google.com instead of the publisher?

Google News wraps all article links in a redirect URL. These links open correctly in a browser. If you need the direct publisher URL for scraping, archiving, or deduplication, pass resolveUrl=yes on the Search endpoint — Pullbay will follow the redirect and return the final URL in resolvedUrl.

Can I filter by date range?

There is no server-side date filter. Fetch articles and filter by publishedAt in your own code:

Does resolveUrl=yes cost extra credits?

No. URL resolution is included in the standard per-article credit cost. You are charged 1 credit per article returned regardless of whether resolveUrl is yes or no.

What language codes are supported?

84 codes are supported in COUNTRY:language format. The default is US:en. Examples include GB:en, DE:de, FR:fr, JP:ja, BR:pt-419, CN:zh-Hans. See Language Codes for a full sample list.

Last updated