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

Wikisource Citation API

generation of citation data

Wikisource Citation API is one of 10 APIs that Wikisource publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Citation. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 1 operation across 1 path, and defines 2 schemas. It is described by OpenAPI 3.0.1, at version 1.0.0.

Requests are made against a single base URL, /api/rest_v1.

1 operations 1 paths 2 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
1.0.0
Base URL
https://en.wikisource.org/w/api.php
License
Terms of Service
Resource Areas
1

Paths & Operations 1

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

Citation 1

generation of citation data

GET
/data/citation/{format}/{query}
Get citation data given an article identifier.
getCitation 3 params → 200404

Schemas 2

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

result
object
3 properties 3 required
problem
object
4 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wikisource-citation-api-openapi.yml Raw ↑

Other APIs Wikisource publishes across the network.

MediaWiki Action API
MediaWiki Core REST API
Wikimedia REST API v1
Wikisource Math API
Wikisource Mobile API
Wikisource Page content API
Wikisource Reading lists API
Wikisource Recommendation API
Wikisource Transforms API