Wiktionary API
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.
Available Data
Example Response
{
"word": "serendipity",
"phonetic": "/ˌsɛr.ənˈdɪp.ɪ.ti/",
"meanings": [
{
"partOfSpeech": "noun",
"definition": "The occurrence of events by chance in a happy way"
}
],
"synonyms": [
"luck",
"fortune",
"chance"
]
} Field Reference
parse.title The page title (word) that was parsed. parse.sections List of section headers in the Wiktionary article (e.g., Etymology, Noun). parse.wikitext.* Raw Wikitext markup of the article content. query.pages Map of page ID to page data when using the query action. revisions List of page revision objects including content and timestamp. Implementation Example
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
Matrix Score Breakdown
Fully tested on Apr 5, 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.
Indonesia Dictionary
Indonesia Dictionary provides programmatic access to indonesia dictionary many words 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.