Google News Scraping API

Extract breaking news from Google News with our powerful and reliable Web Scraping API. Monitor stories, sources, and authors from any country with unmatched precision and reliability.

Collect hundreds of headlines from Google News in seconds. From any country.
Extract titles, sources, timestamps, authors, and links with perfect precision.
Try our Google News Scraper to quickly start scraping Google News Data. Receive clean, structured JSON.
based on 100+ reviews.

Breaking News Data. Without Breaking a Sweat

Our Google News Scraper delivers headlines from around the world when timeliness matters most.

image
icon

Track Breaking Stories

Capture headlines as they appear on Google News. Monitor developments across topics. Stay informed the moment news breaks.

icon

Monitor Media Sources

Identify which outlets are covering specific stories. Track publication patterns. Understand media priorities across different regions.

icon

Follow Regional Coverage

Compare news priorities by country or region. Identify local angles on global stories. Discover regional reporting patterns.

Google News Headline Data. In Seconds

Extract valuable news information with our ready-made code example. Start scraping immediately.

Input parameters

country_code

Country location for news retrieval (e.g., US, UK, IN).

Input

                      from scrapingbee import ScrapingBeeClient

client = ScrapingBeeClient(api_key='YOUR-API-KEY')

def google_news_headlines_api(country_code='US'):

    extract_rules = {
        "news": {
        "selector": "article",
        "type": "list",
            "output": {
                "title": ".gPFEn,.JtKRv",
                "source": ".vr1PYe",
                "time": "time@datetime",
                "author": ".bInasb",
                "link": ".WwrzSb@href"
            }
        }
    }

    js_scenario = {
        "instructions":[
            {"evaluate":"document.querySelectorAll('.WwrzSb').forEach( (e) => e.href = e.href );"}
        ]
    }

    response =  client.get(
        f'https://news.google.com/topics/CAAqJggKIiBDQkFTRWdvSUwyMHZNRFZxYUdjU0FtVnVHZ0pWVXlnQVAB?&gl={country_code}',
        params={ 
            "custom_google": "true",
            "wait_for": ".bInasb",
            "extract_rules": extract_rules,
            "js_scenario": js_scenario, 
        },
        retries=2
    )

    if response.text.startswith('{"message":"Invalid api key:'):
        return f"Oops! It seems you may have missed adding your API KEY or you are using an incorrect key.\nGet your free API KEY and 1000 free scraping credits by signing up to our platform here: https://app.scrapingbee.com/account/register"
    else:
        def get_info():
            if len(response.json()['news']) == 0:
                return "FAILED TO RETRIEVE NEWS"
            else:
                return "SUCCESS"

        return {
            'count': len(response.json()['news']),
            'news_extracts': response.json()['news'],
            'info': f"{response.status_code} {get_info()}",
        }
#country_code: Set the news location; US, IN, etc.
print(google_news_headlines_api(country_code='US'))

                    

