Mediastack
Free, Simple REST API for Live News & Blog Articles
- Authentication
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- Category
- News
Overview
Mediastack (an APILayer product) provides live world news from 7,500+ sources with keyword search and filters. Auth is a free API key (an invalid key returns 401, verified).
Quick Start
Latest news (replace YOUR_KEY):
curl "http://api.mediastack.com/v1/news?access_key=YOUR_KEY&countries=us,gb&languages=en&limit=5"
{
"pagination": { "limit": 5, "offset": 0, "count": 5, "total": 12800 },
"data": [
{
"author": "...",
"title": "...",
"description": "...",
"url": "https://...",
"image": "https://...",
"category": "technology",
"language": "en",
"country": "us",
"published_at": "2026-08-22T06:00:00+00:00"
}
]
}
Search:
curl "http://api.mediastack.com/v1/news?access_key=YOUR_KEY&keywords=spacex"
Sources:
curl "http://api.mediastack.com/v1/sources?access_key=YOUR_KEY"
Authentication
- Register at mediastack.com → free API key (emailed).
- Send it as the
access_keyquery parameter (an invalid key returns 401 — verified).
Rate Limits & Notes
- Free tier: 500 requests/month (up to 2 weeks of data); paid plans scale.
- Filters:
keywords,countries,languages,categories,sort. - The API is served over http (https is paid on some tiers) — use https when available.
- Responses include
paginationwithtotalfor paging.
FAQ
Is Mediastack free? Free tier: 500 requests/month; more is paid.
How do I get a key? Register at mediastack.com — the key is emailed.
Can I filter by country?
Yes — countries=us,gb and languages=en.
More in News
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| Associated Press Search for news and metadata from Associated Press | API Key | Yes | Unknown | ↗ |
| Chronicling America Provides access to millions of pages of historic US newspapers from the Library of Congress | No auth | No | Unknown | ↗ |
| Currents Real-time and historical global news with multilingual support | API Key | Yes | Yes | ↗ |
| DataCube AI Daily curated AI industry news, funding rounds and trends in 8 languages | No auth | Yes | No | ↗ |
| Feedbin RSS reader | OAuth | Yes | Unknown | ↗ |