Wikipedia API
Provides access to Wikipedia's encyclopedia content through both Action and REST endpoints, supporting page content retrieval, article summaries, full-text search, and random article selection.
Screenshot:
Slug: wikipedia
Key:
Base URL:
Auth: none
Endpoints: 5
Reachable: yes
CORS: unknown
Tier: verified
Last checked: 2026-03-14 16:08:11.582395
Key:
wikipedia.org:wikipedia-apiBase URL:
https://en.wikipedia.org/w/api.phpAuth: none
Endpoints: 5
Reachable: yes
CORS: unknown
Tier: verified
Last checked: 2026-03-14 16:08:11.582395
Links
Documentation:
- Wikipedia API Documentation official
SDKs:
- Wiki Node.js Interface (javascript)
- Wikipedia Python Wrapper (python)
- Wikipedia-API Python Wrapper (python)
- Wikipedia Ruby Client (ruby)
- WikipediaKit Swift Framework (swift)
Also available as MCP
| MCP Server | Install | Relationship |
|---|---|---|
| wikipedia-mcp | npm install wikipedia-mcp |
wrapper |
Topics
Tutorials
- Getting Started with Wikipedia API — I can fetch Wikipedia article summaries, search suggestions, and random articles — no auth, one GET per call — but I need the exact article title with underscores and disambiguation suffixes for the summary endpoint.
Skills
- Access wikipedia article summaries — I can fetch Wikipedia article summaries and search for article titles — no auth, one GET per call — but I need the exact title with underscores and disambiguation suffixes, or I'll hit a disambiguation page.
- Access wikipedia summaries — I can fetch concise Wikipedia article summaries — title, description, extract, thumbnail — in a single unauthenticated GET, but I need the exact article title with underscores and disambiguation suffixes.
Endpoints (5)
| Path | Summary | Response | Auth |
|---|---|---|---|
| api/rest_v1/page/html/{title} | Get page HTML content | text/html |
— |
| api/rest_v1/page/random/title | Get random page | application/json |
— |
| api/rest_v1/page/summary/{title} | Get page summary | application/json |
— |
| api/rest_v1/page/title/{title} | Get page title redirect | application/json |
— |
| w/api.php | Wikipedia Action API | text/html |
— |