Media Cloud Search API
by mediacloud.org
News search APIs
Added on November 7th, 2026
Checked and working on November 7th, 2026
Visit mediacloud.org →
What it does
Media Cloud is an open-source news archive for research, with more than 200 million online news stories that can be searched and counted by query, date, source and collection, for example to measure how often a topic appeared in the news. Requests are GET calls with an Authorization token header, and the answers are JSON; there is an official Python client. Free with a free account and API key.
At a glance
- API key
- Needed, free · More APIs with a free key
- Pricing
- Free with a free account and API key.
- From the browser
- No, call it from a server
- Formats
- JSON
- Interface
- REST, HTTP-GET
- Provider
- mediacloud.org
- Last checked
- Working on November 7th, 2026
More information: https://www.mediacloud.org/documentation/search-api-guide
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://search.mediacloud.org/api/search/total-count?q=London&start=2026-10-01&end=2026-10-31&platform=onlinenews-mediacloud' \
-H 'Authorization: Token YOUR_API_KEY'
JavaScript
const response = await fetch("https://search.mediacloud.org/api/search/total-count?q=London&start=2026-10-01&end=2026-10-31&platform=onlinenews-mediacloud", {
headers: {
"Authorization": "Token YOUR_API_KEY",
},
});
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://search.mediacloud.org/api/search/total-count?q=London&start=2026-10-01&end=2026-10-31&platform=onlinenews-mediacloud",
headers={
"Authorization": "Token YOUR_API_KEY",
},
timeout=30,
)
print(response.json())
Replace YOUR_API_KEY with your own key. Run the JavaScript on a server, such as Node.js 18 or newer: this API does not accept calls from web pages on other sites.