Scrapingdog

Google News Search API

The Google News Search API retrieves news search results from Google News, returning headlines, snippets, source names, and timestamps. Costs 5 API credits per request.

Endpoint: https://api.scrapingdog.com/google_news

API Parameters

🔑

Authentication

  • api_key Required
    Your personal API key. Available on your dashboard.

    Type: String
🔗

Request Parameters

  • query Required
    This is a Google Search Query. Example: query=pizza

    Type: String
  • results Optional
    Number of results you want to scrape. Its value could be anything between 1 and 100. Default: 10

    Type: String
  • country Optional
    ISO code of the country from which you are seeking Google search results. Default: us. For a full list, see the Google Country Parameter.

    Type: String
  • page Optional
    Page number of Google searches. Its value can be 0 for the first page, 1 for the second page, and so on. Default: 0

    Type: String
  • domain Optional
    To obtain local results from a specific country, for example, for India it will be google.co.in, and for the UK it will be google.co.uk. Default: google.com. For a full list, see the Google Domains Page.

    Type: String
  • language Optional
    Language of the results. Possible Values: en, es, fr, de, etc. Default: en. For a full list, see the Google Language Page.

    Type: String

️ Advanced Filters

  • lr Optional
    Limit the search to one or multiple languages. Used as lang_{language_code} (e.g., lang_en). For a full list, see the Google LR Language Page.

    Type: String
  • uule Optional
    A parameter that specifies the geographic location or locale for which the search results should be tailored (e.g., w+CAIQIFJlbGF5IFN0YXRlcw==). Cannot be used with the location parameter.

    Type: String
  • tbs Optional
    Time-Based Search parameter to filter results based on a specific time range (qdr:h past hour, qdr:d past 24h, qdr:w past week, qdr:m past month, qdr:y past year, or custom range).

    Type: String
  • safe Optional
    To filter adult content set to active, or to disable it set to off. Default: off

    Type: String
  • nfpr Optional
    Excludes results from auto-corrected queries that are spelled wrong. Set to 1 to exclude or 0 to include. Default: 0

    Type: Boolean
  • html Optional
    This will return the full HTML of the Google page. Default: false

    Type: Boolean

API Examples

Code to Integrate
curl "https://api.scrapingdog.com/google_news?api_key=APIKEY&query=football&country=us"
API Response
{
  "search_information": {
    "query_displayed": "football",
    "url": "https://www.google.com/search?q=football&gl=us&tbm=nws"
  },
  "news_results": [
    {
      "title": "NFL special football to honor U.S. 250th birthday",
      "snippet": "The NFL will commemorate the United States' 250th birthday with specially embossed footballs and field markings.",
      "source": "ESPN",
      "lastUpdated": "19 hours ago",
      "url": "https://www.espn.com/nfl/story/_/id/47107677/",
      "favicon": "https://www.google.com/s2/favicons?domain=www.espn.com"
    },
    {
      "title": "Are 30-plus-carry games too much of a good thing?",
      "snippet": "The BYU back's career-best game against the Bearcats was remarkable and gritty.",
      "source": "Deseret News",
      "lastUpdated": "13 hours ago",
      "url": "https://www.deseret.com/sports/2025/11/26/byu-cougars/",
      "favicon": "https://www.google.com/s2/favicons?domain=www.deseret.com"
    }
  ]
}