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

Metadata

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

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

This API exposes 4 operations across 2 paths, and defines 3 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.

4 operations 2 paths 3 schemas 2 GET2 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 namespaces API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). By default, every request must be authenticated.

Paths & Operations 4

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

namespaces 4

Metadata

GET
/v2/namespaces
2 params → 200401403422500
POST
/v2/namespaces
body → 200401403422500
GET
/v2/namespaces/{identifier}
2 params → 200401403404422500
POST
/v2/namespaces/{identifier}
1 param body → 200401403404422500

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are namespace (3 properties), filter (2 properties), error (2 properties). Each schema is shown below with its type and property counts.

namespace
object
3 properties
error
object
2 properties
filter
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wikimedia-namespaces-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 offline API
Wikimedia Page content API
Wikimedia projects API
Wikimedia Reading lists API