Template:API comparison
Appearance
API | Availability | URL base | Example |
---|---|---|---|
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 REST API | Included with MediaWiki 1.35+
Enabled on Wikimedia projects |
/rest.php | https://en.wikipedia.org/w/rest.php/v1/page/Earth |
Wikimedia REST API | Not included with MediaWiki
Available for Wikimedia projects only |
/api/rest | https://en.wikipedia.org/api/rest_v1/page/title/Earth |
For commercial-scale APIs for Wikimedia projects, see Wikimedia Enterprise |
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. No parameters.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |