Overview
Wiktionary's API gives free access to the entire collaboratively-edited dictionary, covering definitions, pronunciations, etymology, and translations for words in hundreds of languages. No API key or registration is required — you can start making requests immediately using the standard MediaWiki API endpoint. It is one of the largest open dictionary datasets available to developers.
Beginner Tip
Use action=parse&page=WORD&prop=wikitext&format=json to get the raw Wikitext source for a word, or action=query&titles=WORD&prop=revisions for the latest revision. The Wikitext requires parsing, so consider using a dedicated Wiktionary parser library for structured output.
Measurement Record
What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.
- Request
- GET https://en.wiktionary.org/w/api.php?action=parse&page=hello&prop=sections&format=json
- Result
- HTTP 200 · application/json · 4,011 bytes · compressed
- Response time
- 494 ms (median of 3) · fastest 469 ms
- Transport
- TLSv1.3 · TLS_AES_128_GCM_SHA256 · certificate issued by Let's Encrypt
- Browser CORS
- No Access-Control-Allow-Origin header — call it from a server, not the browser
- Served by
- mw-api-ext.eqiad.main-7c8544589d-9ljk2
- Recorded
- 2026-08-10
Fields Returned
Top-level fields present in the response we captured, with the type and value we actually received.
| Field | Type | Value received |
|---|---|---|
| warnings | object | {2 fields} |
| parse | object | {4 fields} |
Captured Response
Captured from a real request to https://en.wiktionary.org/w/api.php?action=parse&page=hello&prop=sections&format=json on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.
{
"warnings": {
"main": {
"*": "Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice …"
},
"parse": {
"*": "\"prop=sections\" has been deprecated. Please use \"prop=tocdata\" instead."
}
},
"parse": {
"title": "hello",
"pageid": 4803,
"sections": [
{
"…": "(9 more fields)"
}
],
"showtoc": ""
}
} Implementation Example
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://en.wiktionary.org/w/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Measured Score Breakdown
Live HTTP request to the API endpoint
Fully tested on Aug 10, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Chinese Character Web
⭐ Beginner's PickChinese Character Web is a free API providing definitions, stroke counts, and pronunciations for Chinese characters without requiring an API key.
Chinese Text Project
⭐ Beginner's PickChinese Text Project offers a free API to access a massive digital library of pre-modern Chinese texts, including classics like the Analects and Tao Te Ching.
Free Dictionary
Free Dictionary provides programmatic access to definitions, phonetics, pronounciations, parts of speech, examples, synonyms via REST API.
Collins
Collins Dictionary API gives developers access to comprehensive bilingual dictionary and thesaurus data for multiple language pairs, including English, Spanish, French, and more.
Lingua Robot
⭐ Beginner's PickLingua Robot is a dictionary API that provides word definitions, pronunciations, synonyms, antonyms, and related forms for English words via a clean JSON REST interface.