Google News Result API

To scrape Google news results with SerpApi, create a search with tbm parameter set to nws. (I.e., tbm=nws)

API Parameters

tbm

Required

Parameter must be set to nws. (I.e., tbm=nws)

API Examples

JSON structure overview

{
  ...
  "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"
    },
  ...
}

Results for: Trump

Results for: Trump

JSON Example

{
  ...
  "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"
    },
    ...
  ],
  ...
}