This dataset IS NOT the exact same as the one available on stats.wikimedia.org and is currently in alpha-version
This page documents how to access Wikistats 2 data through the Analytics Query Service API. Available metrics revolve around edits, edited-pages, editors and newly-registered-users.
The Analytics Team has taken a lot of ideas from Erik Zachte work, and we are immensely grateful for all the work Erik has put into gathering, consolidating and maintaining stats over wikimedia project for many years. For more on the differences between the two datasets, see the Analytics/AQS/Wikistats 2/Data Quality page (disclaimer: they are small!).
- 1 Quick Start
- 2 More Reading
Technical Documentation: https://wikimedia.org/api/rest_v1/?doc (includes interactive examples).
Edits and changed-bytes
Caution: These metrics measure edition activity, therefore they include edits on redirects. Also, these metrics can be queried for project-families as in all-wikipedia-projects for instance.
Get the monthly number of edits for
en.wikipedia.org between January and October 2017, made by registered users on articles (pages in content namespace):
Get the daily number of edits for all
wikitionary.org projects for August 2018, made by registered users on articles (pages in content namespace):
Get the daily bytes-difference (sum of the number of bytes added or removed by edits) for
wikidata.org for September 2017, made by all editor-types on all page-types:
Get the monthly absolute bytes-difference (sum of the absolute value of bytes changed by edits) for
fr.wikisource.org for year 2016, made by bots (users belonging to bot group) on articles (pages in content namespace):
Get the daily number of edits for page Barack Obama on
en.wikipedia.org between January 2017 and February 2017, made by registered users:
Caution: This metric measures content, therefore it doesn't includes redirect pages.
Get the daily number of new edited-pages (also named pages created) for
es.wikipedia.org between the 10th and the 30th of January 2015, made by all editor-types on non-content pages:
Total article count
This metric is easily derived from the previous Pages Created one, taking it's cumulative value.
Get the monthly number of edited-pages for
ja.wikipedia.org for 2017, made by registered users on articles (pages belonging to content namespaces), for pages all page-activity-levels (any number of edits per page):
Get the monthly number of edited-pages for
commons.wikimedia.org for 2015, made by anonymous users on all page-types, for pages having been edited 1 to 4 times:
Top Edited Pages
Get the monthly top-100 most edited pages
ru.wikipedia.org in January 2017, made by all editor-types on articles (pages belonging to content namespaces):
Get the monthly top-100 pages that have been added most bytes for
zh.wikipedia.org in September 2017, changed by registered editors, all page-types:
Get the daily top-100 pages having been mostly changed in bytes for
it.wikipedia.org the 1st of August 2017, changed by anonymous editors, all page-types:
Caution: This metric measures editors' activity, therefore it includes edits on redirects.
Get the monthly number of editors for
pl.wiktionary.org for January to August 2017, being any editor-type, and having edited any article-type between 5 and 24 times:
Get the daily number of editors for
hi.wikipedia.org for September 2017, being registered users, on articles (pages belonging to content namespaces), any activity-level:
Caution: anonymous editors IPs are replaced by
Anonymous Editor in the next requests.
Get the monthly top-100 editors by edits number for
en.wiktionary.org in January 2017, being bots (belonging to the bot group) having edited any page-types:
Get the daily top-100 editors having added most bytes for
de.wikivoyage.org the 2nd of May 2016, being registered editors, all page-types:
Get the monthly top-100 editors having changed most bytes for
wikidata.org in September 2017, being all-editor-types, all page-types:
Newly Registered Users
Get the daily number of newly registered users for
de.wikipedia.org for January 2017:
Analytics/Data_Lake/Edits/Mediawiki_history (not public yet, includes the most detailed version of history we have been able to rebuild so far)