Google News Result API
To scrape Google news results with SerpApi, create a search with tbm
parameter set to nws
. (I.e., tbm=nws
)
SerpApi News Results JSON
{
...
"news_results": [
{
"position": "Integer - Article position",
"title": "String - Article title",
"link": "String - Link to the",
"date": "String - Article date",
"source": "String - Article source",
"snippet": "String - Article snippet",
"category": "String - Article category",
"thumbnail": "String - Article thumbnail"
},
...
}
Google News Results API example
News Results for "Trump"

{
...
"news_results": [
{
"position": 1,
"title": "Trump brushes aside environmental concerns, signs 2 executive ...",
"link": "https://www.usatoday.com/story/news/nation/2019/04/10/president-trump-orders-speed-oil-gas-pipeline-projects/3431466002/",
"source": "USA TODAY",
"date": "6 hours ago",
"snippet": "Aiming to streamline oil and gas pipeline projects, President Donald Trump on Wednesday signed two executive orders making it harder for ...",
"category": "In-Depth",
"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRQdBI3wIjf_BX3zfRRYJjTGRRF5CNNZvqWAuza8-4mVZ75iBjlwOVTxcfGtg6_hLyUbPQ9cFA"
},
{
"position": 2,
"title": "Trump Signs Orders to Speed Up Oil and Gas Pipeline Construction",
"link": "https://www.nytimes.com/2019/04/10/business/energy-environment/trump-oil-gas-pipelines.html",
"source": "New York Times",
"date": "12 hours ago"
},
{
"position": 3,
"title": "Trump signs measures easing energy regulation while in Texas",
"link": "https://www.cnn.com/2019/04/10/politics/trump-energy-orders-texas/index.html",
"source": "CNN",
"date": "12 hours ago"
},
{
"position": 4,
"title": "President Donald J. Trump Is Paving The Way For Energy ...",
"link": "https://www.whitehouse.gov/briefings-statements/president-donald-j-trump-paving-way-energy-infrastructure-development/",
"source": "Whitehouse.gov (press release)",
"date": "13 hours ago"
},
{
"position": 5,
"title": "Trump's executive order paves a smooth path for oil pipelines",
"link": "https://abcnews.go.com/Politics/trumps-executive-order-paves-smooth-path-oil-pipelines/story?id=62306607",
"source": "ABC News",
"date": "11 hours ago"
},
{
"position": 6,
"title": "Trump signs executive orders seeking to speed up oil and gas projects",
"link": "https://www.washingtonpost.com/national/health-science/trump-to-issue-executive-orders-seeking-to-speed-up-oil-and-gas-projects/2019/04/09/4949e74e-5ae2-11e9-9625-01d48d50ef75_story.html",
"source": "Washington Post",
"date": "12 hours ago",
"category": "In-Depth"
},
...
],
...
}