Skip to content
Wikimedia Enterprise

Our APIs include 130M+ pages across 920+ Wikimedia projects and 350+ languages

Wikimedia Enterprise APIs

Snapshot API icon

Snapshot API

Retrieve entire Wikimedia projects as a database dump file.

Snapshot API guide →

On-demand API icon

On-demand API

Retrieve single articles from any Wikimedia project at any time.

  • Make standard HTTP requests to retrieve documents by name from all projects and languages, or use filters to limit the response
  • Request the latest version of a page to augment your Snapshot API data or local data
  • Free: 50,000 Article Lookup Requests monthly (upgrade for more)
  • Free: Structured Contents Articles with parsed infoboxes and full article sections

On-demand API guide →

Realtime API icon

Realtime API

Stream updates in real-time from any Wikimedia project.

  • Streaming: Receive streaming updates (firehose) of every change as they occur in real-time
  • Instant updates for new content, any edits, deletions, and breaking news events, including edits that have been hidden or fixed by the community
  • Batch: Download compressed snapshot files generated hourly with changes throughout the day
  • Wikidata: the stream and hourly batches to get updates to Wikidata as they happen
  • Contact sales for pricing

Realtime API guide →

Gain instant API access with a free account.

(no credit card required)

Wikimedia project data

All three APIs return the same JSON, drawn from the same source: the Wikimedia projects, written and curated by people in over 360 languages. What changes from one project to the next is the kind of knowledge you get.

Wikipedia API - encyclopedia articles with infoboxes, sections, images, and references.

Wikidata API - structured entities, Q-numbers and P-numbers, and the sitelinks that join every project together.

Wiktionary API - dictionary entries, etymologies, pronunciations, and translations.

Wikisource API - public-domain source texts and the transcriptions behind them.

Wikivoyage API - travel guides and points of interest for real-world destinations.

Wikibooks API - textbooks, manuals, and annotated learning material.

Wikiquote API - sourced quotations attributed to people and works.

Wikiversity API - course material, learning activities, and open research.

All project data - Wikinews too, plus the project and language codes you filter on.

Data initiatives

Structured Contents Initiative

Retrieve Wikimedia project data as clean machine-readable JSON instead of BLOBs. Explore structured infoboxes, sectioned articles, citations, references, tables, and more.

Credibility Signals

Know which Wikipedia edits to trust: revert-risk scores, visibility and protection status, and editor context delivered in every API response.

Production API Payload Example

All of our APIs return the same structured JSON (or ND-JSON) response format, making it easy to augment one API with another.

Three APIs; same data, different retrieval methods.

  • Retrieve bulk data with the Snapshot API
  • Retrieve single articles with the On-demand API
  • Receive changes instantly with Realtime API streaming and batch

API responses include article data such as summary, main image, Wikidata QID, license, and more. You also get data specific to the last revision, such as editor, size of change, and credibility signals with revert probability.

Example: Run this cURL command with your access token (see auth docs) to grab the live English squirrel Wikipedia article seen here →

curl --location 'https://api.enterprise.wikimedia.com/v2/articles/Squirrel' --header 'Content-Type: application/json' --header 'Authorization: Bearer ACCESS_TOKEN' --data '{"filters":[{"field":"is_part_of.identifier","value":"enwiki"}]}'

For a full breakdown and explanation of the data schema in Enterprise API responses, see the article model in our API reference.

More questions? - We're here to help.

Live On-demand API response, pulled 2026-08-22
{
"name": "Squirrel",
"identifier": 28492,
"abstract": "Squirrels are members of the family Sciuridae, a family that includes small or m ...",
"date_created": "2001-10-09T17:55:09Z",
"date_modified": "2026-08-21T11:32:26Z",
"date_previously_modified": "2026-08-05T14:48:38Z",
"protection": [...],
"version": {
"identifier": 1370488319,
"comment": "/* Taxonomy */ repair links",
"tags": [...],
"is_minor_edit": true,
"scores": {...},
"editor": {...},
"number_of_characters": 41966,
"size": {
"value": 42099,
"unit_text": "B"
},
"maintenance_tags": {...}
},
"previous_version": {...},
"url": "https://en.wikipedia.org/wiki/Squirrel",
"watchers_count": 381,
"namespace": {
"identifier": 0
},
"in_language": {
"identifier": "en"
},
"main_entity": {
"identifier": "Q9482",
"url": "https://www.wikidata.org/entity/Q9482"
},
"additional_entities": [...],
"categories": [...],
"templates": [...],
"redirects": [...],
"is_part_of": {...},
"article_body": {
"html": "<!DOCTYPE html>\n<html prefix=\"dc: http://purl.org/dc/terms/ mw: http://mediawiki ...",
"wikitext": "{{short description|Family of rodents}}\n{{About|the squirrel family (Sciuridae) ..."
},
"license": [
{
"name": "Creative Commons Attribution-ShareAlike License 4.0",
"identifier": "CC-BY-SA-4.0",
"url": "https://creativecommons.org/licenses/by-sa/4.0/"
}
],
"event": {...},
"image": {
"content_url": "https://upload.wikimedia.org/wikipedia/commons/6/68/Sciuridae.jpg?utm_source=en. ...",
"width": 600,
"height": 600
}
}

See the Structured Contents beta Payload Example