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.

Endpoint
 All Wikimedia wikis have endpoints that follow this pattern: 

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:


 * The 1>Special:MyLanguage/API:FAQ|FAQ.


 * The page about 1>Special:MyLanguage/API:Data formats|input and output formats


 * The page about 1>Special:MyLanguage/API:Errors and warnings|errors and warnings


 * The page about 1>Special:MyLanguage/API:Etiquette|etiquette


 * Any policies that apply to the wiki you want to access, such as Wikimedia Foundation wikis' 1>wmf:Special:MyLanguage/Terms of Use|terms of use, 2>wmf:Special:MyLanguage/trademark policy|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 1>Special:MyLanguage/API:Web APIs hub|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 .