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

Realtime Batch API

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

Tagged areas include batches. 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 batches 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.

batches 6

Realtime Batch API

GET
/v2/batches/{date}/{hour}
4 params → 200401403404422500
POST
/v2/batches/{date}/{hour}
2 params body → 200401403404422500
GET
/v2/batches/{date}/{hour}/{identifier}
4 params → 200401403404422500
POST
/v2/batches/{date}/{hour}/{identifier}
3 params body → 200401403404422500
HEAD
/v2/batches/{date}/{hour}/{identifier}/download
Project Updates (Batch) Headers
3 params → 200401403404422500
GET
/v2/batches/{date}/{hour}/{identifier}/download
4 params → 200401403404422500

Schemas 7

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

error
object
2 properties
size
object
2 properties
article_namespace
object
1 property
language
object
4 properties
project
object
5 properties
filter
object
2 properties
batch
object
7 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wikimedia-batches-api-openapi.yml Raw ↑

Other APIs Wikimedia publishes across the network.

MediaWiki REST API
Wikimedia articles 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
Wikimedia Reading lists API