Google
Google news API
Search Google News by keyword, date, site and country, or read headlines by topic. Call the Google news API for JSON. 1 credit per call.
POST
Search Google News by keyword, date, site and country, or read headlines by topic
Searches Google News by keyword, date, site and country, or returns headlines by topic.
Request
Exactly one ofquery or topic is required.
This endpoint can be called without an API key, subject to per-address limits. Pagination requires a key.
Response
If successful, the response body contains the standard envelope.data.results[] contains the articles, each with its publisher and time.
The following example is a real response, truncated: each list shows one item and long strings are cut.
For every field, see the response schema on this page.
Optional parameters
Billing
Each successful request consumes 1 credit, regardless of the number of items returned. Requests that fail, or that return no items, are not billed.Pagination
Results are paginated. To retrieve the next page, incrementpage. An empty data.results indicates the last page. The maximum value of page is 20.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Required string length:
1 - 400The top 10 headlines in one section instead of a search. Send query or topic, not both.
Available options:
world, nation, business, technology, entertainment, sports, science, health ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
Pattern:
^[A-Za-z]{2}$Two-letter language code like en or pt. Any case is accepted.
Pattern:
^[A-Za-z]{2}$Maximum array length:
10Maximum array length:
10Google's Tools time filter. Leave out for any time.
Available options:
pastHour, past24Hours, pastWeek, pastMonth, pastYear Google News' own sort: by relevance or newest first.
Available options:
relevance, newest Page number, starting at 1.
Required range:
1 <= x <= 20