Real-Time News Data API logo

Real-Time News Data API

Get Top News Articles Globally, Per Topic & Section or Search Local News from Google News Feed and The Web in Real-Time.

  • Free tier, no credit card
  • Structured JSON
  • Real-time results

Also available on RapidAPI

News Search Results
[
  {
    "article_id": "CBMixwFBVV95cUxNVjEydld6QTNRZ3Y2ODNXaERtemZOd3VCNVk5b2s1OGxVR1AwV29nZ…",
    "title": "Web Scraping With A Single API: JavaScript Rendering, Unblocking, And…",
    "link": "https://www.opensourceforu.com/2026/09/web-scraping-with-a-single-api…",
    "snippet": "Web scraping gets a lot easier when it's split into two halves and se…",
    "photo_url": "https://www.opensourceforu.com/wp-content/uploads/2026/09/Extraction-…",
    "thumbnail_url": "https://news.google.com/api/attachments/CC8iK0NnNTNWSEUxTW1GSlVHcElNV…",
    "published_datetime_utc": "2026-09-17T04:30:43.000Z",
    "authors": [
      "Ayan Pahwa"
    ],
    "source_url": "https://www.opensourceforu.com",
    "source_name": "Open Source For You",
    "source_logo_url": "https://encrypted-tbn0.gstatic.com/faviconV2?url=https://www.opensour…",
    "source_favicon_url": "https://encrypted-tbn0.gstatic.com/faviconV2?url=https://www.opensour…",
    "source_publication_id": "CAAqLggKIihDQklTR0FnTWFoUUtFbTl3Wlc1emIzVnlZMlZtYjNKMUxtTnZiU2dBUAE",
    "related_topics": [
      {
        "topic_id": "CAAqKAgKIiJDQkFTRXdvTkwyY3ZNVEZxWm1aMFgyZGljeElDWlc0b0FBUAE",
        "topic_name": "Ayan Pahwa"
      }
    ]
  },
  {
    "article_id": "CBMiYEFVX3lxTFBYcVctWkhUVS1MYTBzUlAzNE9SODRGVmFURTVqcW9oMjdaOEFQRjdoV…",
    "title": "GoProxies Scraping API Review: A Scale-First Take on the Build-vs-Buy…",
    "link": "https://shattered.io/goproxies-scraping-api-review/",
    "snippet": "We put GoProxies' new Scraping API under an infrastructure lens: what…",
    "photo_url": "https://shattered.io/wp-content/uploads/2026/09/goproxies_scraping_he…",
    "thumbnail_url": "https://news.google.com/api/attachments/CC8iK0NnNVlRVXhVY25wdk4yeGhhM…",
    "published_datetime_utc": "2026-09-07T07:00:00.000Z",
    "source_url": "https://shattered.io",
    "source_name": "shattered.io",
    "source_logo_url": "https://encrypted-tbn1.gstatic.com/faviconV2?url=https://shattered.io…",
    "source_favicon_url": "https://encrypted-tbn1.gstatic.com/faviconV2?url=https://shattered.io…"
  },
  …
]

Data samples

What the Real-Time News Data API returns

Real responses for each kind of object the API provides. Pick an object type to inspect its fields.

