Skip to content

News feeds for your product, categorized and deduplicated

Building a news portal, a financial platform or an industry-specific aggregator? Aggregate, categorize and personalize content from 150,000+ sources in 50+ languages, so that relevant news reaches your users minutes after it is published.

2,000 free tokens · No credit card required

1000+ companies and institutions rely on NewsAPI.ai

  • Spotify
  • IBM
  • Accenture
  • Bloomberg
  • BBVA
  • World Bank Group
  • BASF
  • Huawei
  • OECD.AI Policy Observatory

Cut through the noise and deliver news that matters

The sheer volume of news makes it harder than ever to filter out noise and deliver relevant content. These are the parts of the API that structure it into feeds your audience needs.

Topic feeds from a single query

Every article is categorized when it is collected, and tagged with the people, organizations and places it mentions. A section of your app becomes a single query.

Combine categories with languages, source countries and source ranking to shape each feed for its audience.

  • News categories such as news/Sports work across languages
  • Filter by language and by the country of the source
  • Sort by date, relevance or source importance
section_feed.py
# the sports section of a German-language app
q = QueryArticlesIter(
    categoryUri = "news/Sports",
    lang = "deu",
    sourceLocationUri = er.getLocationUri("Germany"),
    isDuplicateFilter = "skipDuplicates")
for art in q.execQuery(er, sortBy = "date", maxItems = 30):
    print(art["title"], art["image"], art["url"])

Comes back with titleimageurlsourcedateTime

One story instead of twenty copies

The same wire report is published by many outlets, and a big story is covered by hundreds. News API marks duplicate articles and groups the articles about the same thing that happened into an event.

Show one card per story with the number of articles behind it, and let readers open the complete coverage across sources and languages.

  • Skip duplicate articles with one parameter
  • Events with article counts for a top stories view
  • The complete coverage of any event on request
top_stories.py
# the biggest business stories since a given day
q = QueryEventsIter(
    categoryUri = "news/Business",
    dateStart = "2026-11-01")
for event in q.execQuery(er, sortBy = "size", maxItems = 10):
    print(event["title"], event["totalArticleCount"])

Comes back with titlesummarytotalArticleCounteventDate

A personal feed for each reader

Personalization is a query built from what a reader follows: the companies, people, teams and topics they picked, in the languages they read.

Concepts make that dependable. A reader who follows a football club gets articles about the club, including those that use another name for it or are written in another language.

  • Follow people, organizations, places and topics
  • Several concepts and languages in one query
  • Exclude the keywords, topics or sources a reader has muted
personal_feed.py
# built from the settings of one reader
follows = ["FC Barcelona", "Formula One", "Rafael Nadal"]
concepts = [er.getConceptUri(name) for name in follows]

q = QueryArticlesIter(
    conceptUri = QueryItems.OR(concepts),
    lang = QueryItems.OR(["eng", "spa"]),
    ignoreKeywords = "betting odds",
    isDuplicateFilter = "skipDuplicates")
for art in q.execQuery(er, sortBy = "date", maxItems = 30):
    print(art["title"], art["source"]["title"])

Comes back with titlesourceimageeventUri

Live news, and past news when you need it

Access the stream of news and blogs as they are collected. Content is available just minutes after it has been published online, so a feed that you refresh on a schedule stays current.

The same queries obtain historical content published since 2014, for topic pages, timelines and background on a developing story.

  • Real-time news, blogs and press releases
  • Historical content since 2014
  • Sort by relevance to surface the key articles of a topic
background.py
# earlier coverage of a topic, most relevant first
q = QueryArticlesIter(
    conceptUri = er.getConceptUri("Artemis program"),
    dateStart = "2022-01-01", dateEnd = "2025-12-31",
    lang = "eng")
for art in q.execQuery(er, sortBy = "rel", maxItems = 20):
    print(art["date"], art["title"])

Comes back with datetitleurlimage

Everything a feed card needs

Article metadata, categorization, entity extraction, event detection and sentiment come with each article, so your team can build the product instead of the pipeline.

categoriesSections
Every article is categorized, so business, technology or sports feeds are a filter away.
conceptsThings to follow
The people, organizations and places in each article, with stable IDs. Let readers follow them, and link the articles that mention them.
eventUriOne card per story
Articles about the same story share an event ID, so twenty reports can be shown as one card with twenty sources.
imageCard content
The image of the article with its title, URL, authors and time of publication.
sourceSource details
The name, location and ranking of the publisher, to show where a story comes from and to favor the sources your audience trusts.
isDuplicateNo repeats
Copies of the same article are marked, so a reprinted wire story appears in your feed once.

A live feed in three steps

  1. Create a free account

    You get 2,000 tokens with no credit card. A 30-day article search costs 1 token, so that is plenty to evaluate the data.

  2. Pick how you call the API

    Run pip install eventregistry for Python, use the Node.JS SDK, or send the REST request from any language. Switch the example to see each one.

  3. Run the query

    Choose the sections and the languages of your feed and run it. The sandbox builds queries interactively and generates the code for you.

Explore the docs
aggregator.py
from eventregistry import *

er = EventRegistry(apiKey = YOUR_API_KEY)

# the sections of your app, as news categories
sections = ["news/Business", "news/Technology", "news/Sports"]

q = QueryArticlesIter(
    categoryUri = QueryItems.OR(sections),
    lang = QueryItems.OR(["eng", "deu", "fra"]),
    isDuplicateFilter = "skipDuplicates")

info = ReturnInfo(articleInfo = ArticleInfoFlags(
    categories = True))

for art in q.execQuery(er, sortBy = "date",
        returnInfo = info, maxItems = 100):
    # articles with the same eventUri are one story
    print(art["title"], art["eventUri"])
    print([c["uri"] for c in art["categories"]])

Who uses news aggregation

  • News portals and aggregators

    Build news platforms with categorized sections and personalized feeds.

  • Finance and crypto platforms

    Deliver real-time, market-moving news next to the data it affects.

  • Unbiased news providers

    Show how different sources and countries cover the same event, side by side.

  • Sports and betting apps

    Follow teams, athletes and competitions as concepts, in the languages of your users.

  • Legal and compliance platforms

    Track regulatory changes and policy updates in real time.

  • Industry analysis

    Extract market trends, analyze a specific industry, and track competitors and customers.

Good to know before you start

What content does the API cover?

News articles, blog posts and press releases from 150,000+ publishers in 50+ languages, with a searchable archive that goes back to 2014.

How quickly do new articles appear?

Content is available through the API just minutes after it has been published online.

How do I avoid showing the same story many times?

Set isDuplicateFilter to skipDuplicates to leave out copies of the same article, and use eventUri to group different articles about the same story into one card.

Can you add sources or tailor the service?

Yes. We work with startups, research teams and global companies, and we can add specific sources, set up custom delivery formats or agree volume pricing. Contact sales to talk it through.

What does it cost to try?

Nothing. Registration gives you 2,000 tokens with no credit card, and they do not expire. An article search over the last 30 days uses 1 token. After that, paid plans are a monthly subscription that you can upgrade or downgrade at any time.

Do I have to use the Python SDK?

No. Every query is available through the REST API, and each example on this page can be switched to Node.js, cURL or the plain REST request. The Node.js version calls the REST API with fetch; there is also a Node.JS SDK. The sandbox lets you build a query interactively and generates the code for you.

Effortless integration

Our API is very easy to integrate and provides great documentation with examples. Simply use the sandbox to generate code that you can directly deploy in your application.

Start with 2,000 free tokens, no credit card required. After that it is a simple pay-as-you-go monthly subscription: upgrade or downgrade your plan at any time.