Wikimedia Enterprise/Documentation

From mediawiki.org
Jump to navigation Jump to search

The Enterprise APIs are a suite of APIs made by the Wikimedia Enterprise team. The project is currently in a closed beta and the APIs are still very under construction. This page is set to house the public documentation for the project, for now, as docs are built out for the launch of the project on enterprise.wikimedia.com later this year.

Beta Docs[edit]

These docs are the first draft of the APIs that will house the "data feeds" behind Wikimedia Enterprise. They are subject to change, but only nominally as we iterate through the long term strategy of this project.

Endpoints[edit]

API URL[edit]
Authentication[edit]
Type Name Purpose Endpoint Parameters Responses Notes
Realtime API Activity "Firehose" API Returns stream of JSON containing new page revisions, new pages, and updates /v1/page-update
  • offset
  • since
Returns stream of JSON containing recently deleted pages /v1/page-delete
  • offset
  • since
Returns stream of JSON containing pages with changed visibility status. This can be used to determine when content is taken down or vandalism/illegal content is identified /v1/page-visibility
  • offset
  • since
Structured Content API Returns structured JSON of the most recent revision for a title in any project. See below data schema. /v1/pages/json/{db_name}/{title}
  • db_name*
  • title*
  • 200: Success
  • 400: Bad Request
  • 404: Not Found
Bulk API Daily Exports Returns tarball of all most recent revisions in a single project, bundled at the end of each day. These are large files with contents in JSON, see below data schema. /v1/exports/json/{db_name}/{ns}
  • db_name*
  • ns*
  • 200: Success
  • 400: Bad Request
  • 404: Not Found
Namespace Index

0 = Article

6 = File

14 = Category

Hourly Exports Returns tarball of only the recent revisions done on a day in a single project, bundled at the end of each hour. These are smaller files with contents in JSON, see below data schema. /v1/diffs/json/{date}/{db_name}/{ns}
  • date (YYYY-MM-DD)
  • db_name*
  • ns*
  • 200: Success
  • 400: Bad Request
  • 404: Not Found
Namespace Index

0 = Article

6 = File

14 = Category

Misc All Projects Returns a list of relevant metadata for each of the projects included in Enterprise APIs /v1/projects
  • 200: Success
  • 404: Not Found

Sample Schema[edit]

This is an example of the current schema that is returned in all of the endpoints. We have mapped this structure to the open-source schema.org using the CreativeWork object.

{
  "name": "Delhi",
  "identifier": 200617,
  "version": 4401275,
  "dateModified": "2018-04-24T16:52:59Z",
  "url": "https://en.wikinews.org/wiki/Delhi",
  "namespace": {
    "name": "Article",
    "identifier": 0
  },
  "mainEntity": {
    "identifier": "Q1353"
  },
  "inLanguage": {
    "name": "English",
    "identifier": "en"
  },
  "isPartOf": {
    "name": "Wikinews",
    "identifier": "enwikinews"
  },
  "articleBody": {
    "html": "",
    "wikitext": ""
  },
  "license": [
    {
      "name": "Creative Commons Attribution Share Alike",
      "identifier": "CC-BY-SA"
    }
  ]
}
Property Type Description
name Text Page title in reading-friendly format (spaces instead of underscores)
identifier Integer Page ID (MediaWiki page ID)
version Integer MediaWiki revision ID
dateModified Text Timestamp of latest revision in ISO 8601 format (DateTime)
url Text Complete URL for the page
namespace Object Type of Wikimedia page (File, Article, Category, etc.)
mainEntity Thing Primary subject of the page (Wikidata ID)
inLanguage Language Human language the page is written in
isPartOf array of Project Wiki the page belongs to
articleBody Text Article content in HTML and Wikitext
license array of License Content license, including name and url properties

Projects covered in Wikimedia Enterprise[edit]

Below are all the projects that we have in our tools. Use this as a reference for what is included in this project and the db_name property

