freeapis

Mediastack

Free, Simple REST API for Live News & Blog Articles

Authentication
API Key
HTTPS
Yes
CORS
Unknown
Category
News
Data source
public-apis

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_key query 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 pagination with total for 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

APIAuthHTTPSCORS
APITube News API

Real-time and historical news from 300,000+ sources in 177 countries and 59 languages, enriched with sentiment, entities and topics, with 65+ search filters

API KeyYesUnknown↗
Associated Press

Search for news and metadata from Associated Press

API KeyYesUnknown↗
Chronicling America

Provides access to millions of pages of historic US newspapers from the Library of Congress

No authNoUnknown↗
Currents

Real-time and historical global news with multilingual support

API KeyYesYes↗
DataCube AI

Daily curated AI industry news, funding rounds and trends in 8 languages

No authYesNo↗