Template:API comparison

This table: view · talk · edit
API Availability URL base Example
MediaWiki-2020-small-icon.svg MediaWiki Action API Included with MediaWiki

Enabled on Wikimedia projects

/api.php https://en.wikipedia.org/w/api.php?action=query&prop=info&titles=Earth
MediaWiki-2020-small-icon.svg MediaWiki REST API Included with MediaWiki 1.35+

Enabled on Wikimedia projects

/rest.php https://en.wikipedia.org/w/rest.php/v1/page/Earth
Wikimedia-logo.svg Wikimedia REST API Not included with MediaWiki

Available for Wikimedia projects only

/api/rest https://en.wikipedia.org/api/rest_v1/page/title/Earth
Wikimedia Enterprise squirrel.svg For commercial-scale APIs for Wikimedia projects, see Wikimedia Enterprise
Template documentation

This is the TemplateData documentation for this template used by VisualEditor and other tools.

API comparison

Used to list REST API types on the linked pages.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
No parameters specified