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 Transforms API

Wikitext HTML transformation

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

Tagged areas include Transforms. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and pricing.

This API exposes 10 operations across 10 paths, and defines 1 schema. It is described by OpenAPI 3.2.0, at version 1.0.0.

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

10 operations 10 paths 1 schemas 10 POST

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 Transforms 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 10

Across 10 paths, the API surfaces 10 operations — 10 POST. Each is listed below with its method, path, parameters, and response codes.

Transforms 10

convert content between HTML and Wikitext

POST
/transform/html/to/wikitext
Wikimedia REST Transform HTML to Wikitext
1 param body → 200403404409410default
POST
/transform/html/to/wikitext/{title}
Wikimedia REST Transform HTML to Wikitext
2 params body → 200403404409410default
POST
/transform/html/to/wikitext/{title}/{revision}
Wikimedia REST Transform HTML to Wikitext
3 params body → 200403404409410default
POST
/transform/wikitext/to/html
Wikimedia REST Transform Wikitext to HTML
body → 200403404409410default
POST
/transform/wikitext/to/html/{title}
Wikimedia REST Transform Wikitext to HTML
1 param body → 200403404409410default
POST
/transform/wikitext/to/html/{title}/{revision}
Wikimedia REST Transform Wikitext to HTML
2 params body → 200403404409410default
POST
/transform/wikitext/to/lint
Wikimedia REST Check Wikitext for Lint Errors
body → 200404409410default
POST
/transform/wikitext/to/lint/{title}
Wikimedia REST Check Wikitext for Lint Errors
1 param body → 200404409410default
POST
/transform/wikitext/to/lint/{title}/{revision}
Wikimedia REST Check Wikitext for Lint Errors
2 params body → 200404409410default
POST
/transform/wikitext/to/mobile-html/{title}
Wikimedia REST Transform Wikitext to Mobile HTML
transformWikitextToMobileHtml 3 params body → 200404default

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is problem (4 properties). Each schema is shown below with its type and property counts.

problem
object
4 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wikipedia-transforms-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 Transforms 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.