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

Snapshot API

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

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

This API exposes 12 operations across 6 paths, and defines 7 schemas. 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.

12 operations 6 paths 7 schemas 6 GET2 HEAD4 POST

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 snapshots API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). By default, every request must be authenticated.

Paths & Operations 12

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

snapshots 12

Snapshot API

GET
/v2/snapshots
2 params → 200401403422500
POST
/v2/snapshots
body → 200401403422500
GET
/v2/snapshots/{identifier}
2 params → 200401403404422500
POST
/v2/snapshots/{identifier}
1 param body → 200401403404422500
HEAD
/v2/snapshots/{identifier}/download
Project Snapshot Headers
1 param → 200401403404422500
GET
/v2/snapshots/{identifier}/download
2 params → 200401403404422500
GET
/v2/snapshots/{snapshot_identifier}/chunks
3 params → 200401403404422500
POST
/v2/snapshots/{snapshot_identifier}/chunks
1 param body → 200401403404422500
GET
/v2/snapshots/{snapshot_identifier}/chunks/{identifier}
3 params → 200401403404422500
POST
/v2/snapshots/{snapshot_identifier}/chunks/{identifier}
2 params body → 200401403404422500
HEAD
/v2/snapshots/{snapshot_identifier}/chunks/{identifier}/download
Snapshot Chunk Download Headers
2 params → 200401403404422500
GET
/v2/snapshots/{snapshot_identifier}/chunks/{identifier}/download
3 params → 200401403404422500

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are snapshot (8 properties), project (5 properties), language (4 properties), filter (2 properties). Each schema is shown below with its type and property counts.

size
object
2 properties
error
object
2 properties
article_namespace
object
1 property
language
object
4 properties
project
object
5 properties
filter
object
2 properties
snapshot
object
8 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wikimedia-snapshots-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 offline API
Wikimedia Page content API
Wikimedia projects API