List Word Synonyms API

Return synonyms of a word.

GET
https://api.apileague.com/list-synonyms

Parameters

NameExampleDescription
word
s r q
airplaneThe (noun) word for which a list of synonyms should be returned.
api-key
s r q
abcd1234Your API key.
Example Request and Response
GET
https://api.apileague.com/list-synonyms?word=airplane
{
    "synonyms": [
        "aeroplane",
        "plane",
        "heavier-than-air craft"
    ]
}
 Copy Codecurl -X GET 'https://api.apileague.com/list-synonyms?word=airplane' \ -H 'x-api-key: myapikey'

Headers

Response Headers:

  • Content-Type: application/json
  • X-API-Quota-Request: The number of tokens used by the request
  • X-API-Quota-Used: The number of tokens used in total today
  • X-API-Quota-Left: The number of tokens left today (depends on your plan)

Frequently Asked Questions

How many synonyms does it return?

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.

Does it work for phrases?

The API is primarily designed for single words, but it may handle some common short phrases or compound words.

Are the synonyms ranked by relevance?

The returned list is generally ordered by relevance and usage frequency, with the most common synonyms appearing first.

How is the Synonyms API different from the Stem Text API?

The Synonyms API finds different words with similar meanings, while the Stem Text API reduces a word to its root form.

Questions? Need Help? Ask Away

Quotas

Calling this endpoint costs
1 token