Wild APIs

Thesaurus APIs

Synonym and antonym lookups are the focus. Synonyms API from STANDS4 returns synonyms, antonyms and a short definition in XML or JSON, and WordsAPI adds rhymes and other word relationships. Merriam-Webster and Collins bundle thesaurus data with their dictionaries, Collins in bilingual form. Datamuse is the free, keyless option, finding related words by meaning rather than returning a fixed synonym list.
5 listings
APIPricingAuthFormatFree tierStatus
CollinsBilingual dictionary and thesaurus data (definitions, translations, word forms) from HarperCollins.
Data & Knowledge › Dictionaries
—Untested
DatamuseFinds words matching meaning, sound, spelling pattern or related-word constraints for language tools.
Data & Knowledge › Dictionaries
FreeNoneJSON10k+/dayLive
Merriam-WebsterWord definitions, etymology, audio pronunciation and thesaurus data from Merriam-Webster's reference works.
Data & Knowledge › Dictionaries
FreemiumAPI keyJSON1k–10k/dayLive
Synonyms API (STANDS4)Looks up synonyms, antonyms and a short definition for an English word, in XML or JSON.
Data & Knowledge › Dictionaries
FreemiumAPI keyXML<100/dayLive
WordsAPIDefinitions, synonyms, antonyms, rhymes and word relationships for over 150,000 English words.
Data & Knowledge › Dictionaries
FreemiumAPI keyJSON1k–10k/dayLive

Choosing a Thesaurus API

Is there a free Thesaurus API?

Yes. Datamuse is free to use, and Merriam-Webster, WordsAPI and Synonyms API (STANDS4) have a free tier alongside paid plans.

Which Thesaurus APIs work without an API key?

Datamuse needs no key or sign-up, so you can try it with a plain request.

Can I call a Thesaurus API from front-end JavaScript?

Datamuse allows cross-origin requests and needs no key, so it works straight from the browser. For the others, call them from your server so your key stays private.

Can I use Thesaurus APIs in a commercial project?

Merriam-Webster and Synonyms API (STANDS4) restrict it, for example to non-commercial or attributed use, so read the terms first.

Broader: Dictionaries APIs · Data & Knowledge APIs