Wikisource website screenshot

Wikisource

Wikisource is the Wikimedia Foundation's free library of source texts — public-domain and freely-licensed books, historical documents, legal texts, constitutions, speeches, and other transcribed primary-source works in over 70 languages. The platform exposes its content through the same API surfaces as all MediaWiki installations: the MediaWiki Action API (action=query|parse|edit at /w/api.php), the MediaWiki Core REST API (/w/rest.php/v1/ for page CRUD, search, history, and transforms), and the legacy Wikimedia REST API v1 (/api/rest_v1/ for cached reads at up to 200 RPS). All APIs are free at point of use and governed by the Wikimedia API usage guidelines — a contactable User-Agent is mandatory and serial requests are preferred over parallel bursts.

Wikisource publishes 7 APIs on the APIs.io network, including Citation API, Math API, Mobile API, and 4 more. Tagged areas include Open Data, Open Knowledge, Literature, Historical Documents, and Public Domain.

The Wikisource catalog on APIs.io includes 1 JSON-LD context and 1 Spectral governance ruleset.

Wikisource’s developer surface includes documentation, status page, and 19 more developer resources.

44.5/100 developing ▬ flat Agent 36/100 agent ready Full breakdown ↓
scored 2026-08-05 · rubric v0.9.1
AccessFreeOpen⚡ Free to try
10 APIs
Open DataOpen KnowledgeLiteratureHistorical DocumentsPublic DomainTranscriptionPrimary SourcesNon-ProfitOpen Source

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-08-05 · rubric v0.9.1
Composite quality — 44.5/100 · developing
Contract Quality 14.8 / 25
Developer Ergonomics 1.7 / 20
Commercial Clarity 7.9 / 20
Operational Transparency 4.8 / 13
Governance 7.0 / 12
Discoverability 9.3 / 10
Agent readiness — 36/100 · agent ready
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 0 / 10
Idempotency 0 / 9
Stable Error Semantics 8 / 8
Request/Response Examples 7 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 4 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/wikisource: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 10

Individual APIs this provider publishes, each with its own machine-readable definition.

MediaWiki Action API

