
Our APIs include 365M+ pages across 880+ Wikimedia projects and 360+ languages
Wikimedia Enterprise APIs
Snapshot API
Retrieve entire Wikimedia projects as a database dump file.
- Download a compressed file containing everything in any project, in any language
- Article body in HTML as well as Wikitext
- Free: New snapshots every two weeks
- Upgrade: Daily snapshots
- Upgrade: Structured Contents snapshots with parsed infoboxes and article sections
On-demand API
Retrieve single articles from any Wikimedia project at anytime.
- Make standard HTTP requests to retrieve documents by name from all projects and languages, or use filters to limit response
- Request the latest version of a page to augment your Snapshot API data or local data
- Free: 5,000 requests monthly (upgrade for more egress)
- Free: Structured Contents endpoint with parsed infoboxes and full article sections
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 community-curated visibility changes
- Batch: Download compressed snapshot files generated hourly with changes throughout the day
- Contact sales for pricing
Payload Examples: Production response. Beta Structured Contents reponse.
Gain instant access to Snapshot API and On-demand API with a free account.
Wikimedia Enterprise API Payload
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, image, Wikidata QID, license, and more. Also included is data specific to the last revision, such as editor, size of change, and credibility scores 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 responses see our Data Dictionary.
More questions? – We’re here to help.
{
"name": "Squirrel",
"identifier": 28492,
"abstract": "...summary of article...",
"date_created": "2001-10-09T17:55:09Z",
"date_modified": "2025-02-05T03:04:17Z",
"date_previously_modified": "2024-12-21T06:38:32Z",
"version": {
"identifier": 1274023344,
"comment": "...version edit comment...",
"tags": [...],
"is_minor_edit": true,
"has_tag_needs_citation": true,
"scores": {
"revertrisk": {
"probability": {...}
}
},
"editor": {...},
"number_of_characters": 33076,
"size": {
"value": 33188,
"unit_text": "B"
},
"event": {...}
},
"previous_version": {...},
"url": "https://en.wikipedia.org/wiki/Squirrel",
"watchers_count": 363,
"image": {
"content_url": "https://upload.wikimedia.org/wikipedia/commons/6/68/Sciuridae.jpg",
"width": 600,
"height": 600
},
"article_body": {
"html": "...html of entire page...",
"wikitext": "...wikitext of entire page..."
},
"namespace": {
"identifier": 0
},
"in_language": {
"identifier": "en"
},
"main_entity": {
"identifier": "Q9482",
"url": "https://www.wikidata.org/entity/Q9482"
},
"protection": [...],
"additional_entities": [...],
"categories": [...],
"templates": [...],
"redirects": [...],
"is_part_of": {...},
"license": [
{
"name": "Creative Commons Attribution-ShareAlike License 4.0",
"identifier": "CC-BY-SA-4.0",
"url": "https://creativecommons.org/licenses/by-sa/4.0/"
}
],
}
Structured Contents BETA Endpoints Payload
Our Structured Contents endpoints have the same familiar structure as our production responses, but also include beta fields and objects parsed from raw article data. Parsed objects that are unique to Structured Contents are: infoboxes, sections, description, references, and tables.
Learn more about our Structured Contents initiative.
The On-demand API Structured Contents endpoint is freely available. Snapshot API Structured Contents dumps are available upon request.
Example: Run this cURL command with your access token (see auth docs) to get the Structured Contents response from the live English Josephine Baker Wikipedia article as seen here →
curl --location 'https://api.enterprise.wikimedia.com/v2/structured-contents/Josephine_Baker' --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 all Structured Contents response fields, consult our Data Dictionary.
More questions? – We’re here to help.
[{
"name": "Josephine Baker",
"identifier": 255083,
"abstract": "Freda Josephine Baker, naturalized as Joséphine Baker, was an...",
"version": {...},
"url": "https://en.wikipedia.org/wiki/Josephine_Baker",
"date_created": "2003-06-29T19:16:19Z",
"date_modified": "2025-09-08T23:58:22Z",
"main_entity": {
"identifier": "Q151972",
"url": "https://www.wikidata.org/entity/Q151972"
},
"is_part_of": {...},
"additional_entities": [...],
"in_language": {...},
"image": {...},
"license": [...],
"description": "American-born French entertainer (1906–1975)",
"infoboxes": [
{
"name": "Infobox person",
"type": "infobox",
"has_parts": [
{
"name": "Josephine Baker",
"type": "section",
"has_parts": [
{
"type": "image",
"value": "Baker in 1940",
"images": [...]
},
{
"name": "Born",
"type": "field",
"value": "Freda Josephine McDonald June 3, 1906 St. Louis, Missouri, U.S.",
"links": [...]
},
{
"name": "Died",
"type": "field",
"value": "April 12, 1975 (aged 68) Paris, France"
},{...}
]
},{...}
]
},{...}
],
"sections": [
{
"name": "abstract",
"type": "section",
"has_parts": [
{
"type": "paragraph",
"value": "Freda Josephine Baker (née McDonald; June 3, 1906 – April 12, 1975), naturalized as...",
"links": [...],
"citations": [
{
"identifier": "cite_note-3",
"text": "[3]"
}
]
},{...}
]
},
{
"name": "film_credits",
"type": "section",
"has_parts": [
{
"type": "table",
"table_references": [
{
"identifier": "film_credits_table1",
"confidence_score": 0.8
}
]
}
]
}
],
"tables": [
{
"identifier": "film_credits_table1",
"headers": [
[
{ "value": "Year" },
{ "value": "Title" },
{ "value": "Role" },
{ "value": "Notes" },
{ "value": "Ref." }
]
],
"rows": [
[
{ "value": "1927" },
{ "value": "La Sirène des Tropiques (Siren of the Tropics)" },
{ "value": "Papitou" },
{ "value": "silent film" },
{ "value": "" }
],
[
{ "value": "1927" },
{ "value": "Die Frauen von Folies Bergères (The Woman from the Folies Bergères)" },
{ "value": "" },
{ "value": "silent film" },
{ "value": "" }
],[...]
],
"confidence_score": 0.8
}
],
"references": [
{
"identifier": "cite_note-3",
"type": "book",
"metadata": {
"first": "Kathryn",
"isbn": "978-1-55652-961-0",
"last": "Atwood",
"page": "77",
"publisher": "Chicago Review Press",
"title": "Women Heroes of World War II",
"year": "2011"
},
"text": {
"value": "Atwood, Kathryn (2011). Women Heroes of World War II. Chicago Review Press. p. 77. ISBN 978-1-55652-961-0.",
"links": [
{
"url": "https://en.wikipedia.org/wiki/ISBN_(identifier)",
"text": "ISBN"
},
{
"url": "https://en.wikipedia.org/wiki/Special:BookSources/978-1-55652-961-0",
"text": "978-1-55652-961-0"
}
]
}
},{...}
]
}]
SLA and Support
Contract accounts receive 99% SLA, support response-time guarantees, and feedback collaboration.
All accounts have access to our help center FAQs.
Open Licensing
Benefit from open-licensed, royalty-free data. Every response includes license information in the payload.