Project (db_name) Project Home URL Avg Export Size (MB)
abwiki https://ab.wikipedia.org 6MB
acewiki https://ace.wikipedia.org 17MB
adywiki https://ady.wikipedia.org 1MB
afwiki https://af.wikipedia.org 533MB
afwikibooks https://af.wikibooks.org 1MB
afwikiquote https://af.wikiquote.org 1MB
afwiktionary https://af.wiktionary.org 34MB
akwiki https://ak.wikipedia.org 1MB
alswiki https://als.wikipedia.org 231MB
amwiki https://am.wikipedia.org 29MB
amwiktionary https://am.wiktionary.org 1MB
angwiki https://ang.wikipedia.org 8MB
angwiktionary https://ang.wiktionary.org 2MB
anwiki https://an.wikipedia.org 179MB
anwiktionary https://an.wiktionary.org 1MB
arcwiki https://arc.wikipedia.org 2MB
arwiki https://ar.wikipedia.org 13494MB
arwikibooks https://ar.wikibooks.org 8MB
arwikinews https://ar.wikinews.org 27MB
arwikiquote https://ar.wikiquote.org 9MB
arwikisource https://ar.wikisource.org 745MB
arwikiversity https://ar.wikiversity.org 4MB
arwiktionary https://ar.wiktionary.org 75MB
arywiki https://ary.wikipedia.org 11MB
arzwiki https://arz.wikipedia.org 7247MB
astwiki https://ast.wikipedia.org 1310MB
astwiktionary https://ast.wiktionary.org 38MB
aswiki https://as.wikipedia.org 98MB
aswikisource https://as.wikisource.org 4MB
atjwiki https://atj.wikipedia.org 1MB
avkwiki https://avk.wikipedia.org 114MB
avwiki https://av.wikipedia.org 11MB
awawiki https://awa.wikipedia.org 8MB
aywiki https://ay.wikipedia.org 6MB
aywiktionary https://ay.wiktionary.org 1MB
azbwiki https://azb.wikipedia.org 1241MB
azwiki https://az.wikipedia.org 1252MB
azwikibooks https://az.wikibooks.org 6MB
azwikiquote https://az.wikiquote.org 4MB
azwikisource https://az.wikisource.org 32MB
azwiktionary https://az.wiktionary.org 150MB
banwiki https://ban.wikipedia.org 25MB
barwiki https://bar.wikipedia.org 150MB
bat_smgwiki https://bat-smg.wikipedia.org 22MB
bawiki https://ba.wikipedia.org 459MB
bawikibooks https://ba.wikibooks.org 3MB
bclwiki https://bcl.wikipedia.org 70MB
bewiki https://be.wikipedia.org 1900MB
bewikibooks https://be.wikibooks.org 1MB
bewikiquote https://be.wikiquote.org 1MB
bewikisource https://be.wikisource.org 14MB
bewiktionary https://be.wiktionary.org 6MB
be_x_oldwiki https://be-tarask.wikipedia.org 523MB
bgwiki https://bg.wikipedia.org 1979MB
bgwikibooks https://bg.wikibooks.org 2MB
bgwikiquote https://bg.wikiquote.org 15MB
bgwikisource https://bg.wikisource.org 2MB
bgwiktionary https://bg.wiktionary.org 40MB
bhwiki https://bh.wikipedia.org 45MB
biwiki https://bi.wikipedia.org 1MB
bjnwiki https://bjn.wikipedia.org 12MB
bmwiki https://bm.wikipedia.org 1MB
bnwiki https://bn.wikipedia.org 1375MB
bnwikibooks https://bn.wikibooks.org 2MB
bnwikisource https://bn.wikisource.org 39MB
bnwikivoyage https://bn.wikivoyage.org 4MB
bnwiktionary https://bn.wiktionary.org 11MB
bowiki https://bo.wikipedia.org 50MB
bpywiki https://bpy.wikipedia.org 145MB
brwiki https://br.wikipedia.org 209MB
brwikiquote https://br.wikiquote.org 1MB
brwikisource https://br.wikisource.org 37MB
brwiktionary https://br.wiktionary.org 59MB
bswiki https://bs.wikipedia.org 1009MB
bswikibooks https://bs.wikibooks.org 1MB
bswikinews https://bs.wikinews.org 1MB
bswikiquote https://bs.wikiquote.org 7MB
bswikisource https://bs.wikisource.org 13MB
bswiktionary https://bs.wiktionary.org 13MB
bugwiki https://bug.wikipedia.org 145MB
bxrwiki https://bxr.wikipedia.org 10MB
cawiki https://ca.wikipedia.org 5971MB
cawikibooks https://ca.wikibooks.org 10MB
cawikinews https://ca.wikinews.org 37MB
cawikiquote https://ca.wikiquote.org 24MB
cawikisource https://ca.wikisource.org 27MB
cawiktionary https://ca.wiktionary.org 436MB
cbk_zamwiki https://cbk-zam.wikipedia.org 13MB
cdowiki https://cdo.wikipedia.org 29MB
cebwiki https://ceb.wikipedia.org 40478MB
cewiki https://ce.wikipedia.org 3741MB
chrwiki https://chr.wikipedia.org 2MB
chrwiktionary https://chr.wiktionary.org 1MB
chwiki https://ch.wikipedia.org 1MB
chywiki https://chy.wikipedia.org 1MB
ckbwiki https://ckb.wikipedia.org 208MB
cowiki https://co.wikipedia.org 14MB
cowiktionary https://co.wiktionary.org 4MB
crhwiki https://crh.wikipedia.org 31MB
crwiki https://cr.wikipedia.org 1MB
csbwiki https://csb.wikipedia.org 11MB
csbwiktionary https://csb.wiktionary.org 1MB
cswiki https://cs.wikipedia.org 4320MB
cswikibooks https://cs.wikibooks.org 7MB
cswikinews https://cs.wikinews.org 13MB
cswikiquote https://cs.wikiquote.org 19MB
cswikisource https://cs.wikisource.org 206MB
cswikiversity https://cs.wikiversity.org 21MB
cswiktionary https://cs.wiktionary.org 176MB
cuwiki https://cu.wikipedia.org 2MB
cvwiki https://cv.wikipedia.org 237MB
cvwikibooks https://cv.wikibooks.org 3MB
cywiki https://cy.wikipedia.org 729MB
cywikibooks https://cy.wikibooks.org 1MB
cywikiquote https://cy.wikiquote.org 1MB
cywikisource https://cy.wikisource.org 1MB
cywiktionary https://cy.wiktionary.org 13MB
dawiki https://da.wikipedia.org 1733MB
dawikibooks https://da.wikibooks.org 16MB
dawikiquote https://da.wikiquote.org 1MB
dawikisource https://da.wikisource.org 22MB
dawiktionary https://da.wiktionary.org 51MB
dewiki https://de.wikipedia.org 21544MB
dewikibooks https://de.wikibooks.org 320MB
dewikinews https://de.wikinews.org 22MB
dewikiquote https://de.wikiquote.org 8MB
dewikisource https://de.wikisource.org 1326MB
dewikiversity https://de.wikiversity.org 86MB
dewikivoyage https://de.wikivoyage.org 322MB
dewiktionary https://de.wiktionary.org 1745MB
dinwiki https://din.wikipedia.org 1MB
diqwiki https://diq.wikipedia.org 194MB
dsbwiki https://dsb.wikipedia.org 12MB
dtywiki https://dty.wikipedia.org 15MB
dvwiki https://dv.wikipedia.org 13MB
dvwiktionary https://dv.wiktionary.org 1MB
dzwiki https://dz.wikipedia.org 1MB
eewiki https://ee.wikipedia.org 1MB
elwiki https://el.wikipedia.org 2163MB
elwikibooks https://el.wikibooks.org 13MB
elwikinews https://el.wikinews.org 10MB
elwikiquote https://el.wikiquote.org 5MB
elwikisource https://el.wikisource.org 130MB
elwikiversity https://el.wikiversity.org 6MB
elwikivoyage https://el.wikivoyage.org 11MB
elwiktionary https://el.wiktionary.org 1041MB
emlwiki https://eml.wikipedia.org 36MB
enwiki https://en.wikipedia.org 85543MB
enwikibooks https://en.wikibooks.org 579MB
enwikinews https://en.wikinews.org 121MB
enwikiquote https://en.wikiquote.org 384MB
enwikisource https://en.wikisource.org 3520MB
enwikiversity https://en.wikiversity.org 296MB
enwikivoyage https://en.wikivoyage.org 392MB
enwiktionary https://en.wiktionary.org 8454MB
eowiki https://eo.wikipedia.org 1583MB
eowikibooks https://eo.wikibooks.org 3MB
eowikinews https://eo.wikinews.org 5MB
eowikiquote https://eo.wikiquote.org 9MB
eowikisource https://eo.wikisource.org 36MB
eowiktionary https://eo.wiktionary.org 127MB
eswiki https://es.wikipedia.org 15212MB
eswikibooks https://es.wikibooks.org 80MB
eswikinews https://es.wikinews.org 79MB
eswikiquote https://es.wikiquote.org 28MB
eswikisource https://es.wikisource.org 604MB
eswikiversity https://es.wikiversity.org 18MB
eswikivoyage https://es.wikivoyage.org 36MB
eswiktionary https://es.wiktionary.org 851MB
etwiki https://et.wikipedia.org 906MB
etwikibooks https://et.wikibooks.org 1MB
etwikiquote https://et.wikiquote.org 17MB
etwikisource https://et.wikisource.org 15MB
etwiktionary https://et.wiktionary.org 93MB
euwiki https://eu.wikipedia.org 2213MB
euwikibooks https://eu.wikibooks.org 9MB
euwikiquote https://eu.wikiquote.org 1MB
euwikisource https://eu.wikisource.org 3MB
euwiktionary https://eu.wiktionary.org 81MB
extwiki https://ext.wikipedia.org 6MB
fawiki https://fa.wikipedia.org 6940MB
fawikibooks https://fa.wikibooks.org 11MB
fawikinews https://fa.wikinews.org 5MB
fawikiquote https://fa.wikiquote.org 29MB
fawikisource https://fa.wikisource.org 94MB
fawikivoyage https://fa.wikivoyage.org 21MB
fawiktionary https://fa.wiktionary.org 77MB
ffwiki https://ff.wikipedia.org 1MB
fiu_vrowiki https://fiu-vro.wikipedia.org 10MB
fiwiki https://fi.wikipedia.org 3224MB
fiwikibooks https://fi.wikibooks.org 24MB
fiwikinews https://fi.wikinews.org 4MB
fiwikiquote https://fi.wikiquote.org 1MB
fiwikisource https://fi.wikisource.org 45MB
fiwikiversity https://fi.wikiversity.org 6MB
fiwikivoyage https://fi.wikivoyage.org 2MB
fiwiktionary https://fi.wiktionary.org 367MB
fjwiki https://fj.wikipedia.org 1MB
fjwiktionary https://fj.wiktionary.org 8MB
fowiki https://fo.wikipedia.org 44MB
fowikisource https://fo.wikisource.org 1MB
fowiktionary https://fo.wiktionary.org 2MB
frpwiki https://frp.wikipedia.org 13MB
frrwiki https://frr.wikipedia.org 31MB
frwiki https://fr.wikipedia.org 28915MB
frwikibooks https://fr.wikibooks.org 115MB
frwikinews https://fr.wikinews.org 142MB
frwikiquote https://fr.wikiquote.org 36MB
frwikisource https://fr.wikisource.org 2983MB
frwikiversity https://fr.wikiversity.org 119MB
frwikivoyage https://fr.wikivoyage.org 116MB
frwiktionary https://fr.wiktionary.org 4506MB
furwiki https://fur.wikipedia.org 8MB
fywiki https://fy.wikipedia.org 188MB
fywikibooks https://fy.wikibooks.org 1MB
fywiktionary https://fy.wiktionary.org 13MB
gagwiki https://gag.wikipedia.org 11MB
ganwiki https://gan.wikipedia.org 7MB
gawiki https://ga.wikipedia.org 172MB
gawiktionary https://ga.wiktionary.org 4MB
gcrwiki https://gcr.wikipedia.org 2MB
gdwiki https://gd.wikipedia.org 25MB
gdwiktionary https://gd.wiktionary.org 14MB
glkwiki https://glk.wikipedia.org 19MB
glwiki https://gl.wikipedia.org 1319MB
glwikibooks https://gl.wikibooks.org 2MB
glwikiquote https://gl.wikiquote.org 1MB
glwikisource https://gl.wikisource.org 2MB
glwiktionary https://gl.wiktionary.org 97MB
gnwiki https://gn.wikipedia.org 13MB
gnwiktionary https://gn.wiktionary.org 1MB
gomwiki https://gom.wikipedia.org 17MB
gomwiktionary https://gom.wiktionary.org 2MB
gorwiki https://gor.wikipedia.org 12MB
gotwiki https://got.wikipedia.org 2MB
guwiki https://gu.wikipedia.org 198MB
guwikiquote https://gu.wikiquote.org 1MB
guwikisource https://gu.wikisource.org 32MB
guwiktionary https://gu.wiktionary.org 2MB
gvwiki https://gv.wikipedia.org 22MB
gvwiktionary https://gv.wiktionary.org 1MB
hakwiki https://hak.wikipedia.org 29MB
hawiki https://ha.wikipedia.org 24MB
hawiktionary https://ha.wiktionary.org 1MB
hawwiki https://haw.wikipedia.org 3MB
hewiki https://he.wikipedia.org 3265MB
hewikibooks https://he.wikibooks.org 31MB
hewikinews https://he.wikinews.org 3MB
hewikiquote https://he.wikiquote.org 6MB
hewikisource https://he.wikisource.org 1066MB
hewikivoyage https://he.wikivoyage.org 52MB
hewiktionary https://he.wiktionary.org 58MB
hifwiki https://hif.wikipedia.org 22MB
hifwiktionary https://hif.wiktionary.org 1MB
hiwiki https://hi.wikipedia.org 1205MB
hiwikibooks https://hi.wikibooks.org 7MB
hiwikiquote https://hi.wikiquote.org 1MB
hiwikisource https://hi.wikisource.org 20MB
hiwikiversity https://hi.wikiversity.org 1MB
hiwikivoyage https://hi.wikivoyage.org 1MB
hiwiktionary https://hi.wiktionary.org 86MB
hrwiki https://hr.wikipedia.org 1108MB
hrwikibooks https://hr.wikibooks.org 2MB
hrwikiquote https://hr.wikiquote.org 5MB
hrwikisource https://hr.wikisource.org 49MB
hrwiktionary https://hr.wiktionary.org 3MB
hsbwiki https://hsb.wikipedia.org 37MB
hsbwiktionary https://hsb.wiktionary.org 19MB
htwiki https://ht.wikipedia.org 109MB
huwiki https://hu.wikipedia.org 5351MB
huwikibooks https://hu.wikibooks.org 190MB
huwikiquote https://hu.wikiquote.org 3MB
huwikisource https://hu.wikisource.org 89MB
huwiktionary https://hu.wiktionary.org 1368MB
hywiki https://hy.wikipedia.org 2957MB
hywikibooks https://hy.wikibooks.org 1MB
hywikiquote https://hy.wikiquote.org 6MB
hywikisource https://hy.wikisource.org 49MB
hywiktionary https://hy.wiktionary.org 376MB
hywwiki https://hyw.wikipedia.org 72MB
iawiki https://ia.wikipedia.org 73MB
iawikibooks https://ia.wikibooks.org 1MB
iawiktionary https://ia.wiktionary.org 2MB
idwiki https://id.wikipedia.org 4017MB
idwikibooks https://id.wikibooks.org 25MB
idwikiquote https://id.wikiquote.org 2MB
idwikisource https://id.wikisource.org 24MB
idwiktionary https://id.wiktionary.org 573MB
iewiki https://ie.wikipedia.org 14MB
iewiktionary https://ie.wiktionary.org 1MB
igwiki https://ig.wikipedia.org 6MB
ikwiki https://ik.wikipedia.org 1MB
ilowiki https://ilo.wikipedia.org 108MB
inhwiki https://inh.wikipedia.org 6MB
iowiki https://io.wikipedia.org 49MB
iowiktionary https://io.wiktionary.org 400MB
iswiki https://is.wikipedia.org 189MB
iswikibooks https://is.wikibooks.org 2MB
iswikiquote https://is.wikiquote.org 1MB
iswikisource https://is.wikisource.org 10MB
iswiktionary https://is.wiktionary.org 51MB
itwiki https://it.wikipedia.org 17209MB
itwikibooks https://it.wikibooks.org 105MB
itwikinews https://it.wikinews.org 56MB
itwikiquote https://it.wikiquote.org 189MB
itwikisource https://it.wikisource.org 642MB
itwikiversity https://it.wikiversity.org 50MB
itwikivoyage https://it.wikivoyage.org 86MB
itwiktionary https://it.wiktionary.org 520MB
iuwiki https://iu.wikipedia.org 1MB
iuwiktionary https://iu.wiktionary.org 1MB
jamwiki https://jam.wikipedia.org 2MB
jawiki https://ja.wikipedia.org 16597MB
jawikibooks https://ja.wikibooks.org 23MB
jawikinews https://ja.wikinews.org 11MB
jawikiquote https://ja.wikiquote.org 3MB
jawikisource https://ja.wikisource.org 139MB
jawikiversity https://ja.wikiversity.org 1MB
jawikivoyage https://ja.wikivoyage.org 2MB
jawiktionary https://ja.wiktionary.org 420MB
jbowiki https://jbo.wikipedia.org 1MB
jbowiktionary https://jbo.wiktionary.org 1MB
jvwiki https://jv.wikipedia.org 292MB
jvwiktionary https://jv.wiktionary.org 38MB
kaawiki https://kaa.wikipedia.org 3MB
kabwiki https://kab.wikipedia.org 6MB
kawiki https://ka.wikipedia.org 1013MB
kawikibooks https://ka.wikibooks.org 3MB
kawikiquote https://ka.wikiquote.org 3MB
kawiktionary https://ka.wiktionary.org 21MB
kbdwiki https://kbd.wikipedia.org 6MB
kbpwiki https://kbp.wikipedia.org 3MB
kgwiki https://kg.wikipedia.org 2MB
kiwiki https://ki.wikipedia.org 1MB
kkwiki https://kk.wikipedia.org 1395MB
kkwikibooks https://kk.wikibooks.org 2MB
kkwiktionary https://kk.wiktionary.org 1MB
klwiki https://kl.wikipedia.org 1MB
klwiktionary https://kl.wiktionary.org 1MB
kmwiki https://km.wikipedia.org 74MB
kmwikibooks https://km.wikibooks.org 3MB
kmwiktionary https://km.wiktionary.org 14MB
knwiki https://kn.wikipedia.org 304MB
knwikiquote https://kn.wikiquote.org 1MB
knwikisource https://kn.wikisource.org 86MB
knwiktionary https://kn.wiktionary.org 104MB
koiwiki https://koi.wikipedia.org 12MB
kowiki https://ko.wikipedia.org 4366MB
kowikibooks https://ko.wikibooks.org 10MB
kowikinews https://ko.wikinews.org 1MB
kowikiquote https://ko.wikiquote.org 2MB
kowikisource https://ko.wikisource.org 431MB
kowikiversity https://ko.wikiversity.org 1MB
kowiktionary https://ko.wiktionary.org 284MB
krcwiki https://krc.wikipedia.org 10MB
kshwiki https://ksh.wikipedia.org 6MB
kswiki https://ks.wikipedia.org 1MB
kswiktionary https://ks.wiktionary.org 1MB
kuwiki https://ku.wikipedia.org 110MB
kuwikibooks https://ku.wikibooks.org 2MB
kuwikiquote https://ku.wikiquote.org 1MB
kuwiktionary https://ku.wiktionary.org 492MB
kvwiki https://kv.wikipedia.org 19MB
kwwiki https://kw.wikipedia.org 8MB
kwwiktionary https://kw.wiktionary.org 1MB
kywiki https://ky.wikipedia.org 268MB
kywikibooks https://ky.wikibooks.org 3MB
kywikiquote https://ky.wikiquote.org 1MB
kywiktionary https://ky.wiktionary.org 37MB
ladwiki https://lad.wikipedia.org 9MB
lawiki https://la.wikipedia.org 435MB
lawikibooks https://la.wikibooks.org 1MB
lawikiquote https://la.wikiquote.org 2MB
lawikisource https://la.wikisource.org 201MB
lawiktionary https://la.wiktionary.org 39MB
lbewiki https://lbe.wikipedia.org 2MB
lbwiki https://lb.wikipedia.org 217MB
lbwiktionary https://lb.wiktionary.org 6MB
lezwiki https://lez.wikipedia.org 28MB
lfnwiki https://lfn.wikipedia.org 9MB
lgwiki https://lg.wikipedia.org 1MB
lijwiki https://lij.wikipedia.org 41MB
lijwikisource https://lij.wikisource.org 4MB
liwiki https://li.wikipedia.org 47MB
liwikibooks https://li.wikibooks.org 1MB
liwikinews https://li.wikinews.org 2MB
liwikiquote https://li.wikiquote.org 1MB
liwikisource https://li.wikisource.org 3MB
liwiktionary https://li.wiktionary.org 67MB
lldwiki https://lld.wikipedia.org 4MB
lmowiki https://lmo.wikipedia.org 221MB
lnwiki https://ln.wikipedia.org 5MB
lnwiktionary https://ln.wiktionary.org 1MB
lowiki https://lo.wikipedia.org 17MB
lowiktionary https://lo.wiktionary.org 34MB
ltgwiki https://ltg.wikipedia.org 2MB
ltwiki https://lt.wikipedia.org 1049MB
ltwikibooks https://lt.wikibooks.org 2MB
ltwikiquote https://lt.wikiquote.org 5MB
ltwikisource https://lt.wikisource.org 6MB
ltwiktionary https://lt.wiktionary.org 1089MB
lvwiki https://lv.wikipedia.org 748MB
lvwiktionary https://lv.wiktionary.org 11MB
maiwiki https://mai.wikipedia.org 101MB
map_bmswiki https://map-bms.wikipedia.org 15MB
mdfwiki https://mdf.wikipedia.org 2MB
mgwiki https://mg.wikipedia.org 161MB
mgwikibooks https://mg.wikibooks.org 1MB
mgwiktionary https://mg.wiktionary.org 973MB
mhrwiki https://mhr.wikipedia.org 61MB
minwiki https://min.wikipedia.org 358MB
minwiktionary https://min.wiktionary.org 2MB
miwiki https://mi.wikipedia.org 12MB
miwiktionary https://mi.wiktionary.org 1MB
mkwiki https://mk.wikipedia.org 1013MB
mkwikibooks https://mk.wikibooks.org 2MB
mkwikisource https://mk.wikisource.org 11MB
mkwiktionary https://mk.wiktionary.org 1MB
mlwiki https://ml.wikipedia.org 694MB
mlwikibooks https://ml.wikibooks.org 1MB
mlwikiquote https://ml.wikiquote.org 1MB
mlwikisource https://ml.wikisource.org 48MB
mlwiktionary https://ml.wiktionary.org 55MB
mnwiki https://mn.wikipedia.org 133MB
mnwiktionary https://mn.wiktionary.org 41MB
mnwwiki https://mnw.wikipedia.org 7MB
mrjwiki https://mrj.wikipedia.org 17MB
mrwiki https://mr.wikipedia.org 357MB
mrwikibooks https://mr.wikibooks.org 2MB
mrwikiquote https://mr.wikiquote.org 1MB
mrwikisource https://mr.wikisource.org 28MB
mrwiktionary https://mr.wiktionary.org 2MB
mswiki https://ms.wikipedia.org 2164MB
mswikibooks https://ms.wikibooks.org 1MB
mswiktionary https://ms.wiktionary.org 18MB
mtwiki https://mt.wikipedia.org 34MB
mtwiktionary https://mt.wiktionary.org 2MB
mwlwiki https://mwl.wikipedia.org 28MB
myvwiki https://myv.wikipedia.org 46MB
mywiki https://my.wikipedia.org 931MB
mywiktionary https://my.wiktionary.org 84MB
mznwiki https://mzn.wikipedia.org 67MB
nahwiki https://nah.wikipedia.org 8MB
nahwiktionary https://nah.wiktionary.org 9MB
napwiki https://nap.wikipedia.org 23MB
napwikisource https://nap.wikisource.org 1MB
nawiki https://na.wikipedia.org 2MB
nawiktionary https://na.wiktionary.org 1MB
nds_nlwiki https://nds-nl.wikipedia.org 12MB
ndswiki https://nds.wikipedia.org 168MB
ndswiktionary https://nds.wiktionary.org 15MB
newiki https://ne.wikipedia.org 195MB
newikibooks https://ne.wikibooks.org 1MB
newiktionary https://ne.wiktionary.org 12MB
newwiki https://new.wikipedia.org 247MB
nlwiki https://nl.wikipedia.org 8339MB
nlwikibooks https://nl.wikibooks.org 46MB
nlwikinews https://nl.wikinews.org 14MB
nlwikiquote https://nl.wikiquote.org 2MB
nlwikisource https://nl.wikisource.org 44MB
nlwikivoyage https://nl.wikivoyage.org 20MB
nlwiktionary https://nl.wiktionary.org 992MB
nnwiki https://nn.wikipedia.org 729MB
nnwikiquote https://nn.wikiquote.org 2MB
nnwiktionary https://nn.wiktionary.org 9MB
novwiki https://nov.wikipedia.org 3MB
nowiki https://no.wikipedia.org 3626MB
nowikibooks https://no.wikibooks.org 2MB
nowikinews https://no.wikinews.org 1MB
nowikiquote https://no.wikiquote.org 2MB
nowikisource https://no.wikisource.org 31MB
nowiktionary https://no.wiktionary.org 96MB
nqowiki https://nqo.wikipedia.org 2MB
nrmwiki https://nrm.wikipedia.org 10MB
nsowiki https://nso.wikipedia.org 23MB
nvwiki https://nv.wikipedia.org 82MB
nywiki https://ny.wikipedia.org 2MB
ocwiki https://oc.wikipedia.org 935MB
ocwikibooks https://oc.wikibooks.org 1MB
ocwiktionary https://oc.wiktionary.org 93MB
olowiki https://olo.wikipedia.org 6MB
omwiki https://om.wikipedia.org 1MB
omwiktionary https://om.wiktionary.org 3MB
orwiki https://or.wikipedia.org 120MB
orwikisource https://or.wikisource.org 11MB
orwiktionary https://or.wiktionary.org 77MB
oswiki https://os.wikipedia.org 44MB
pagwiki https://pag.wikipedia.org 18MB
pamwiki https://pam.wikipedia.org 45MB
papwiki https://pap.wikipedia.org 4MB
pawiki https://pa.wikipedia.org 228MB
pawikibooks https://pa.wikibooks.org 1MB
pawikisource https://pa.wikisource.org 5MB
pawiktionary https://pa.wiktionary.org 11MB
pcdwiki https://pcd.wikipedia.org 23MB
pdcwiki https://pdc.wikipedia.org 3MB
pflwiki https://pfl.wikipedia.org 12MB
pihwiki https://pih.wikipedia.org 2MB
piwiki https://pi.wikipedia.org 3MB
plwiki https://pl.wikipedia.org 11521MB
plwikibooks https://pl.wikibooks.org 65MB
plwikinews https://pl.wikinews.org 44MB
plwikiquote https://pl.wikiquote.org 61MB
plwikisource https://pl.wikisource.org 1081MB
plwikivoyage https://pl.wikivoyage.org 8MB
plwiktionary https://pl.wiktionary.org 1871MB
pmswiki https://pms.wikipedia.org 147MB
pmswikisource https://pms.wikisource.org 9MB
pnbwiki https://pnb.wikipedia.org 433MB
pnbwiktionary https://pnb.wiktionary.org 4MB
pntwiki https://pnt.wikipedia.org 2MB
pswiki https://ps.wikipedia.org 68MB
pswikivoyage https://ps.wikivoyage.org 1MB
pswiktionary https://ps.wiktionary.org 9MB
ptwiki https://pt.wikipedia.org 11172MB
ptwikibooks https://pt.wikibooks.org 39MB
ptwikinews https://pt.wikinews.org 167MB
ptwikiquote https://pt.wikiquote.org 15MB
ptwikisource https://pt.wikisource.org 134MB
ptwikiversity https://pt.wikiversity.org 24MB
ptwikivoyage https://pt.wikivoyage.org 11MB
ptwiktionary https://pt.wiktionary.org 456MB
quwiki https://qu.wikipedia.org 82MB
quwiktionary https://qu.wiktionary.org 1MB
rmwiki https://rm.wikipedia.org 21MB
rmywiki https://rmy.wikipedia.org 2MB
rnwiki https://rn.wikipedia.org 1MB
roa_rupwiki https://roa-rup.wikipedia.org 2MB
roa_rupwiktionary https://roa-rup.wiktionary.org 1MB
roa_tarawiki https://roa-tara.wikipedia.org 35MB
rowiki https://ro.wikipedia.org 4047MB
rowikibooks https://ro.wikibooks.org 3MB
rowikinews https://ro.wikinews.org 3MB
rowikiquote https://ro.wikiquote.org 1MB
rowikisource https://ro.wikisource.org 86MB
rowikivoyage https://ro.wikivoyage.org 2MB
rowiktionary https://ro.wiktionary.org 259MB
ruewiki https://rue.wikipedia.org 17MB
ruwiki https://ru.wikipedia.org 22711MB
ruwikibooks https://ru.wikibooks.org 54MB
ruwikinews https://ru.wikinews.org 4312MB
ruwikiquote https://ru.wikiquote.org 168MB
ruwikisource https://ru.wikisource.org 2346MB
ruwikiversity https://ru.wikiversity.org 30MB
ruwikivoyage https://ru.wikivoyage.org 176MB
ruwiktionary https://ru.wiktionary.org 4239MB
rwwiki https://rw.wikipedia.org 4MB
rwwiktionary https://rw.wiktionary.org 1MB
sahwiki https://sah.wikipedia.org 41MB
sahwikiquote https://sah.wikiquote.org 1MB
sahwikisource https://sah.wikisource.org 4MB
satwiki https://sat.wikipedia.org 22MB
sawiki https://sa.wikipedia.org 90MB
sawikibooks https://sa.wikibooks.org 10MB
sawikiquote https://sa.wikiquote.org 5MB
sawikisource https://sa.wikisource.org 468MB
sawiktionary https://sa.wiktionary.org 201MB
scnwiki https://scn.wikipedia.org 45MB
scnwiktionary https://scn.wiktionary.org 24MB
scowiki https://sco.wikipedia.org 241MB
scwiki https://sc.wikipedia.org 25MB
sdwiki https://sd.wikipedia.org 57MB
sdwiktionary https://sd.wiktionary.org 4MB
sewiki https://se.wikipedia.org 18MB
sgwiki https://sg.wikipedia.org 1MB
sgwiktionary https://sg.wiktionary.org 1MB
shnwiki https://shn.wikipedia.org 56MB
shnwiktionary https://shn.wiktionary.org 13MB
shwiki https://sh.wikipedia.org 5632MB
shwiktionary https://sh.wiktionary.org 640MB
simplewiki https://simple.wikipedia.org 1034MB
simplewiktionary https://simple.wiktionary.org 25MB
siwiki https://si.wikipedia.org 136MB
siwikibooks https://si.wikibooks.org 38MB
siwiktionary https://si.wiktionary.org 1MB
skwiki https://sk.wikipedia.org 1685MB
skwikibooks https://sk.wikibooks.org 1MB
skwikiquote https://sk.wikiquote.org 10MB
skwikisource https://sk.wikisource.org 1MB
skwiktionary https://sk.wiktionary.org 21MB
slwiki https://sl.wikipedia.org 1353MB
slwikibooks https://sl.wikibooks.org 2MB
slwikiquote https://sl.wikiquote.org 6MB
slwikisource https://sl.wikisource.org 288MB
slwikiversity https://sl.wikiversity.org 7MB
slwiktionary https://sl.wiktionary.org 18MB
smwiki https://sm.wikipedia.org 1MB
smwiktionary https://sm.wiktionary.org 2MB
snwiki https://sn.wikipedia.org 4MB
sowiki https://so.wikipedia.org 28MB
sowiktionary https://so.wiktionary.org 1MB
sqwiki https://sq.wikipedia.org 457MB
sqwikibooks https://sq.wikibooks.org 24MB
sqwikinews https://sq.wikinews.org 1MB
sqwikiquote https://sq.wikiquote.org 1MB
sqwiktionary https://sq.wiktionary.org 20MB
srnwiki https://srn.wikipedia.org 1MB
srwiki https://sr.wikipedia.org 11076MB
srwikibooks https://sr.wikibooks.org 1MB
srwikinews https://sr.wikinews.org 118MB
srwikiquote https://sr.wikiquote.org 1MB
srwikisource https://sr.wikisource.org 178MB
srwiktionary https://sr.wiktionary.org 1007MB
sswiki https://ss.wikipedia.org 1MB
sswiktionary https://ss.wiktionary.org 1MB
stqwiki https://stq.wikipedia.org 11MB
stwiki https://st.wikipedia.org 2MB
stwiktionary https://st.wiktionary.org 1MB
suwiki https://su.wikipedia.org 184MB
suwikiquote https://su.wikiquote.org 2MB
suwiktionary https://su.wiktionary.org 1MB
svwiki https://sv.wikipedia.org 21799MB
svwikibooks https://sv.wikibooks.org 6MB
svwikinews https://sv.wikinews.org 7MB
svwikiquote https://sv.wikiquote.org 2MB
svwikisource https://sv.wikisource.org 55MB
svwikiversity https://sv.wikiversity.org 1MB
svwikivoyage https://sv.wikivoyage.org 6MB
svwiktionary https://sv.wiktionary.org 430MB
swwiki https://sw.wikipedia.org 173MB
swwiktionary https://sw.wiktionary.org 9MB
szlwiki https://szl.wikipedia.org 113MB
szywiki https://szy.wikipedia.org 9MB
tawiki https://ta.wikipedia.org 1091MB
tawikibooks https://ta.wikibooks.org 4MB
tawikinews https://ta.wikinews.org 12MB
tawikiquote https://ta.wikiquote.org 4MB
tawikisource https://ta.wikisource.org 122MB
tawiktionary https://ta.wiktionary.org 319MB
tcywiki https://tcy.wikipedia.org 7MB
tetwiki https://tet.wikipedia.org 4MB
tewiki https://te.wikipedia.org 734MB
tewikibooks https://te.wikibooks.org 4MB
tewikiquote https://te.wikiquote.org 2MB
tewikisource https://te.wikisource.org 106MB
tewiktionary https://te.wiktionary.org 105MB
tgwiki https://tg.wikipedia.org 603MB
tgwikibooks https://tg.wikibooks.org 1MB
tgwiktionary https://tg.wiktionary.org 25MB
thwiki https://th.wikipedia.org 1672MB
thwikibooks https://th.wikibooks.org 11MB
thwikiquote https://th.wikiquote.org 5MB
thwikisource https://th.wikisource.org 114MB
thwiktionary https://th.wiktionary.org 392MB
tiwiki https://ti.wikipedia.org 1MB
tiwiktionary https://ti.wiktionary.org 1MB
tkwiki https://tk.wikipedia.org 6MB
tkwiktionary https://tk.wiktionary.org 2MB
tlwiki https://tl.wikipedia.org 300MB
tlwikibooks https://tl.wikibooks.org 1MB
tlwiktionary https://tl.wiktionary.org 13MB
tnwiki https://tn.wikipedia.org 1MB
tnwiktionary https://tn.wiktionary.org 1MB
towiki https://to.wikipedia.org 2MB
tpiwiki https://tpi.wikipedia.org 4MB
tpiwiktionary https://tpi.wiktionary.org 1MB
trwiki https://tr.wikipedia.org 3415MB
trwikibooks https://tr.wikibooks.org 4MB
trwikiquote https://tr.wikiquote.org 14MB
trwikisource https://tr.wikisource.org 49MB
trwiktionary https://tr.wiktionary.org 295MB
tswiki https://ts.wikipedia.org 3MB
tswiktionary https://ts.wiktionary.org 1MB
ttwiki https://tt.wikipedia.org 2056MB
ttwikibooks https://tt.wikibooks.org 1MB
ttwiktionary https://tt.wiktionary.org 5MB
tumwiki https://tum.wikipedia.org 1MB
twwiki https://tw.wikipedia.org 1MB
tyvwiki https://tyv.wikipedia.org 14MB
tywiki https://ty.wikipedia.org 1MB
udmwiki https://udm.wikipedia.org 14MB
ugwiki https://ug.wikipedia.org 28MB
ugwiktionary https://ug.wiktionary.org 1MB
ukwiki https://uk.wikipedia.org 12307MB
ukwikibooks https://uk.wikibooks.org 9MB
ukwikinews https://uk.wikinews.org 12MB
ukwikiquote https://uk.wikiquote.org 38MB
ukwikisource https://uk.wikisource.org 102MB
ukwikivoyage https://uk.wikivoyage.org 5MB
ukwiktionary https://uk.wiktionary.org 200MB
urwiki https://ur.wikipedia.org 1203MB
urwikibooks https://ur.wikibooks.org 1MB
urwikiquote https://ur.wikiquote.org 1MB
urwiktionary https://ur.wiktionary.org 9MB
uzwiki https://uz.wikipedia.org 490MB
uzwikiquote https://uz.wikiquote.org 1MB
uzwiktionary https://uz.wiktionary.org 133MB
vecwiki https://vec.wikipedia.org 449MB
vecwikisource https://vec.wikisource.org 16MB
vecwiktionary https://vec.wiktionary.org 7MB
vepwiki https://vep.wikipedia.org 15MB
vewiki https://ve.wikipedia.org 1MB
viwiki https://vi.wikipedia.org 7044MB
viwikibooks https://vi.wikibooks.org 17MB
viwikiquote https://vi.wikiquote.org 1MB
viwikisource https://vi.wikisource.org 78MB
viwikivoyage https://vi.wikivoyage.org 8MB
viwiktionary https://vi.wiktionary.org 291MB
vlswiki https://vls.wikipedia.org 12MB
vowiki https://vo.wikipedia.org 151MB
vowiktionary https://vo.wiktionary.org 23MB
warwiki https://war.wikipedia.org 3681MB
wawiki https://wa.wikipedia.org 18MB
wawiktionary https://wa.wiktionary.org 62MB
wowiki https://wo.wikipedia.org 4MB
wowikiquote https://wo.wikiquote.org 1MB
wowiktionary https://wo.wiktionary.org 2MB
wuuwiki https://wuu.wikipedia.org 56MB
xalwiki https://xal.wikipedia.org 7MB
xhwiki https://xh.wikipedia.org 3MB
xmfwiki https://xmf.wikipedia.org 68MB
yiwiki https://yi.wikipedia.org 30MB
yiwikisource https://yi.wikisource.org 15MB
yiwiktionary https://yi.wiktionary.org 1MB
yowiki https://yo.wikipedia.org 92MB
yuewiktionary https://yue.wiktionary.org 7MB
zawiki https://za.wikipedia.org 2MB
zeawiki https://zea.wikipedia.org 12MB
zh_classicalwiki https://zh-classical.wikipedia.org 27MB
zh_min_nanwiki https://zh-min-nan.wikipedia.org 1081MB
zh_min_nanwikisource https://zh-min-nan.wikisource.org 9MB
zh_min_nanwiktionary https://zh-min-nan.wiktionary.org 11MB
zhwiki https://zh.wikipedia.org 16412MB
zhwikibooks https://zh.wikibooks.org 39MB
zhwikinews https://zh.wikinews.org 101MB
zhwikiquote https://zh.wikiquote.org 17MB
zhwikisource https://zh.wikisource.org 8973MB
zhwikiversity https://zh.wikiversity.org 21MB
zhwikivoyage https://zh.wikivoyage.org 20MB
zhwiktionary https://zh.wiktionary.org 1417MB
zh_yuewiki https://zh-yue.wikipedia.org 408MB
zuwiki https://zu.wikipedia.org 16MB
zuwiktionary https://zu.wiktionary.org 1MB