News Search Results · JSON
[
  {
    "article_id": "CBMixwFBVV95cUxNVjEydld6QTNRZ3Y2ODNXaERtemZOd3VCNVk5b2s1OGxVR1AwV29nZnpZS2FJWjJ6V2w4eE5LU0VMOWgwTzFhMndKWmdiWlNBeS14aWd0d0ZSanU2U1B5TENDekc1OHgySlptNEQ2Ql8zbmJvR0g4WFFITlpfcWdsT0IwMGdrc2VpU3U2NV8wS25qdEdZSFNaSldxSzBDRnFpZXNMOFpIZ3ZBcG40QnI0cFdjUUtMX3U2YXZaWHVwMHZRRlVkUnUw",
    "title": "Web Scraping With A Single API: JavaScript Rendering, Unblocking, And Structured Extraction",
    "link": "https://www.opensourceforu.com/2026/09/web-scraping-with-a-single-api-javascript-rendering-unblocking-and-structured-extraction/",
    "snippet": "Web scraping gets a lot easier when it's split into two halves and separate tools are used for each half.",
    "photo_url": "https://www.opensourceforu.com/wp-content/uploads/2026/09/Extraction-API.webp",
    "thumbnail_url": "https://news.google.com/api/attachments/CC8iK0NnNTNWSEUxTW1GSlVHcElNVmhyVFJDZkF4ampCU2dLTWdhQmdKS2l0QWM=-w200-h200-p-df-rw",
    "published_datetime_utc": "2026-09-17T04:30:43.000Z",
    "authors": [
      "Ayan Pahwa"
    ],
    "source_url": "https://www.opensourceforu.com",
    "source_name": "Open Source For You",
    "source_logo_url": "https://encrypted-tbn0.gstatic.com/faviconV2?url=https://www.opensourceforu.com&client=NEWS_360&size=256&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
    "source_favicon_url": "https://encrypted-tbn0.gstatic.com/faviconV2?url=https://www.opensourceforu.com&client=NEWS_360&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
    "source_publication_id": "CAAqLggKIihDQklTR0FnTWFoUUtFbTl3Wlc1emIzVnlZMlZtYjNKMUxtTnZiU2dBUAE",
    "related_topics": [
      {
        "topic_id": "CAAqKAgKIiJDQkFTRXdvTkwyY3ZNVEZxWm1aMFgyZGljeElDWlc0b0FBUAE",
        "topic_name": "Ayan Pahwa"
      }
    ]
  },
  {
    "article_id": "CBMiYEFVX3lxTFBYcVctWkhUVS1MYTBzUlAzNE9SODRGVmFURTVqcW9oMjdaOEFQRjdoVm9wMHRQSjNZVjFNZGU4b1lLS29VNTA2SjkzMnM1bE9HN1FqS1JDZWVldEhnZy16ag",
    "title": "GoProxies Scraping API Review: A Scale-First Take on the Build-vs-Buy Problem",
    "link": "https://shattered.io/goproxies-scraping-api-review/",
    "snippet": "We put GoProxies' new Scraping API under an infrastructure lens: what it takes to collect public web data at volume, where the reliability ...",
    "photo_url": "https://shattered.io/wp-content/uploads/2026/09/goproxies_scraping_hero-300x240.jpg",
    "thumbnail_url": "https://news.google.com/api/attachments/CC8iK0NnNVlRVXhVY25wdk4yeGhhMmhRVFJEd0FSaXNBaWdLTWdZQk1vVENtZ28=-w200-h200-p-df-rw",
    "published_datetime_utc": "2026-09-07T07:00:00.000Z",
    "authors": [],
    "source_url": "https://shattered.io",
    "source_name": "shattered.io",
    "source_logo_url": "https://encrypted-tbn1.gstatic.com/faviconV2?url=https://shattered.io&client=NEWS_360&size=256&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
    "source_favicon_url": "https://encrypted-tbn1.gstatic.com/faviconV2?url=https://shattered.io&client=NEWS_360&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
    "source_publication_id": null,
    "related_topics": []
  },
  {
    "article_id": "CBMilwFBVV95cUxNWG11Qml3ZWo0dC15QjM2elZmRjFoWFJoTDBJdEFHZnhycDdpTUtiRWZDY1BSSHhtYjNSNldZTFYzZ0x3dWZKcnFjUzJwZHFaekx4cFRUR0FFMmlaRFlRWW9LRVdETmJWLWljd1R2YUZBNmZzQU1keDFBOWREWDNVTVI1N1RZcGVQOWRpOFVJY2Uxd2RvQTdz",
    "title": "Web Scraping API Success Rates: We Tested 12 Tools So You Don’t Have To",
    "link": "https://hackernoon.com/web-scraping-api-success-rates-we-tested-12-tools-so-you-dont-have-to",
    "snippet": "Bright Data's Web Scraping APIs reach a 98.44% success rate. What's worth noting is its near-perfect performance (~100%) on major protected ...",
    "photo_url": "https://hackernoon.imgix.net/images/4zprPhIXIXZZByTaNdLPetjr9iq2-b0839kc.png?auto=format%2Ccompress&w=3840",
    "thumbnail_url": "https://news.google.com/api/attachments/CC8iK0NnNWplbGxLT1dGQ1JWWTBjVTFFVFJDU0FSallBaWdCTWdZTmdvNm12Z1U=-w200-h200-p-df-rw",
    "published_datetime_utc": "2026-05-12T07:00:00.000Z",
    "authors": [],
    "source_url": "https://hackernoon.com",
    "source_name": "HackerNoon",
    "source_logo_url": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://hackernoon.com&client=NEWS_360&size=256&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
    "source_favicon_url": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://hackernoon.com&client=NEWS_360&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
    "source_publication_id": "CAAqKQgKIiNDQklTRkFnTWFoQUtEbWhoWTJ0bGNtNXZiMjR1WTI5dEtBQVAB",
    "related_topics": []
  }
]

