Return synonyms of a word.
| Name | Example | Description |
|---|---|---|
word | airplane | The (noun) word for which a list of synonyms should be returned. |
api-key | abcd1234 | Your API key. |
{
"synonyms": [
"aeroplane",
"plane",
"heavier-than-air craft"
]
} Copy Code
curl -X GET 'https://api.apileague.com/list-synonyms?word=airplane' \ -H 'x-api-key: myapikey'
Response Headers:
Content-Type: application/jsonX-API-Quota-Request: The number of tokens used by the requestX-API-Quota-Used: The number of tokens used in total todayX-API-Quota-Left: The number of tokens left today (depends on your plan)The API returns a list of synonyms, the number of which depends on the word and its richness in the language. It aims to provide the most relevant and common synonyms.
The API is primarily designed for single words, but it may handle some common short phrases or compound words.
The returned list is generally ordered by relevance and usage frequency, with the most common synonyms appearing first.
The Synonyms API finds different words with similar meanings, while the Stem Text API reduces a word to its root form.