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

File and media metadata

Wiktionary File 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 File. 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 2 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 2 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 File 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.

File 1

File and media metadata

GET
/v1/file/{title}
Wiktionary Get File
getFile 1 param → 200404

Schemas 2

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

FileMetadata
object
5 properties
ProblemDetails
object
RFC 7807 problem-details error envelope.
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wiktionary-file-api-openapi.yml Raw ↑

Other APIs Wiktionary publishes across the network.

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