How do I get top headlines or breaking news?
There is no separate "top headlines" endpoint. To get the most important current news:
- Get breaking events (
getBreakingEvents) returns the current top breaking events. It has no filters (no language, country, source or date filters). UsebreakingEventsPagefor further pages; the page size is fixed.minBreakingScore(minimum 0) is a heuristic score computed from the number of articles, the time since the first article and similar factors. Check which events you get without it and choose a threshold that works for you. - Get events (
getEvents) with your filters (topic, country, language, sources) returns stories covered by many articles - an event with many articles is an important story. - Stream of events (
minuteStreamEvents) returns newly created or updated events.
Articles of an event are returned by Get event details (getEvent). Events and their dates are computed per day; there is no minute-level timing of events.