Verified factsChecked 2026-10-15
| Price | Free.1 [Verified 2026-10-15] |
| API key / auth | Not required. Set a unique User-Agent or Api-User-Agent header with contact info.1 [Verified 2026-10-15] |
| Rate limit | Keep clients to no more than 200 requests/s; individual endpoints may set stricter limits.1 [Verified 2026-10-15] |
| Terms | Follow Wikimedia API etiquette: identify your client with a User-Agent that includes contact details; do not scrape aggressively.1 [Verified 2026-10-15] |
| Endpoint | GET https://en.wikipedia.org/api/rest_v1/page/summary/{title}1 [Verified 2026-10-15] |
FeaturesChecked 2026-10-17
YesNoN/ANot published
| Capability | Value |
|---|---|
| StatusThe page summary endpoint is marked stable under Wikimedia’s API endpoint stability policy. | Stable1 [Verified 2026-10-17 on https://en.wikipedia.org/api/rest_v1/] |
| API key requiredNo key; send a User-Agent. Set a unique User-Agent or Api-User-Agent with contact details. | No1 [Verified 2026-10-17 on https://en.wikipedia.org/api/rest_v1/] |
| Free tierFree. Use is under Wikimedia’s Terms of Use. | Yes1 [Verified 2026-10-17 on https://en.wikipedia.org/api/rest_v1/] |
| Rate limitGlobal rule; individual endpoints may set stricter limits. | ≤200 requests/s1 [Verified 2026-10-17 on https://en.wikipedia.org/api/rest_v1/] |
| Official MCP serverNo official MCP server is listed in the REST API docs. | Not published1 [Not published by vendor: checked 2026-10-17 on https://en.wikipedia.org/api/rest_v1/] |
| Official SDKNo official SDK is listed in the REST API docs. | Not published1 [Not published by vendor: checked 2026-10-17 on https://en.wikipedia.org/api/rest_v1/] |
| Data license / termsUnless an endpoint’s docs say otherwise. | CC BY-SA 3.0 + GFDL1 [Verified 2026-10-17 on https://en.wikipedia.org/api/rest_v1/] |
| Commercial use allowedWith attribution and share-alike. CC BY-SA permits commercial use when you credit and share adaptations alike. | Yes2 [Verified 2026-10-17 on https://creativecommons.org/licenses/by-sa/3.0/] |
| CORS / browser useAccess-Control-Allow-Origin: *. Returned on a GET with a third-party Origin header. | Yes3 [Verified 2026-10-17 by test request to https://en.wikipedia.org/api/rest_v1/page/summary/Openverse] |
| Freshness / coverageSummaries carry the revision and timestamp; English Wikipedia reported 7,254,273 articles. | Current revision; 7.25M English articles4 [Verified 2026-10-17 by test request to https://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=statistics&format=json] |
What it does
The Wikipedia REST API returns page summaries (title, short description, lead extract, thumbnail) and other page content as JSON. The summary endpoint is especially agent-friendly: one small request gives a clean, sourced paragraph instead of a full HTML page.
Working exampleRun 2026-10-15
curl -sS -A "AgentAPIList/1.0 (https://agentapilist.com)" "https://en.wikipedia.org/api/rest_v1/page/summary/Openverse"Response (trimmed)
HTTP 200
{"type":"standard","title":"Openverse",
"extract":"Openverse is an open-source search engine for open content developed as part of the WordPress project. ..."}Agent setup
Prompt to give your agent
To check facts, call https://en.wikipedia.org/api/rest_v1/page/summary/<Title_With_Underscores> with a User-Agent header that identifies this tool. Use the "extract" field, quote it briefly, and link the article's page URL. If the type is "disambiguation", ask me which topic I mean.Agent / MCP-style tool snippet
// Agent tool definition (JSON Schema) — implement with HTTP GET + User-Agent
{
"name": "wikipedia_summary",
"description": "Fetch a Wikipedia page summary (extract + URL). No API key. Send a descriptive User-Agent.",
"input_schema": {
"type": "object",
"properties": {
"title": { "type": "string", "description": "Article title with spaces or underscores" }
},
"required": ["title"]
}
}
// GET https://en.wikipedia.org/api/rest_v1/page/summary/{title}
// Header: User-Agent: YourAgent/1.0 (https://example.com; you@example.com)Fit and safety
Good for
- Quick fact grounding for chat agents
- Entity descriptions and thumbnails for apps
- Linking claims back to a citable source
Watch out
- Do not use Wikipedia as the only authority for high-stakes medical, legal or safety decisions — treat it as a starting point and cite primary sources.
- Do not omit a User-Agent; Wikimedia asks for a unique agent string with contact info.
- Do not hammer the API; stay within documented rate guidance and cache summaries when you can.
Alternatives
| Openverse API | When you need openly licensed media linked from Wikipedia-style sources, not article text. |
| Open-Meteo API | When the agent needs live weather numbers instead of encyclopedia text. |
| Wikidata access | Structured entity data when you need IDs and statements rather than prose summaries. |
| AlAdhan Prayer Times API | Computed prayer times and Hijri dates when the agent needs calendar data, not encyclopedia text. |
| Time of Meeting MCP | Computed meeting times, public holidays and business days when you need a civil calendar answer, not an encyclopedia summary. |
| Mireye API + MCP | Cited facts about one US address or parcel, where Wikipedia has no entry. |
| Internet Archive APIs | Keyless Wayback snapshots and archive.org items when a cited source has moved or gone offline. |
FAQ
Does the Wikipedia API need a key?
No, but Wikimedia asks for a unique User-Agent header with contact details.
What is the Wikipedia API rate limit?
The REST API docs ask clients to stay at or below 200 requests per second, with stricter per-endpoint limits possible.
Compare
Put Wikipedia REST API side by side with other free agent tools on keys, limits, MCP support, licensing and CORS. Open the comparison grid →
SourcesFootnotes
- 1en.wikipedia.org/api/rest_v1Verified 2026-10-17
- 2creativecommons.org/licenses/by-sa/3.0Verified 2026-10-17
- 3en.wikipedia.org/api/rest_v1/page/summary/OpenverseTested 2026-10-17
- 4en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=statistics&Tested 2026-10-17