<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.carnivault.org/index.php?action=history&amp;feed=atom&amp;title=API%3AMain_page</id>
	<title>API:Main page - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.carnivault.org/index.php?action=history&amp;feed=atom&amp;title=API%3AMain_page"/>
	<link rel="alternate" type="text/html" href="http://www.carnivault.org/index.php?title=API:Main_page&amp;action=history"/>
	<updated>2026-04-21T17:47:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.5</generator>
	<entry>
		<id>http://www.carnivault.org/index.php?title=API:Main_page&amp;diff=1325&amp;oldid=prev</id>
		<title>NepenthesOdyssey: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://www.carnivault.org/index.php?title=API:Main_page&amp;diff=1325&amp;oldid=prev"/>
		<updated>2025-02-25T09:35:25Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;languages/&amp;gt;&lt;br /&gt;
{{API}}&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:1--&amp;gt; This page provides an overview of the MediaWiki &amp;#039;&amp;#039;&amp;#039;Action API&amp;#039;&amp;#039;&amp;#039;, represented by the &amp;lt;tvar name=1&amp;gt;&amp;lt;code&amp;gt;api.php&amp;lt;/code&amp;gt;&amp;lt;/tvar&amp;gt; endpoint.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:113--&amp;gt; This page is intended for technical contributors and software developers who wish to understand and use the MediaWiki Action API.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
== Quick Start == &amp;lt;!--T:114--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:137--&amp;gt;&lt;br /&gt;
Get the contents of an article on English Wikipedia in HTML:&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{ApiEx|p1=action=parse|p2=page=Pet_door|p3=format=json}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
=== Endpoint === &amp;lt;!--T:121--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;translate&amp;gt;&amp;lt;!--T:122--&amp;gt; All Wikimedia wikis have endpoints that follow this pattern:&amp;lt;/translate&amp;gt;&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://www.example.org/w/api.php&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&amp;lt;translate&amp;gt;&amp;lt;!--T:123--&amp;gt; Examples of Wikimedia Wiki Endpoints&amp;lt;/translate&amp;gt;&lt;br /&gt;
!&amp;lt;translate&amp;gt;&amp;lt;!--T:124--&amp;gt; API Endpoint&amp;lt;/translate&amp;gt;&lt;br /&gt;
!&amp;lt;translate&amp;gt;&amp;lt;!--T:125--&amp;gt; Wiki&amp;lt;/translate&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt; https://www.mediawiki.org/w/api.php &amp;lt;/code&amp;gt;&lt;br /&gt;
|MediaWiki API&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt; https://meta.wikimedia.org/w/api.php &amp;lt;/code&amp;gt;&lt;br /&gt;
|Meta-Wiki API&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt; https://en.wikipedia.org/w/api.php &amp;lt;/code&amp;gt;&lt;br /&gt;
|English Wikipedia API&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt; https://nl.wikipedia.org/w/api.php &amp;lt;/code&amp;gt;&lt;br /&gt;
|Dutch Wikipedia API&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt; https://commons.wikimedia.org/w/api.php &amp;lt;/code&amp;gt;&lt;br /&gt;
|Wikimedia Commons API&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;https://test.wikipedia.org/w/api.php&amp;lt;/code&amp;gt;&lt;br /&gt;
|Test Wiki API&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:136--&amp;gt;&lt;br /&gt;
To see the endpoint URL on a particular wiki, see section &amp;quot;&amp;lt;tvar name=1&amp;gt;{{int|version-entrypoints}}&amp;lt;/tvar&amp;gt;&amp;quot; on the &amp;lt;tvar name=2&amp;gt;Special:Version&amp;lt;/tvar&amp;gt; page.&lt;br /&gt;
&lt;br /&gt;
== Introduction == &amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:115--&amp;gt;&lt;br /&gt;
The MediaWiki Action API is a [[w:Web service|web service]] that allows access to some wiki features like authentication, page operations, and search. It can provide [[&amp;lt;tvar name=1&amp;gt;Special:MyLanguage/API:Meta&amp;lt;/tvar&amp;gt;|meta information]] about the wiki and the logged-in user.&lt;br /&gt;
&lt;br /&gt;
=== Uses for the MediaWiki Action API === &amp;lt;!--T:116--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:117--&amp;gt;&lt;br /&gt;
* Monitor a MediaWiki installation&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:130--&amp;gt;&lt;br /&gt;
* [[w:Wikipedia:Creating a bot|Create a bot]] to maintain a MediaWiki installation&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:131--&amp;gt;&lt;br /&gt;
* Log in to a wiki, access data, and post changes by making HTTP requests to the web service&lt;br /&gt;
&lt;br /&gt;
=== Getting started with MediaWiki Action API === &amp;lt;!--T:58--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:118--&amp;gt;&lt;br /&gt;
Before you start using the MediaWiki Action API, you should review the following pages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:127--&amp;gt;&lt;br /&gt;
* [[&amp;lt;tvar name=1&amp;gt;Special:MyLanguage/API:Etiquette&amp;lt;/tvar&amp;gt;|API etiquette and usage guidelines]]&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:61--&amp;gt;&lt;br /&gt;
* [[&amp;lt;tvar name=1&amp;gt;Special:MyLanguage/API:FAQ&amp;lt;/tvar&amp;gt;|Frequently asked questions]]&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:132--&amp;gt;&lt;br /&gt;
* [[&amp;lt;tvar name=1&amp;gt;Special:MyLanguage/API:Data formats&amp;lt;/tvar&amp;gt;|Input and output formats]]&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:133--&amp;gt;&lt;br /&gt;
* [[&amp;lt;tvar name=1&amp;gt;Special:MyLanguage/API:Errors and warnings&amp;lt;/tvar&amp;gt;|Errors and warnings]]&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:128--&amp;gt;&lt;br /&gt;
* Any policies that apply to the wiki you want to access, such as Wikimedia Foundation wikis&amp;#039; [[&amp;lt;tvar name=1&amp;gt;wmf:Special:MyLanguage/Terms of Use&amp;lt;/tvar&amp;gt;|terms of use]] and [[&amp;lt;tvar name=2&amp;gt;wmf:Special:MyLanguage/trademark policy&amp;lt;/tvar&amp;gt;|trademark policy]].&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:129--&amp;gt; These terms apply to you when you access or edit using the API, just as they do when you use your web browser.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
== API documentation == &amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;skin-nightmode-reset-color&amp;quot; style=&amp;quot;clear:both; background-color:#f8f9fa; padding:20px; border:1px solid #a2a9b1;&amp;quot;&amp;gt;&lt;br /&gt;
{{Api help|main}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Other APIs == &amp;lt;!--T:119--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:120--&amp;gt;&lt;br /&gt;
If you do not find what you are looking for in this API documentation, there are many other APIs related to Wikimedia projects.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:135--&amp;gt;&lt;br /&gt;
For the REST API included with MediaWiki 1.35 and later, see &amp;lt;tvar name=1&amp;gt;{{ll|API:REST API}}&amp;lt;/tvar&amp;gt;.&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{API comparison}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
== Code stewardship == &amp;lt;!--T:126--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{Component|mediawiki-api}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--{{Component|mediawiki-api}}--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:MediaWiki development{{#translation:}}|API]]&lt;br /&gt;
[[Category:Manual{{#translation:}}]]&lt;br /&gt;
[[Category:Documentation{{#translation:}}]]&lt;br /&gt;
[[Category:New contributors{{#translation:}}]]&lt;/div&gt;</summary>
		<author><name>NepenthesOdyssey</name></author>
	</entry>
</feed>