Track political events instead of headlines
News API groups the articles that report the same thing that happened into one event, across languages. A summit, a vote or a new round of sanctions becomes one entry with all its coverage attached.
Search events by the organizations, people and countries involved, restrict them to political news, and rank them by how widely they are reported.
- Events with dates and article counts
- Filter by concept, category and location
- Coverage in different languages under one event
# the largest political events that involve an organization
q = QueryEventsIter(
conceptUri = er.getConceptUri("NATO"),
categoryUri = "news/Politics",
dateStart = "2026-10-15")
for event in q.execQuery(er, sortBy = "size", maxItems = 10):
print(event["eventDate"], event["totalArticleCount"])
print(event["title"])
const api = "https://eventregistry.org/api/v1";
const response = await fetch(api + "/event/getEvents", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"apiKey": "YOUR_API_KEY",
"conceptUri": "http://en.wikipedia.org/wiki/NATO",
"categoryUri": "news/Politics",
"dateStart": "2026-10-15",
"resultType": "events",
"eventsSortBy": "size",
"eventsCount": 10
}),
});
const data = await response.json();
for (const event of data.events.results) {
console.log(event.eventDate, event.totalArticleCount);
console.log(event.title);
}
curl -X POST "https://eventregistry.org/api/v1/event/getEvents" \
-H "Content-Type: application/json" \
-d '{
"apiKey": "YOUR_API_KEY",
"conceptUri": "http://en.wikipedia.org/wiki/NATO",
"categoryUri": "news/Politics",
"dateStart": "2026-10-15",
"resultType": "events",
"eventsSortBy": "size",
"eventsCount": 10
}'
POST https://eventregistry.org/api/v1/event/getEvents
Content-Type: application/json
{
"apiKey": "YOUR_API_KEY",
"conceptUri": "http://en.wikipedia.org/wiki/NATO",
"categoryUri": "news/Politics",
"dateStart": "2026-10-15",
"resultType": "events",
"eventsSortBy": "size",
"eventsCount": 10
}
Comes back with
urititleeventDatetotalArticleCount