A historical news API with a one-year archive
Query the past year of news with the same JSON as live stories. Filter by publish date or event date, count stories per day or week, and sync only what changed.
A historical news API built on date filters
Search past stories by topic, person, place or number. Facts and our own titles, never copied article text.
One year back
A rolling archive of 365 days, searchable with the same filters as live news.
Two kinds of date
from/to for when a story appeared, event_from/event_to for when it happened.
Counts over time
Group by day, week or category to get a trend line in one call, for 1 credit.
Count stories per day
Pick a topic and a window. /v1/stories/count returns one bucket per day, ready for a chart. Same filters as search, so you can count by place, category or minimum importance too.
Demo output below came from a keyless call.
curl -H "X-API-Key: YOUR_KEY" \ "https://api.latestnewsapi.com/v1/stories/count?q=inflation&group_by=day&from=2026-11-16&to=2026-11-19"
import requests r = requests.get("https://api.latestnewsapi.com/v1/stories/count", headers={"X-API-Key": "YOUR_KEY"}, params={"q": "inflation", "group_by": "day", "from": "2026-11-16", "to": "2026-11-19"}) for b in r.json()["data"]: print(b["key"][:10], b["count"])
{
"data": [
{"key": "2026-11-16T00:00:00Z", "count": 53},
{"key": "2026-11-17T00:00:00Z", "count": 161},
{"key": "2026-11-18T00:00:00Z", "count": 141},
{"key": "2026-11-19T00:00:00Z", "count": 75}
],
"meta": {"edition": "global", "group_by": "day"}
}Six historical queries to copy
Relative windows like from=30d work too.
Stories from one week in the past
from=2026-11-02to=2026-11-08Everything that happened on one day
event_fromevent_toWeekly volume for a topic
group_by=weekq=ransomwareSync a local copy with only changes
updated_sincesort=-updatedBig stories about a person, last 30 days
personmin_importance=60from=30dInflation figures over time
what=inflationunit=percentHow much history each plan can reach
| Plan | Archive you can query | Stories per call |
|---|---|---|
| BASIC, $0 | Last 48 hours | 10 |
| PRO, $19/mo | 30 days | 50 |
| ULTRA, $59/mo | Full 1-year archive | 100 |
| MEGA, $149/mo | Full 1-year archive | 100 |
Queries outside your plan's window return a clear plan restriction error, which costs 0 credits. Archive reads cost the same 1 credit per call as live reads. See pricing.
Backfill once, then poll for changes
updated_since returns new stories and stories that gained new facts, so your copy stays current.
- Note the timeSave the time you started each poll.
- Ask for changes
updated_since=<last poll>&sort=-updated - Page throughPass
next_cursorback ascursoruntil it is null.
Turn any story into a readable article
On paid plans, one call writes an article from a story's facts in any of 45 languages. Facts and our own titles, never copied article text.
GET /v1/stories/13023/article?lang=de # 25 credits, en tr de fr es it pt nl pl sv ru uk ar fa hi id ja ko zh
Historical news API questions
How far back does the historical news API go?
The archive covers one year (365 days). How much of it you can query depends on your plan.
Which plan gives me the full archive?
ULTRA and MEGA include the full one-year archive. PRO covers the last 30 days and the free BASIC plan covers the last 48 hours.
What is the difference between from/to and event_from/event_to?
from and to filter by when the story was first published. event_from and event_to filter by event_date, the day the thing happened, when we know it.
Can I count stories over time?
Yes. /v1/stories/count groups by hour, day, week, category, topic or language with the same filters as search. It costs 1 credit.
How do I keep a local copy up to date?
Poll /v1/stories with updated_since and sort=-updated. You also get stories you already hold when new facts arrive. Page with cursor until next_cursor is null.
Is there a result cap when I page?
No hidden cap. Cursor paging walks the full result set and meta.total is exact.
Do old stories include article text?
No. Archive records are the same as current ones: our own title, fact lines, numbers, people, organizations, places, category and dates.
Query a year of news today
Start on the free plan for the last 48 hours. ULTRA unlocks the full archive.