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. Our Google News Scraper delivers headlines from around the world when timeliness matters most. Capture headlines as they appear on Google News. Monitor developments across topics. Stay informed the moment news breaks. Identify which outlets are covering specific stories. Track publication patterns. Understand media priorities across different regions. Compare news priorities by country or region. Identify local angles on global stories. Discover regional reporting patterns. Extract valuable news information with our ready-made code example. Start scraping immediately. Input parameters Country location for news retrieval (e.g., US, UK, IN). Input Output Product parameters Optional Google News topic identifier. Country location for news retrieval. Input Output Capture what matters from Google News across the globe. 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. 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. From anti-bot bypassing to pixel-perfect screenshots, our web scraping API handles the complex parts 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. 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. Click, scroll, wait for dynamic content to appear, or just run some custom JavaScript code. Our JavaScript scenarios simulate real user behavior. Seamlessly. Need a screenshot of that website and not HTML? Generate screenshots for visual analysis. Full-page captures. Partial views. Perfect for monitoring design changes. Extract Google Search data at scale with our specialized Google Search API. No rate limits. No complexity. Just pure search intelligence. 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. Cancel anytime, no questions asked! Need more credits and concurrency per month? Not sure what plan you need? Try ScrapingBee with 1000 free API calls. (No credit card required) Extract valuable data from every corner of the web with our specialized scrapers.Google News Scraping API
Breaking News Data. Without Breaking a Sweat
Track Breaking Stories
Monitor Media Sources
Follow Regional Coverage
Google News Headline Data. In Seconds
country_code
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'))
{
"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"
}
topic
country_code
(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();
});
}
(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
From political developments to business breakthroughs.Global Coverage. Local Relevance
Complete Headline Data. Structured
ScrapingBee. Built for Speed. Designed for Web Scraping Simplicity
Our customers focus on what matters - growing their businesses.Seamless Data Access
Get Exactly What You Need
Interact Like a Human
Screenshots for Visual Intelligence
Search Engine Results
AI Powered Web Scraping
Simple, transparent pricing.
More Data Sources. Infinite Possibilities
Your Google News Questions. Answered.
Related Articles