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

Wiktionary-specific structured multilingual definition endpoint

Wiktionary Definition 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 Definition. 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 1 operation across 1 path, and defines 4 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.

1 operations 1 paths 4 schemas 1 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 Definition 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 1

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

Definition 1

Wiktionary-specific structured multilingual definition endpoint

GET
/page/definition/{term}
Wiktionary Get Definition
getDefinition 2 params → 200301302404501

Schemas 4

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

LanguageEntry
object
One language's worth of definitions for the term.
3 properties 3 required
DefinitionResponse
object
Multilingual structured definitions keyed by ISO language code. Each value is a list of language-grouped entries describing the term in that language.
DefinitionEntry
object
3 properties 1 required
ProblemDetails
object
RFC 7807 problem-details error envelope.
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wiktionary-definition-api-openapi.yml Raw ↑

Other APIs Wiktionary publishes across the network.

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