GroundsocialDocs

API · Google

GET /google/search/news

Google Search news tab: headlines, publishers, times, links.

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

Google Search news tab: headlines, publishers, times, links.

Query parameters

NameTypeRequiredDescription
qstringyesThe search, as typed into Google (operators work). Example: coffee.
glstringnoCountry to search from, default us. Example: gb.
hlstringnoInterface language, default en. Example: de.
locationstringnoWhere the search happens, as a canonical place name ("Austin,Texas,United States"). Example: Austin,Texas,United States.
numintegernoResults per page (default 10, at most 10).
pageintegernoPage, from 1.
tbsstringnoTime filter: qdr:h (past hour), qdr:d, qdr:w, qdr:m, qdr:y, or a cdr:1,cd_min:…,cd_max:… range. Example: qdr:w.
safe"active" | "off"noSafeSearch, default off. One of active, off.

Responses

StatusMeaningSchema
200The news results.
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
404No Google Maps place matches that reference.Error
429Too many requests. Wait for Retry-After seconds.Error
503Google is temporarily unavailable. Retryable; nothing was charged.Error

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