Thesaurus API
Free · LivelanguageSynonyms, antonyms, and related words for English, built from Open English WordNet (CC BY 4.0) and the public-domain Moby Thesaurus.
https://api.gargantuan.dev/v1/thesaurusFull reference →Quick start
No key needed. Try a request right now:
curl "https://api.gargantuan.dev/v1/thesaurus/languages"
Or open it in your browser: https://api.gargantuan.dev/v1/thesaurus/languages
Authentication & limits
No key required. Anonymous callers are rate-limited by IP. Send Authorization: Bearer <key> (or an X-Api-Key header) for a higher tier.
curl "https://api.gargantuan.dev/v1/thesaurus/languages" \ -H "Authorization: Bearer YOUR_API_KEY"
Also accepts X-Api-Key or ?api_key=. Limits ride in X-RateLimit-* headers; over the limit returns 429. See rate limits.
Datasets
Pick one with ?lang= (or the relevant param). 1 available:
| Dataset | Code | Locale | Entries |
|---|---|---|---|
| English | en | en | 101,825 |
Endpoints
Edit the inputs and hit Send request to try any endpoint live, right here. No key needed.
/v1/thesaurus/languagesList the supported languages (datasets).
https://api.gargantuan.dev/v1/thesaurus/languages/v1/thesaurus/randomReturn a random word with its synonyms, antonyms, and related terms.
https://api.gargantuan.dev/v1/thesaurus/random?lang=en/v1/thesaurus/searchAutocomplete: words that start with a prefix.
https://api.gargantuan.dev/v1/thesaurus/search?q=hap&limit=5&lang=en/v1/thesaurus/synonyms/{word}Synonyms of a word.
https://api.gargantuan.dev/v1/thesaurus/synonyms/happy?lang=en/v1/thesaurus/antonyms/{word}Antonyms of a word.
https://api.gargantuan.dev/v1/thesaurus/antonyms/happy?lang=en/v1/thesaurus/related/{word}Related words (broad coverage, from Moby).
https://api.gargantuan.dev/v1/thesaurus/related/happy?lang=en/v1/thesaurus/{word}Full entry: synonyms, antonyms, related words, and per-sense definitions.
https://api.gargantuan.dev/v1/thesaurus/brave?lang=enFAQ
Is the Thesaurus API free to use?
Yes. It is free and public. Anonymous requests need no key and are rate-limited by IP; a free API key raises your limits.
Do I need an API key?
No key is required to start. Send an Authorization: Bearer key (or an X-Api-Key header, or ?api_key=) to move to a higher tier.
What is the base URL?
https://api.gargantuan.dev/v1/thesaurus
What are the rate limits?
Every response carries X-RateLimit-Limit and X-RateLimit-Remaining headers. Anonymous callers get the lowest tier (by IP); a free key is higher; Pro is highest. Over the limit returns 429 with Retry-After.
What format does it return?
JSON over HTTPS. Every response also includes a "source": "itsmattgeorge.com" attribution field.
About the Thesaurus API
The Thesaurus API returns the words related to a given English word: synonyms, which share a meaning, antonyms, which carry the opposite meaning, and broader related terms. A good thesaurus is a map of meaning rather than spelling, which is why it powers writing assistants, search query expansion, and vocabulary tools (on synonymy).
The structured core comes from Open English WordNet, a community maintained descendant of Princeton University's WordNet, the lexical database that organizes English into synsets, sets of words that share a single sense, linked by relations such as opposition and hypernymy. Open English WordNet is released under the Creative Commons Attribution 4.0 license (source), so its relationships can be reused and redistributed with attribution.
To widen coverage of looser associations the API also draws on the Moby Thesaurus, Grady Ward's Moby Project word list placed in the public domain and one of the largest free thesauri ever compiled. Blending the two gives both the precise, sense aware links of WordNet and the broad associative reach of Moby.
Because synonymy depends on sense, the API groups results by meaning where the data allows, so the synonyms of bank as a riverside differ from bank as a place for money. That structure is what lets a search engine expand a query without drifting off topic, and what lets a writing tool suggest a replacement that actually fits the sentence.