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. From 1 credit per call.
POST
Search Google News by keyword, date, site and country, or read headlines by topic
- Endpoint:
google.news - Returns:
datahasresults,isPartial. - Cost: 1 credit per 10 articles returned, never more than you asked for (5 credits at most). Failed calls cost nothing.
- Paging: No.
query, or leave it out and pick a topic for the top headlines.
Example
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
How many articles to return, up to 50. Headlines (no query) give up to 10.
Required range:
1 <= x <= 50Required string length:
1 - 400Headlines for 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:
10Available options:
hour, day, week, month, year, all