How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Wiktionary Query API

action=query — Fetch wikitext, extracts, revisions, and search results

Wiktionary Query 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 Query. 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 9 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

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

4 operations 4 paths 9 schemas 4 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
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 Query 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.

Query 4

action=query — Fetch wikitext, extracts, revisions, and search results

GET
/api.php
Wiktionary Query Action
queryAction 6 params → 200400429
GET
/api.php#query-wikitext
Wiktionary Query Wikitext
queryWikitext 5 params → 200
GET
/api.php#query-extracts
Wiktionary Query Extracts
queryExtracts 6 params → 200
GET
/api.php#query-search
Wiktionary Query Search
querySearch 6 params → 200

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are SearchHit (7 properties), ActionApiResponse (6 properties), RevisionPage (4 properties), ExtractPage (4 properties). Each schema is shown below with its type and property counts.

ActionApiResponse
object
Generic envelope for any Action API response.
6 properties
SearchHit
object
7 properties
ExtractPage
object
4 properties
RevisionPage
object
4 properties
ApiError
object
Standard MediaWiki Action API error envelope.
3 properties
QuerySearchResponse
object
action=query&list=search result.
3 properties
Revision
object
3 properties
QueryRevisionsResponse
object
action=query&prop=revisions result containing page wikitext.
2 properties
QueryExtractsResponse
object
action=query&prop=extracts result.
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wiktionary-query-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 Page Content API
Wiktionary Parse API
Wiktionary Search API
Wiktionary Transform API
Where this information came from

This is an independent, third-party profile of Wiktionary Query API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.