API:Main page

Overview
This page provides an overview of the MediaWiki Action API. This page is intended for technical contributors and software developers who wish to understand and use the MediaWiki Action API.

Quick Start
Get the contents of an article on English Wikipedia in HTML:

Endpoint
 All Wikimedia wikis have endpoints that follow this pattern: 

To see the endpoint URL on a particular wiki, see section " " on the  page.

Introduction
The MediaWiki Action API is a web service that allows access to some wiki-features like authentication, page operations, and search. It can provide meta information about the wiki and the logged-in user.

Uses for the MediaWiki Action API

 * Monitor a MediaWiki installation


 * Create a bot to maintain a MediaWiki installation


 * Log into a wiki, access data, and post changes by making HTTP requests to the web service

Getting started with MediaWiki Action API
Before you start using the MediaWiki Action API, you should review the following pages:


 * API etiquette and usage guidelines


 * The FAQ.


 * The page about input and output formats


 * The page about errors and warnings


 * Any policies that apply to the wiki you want to access, such as Wikimedia Foundation wikis' terms of use, trademark policy. These terms apply to you when you access or edit using the API, just as they do when you use your web browser.

Other APIs
If you do not find what you are looking for in this API documentation, there are many other APIs related to Wikimedia projects. See the Web APIs hub for information on other APIs for Wikimedia project data and their usage.

For the REST API included with MediaWiki 1.35 and later, see.