The primary programmatic interface to Wikisource, exposed at /w/api.php on each language subdomain. Operations are dispatched via the action= parameter (query, parse, edit, uplo...

MediaWiki Core REST API

Modern REST surface available on Wikisource at /w/rest.php/v1/. Provides page reads (source, HTML, bare metadata), full-text search, file metadata, page history, revision retrie...

Wikimedia REST API v1

Caching-optimised read API available at /api/rest_v1/ on each Wikisource language subdomain. Provides page summaries, full HTML, media lists, and language links for Wikisource p...

Wikisource Citation API

generation of citation data

Wikisource Math API

formula rendering

Wikisource Mobile API

The Mobile API from Wikisource — 3 operation(s) for mobile.

Wikisource Page content API

page content in different formats

Wikisource Reading lists API

Private lists of selected pages

Wikisource Recommendation API

contribution recommendations

Wikisource Transforms API

convert content between HTML and Wikitext

Scroll for all 10

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

Wikisource Rate Limits

4 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Semantic Vocabularies 1

JSON-LD contexts and semantic vocabularies used across these APIs.

Wikisource Context

21 classes · 19 properties

JSON-LD

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs.

Wikisource API Rules

5 rules · 4 warnings 1 info

SPECTRAL

JSON Schema 19

Standalone JSON Schema definitions for this provider's data models.

cx_dict

2 properties

JSON SCHEMA

cx_mt

1 properties

JSON SCHEMA

list_entry

5 properties

JSON SCHEMA

list_entry_write

2 properties

JSON SCHEMA

list

5 properties

JSON SCHEMA

list

2 properties

JSON SCHEMA

listing

2 properties

JSON SCHEMA

morelike_result

0 properties

JSON SCHEMA

originalimage

3 properties

JSON SCHEMA

problem

4 properties

JSON SCHEMA

recommendation_result

2 properties

JSON SCHEMA

result

3 properties

JSON SCHEMA

revision

2 properties

JSON SCHEMA

revisionIdentifier

2 properties

JSON SCHEMA

revisionInfo

12 properties

JSON SCHEMA

revisions

1 properties

JSON SCHEMA

summary

13 properties

JSON SCHEMA

thumbnail

3 properties

JSON SCHEMA

titles_set

3 properties

JSON SCHEMA

Scroll for all 19

Examples 1

Example request and response payloads for these APIs.

Security Posture 2

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Wikisource Domain Security

TLSv1.3 · HSTS · DMARC

SECURITY

Wikisource Vulnerability Disclosure

security.txt · contact published

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Wikisource Agentic Access

40 operations · 19 acting

40 operations · 19 acting

AGENTIC

Resources

Get Started 1

Portal, sign-up, and the first successful call

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Build 2

SDKs, sample code, and the tooling you integrate with

Access & Security 2

Authentication, authorization, and security posture

Operate 2

Status, limits, changes, and where to get help

Commercial 4

Pricing, plans, and the legal terms of use

Company 2

The organization behind the API

Other 6

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: wikisource
name: Wikisource
description: 'Wikisource is the Wikimedia Foundation''s free library of source texts — public-domain and freely-licensed books,
  historical documents, legal texts, constitutions, speeches, and other transcribed primary-source works in over 70 languages.
  The platform exposes its content through the same API surfaces as all MediaWiki installations: the MediaWiki Action API
  (action=query|parse|edit at /w/api.php), the MediaWiki Core REST API (/w/rest.php/v1/ for page CRUD, search, history, and
  transforms), and the legacy Wikimedia REST API v1 (/api/rest_v1/ for cached reads at up to 200 RPS). All APIs are free at
  point of use and governed by the Wikimedia API usage guidelines — a contactable User-Agent is mandatory and serial requests
  are preferred over parallel bursts.'
url: https://en.wikisource.org/wiki/Wikisource:Wikisource
accessModel:
  pricing: free
  onboarding: open
  trial: false
  try_now: true
  public: true
  label: Free · Open access
  confidence: medium
  source:
  - plans
  generated: '2026-07-22'
  method: derived
image: https://upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/120px-Wikisource-logo.svg.png
specificationVersion: '0.19'
created: '2026-06-13'
modified: '2026-06-13'
x-type: opensource
x-category: Open Data
x-tier: 2
x-tier-reason: Sister Wikimedia project; free public-domain text library with full MediaWiki API surface
tags:
- Open Data
- Open Knowledge
- Literature
- Historical Documents
- Public Domain
- Transcription
- Primary Sources
- Non-Profit
- Open Source
apis:
- name: MediaWiki Action API
  description: The primary programmatic interface to Wikisource, exposed at /w/api.php on each language subdomain. Operations
    are dispatched via the action= parameter (query, parse, edit, upload, login, patrol, ...). Key for reading transcribed
    texts, searching categories, and editing or proofread-status updating. JSON is the recommended response format. Requests
    must carry a contactable User-Agent header.
  humanURL: https://www.mediawiki.org/wiki/API:Main_page
  baseURL: https://en.wikisource.org/w/api.php
  tags:
  - Action API
  - Read
  - Write
  - Edit
  - Search
  - Parse
  properties:
  - type: Documentation
    url: https://www.mediawiki.org/wiki/API:Main_page
  - type: Sandbox
    url: https://en.wikisource.org/wiki/Special:ApiSandbox
  - type: Tutorials
    url: https://www.mediawiki.org/wiki/API:Tutorial
  - type: Etiquette
    url: https://www.mediawiki.org/wiki/API:Etiquette
- name: MediaWiki Core REST API
  description: Modern REST surface available on Wikisource at /w/rest.php/v1/. Provides page reads (source, HTML, bare metadata),
    full-text search, file metadata, page history, revision retrieval and comparison, and wikitext-to-HTML / HTML-to-wikitext
    transforms. Well-suited for integrations that need standard HTTP verbs rather than the action= dispatch style.
  humanURL: https://www.mediawiki.org/wiki/API:REST_API
  baseURL: https://en.wikisource.org/w/rest.php/v1
  tags:
  - REST API
  - Core
  - Pages
  - Search
  - History
  - Transforms
  properties:
  - type: Documentation
    url: https://www.mediawiki.org/wiki/API:REST_API/Reference
  - type: Sandbox
    url: https://en.wikisource.org/wiki/Special:RestSandbox
  - type: APIPortal
    url: https://api.wikimedia.org/wiki/Core_REST_API
- name: Wikimedia REST API v1
  description: Caching-optimised read API available at /api/rest_v1/ on each Wikisource language subdomain. Provides page
    summaries, full HTML, media lists, and language links for Wikisource pages. Backed by Varnish CDN; anonymous read traffic
    is limited to approximately 200 requests per second per client. Provide a contactable User-Agent; GET is preferred for
    cacheability.
  humanURL: https://en.wikisource.org/api/rest_v1/
  baseURL: https://en.wikisource.org/api/rest_v1
  tags:
  - REST API
  - Cached
  - Summaries
  - HTML
  - Read
  properties:
  - type: Documentation
    url: https://en.wikisource.org/api/rest_v1/
  - type: Specification
    url: https://en.wikisource.org/api/rest_v1/?spec
- aid: wikisource:wikisource-citation-api
  name: Wikisource Citation API
  description: generation of citation data
  humanURL: https://www.mediawiki.org/wiki/API:Main_page
  baseURL: https://en.wikisource.org/w/api.php
  tags:
  - Citation
  properties:
  - type: OpenAPI
    url: openapi/wikisource-citation-api-openapi.yml
- aid: wikisource:wikisource-math-api
  name: Wikisource Math API
  description: formula rendering
  humanURL: https://www.mediawiki.org/wiki/API:Main_page
  baseURL: https://en.wikisource.org/w/api.php
  tags:
  - Math
  properties:
  - type: OpenAPI
    url: openapi/wikisource-math-api-openapi.yml
- aid: wikisource:wikisource-mobile-api
  name: Wikisource Mobile API
  description: The Mobile API from Wikisource — 3 operation(s) for mobile.
  humanURL: https://www.mediawiki.org/wiki/API:Main_page
  baseURL: https://en.wikisource.org/w/api.php
  tags:
  - Mobile
  properties:
  - type: OpenAPI
    url: openapi/wikisource-mobile-api-openapi.yml
- aid: wikisource:wikisource-page-content-api
  name: Wikisource Page content API
  description: page content in different formats
  humanURL: https://www.mediawiki.org/wiki/API:Main_page
  baseURL: https://en.wikisource.org/w/api.php
  tags:
  - Page content
  properties:
  - type: OpenAPI
    url: openapi/wikisource-page-content-api-openapi.yml
- aid: wikisource:wikisource-reading-lists-api
  name: Wikisource Reading lists API
  description: Private lists of selected pages
  humanURL: https://www.mediawiki.org/wiki/API:Main_page
  baseURL: https://en.wikisource.org/w/api.php
  tags:
  - Reading lists
  properties:
  - type: OpenAPI
    url: openapi/wikisource-reading-lists-api-openapi.yml
- aid: wikisource:wikisource-recommendation-api
  name: Wikisource Recommendation API
  description: contribution recommendations
  humanURL: https://www.mediawiki.org/wiki/API:Main_page
  baseURL: https://en.wikisource.org/w/api.php
  tags:
  - Recommendation
  properties:
  - type: OpenAPI
    url: openapi/wikisource-recommendation-api-openapi.yml
- aid: wikisource:wikisource-transforms-api
  name: Wikisource Transforms API
  description: convert content between HTML and Wikitext
  humanURL: https://www.mediawiki.org/wiki/API:Main_page
  baseURL: https://en.wikisource.org/w/api.php
  tags:
  - Transforms
  properties:
  - type: OpenAPI
    url: openapi/wikisource-transforms-api-openapi.yml
common:
- type: AgenticAccess
  url: agentic-access/wikisource-agentic-access.yml
- type: VulnerabilityDisclosure
  url: security/wikisource-vulnerability-disclosure.yml
- type: DomainSecurity
  url: security/wikisource-domain-security.yml
- type: Website
  url: https://wikisource.org
- type: Website
  title: English Wikisource
  url: https://en.wikisource.org
- type: Documentation
  url: https://www.mediawiki.org/wiki/API:Main_page
- type: APIPortal
  url: https://api.wikimedia.org/wiki/Main_Page
- type: APICatalog
  url: https://api.wikimedia.org/wiki/API_catalog
- type: Foundation
  url: https://wikimediafoundation.org/
- type: Governance
  url: https://meta.wikimedia.org/wiki/Wikimedia_Foundation
- type: License
  url: https://creativecommons.org/licenses/by-sa/4.0/
  title: CC BY-SA 4.0 (text content)
- type: Policy
  url: https://foundation.wikimedia.org/wiki/Policy:Wikimedia_Foundation_API_Usage_Guidelines
  title: API Usage Guidelines
- type: Policy
  url: https://www.mediawiki.org/wiki/API:Etiquette
  title: API Etiquette
- type: TermsOfService
  url: https://foundation.wikimedia.org/wiki/Policy:Terms_of_Use
- type: GitHubOrganization
  url: https://github.com/wikimedia
- type: SourceCode
  url: https://gerrit.wikimedia.org/
  title: Wikimedia Gerrit (canonical source)
- type: Status
  url: https://www.wikimediastatus.net/
- type: BulkDownload
  url: https://dumps.wikimedia.org/
  title: Wikimedia Database Dumps (includes Wikisource)
- type: Plans
  url: plans/wikisource-plans-pricing.yml
- type: RateLimits
  url: rate-limits/wikisource-rate-limits.yml
- type: FinOps
  url: finops/wikisource-finops.yml
features:
- name: 70+ Language Editions
  description: Wikisource operates in over 70 language editions; each subdomain ({lang}.wikisource.org) exposes the full MediaWiki
    API surface at the same paths.
- name: Public-Domain Source Texts
  description: Hosts transcribed books, legal texts, constitutions, speeches, and historical documents no longer under copyright
    — all freely accessible via the API.
- name: Proofread Page Extension
  description: Wikisource uses the ProofreadPage MediaWiki extension; its status levels (without text, not proofread, problematic,
    proofread, validated) are queryable via the Action API.
- name: Wikitext-to-HTML Transforms
  description: Convert raw wikitext (including Wikisource templates and page-scan transclusions) to rendered HTML via /transform/wikitext/to/html/{title}.
- name: Cached Anonymous Reads at 200 RPS
  description: The REST API v1 layer is Varnish-cached, supporting anonymous read bursts up to ~200 requests/s per client
    without authentication.
- name: OAuth 2.0 Write Access
  description: Page edits and proofread-status updates authenticate via OAuth 2.0 tokens issued at meta.wikimedia.org — the
    same mechanism across all Wikimedia projects.
- name: Bulk Text Dumps
  description: Full periodic XML dumps of every Wikisource language edition are available at dumps.wikimedia.org for offline
    corpus processing.
useCases:
- name: Digitised Literature and Corpus Research
  description: Access transcribed works of literature, philosophy, and science for NLP corpus building, stylometric analysis,
    or training data curation.
- name: Legal and Historical Document Retrieval
  description: Retrieve constitutions, treaties, legislation, and court opinions as structured wikitext or rendered HTML for
    legal research platforms.
- name: AI Grounding with Primary Sources
  description: Ground LLM responses with primary-source citations rather than encyclopedic summaries — page summaries and
    full HTML available via the REST API.
- name: Multilingual Text Collection
  description: Pull source texts across 70+ language editions for multilingual NLP models, translation studies, or cross-lingual
    information retrieval.
- name: Proofread Status Monitoring
  description: Query and update ProofreadPage statuses to build community dashboards or automated quality-assurance workflows
    for text digitisation projects.
- name: Offline Reading Applications
  description: Consume periodic bulk dumps to ship offline-readable collections of public-domain literature to schools and
    low-connectivity environments.
integrations:
- name: Wikipedia
  description: Wikipedia articles often link to Wikisource for full-text versions of cited primary sources via interwiki links.
- name: Wikidata
  description: Wikisource works are described as Wikidata items (edition type Q3331189); author pages link to Wikidata QIDs
    for authority control.
- name: Wikimedia Commons
  description: Page-scan images underlying the ProofreadPage workflow are hosted on Commons and accessed via the Commons Action
    API.
- name: Internet Archive
  description: Many Wikisource digitisation projects use scans sourced from the Internet Archive's Open Library collection.
solutions:
- name: Free Public-Domain Text Library
  description: A non-profit, volunteer-curated repository of transcribed source texts funded by the Wikimedia Foundation —
    freely readable and downloadable with no API keys required.
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com