Output

                      {
   "count": 280,
   "news_extracts": [
      {
         "title": "James Comey: Ex-FBI boss investigated for seashell photo seen as threat to Trump",
         "source": "BBC",
         "time": "2025-05-16T03:01:14Z",
         "author": "By Ali Abbas Ahmadi",
         "link": "https://news.google.com/read/CBMiWkFVX3lxTE1BS3R4dVZhYkhxZXp4WU1QZnNsSExKVXM3UW1XY1lGS3NvZmJfa3lqdFd2c0NrZmdLX3Z2TV96dEh1aGFqdm9fYVBUa0dpV1Y1RWVyMXZrZF9qQdIBX0FVX3lxTE5qLUtOSUhIeGpNQjVnUF9TbDZoZlJkS2JpM3lkcjlxeEp3OGYtZTlqUU9BRTFHUi02VlM5WHJ1Z2NhckE2SjhoLXZpd1ItOXdabFBra0xuMXdjVW9CdTFn?hl=en-US&gl=US&ceid=US%3Aen"
      },
      {
         "title": "Former FBI Director James Comey takes down Instagram post after conservative uproar",
         "source": "CNN",
         "time": "2025-05-16T01:58:00Z",
         "author": "By Holmes Lybrand",
         "link": "https://news.google.com/read/CBMijwFBVV95cUxNN05JY28xZm4yemhjYmJfY19Ua1RDSUNWMldSRmxlYVJSdkZTS1lUdHpOREhDbklvRUZpWWhhYllBR0JKcEhmVmpOOGpvQlBiWFc3N3UtUlVLUkhSb0FISzNlYVM0TFptTVlqS3ZTbW1OTktfU3RxcDBEVmtBRG1GWXAwd0Vyd1dXUWZiYW9Qd9IBlAFBVV95cUxOVnFzenpPY1ltekZHVm0tZm1LdGZPenlGVlVpaHI4M3o0dzhlQTBVS1BLbkdzRE1VS3ktLTJKYlFuT3c3NzlFVE9aYTJTS1MzSHQzbzZxbHhpOXk2Q2tqTmN0S1FIaEMyWjd5aHNDaG1yd1dESS1hNkpfNGU4Z0x3TTlnLUg2WjAzVFNsZ0JHRW9zY2lN?hl=en-US&gl=US&ceid=US%3Aen"
      },
      {
        "title":"James Comey under investigation for post seen as potential threat to Trump's life",
        "source":"NBC News",
        "time":"2025-05-16T00:39:00Z",
        "author":"By Nnamdi Egwuonwu",
        "link":"https://news.google.com/read/CBMitwFBVV95cUxPaWVmZE1oU0lwUTNyYkhLcVpPa0dmWEJIWTQ5RG9qbDd1bVBSb0I3YXhNb01wejJRTUxNcVdlM3dZeDJXUExvN3lPOGdvN3dVNGlZR2JNVzVaNXFGakhudjlzUzNYM1hUZnFnUVl2SXlrUkR2NVdqbVMtMURIZXdEUE5UU2RMNjBxQnByYXpsVnZiczdMQ2hCdEJSQldlbjBTRDI1aFVDVExabkNXZUxrS2NKUjVqTHPSAVZBVV95cUxNQlVhS1FaaXpMa2VpTVVuVlBzYmJiOGkwNU53c2I0eXZBTjJ0emxQU2F1UDR0SmUzRG1pdzdJbVVkdjVnaXNRbHJCblJoNUhUUWk3eHJkZw?hl=en-US&gl=US&ceid=US%3Aen"
      },
      {
        "title":"Trump agenda hits speed bump in US Congress as hardliners revolt",
        "source":"Reuters",
        "time":"2025-05-16T00:56:00Z",
        "author":"By David Morgan",
        "link":"https://news.google.com/read/CBMipgFBVV95cUxQbnBFMThmdlh1ajFycXU1UFdMMG1lY0RSYTFwT1NiWExieWZPcERtME5zakxpcHp3Q1FtWnU3cERlZHhzSkRYX2RRbURQUGtZWmZWUXhaOEUxb2lhdFpNWGY5MEE2dEZVTlRRTEhBbnRoMUprdERTM2REV3lhcUc3MHZPWm42NV96UTRINjkxSThwR3VqbmFUVXJaVmY2ZjJ0RXNIZU9n?hl=en-US&gl=US&ceid=US%3Aen"
      },
      {
        "title":"Senate Republicans put House on notice: We won't accept your Trump agenda bill without changes",
        "source":"NBC News",
        "time":"2025-05-15T21:44:27Z",
        "author":"By Sahil Kapur, Frank Thorp V & Julie Tsirkin",
        "link":"https://news.google.com/read/CBMiwAFBVV95cUxNYzdPb19jcWtxNy14MC05ME1Ta3RiY1QwempLSE1VTjZaZWZpTXJFYlROUHZicEpKU0FYMmdlNGxKd09aYS1KNkdjd1lxNjlVamJxVEdCaHhyT2l6UnM4LXB1eUNaT19uQjY2Vk41ZnJnSzVSUHA0UnU5T3lGRVpybjdFREFTczJJVHNwQjFCWGFFWEF0bEE0OUFnRVpyMTQ4VjBhSlh0Mk5JWkZsX3dodUw3UE42bzdVY2E1QTJBRTPSAVZBVV95cUxNdTFSdDBWSHpBU3F2d0Roa212b185b0NHcEtlbFVwWVNWX1hmRVdhODREdmVMeHMwYUcycUxUTExDdnBxUkhVbkRhR29OcUsxaXVGUF9jQQ?hl=en-US&gl=US&ceid=US%3Aen"
      },
      {
        "title":"GOP plans to advance megabill in peril",
        "source":"Politico",
        "time":"2025-05-15T19:35:18Z",
        "author":"By Meredith Lee Hill & Mia McCarthy",
        "link":"https://news.google.com/read/CBMiqAFBVV95cUxQel9fQUlKbnh4ZUIzZmN4RnAtT1Fxbm11UGtVMWtDR1psUVptVWNRbGRlVVRfSllBNTMya2FDSGx6aC1DM3JoWEtaenJkMHNsNDVqMmRtWFhzZG9vUEppVmpINFlkdkFuRk15UmhHY3ptRzAtenJCeWtEenFXTWFsZExQczJDX1NSZ2ZGMzRFb21RUXFxSkN2LUFtbzdBNjdRRVNQaWhuM1g?hl=en-US&gl=US&ceid=US%3Aen"
      },
      {
        "title":"Trump’s New Tax Cuts Could Shower Americans With Cash, for Now",
        "source":"The New York Times",
        "time":"2025-05-14T17:40:36Z",
        "author":"By Andrew Duehren",
        "link":"https://news.google.com/read/CBMiggFBVV95cUxOdjlQWTQzMnFRTWJpR09VTjR1TUIxYjVtRkh1V09FbU1ieVRqR3N2ZUJXTnpOcUVGMkVWOXdtbWxPMEhBMUNBRDZ3ZjJ1djVhRGp4aENUemdaZkJ3bFdBcmhwX3Q0Rzg5blQzLW45TnRKcEFleEN6cDA3WHd6UDh0THd3?hl=en-US&gl=US&ceid=US%3Aen"
      },
      {
        "title":"In Abu Dhabi, Trump makes first visit to a mosque as president",
        "source":"NPR",
        "time":"2025-05-15T20:16:35Z",
        "author":"By Franco Ordoñez",
        "link":"https://news.google.com/read/CBMidkFVX3lxTE1waWtMVWVxSm5Rckt5VGNMaXB2VWNfUjRoNDdUV05VWjI0WFdOVGV4akc0enhvS3c5SVlZanVwTExsQXp5Z0xJMDNoLU9vNGg0dDBfdjh6OVZzSkRjdHpLajFjb3N0a0ZYdHMxbFpjNmQyZzg3bVE?hl=en-US&gl=US&ceid=US%3Aen"
      },
      // Additional headlines...
   ],
   "info": "200 SUCCESS"
}

                    

