Wordnik API
Overview
Wordnik is a comprehensive English dictionary API offering definitions, pronunciations, example sentences, related words, and frequency data sourced from a large corpus of text. A free API key is available after creating a Wordnik account, with a generous request allowance for hobbyist projects. It is well-documented and a popular choice for vocabulary apps and word games.
Beginner Tip
The /word.json/{word}/definitions endpoint is the best starting point — it returns definitions from multiple sources in a simple array. Store your API key in an environment variable and pass it as the api_key query parameter on every request.
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
word The word this definition applies to. text The full definition text. partOfSpeech Part of speech for this definition (e.g., noun, verb, adjective). sourceDictionary The dictionary or source from which this definition was taken. exampleUses Example sentences showing the word used in context. Implementation Example
const url = "https://developer.wordnik.com/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
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
Partially tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →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.
Merriam-Webster
⭐ Beginner's PickMerriam-Webster's Dictionary API provides authoritative English dictionary and thesaurus data from one of the most trusted publishers in the United States.
OwlBot
OwlBot provides programmatic access to definitions with example sentence and photo if available via REST API.
Oxford
The Oxford Dictionaries API provides access to the Oxford English Dictionary's extensive lexical data, including definitions, pronunciations, etymologies, and usage examples.