API:Web APIs hub

From mediawiki.org

Equip your projects with free knowledge

Free multilingual information
on Wikipedia and sister projects
Free images and media files
on Wikimedia Commons
Free structured data
on Wikidata
OOjs UI icon article-ltr.svg OOjs UI icon imageGallery-ltr.svg Octicons-database.svg

Extract, publish, edit, and monitor information in real time using the Wikimedia web APIs.

Analyze in detail our entire Wikimedia datasets. Extend and contribute to hundreds of Wikimedia free software projects.


Page info in search results

Wikipedia Beta search on Android 4.4.4 2015-02-09.png

This shows the API results that search results use to display additional information about articles, including a lead image and a description of the article's subject from Wikidata.

Showing nearby places information

"Nearby" feature in Wikipedia beta Android app, cropped

This shows how to query the MediaWiki API for nearby articles


Make requests and see results in the MediaWiki API Sandbox

2015-03-16 ApiSandbox screenshot crop.png

Request content and metadata of Wikimedia articles with our REST API

Rest.wikimedia.org Swagger API doc detail.png


  • The MediaWiki action API (documentation) is a collection of API modules on each wiki that let you query and manipulate its content. Check API:Action API for a list of available Action APIs.
  • The Wikidata API (documentation) consists of several such modules running on Wikidata wiki that let you query and manipulate language-independent information.
  • The RESTBase content API (generated documentation) runs on each wiki so you can retrieve page content quickly and easily.
  • You can search wiki content using various modules in the action API, and Wikidata has its own Wikidata query service. Search and discovery provides an overview.

There are many other ways to contribute to MediaWiki.