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

(BETA) Structured Contents Snapshot API

Wikimedia structured-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 structured-snapshots. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, rate-limit docs, and pricing.

This API exposes 6 operations across 3 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.

6 operations 3 paths 7 schemas 3 GET1 HEAD2 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 structured-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 6

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

structured-snapshots 6

(BETA) Structured Contents Snapshot API

GET
/v2/snapshots/structured-contents
2 params → 200401403422500
POST
/v2/snapshots/structured-contents
body → 200401403422500
GET
/v2/snapshots/structured-contents/{identifier}
2 params → 200401403404422500
POST
/v2/snapshots/structured-contents/{identifier}
1 param body → 200401403404422500
HEAD
/v2/snapshots/structured-contents/{identifier}/download
Project Structured Contents Snapshot Headers
1 param → 200401403404422500
GET
/v2/snapshots/structured-contents/{identifier}/download
2 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-structured-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