Wiktionary
Collaborative dictionary data
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Yes
- Category
- Dictionaries
- Documentation / URL
- https://en.wiktionary.org/w/api.php
Overview
Wiktionary’s MediaWiki API serves dictionary data — definitions, pronunciations, etymologies, and translations across 170+ language editions. Keyless and CORS-enabled (verified live).
Quick Start
Search (verified live):
curl "https://en.wiktionary.org/w/api.php?action=query&list=search&srsearch=hello&format=json"
{
"query": {
"search": [
{ "title": "hello", "snippet": "...greeting...", "wordcount": 1200 }
]
}
}
Get page content:
curl "https://en.wiktionary.org/w/api.php?action=parse&page=hello&prop=wikitext&format=json"
Random page:
curl "https://en.wiktionary.org/w/api.php?action=query&list=random&rnnamespace=0&format=json"
Authentication
None — keyless (a User-Agent identifying your app is good practice).
Rate Limits & Notes
- Free; the Wikimedia API asks for a descriptive User-Agent and no heavy bursts.
- Standard MediaWiki API —
action=query,action=parse, etc. - Each language edition has its own host (
en.wiktionary.org,fr.wiktionary.org…). - Content is wikitext — parse it or use the REST HTML endpoints.
FAQ
Is Wiktionary API free? Yes — free and keyless.
How do I get definitions?
action=parse&page=hello returns the page wikitext/HTML.
Is it multilingual? 170+ language editions — each has its own host.
More in Dictionaries
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| Chinese Character Web Chinese character definitions and pronunciations | No auth | No | No | ↗ |
| Chinese Text Project Online open-access digital library for pre-modern Chinese texts | No auth | Yes | Unknown | ↗ |
| Collins Bilingual Dictionary and Thesaurus Data | API Key | Yes | Unknown | ↗ |
| Free Dictionary Definitions, phonetics, pronounciations, parts of speech, examples, synonyms | No auth | Yes | Unknown | ↗ |
| Indonesia Dictionary Indonesia dictionary many words | No auth | Yes | Unknown | ↗ |