Launch Docs[edit]

Getting Started[edit]

Glossary[edit]
  • Project
  • Namespace (ns)
  • Exports
  • Diffs
  • db_name
  • Firehose

Updates[edit]

Resources[edit]

Authentication[edit]

API Reference[edit]

Type Name Purpose Endpoint Parameters Responses Notes Methods
Realtime API Activity "Firehose" API Returns stream of JSON of current revisions with ability to filter responses in real time. TBD TBD TBD GET
Structured Content API Returns structured JSON of the most recent revision for a title in any project. See below data schema. /v1/pages/json/{db_name}/{title}
  • db_name*
  • title*
  • 200: Success
  • 400: Bad Request
  • 404: Not Found
GET
Bulk API Daily Exports Returns tarball of all most recent revisions in a single project, bundled at the end of each day. These are large files with contents in JSON, see below data schema. /v1/exports/json/{db_name}/{ns}
  • db_name*
  • ns*
  • 200: Success
  • 400: Bad Request
  • 404: Not Found
Namespace Index

0 = Article

6 = File

14 = Category

GET
Hourly Exports Returns tarball of only the recent revisions done on a day in a single project, bundled at the end of each hour. These are smaller files with contents in JSON, see below data schema. /v1/diffs/json/{date}/{db_name}/{ns}
  • date (YYYY-MM-DD)
  • db_name*
  • ns*
  • 200: Success
  • 400: Bad Request
  • 404: Not Found
Namespace Index

0 = Article

6 = File

14 = Category

GET
Misc All Projects Returns a list of relevant metadata for each of the projects included in Enterprise APIs /v1/projects
  • 200: Success
  • 404: Not Found
GET
All Namespaces List of supported namespaces /v1/namespaces GET
List of available diffs for the day in specified namespace /v1/diffs/meta/{date}/{namespace} GET
Info about single diff in specified namespace /v1/diffs/meta/{date}/{namespace}/{project} GET
Download diff in specified namespace /v1/diffs/download/{date}/{namespace}/{project} GET
List of all available exports in specified namespace /v1/exports/meta/{namespace} GET
Get single export in specified namespace /v1/exports/meta/{namespace}/{project} GET
Download export in specified namespace /v1/exports/download/{namespace}/{project} GET