Key features and capabilities

What the Real-Time News Data API supports out of the box.

  • Search and retrieve news articles and stories directly from Google News with time and news source / publisher filters.
  • Get full story (list of related articles) coverage, including related X (Twitter) posts.
  • Get top headlines globally & locally, by location, or per topic.
  • Support for localized results (region / country support).

Docs and code

Integrate in minutes, in any language

Full reference in the API docs, and a live playground on the developer portal. Code samples for cURL, Python, Node.js, PHP, Go, Java, C# and more.

  • cURL
  • Python
  • JavaScript
  • Node.js
  • PHP
  • Java
  • C#
  • C++
  • Ruby
import requests

headers = {
  "x-api-key": "YOUR_API_KEY"
}

response = requests.request(
    'GET',
    'https://api.openwebninja.com/realtime-news-data/search',
    params={"query":"Elon Musk"},
    headers=headers
)

Why this API

Why teams choose the OpenWeb Ninja Real-Time News Data API

We keep it fast and reliable every day, and we keep adding what customers ask for.

Comprehensive

Use the API's extensive capabilities - search and retrieve top news articles and stories, by location, by topic (and sections), including details such as title, snippet, photo & thumbnail, source information, related topics, sub articles, and more, from all public sources on the web.

Reliable

Leverage our advanced scraping technology & infrastructure to consistently and reliabily access the data you need.

Lightning Fast

Get the news data that you need within seconds or less, keeping your operation fast and smooth.

Scalable

Benefit from our scalable infrastructure to get the data you need in any volume and rate you require, without compromising on performance.

Real-Time Data

Get the most current data available on Google News and the web, ensuring your information is always up-to-date and relevant.

Free Tier

Start with our generous free tier for easy testing and integration (no credit card required).

Pricing

Simple plans, free to start

Every plan uses the same endpoints and data. Need a custom volume, a higher rate limit, a hard cap or an SLA? Talk to us.

Free

$0/mo

100
Requests / Month
Hard limit

Rate Limit
1 request per second

Pro

$25/mo

10,000
Requests / Month
+ $0.003 per additional

Rate Limit
10 requests per second

Ultra

Most popular
$75/mo

50,000
Requests / Month
+ $0.002 per additional

Rate Limit
20 requests per second

Mega

$150/mo

200,000
Requests / Month
+ $0.001 per additional

Rate Limit
30 requests per second

Pay As You Go

Per use

$0.005 / use
Requests
No monthly fee

Rate Limit
10 requests per second

Prices in USD. Subscribe on the OpenWeb Ninja portal, or on RapidAPI. Cancel anytime.

FAQ

Common questions

Anything else? Ask our team, we usually reply within hours.

What does the Real-Time News Data API return?

It returns news articles from Google News as structured JSON: headline, publisher, article URL, thumbnail, and publish timestamp. You can search by keyword query or pull articles for Google News topics, localized by country and language.

How fresh is the news data?

Data is fetched in real time from Google News. Articles appear as soon as Google indexes them, typically within minutes to a few hours of publication.

Can I filter by news source, time, or location?

Use the source parameter to filter by a specific publisher domain (e.g., source=cnn.com), the time_published parameter to filter by recency, and the country and language parameters to localize results. Topic-based endpoints such as /topic-headlines return articles grouped by Google News topics.

Why do I get the same articles on repeated calls?

Google News does not always index new articles in real time for every topic, so repeated calls in a short window can return the same set. Narrow the time window with date filters or use a more specific query to surface fresher or different articles.

What is the maximum number of news results per query?

The API returns up to 100 news results per query or topic.

What is the typical response time of the Real-Time News Data API?

Response times range from approximately 0.5 to 4 seconds depending on the endpoint and parameters.

Can I get a custom plan with higher limits or a hard cap?

Yes. Contact us at support@openwebninja.com with your expected monthly volume and any requirements (hard request caps to prevent overage charges from automated retries, higher RPS). Custom plans can combine custom request limits, rate limits, and per-request pricing tailored to your usage.

How do I subscribe to and start using the Real-Time News Data API?

Click the "Try for Free" button at the top of this page to sign up on the OpenWeb Ninja developer portal, subscribe to a plan, and start calling the API by passing your key in the x-api-key header. No credit card required for the free tier. The API is also available on the RapidAPI marketplace if that fits your workflow better (link available at the top). Both routes serve identical endpoints, parameters, and response shapes; the direct portal route avoids RapidAPI's data transfer limits.

Start using the Real-Time News Data API today

Free tier included, no credit card required. Your first response is a minute away.