Discover and interact with free knowledge from across Wikimedia projects.

Status

stable

Access

public

Projects and languages All projects and languages
Framework REST

Sample call

# Get the HTML version of the Earth article on English Wikipedia
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html

Topics

Code samples

How to report a bug

Create an account on Wikimedia Phabricator, and tag the task with MediaWiki-REST-API.

How to get help

Leave a comment on the discussion page.

How to edit the docs

The API reference is written manually based on the MediaWiki Core source code. Visit the contributing guide to get started editing the API Portal.

Changelog

March 11, 2022 The search endpoints now return a matched_title property to handle redirected pages.