Open documentation ↗Overview
The Wordnik API: All the words
Wordnik is a dictionaries API from wordnik.com. Requests are authenticated with an API key. It is served over HTTPS. Its OpenAPI description documents 16 endpoints.
At a glance
- Authentication
- API key
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Dictionaries
- Base URL
https://api.wordnik.com/v4- Version
- 4.0
- Endpoints
- 16
- OpenAPI
- Specification ↗
- Spec updated
- 2023-03-06
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://api.wordnik.com/v4/words.json/randomWord" \
-H "Accept: application/json" \
-H "X-API-Key: YOUR_API_KEY"const response = await fetch("https://api.wordnik.com/v4/words.json/randomWord", {
method: "GET",
headers: {
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://api.wordnik.com/v4/words.json/randomWord",
headers={
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /word.json/{word}/audio | Fetches audio metadata for a word. |
| GET | /word.json/{word}/definitions | Return definitions for a word |
| GET | /word.json/{word}/etymologies | Fetches etymology data |
| GET | /word.json/{word}/examples | Returns examples for a word |
| GET | /word.json/{word}/frequency | Returns word usage over time |
| GET | /word.json/{word}/hyphenation | Returns syllable information for a word |
| GET | /word.json/{word}/phrases | Fetches bi-gram phrases for a word |
| GET | /word.json/{word}/pronunciations | Returns text pronunciations for a given word |
| GET | /word.json/{word}/relatedWords | Given a word as a string, returns relationships from the Word Graph |
| GET | /word.json/{word}/scrabbleScore | Returns the Scrabble score for a word |
| GET | /word.json/{word}/topExample | Returns a top example for a word |
| GET | /words.json/randomWord | Returns a single random WordObject |
| GET | /words.json/randomWords | Returns an array of random WordObjects |
| GET | /words.json/reverseDictionary | Reverse dictionary search |
| GET | /words.json/search/{query} | Searches words |
| GET | /words.json/wordOfTheDay | Returns a specific WordOfTheDay |
Questions
Does the Wordnik API need an API key?
Yes. The Wordnik API uses API key authentication; the documentation explains how to get credentials.
Does the Wordnik API support HTTPS?
Yes, the Wordnik API is served over HTTPS.
How many endpoints does the Wordnik API have?
Its OpenAPI description lists 16 endpoints in version 4.0. All of them are shown on this page.
What are alternatives to the Wordnik API?
Other Dictionaries APIs include Oxford, Collins, Synonyms, Free Dictionary, WordSoHard.
Similar dictionaries APIs
Compare alternatives →Oxford
DictionariesThe Oxford Dictionaries API gives you access to our world-renowned dictionary data, including definitions, translations, synonyms, and audio pronunciations.
Collins
DictionariesBilingual Dictionary and Thesaurus Data
Synonyms
DictionariesSynonyms, thesaurus and antonyms information for any given word
Free Dictionary
DictionariesDefinitions, phonetics, pronunciations, parts of speech, examples, synonyms
WordSoHard
DictionariesWord definitions with Scrabble validity and tile score in one call, built for word games
Chinese Character Web
DictionariesChinese character definitions and pronunciations
Listed from public-apis (MIT), public-apis database (MIT), APIs.guru (CC0).