Overview
Synonyms.com API provides synonym, antonym, and thesaurus data for English words, making it useful for writing assistants, word games, and vocabulary tools. Accessing the API requires an API key available via the Synonyms.com website. The response includes related words grouped by relevance and part of speech.
Beginner Tip
Query a single lowercase word at a time for the most reliable results. The response nests synonym groups by part of speech, so iterate over each pos object to collect all related words.
Available Data
Example Response
{
"status": "success",
"data": {
"result": "Data from Synonyms",
"description": "Synonyms, thesaurus and antonyms information for any given word",
"timestamp": "2025-01-15T10:00:00Z"
}
} Field Reference
query The word that was queried. synonyms Synonym groups organized by part of speech (noun, verb, adjective, etc.). antonyms Antonym groups organized by part of speech. related List of related words and phrases not strictly synonymous. Implementation Example
const url = "https://www.synonyms.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.