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

Wiktionary Page Content API

Page HTML, summary, title metadata, and mobile-optimised HTML

Wiktionary Page Content API is one of 11 APIs that Wiktionary publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 64 JSON Schema definitions.

Tagged areas include Page Content. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, authentication docs, rate-limit docs, and 64 JSON Schemas.

This API exposes 4 operations across 4 paths, and defines 5 schemas. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against a single base URL, https://en.wiktionary.org/w/rest.php.

4 operations 4 paths 5 schemas 4 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://en.wiktionary.org/w/api.php
Authentication
OAuth 2.0
Terms of Service
Resource Areas
1

Authentication & Security 1

Wiktionary Page Content API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 1 scope. By default, every request must be authenticated, though some operations may also be called without credentials.

  • oauth2 — OAuth 2.0 access tokens issued via api.wikimedia.org.

Paths & Operations 4

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

Page Content 4

Page HTML, summary, title metadata, and mobile-optimised HTML

GET
/page/summary/{title}
Wiktionary Get Page Summary
getPageSummary 2 params → 200404
GET
/page/html/{title}
Wiktionary Get Page HTML
getPageHtml 4 params → 200404
GET
/page/title/{title}
Wiktionary Get Page Title Metadata
getPageTitle 1 param → 200404
GET
/page/mobile-html/{title}
Wiktionary Get Page Mobile HTML
getPageMobileHtml 2 params → 200

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are RevisionItem (12 properties), PageSummary (8 properties), ProblemDetails (5 properties), ContentUrls (2 properties). Each schema is shown below with its type and property counts.

ContentUrls
object
2 properties
RevisionMetadata
object
Metadata about the latest revision of a page.
1 property
RevisionItem
object
12 properties
PageSummary
object
Short structured summary of a page.
8 properties
ProblemDetails
object
RFC 7807 problem-details error envelope.
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wiktionary-page-content-api-openapi.yml Raw ↑

Other APIs Wiktionary publishes across the network.

Wiktionary Definition API
Wiktionary ExpandTemplates API
Wiktionary File API
Wiktionary History API
Wiktionary OpenSearch API
Wiktionary Page API
Wiktionary Parse API
Wiktionary Query API
Wiktionary Search API
Wiktionary Transform API