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 API

Page content, source, and HTML

Wiktionary Page 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. 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 3 operations across 3 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.

3 operations 3 paths 5 schemas 3 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 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 3

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

Page 3

Page content, source, and HTML

GET
/v1/page/{title}
Wiktionary Get Page
getPage 1 param → 200404
GET
/v1/page/{title}/html
Wiktionary Get Page HTML
getPageHtml 1 param → 200404
GET
/v1/page/{title}/with_html
Wiktionary Get Page with HTML
getPageWithHtml 1 param → 200404

Schemas 5

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

PageSourceResponse
object
Source representation of a Wiktionary page.
7 properties
LicenseInfo
object
2 properties
LatestRevision
object
2 properties
PageWithHtmlResponse
object
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-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 Content API
Wiktionary Parse API
Wiktionary Query API
Wiktionary Search API
Wiktionary Transform API