GroundsocialDocs

API · Google News

GET /googlenews/search

Search Google News: headlines, publishers, publish times, links; up to 100.

RequestGET /v1/googlenews/search
Operation idgooglenews.search.all
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Search Google News: headlines, publishers, publish times, links; up to 100.

Query parameters

NameTypeRequiredDescription
keywordstringyesExample: electric vehicles.
depthintegerno
countrystringnoEdition country, two letters (default US).
language_codestringnoEdition language (default en). Example: de.
time_range"hour" | "day" | "week" | "month" | "year"noOne of hour, day, week, month, year.
publisherstringno
fromstringno
tostringno
sincestringno
untilstringno

Responses

StatusMeaningSchema
200Matching articles.
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404Google News has nothing for that search.Error
429Too many requests. Wait for Retry-After seconds.Error
503Google News is temporarily unavailable. Retryable; nothing was charged.Error

Errors use one shape everywhere; see Errors for every code and what to do.