Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Wikimedia offline API

The offline API from Wikimedia — 2 operation(s) for offline.

Wikimedia offline API is one of 20 APIs that Wikimedia publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include offline. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, rate-limit docs, and pricing.

This API exposes 2 operations across 2 paths, and defines 1 schema. It is described by OpenAPI 3.1.0, at version 2.0.0.

Requests are made against a single base URL, https://api.enterprise.wikimedia.com.

2 operations 2 paths 1 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

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

Authentication & Security 1

Wikimedia offline API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). By default, every request must be authenticated.

Paths & Operations 2

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

offline 2
GET
/page/mobile-html-offline-resources/{title}
Get styles and scripts for offline consumption of mobile-html-formatted pages
1 param → 200default
GET
/page/mobile-html-offline-resources/{title}/{revision}
Get styles and scripts for offline consumption of mobile-html-formatted pages
2 params → 200default

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

wikimedia-offline-api-openapi.yml Raw ↑

Other APIs Wikimedia publishes across the network.

MediaWiki REST API
Wikimedia articles API
Wikimedia batches API
Wikimedia Citation API
Wikimedia codes API
Wikimedia languages API
Wikimedia Math API
Wikimedia Mobile API
Wikimedia namespaces API
Wikimedia Page content API
Wikimedia projects API
Wikimedia Reading lists API