Product parameters

topic

Optional Google News topic identifier.

country_code

Country location for news retrieval.

Input

                      (function() {

  class CodeBlockComponent extends HTMLElement {
    
    constructor() {
      super();
      this.attachShadow({ mode: "open" });
    }
    
    bindEvents() {
      const { shadowRoot } = this;
      const copyButton = shadowRoot.querySelector('#copy-button'); 
      copyButton.addEventListener("click", () => {
          this.copyCode();                   
      });
    }

                    

Output

                      (function() {

  class CodeBlockComponent extends HTMLElement {
    
    constructor() {
      super();
      this.attachShadow({ mode: "open" });
    }
    
    bindEvents() {
      const { shadowRoot } = this;
      const copyButton = shadowRoot.querySelector('#copy-button'); 
      copyButton.addEventListener("click", () => {
          this.copyCode();                   
      });
    }

                    

Every Story. Every Source. Every Second

Capture what matters from Google News across the globe.
From political developments to business breakthroughs.

Global Coverage. Local Relevance

Access news headlines customized to any country or region. Compare coverage priorities across different markets. Understand how the same story gets reported worldwide with country-specific Google News data.

Explore the Docs
**Global Coverage. Local Relevance**

Complete Headline Data. Structured

Capture every critical element of breaking news: headlines, publication sources, timestamps, author bylines, and direct links. All delivered in clean, structured JSON for immediate analysis or storage.

Start Collecting
**Complete Headline Data. Structured**

ScrapingBee. Built for Speed. Designed for Web Scraping Simplicity

From anti-bot bypassing to pixel-perfect screenshots, our web scraping API handles the complex parts
Our customers focus on what matters - growing their businesses.

icon

Seamless Data Access

Extract data from any website. Bypass rate limits and anti-bot measures with advanced anti-bot measures, stealth/premium proxies and cutting-edge headless browser technology. Never miss a data point again.

Check our Docs
icon

Get Exactly What You Need

Skip the messy HTML. With our easy-to-use extraction rules, get perfectly structured JSON with just the data you care about. One API call. Done.

Explore extraction rules
icon

Interact Like a Human

Click, scroll, wait for dynamic content to appear, or just run some custom JavaScript code. Our JavaScript scenarios simulate real user behavior. Seamlessly.

Control the browser
icon

Screenshots for Visual Intelligence

Need a screenshot of that website and not HTML? Generate screenshots for visual analysis. Full-page captures. Partial views. Perfect for monitoring design changes.

Capture the web
icon

Search Engine Results

Extract Google Search data at scale with our specialized Google Search API. No rate limits. No complexity. Just pure search intelligence.

Explore Google Search API
icon

AI Powered Web Scraping

Jettison the Xpath and CSS selectors with our AI-powered Web Scraping feature, which enables you to extract data with just a prompt. Adapts to page layout changes with zero effort.

AI Web Scraping

Simple, transparent pricing.

Cancel anytime, no questions asked!

API Credits
Concurrent requests
Geotargeting
Screenshots, Extraction Rules, Google Search API
Priority Email Support
Dedicated Account Manager
Team Management
Freelance $49/mo
250,000
10
-
-
-
Startup $99/mo
1,000,000
50
-
-
Business + $599/mo
8,000,000
200
All prices are exclusive of VAT.

Need more credits and concurrency per month?

Not sure what plan you need? Try ScrapingBee with 1000 free API calls.

(No credit card required)

More Data Sources. Infinite Possibilities

Extract valuable data from every corner of the web with our specialized scrapers.

Your Google News Questions. Answered.

Our API lets you extract comprehensive headline data including the title of each article, the source publication, the publication timestamp, the author byline, and a direct link to the full article. This data is delivered in structured JSON format ready for immediate use.
Yes. The API accepts country codes (such as US, UK, DE, FR, JP, IN) to retrieve headlines specific to that region. This makes it perfect for comparing news coverage and priorities across different markets.
Yes! Our AI-powered web scraping API makes data extraction effortless. Simply describe what you want to extract in plain everyday English — no need for complex selectors or DOM analysis. Our AI automatically adapts to page layout changes, delivers clean JSON outputs, and works seamlessly with our anti-bot technology. It's particularly powerful for retrieving Google News, as it can understand and navigate complex site structure without manual configuration.
Our API retrieves headlines directly from Google News in real-time, so the data is as current as Google's own platform. Google News typically updates continuously throughout the day as new stories break.
Simply sign up for your free API key with 1000 free credits. Install our SDK, specify your desired country code, and start collecting headlines immediately. Our documentation provides ready-to-use code examples.
Each API call typically returns hundreds of headlines from Google News at once. Your total collection capacity depends on your subscription plan, with options available for everything from occasional monitoring to enterprise-scale news analysis.