Wikipedia REST
Page summaries and extracts for anything on Wikipedia.
Wikimedia’s REST API returns clean page summaries — title, extract, thumbnail — perfect for hover cards and enrichment. Backed by Wikimedia’s serious infrastructure, so it is one of the most reliable free endpoints anywhere. Respect the etiquette: identified User-Agent, modest concurrency.
GET https://en.wikipedia.org/api/rest_v1/page/summary/Accra
{
"title": "Accra",
"description": "Capital city of Ghana",
"extract": "Accra is the capital and largest city of Ghana…"
}curl "https://en.wikipedia.org/api/rest_v1/page/summary/Accra"const res = await fetch("https://en.wikipedia.org/api/rest_v1/page/summary/Accra");
const data = await res.json();
console.log(data);import requests
res = requests.get("https://en.wikipedia.org/api/rest_v1/page/summary/Accra")
print(res.json())/page/summary/AccraPROBEDLead extract, thumbnail and metadata for a Wikipedia page title.
/page/mobile-sections/AccraMobile-formatted article sections for in-app readers.
/page/media-list/AccraImages and media attached to a page.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.
Wikipedia REST: common questions
Is Wikipedia REST free to use?
Yes — Wikipedia REST is a free open data API. Free tier: Unlimited within etiquette. Commercial use is allowed on the free tier.
Does Wikipedia REST need an API key?
No — Wikipedia REST needs no API key or signup. You can call it straight away; rate limits still apply (200/sec global courtesy cap).
Can I call Wikipedia REST from the browser?
Yes — Wikipedia REST returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.
Is Wikipedia REST up right now?
As of our last scheduled check, Wikipedia REST is healthy. We re-probe it every sweep — the status badge and uptime chart above always show the latest.