How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Wikipedia / MediaWiki Pages API

Page metadata, HTML, source, create, update

Wikipedia / MediaWiki Pages API is one of 28 APIs that Wikipedia / MediaWiki publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Pages. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 6 operations across 5 paths, and defines 4 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against 3 base URLs: https://en.wikipedia.org/w/rest.php/v1, https://{lang}.wikipedia.org/w/rest.php/v1, https://api.wikimedia.org/core/v1/wikipedia/{lang}.

6 operations 5 paths 4 schemas 4 GET1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://en.wikipedia.org/w/api.php
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Wikipedia / MediaWiki Pages API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (BearerAuth).

  • BearerAuth — OAuth 2.0 bearer token issued via api.wikimedia.org. Required for write operations.

Paths & Operations 6

Across 5 paths, the API surfaces 6 operations — 4 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Pages 6

Page metadata, HTML, source, create, update

GET
/page/{title}
MediaWiki Core REST Get Page Source and Metadata
getPage 2 params → 200404
PUT
/page/{title}
MediaWiki Core REST Update or Create a Page
updatePage 1 param body → 200404
GET
/page/{title}/bare
MediaWiki Core REST Get Page Metadata Without Content
getPageBare 1 param → 200404
GET
/page/{title}/html
MediaWiki Core REST Get Page as HTML
getPageHtml 1 param → 200
GET
/page/{title}/with_html
MediaWiki Core REST Get Page Metadata and HTML
getPageWithHtml 1 param → 200404
POST
/page
MediaWiki Core REST Create a New Wiki Page
createPage body → 201

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Page (9 properties), CreatePageRequest (5 properties), UpdatePageRequest (5 properties), Error (4 properties). Each schema is shown below with its type and property counts.

UpdatePageRequest
object
5 properties 3 required
CreatePageRequest
object
5 properties 3 required
Page
object
A MediaWiki page object.
9 properties
Error
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wikipedia-pages-api-openapi.yml Raw ↑

Other APIs Wikipedia / MediaWiki publishes across the network.

Wikipedia / MediaWiki articles API
Wikipedia / MediaWiki batches API
Wikipedia / MediaWiki Citation API
Wikipedia / MediaWiki Codes API
Wikipedia / MediaWiki Languages API
Wikipedia / MediaWiki Math API
Wikipedia / MediaWiki Mobile API
Wikipedia / MediaWiki Namespaces API
Wikipedia / MediaWiki Offline API
Wikipedia / MediaWiki Page content API
Wikipedia / MediaWiki Projects API
Wikipedia / MediaWiki Reading lists API
Where this information came from

This is an independent, third-party profile of Wikipedia / MediaWiki Pages API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.