A River of News

API

Everything on this site is also available as JSON. It is free and needs no key. Any website may call it from the browser.

AddressWhat it returns
/api/v1/latest/{category}.jsonThe newest 200 headlines. Use all for every category.
category is all or a category slug
/api/v1/search.jsonSearch headlines, newest first, 50 per page.
q (required), c, lang (en, es, de, fr, pt, it, nl), from, to (YYYY-MM-DD), before (an id from the last page)
/api/v1/keywords.jsonTop keywords for the last 24 hours, overall and by category.
/api/v1/keywords/{yyyy}/{mm}/{dd}.jsonA UTC day's final keyword list.
/api/v1/authors.jsonAuthors, ranked, 100 per page.
sort (articles, name, latest, first), dir (asc, desc), page
/api/v1/authors/{slug}.jsonOne author's summary and their newest 50 articles.
before
/api/v1/stories.jsonStories covered by the most publications, each with one article per publication.
window (6, 24 or 72 hours; default 24)
/api/v1/leaderboards/{topic}.jsonThe top authors and publications for a topic over a window. Each row has was, its rank in the window before (0 if new).
window (7, 30 or 90 days; default 30). Topics are listed at /leaderboards/
/api/v1/leaderboards/category.jsonThe same, for one category.
c (category slug), window
/api/v1/leaderboards/search.jsonThe same, for any words you choose.
q, window
/api/v1/sources.jsonEvery publication with counts, categories, bylines and when it publishes.
/api/v1/first.jsonWhich publications reported stories first.
/api/v1/days.jsonEvery day with data, with counts by category.
/api/v1/status.jsonWhether headlines are arriving on time.

Terms

Other ways in

RSS and JSON Feed for every category, search, author and publication; the embeddable widget; and the sitemap.