← All agent tools

Reference Wikimedia Foundation

Wikipedia REST API

Retrieve encyclopedia content in a machine readable format for background reading and entity context.

Source review: 2026-10-15 · Imported: 1 November 2026

A practical starting point

What could you build?

An explainer assistant can collect a short introduction to an unfamiliar subject and link readers to the article.

Before you connect

Identify your application in the User-Agent header. Use primary sources to confirm consequential claims.

Capabilities & requirements

Dated specifications from the licensed source dataset. “Not published” indicates missing information, rather than confirmed absence.

Wikipedia REST API specifications
CapabilityDetails and source
StatusStable

The page summary endpoint is marked stable under Wikimedia’s API endpoint stability policy.

Source (external) · 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.

Source (external) · Verified 2026-10-17 on https://en.wikipedia.org/api/rest_v1/
Free tierFree

Use is under Wikimedia’s Terms of Use.

Source (external) · Verified 2026-10-17 on https://en.wikipedia.org/api/rest_v1/
Rate limit≤200 requests/s

Global rule; individual endpoints may set stricter limits.

Source (external) · Verified 2026-10-17 on https://en.wikipedia.org/api/rest_v1/
Official MCP serverNot published

No official MCP server is listed in the REST API docs.

Source (external) · Not published by vendor: checked 2026-10-17 on https://en.wikipedia.org/api/rest_v1/
Official SDKNot published

No official SDK is listed in the REST API docs.

Source (external) · Not published by vendor: checked 2026-10-17 on https://en.wikipedia.org/api/rest_v1/
Data license / termsCC BY-SA 3.0 + GFDL

Unless an endpoint’s docs say otherwise.

Source (external) · 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.

Source (external) · 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.

Source (external) · Verified 2026-10-17 by test request to https://en.wikipedia.org/api/rest_v1/page/summary/Openverse
Freshness / coverageCurrent revision; 7.25M English articles

Summaries carry the revision and timestamp; English Wikipedia reported 7,254,273 articles.

Source (external) · Verified 2026-10-17 by test request to https://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=statistics&format=json

Operational reference

Additional facts and qualifications retained from AgentAPIList’s CC BY 4.0 dataset, with provider references.

API key / auth

Not required. Set a unique User-Agent or Api-User-Agent header with contact info.

Provider reference (external)

Rate limit

Keep clients to no more than 200 requests/s; individual endpoints may set stricter limits.

Provider reference (external)

Terms

Follow Wikimedia API etiquette: identify your client with a User-Agent that includes contact details; do not scrape aggressively.

Provider reference (external)

Endpoint

GET https://en.wikipedia.org/api/rest_v1/page/summary/{title}

Provider reference (external)

Setup references

HTTP request example

Adapted from the attributed source dataset. Review before running; these examples were not executed by Tech in General.

curl -sS -A "AgentAPIList/1.0 (https://agentapilist.com)" "https://en.wikipedia.org/api/rest_v1/page/summary/Openverse"
Agent connection example

Adapted from the attributed source dataset. Review before running; these examples were not executed by Tech in General.

// 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)

A tool schema needs an HTTP implementation; it does not by itself install an MCP server. Keep credentials out of browser code.

Other connections to explore

Back to the full directory →

Source & reuse

Download the complete licensed source snapshot (JSON), including the original source’s caveats, alternative notes and examples.