SERP API
News
Google News results for any query: each article's headline, link, publisher, snippet and date.
GET
https://api.scraperdata.com/v1/search?type=newsCredits
One credit per results page, as for every search. Failed requests are free.
The ScraperData Google News API returns the articles Google shows in its News tab for any query as JSON: the headline, the article's real link, the publisher, a snippet and when it was published, as text and as a Unix timestamp. Add type=news to a search request; each page of about 10 articles costs one credit.
Request parameters
These are the ones that matter here. Every other parameter of a live search works too, such as gl, hl, num_pages and device.
| Field | Type | Description |
|---|---|---|
q | string | requiredThe search query.Example: electric vehicles |
type | string | requiredSet it to news for this list.Values:news |
Response
The list is news_results. Each item has these fields when Google shows them:
| Field | Type | Description |
|---|---|---|
position | integer | Rank in the news list |
title | string | The headline |
link | string | The article's real address |
source | string | The publisher |
snippet | string | The first lines of the article |
date | string | When it was published, as Google shows it ("3 hours ago") |
timestamp | integer | The same moment as a Unix timestamp, easy to sort and store |
Use gl and hl to follow the news of one country and language, and page or num_pages to go back further.
Good for
- Media and PR monitoring
- Brand and competitor news alerts
- News feeds for apps and dashboards
- Market and trend research
More examples and questions on the Google News API page.