Word Sense Thesaurus API

API ID 14588

Synonyms and antonyms grouped by meaning, with definitions, related words and a safe filter.

API Documentation

Endpoints

Request
One entry per sense, in our word list's order (most common first) by part of speech: the definition, the synonyms that share that exact meaning, and for adjectives the "similar" adjectives of its cluster. "synonyms" at the top is one de-duplicated list in the same order.
Endpoint ID: 37375
GET https://zylalabs.com/api/14588/word+sense+thesaurus+api/37375/synonyms+grouped+by+meaning
INPUT PARAMETERS

Synonyms grouped by meaning — Endpoint Features

Object Description
word Required A word or phrase (up to 64 characters; "ice cream", "run away"). Inflected forms are matched to their base form: ran → run, mice → mouse, dogs → dog.
pos Optional Only this part of speech: noun, verb, adjective or adverb.
safe Optional Best-effort family-friendly filter (default false). Drops senses our word list tags as vulgar, derogatory, slur or slang, senses whose definitions describe sexual, excretory or illegal-drug meanings, and a list of profane and slur words, everywhere in the answer. Not a guarantee; see safeNote in the answer.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

word
pos
safe
API EXAMPLE RESPONSE
JSON
{
    "word": "happy",
    "lemmas": [
        "happy"
    ],
    "safe": false,
    "senses": [
        {
            "id": "oewn-01151786-a",
            "partOfSpeech": "adjective",
            "definition": "enjoying or showing or marked by joy or pleasure",
            "synonyms": [],
            "similar": [
                "blessed",
                "blissful",
                "bright",
                "golden",
                "halcyon",
                "prosperous",
                "laughing",
                "riant"
            ],
            "usage": []
        },
        {
            "id": "oewn-01052105-s",
            "partOfSpeech": "adjective",
            "satellite": true,
            "definition": "marked by good fortune",
            "synonyms": [
                "felicitous"
            ],
            "similar": [
                "fortunate"
            ],
            "usage": []
        },
        {
            "id": "oewn-02576313-s",
            "partOfSpeech": "adjective",
            "satellite": true,
            "definition": "eagerly disposed to act or to be of service",
            "synonyms": [
                "glad"
            ],
            "similar": [
                "willing"
            ],
            "usage": []
        },
        {
            "id": "oewn-01003861-s",
            "partOfSpeech": "adjective",
            "satellite": true,
            "definition": "well expressed and to the point",
            "synonyms": [
                "well-chosen"
            ],
            "similar": [
                "felicitous"
            ],
            "usage": []
        }
    ],
    "synonyms": [
        "felicitous",
        "glad",
        "well-chosen",
        "blessed",
        "blissful",
        "bright",
        "golden",
        "halcyon",
        "prosperous",
        "laughing",
        "riant",
        "fortunate",
        "willing"
    ]
}
Synonyms grouped by meaning — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/14588/word+sense+thesaurus+api/37375/synonyms+grouped+by+meaning?word=happy&safe=false' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Direct antonyms are recorded between word senses (happy ↔ unhappy); indirect ones come from the adjective cluster (joyful → joyless through a similar adjective). Senses without antonyms are left out; a word with none returns an empty list.
Endpoint ID: 37376
GET https://zylalabs.com/api/14588/word+sense+thesaurus+api/37376/antonyms+by+meaning
INPUT PARAMETERS

Antonyms by meaning — Endpoint Features

Object Description
word Required A word or phrase (up to 64 characters; "ice cream", "run away"). Inflected forms are matched to their base form: ran → run, mice → mouse, dogs → dog.
pos Optional Only this part of speech: noun, verb, adjective or adverb.
safe Optional Best-effort family-friendly filter (default false). Drops senses our word list tags as vulgar, derogatory, slur or slang, senses whose definitions describe sexual, excretory or illegal-drug meanings, and a list of profane and slur words, everywhere in the answer. Not a guarantee; see safeNote in the answer.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

word
pos
safe
API EXAMPLE RESPONSE
JSON
{
    "word": "happy",
    "lemmas": [
        "happy"
    ],
    "safe": false,
    "senses": [
        {
            "id": "oewn-01151786-a",
            "partOfSpeech": "adjective",
            "definition": "enjoying or showing or marked by joy or pleasure",
            "antonyms": [
                {
                    "word": "unhappy",
                    "kind": "direct",
                    "id": "oewn-01152997-a",
                    "definition": "experiencing or marked by or causing sadness or sorrow or discontent"
                }
            ]
        },
        {
            "id": "oewn-01052105-s",
            "partOfSpeech": "adjective",
            "satellite": true,
            "definition": "marked by good fortune",
            "antonyms": [
                {
                    "word": "unfortunate",
                    "kind": "indirect",
                    "id": "oewn-01053161-a",
                    "definition": "not favored by fortune; marked or accompanied by or resulting in ill fortune"
                }
            ]
        },
        {
            "id": "oewn-02576313-s",
            "partOfSpeech": "adjective",
            "satellite": true,
            "definition": "eagerly disposed to act or to be of service",
            "antonyms": [
                {
                    "word": "unwilling",
                    "kind": "indirect",
                    "id": "oewn-02576745-a",
                    "definition": "not disposed to and refusing to do something"
                }
            ]
        },
        {
            "id": "oewn-01003861-s",
            "partOfSpeech": "adjective",
            "satellite": true,
            "definition": "well expressed and to the point",
            "antonyms": [
                {
                    "word": "infelicitous",
                    "kind": "indirect",
                    "id": "oewn-01004300-a",
                    "definition": "not appropriate in application; defective"
                }
            ]
        }
    ],
    "antonyms": [
        "unhappy",
        "unfortunate",
        "unwilling",
        "infelicitous"
    ],
    "note": "Direct antonyms are recorded between word senses in our word list; indirect ones come from the adjective cluster (a similar adjective's antonym)."
}
Antonyms by meaning — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/14588/word+sense+thesaurus+api/37376/antonyms+by+meaning?word=happy&safe=false' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Per sense, the related meanings you ask for, each with its words and definition. Lists longer than "limit" are cut and carry "Total".
Endpoint ID: 37377
GET https://zylalabs.com/api/14588/word+sense+thesaurus+api/37377/broader+narrower+similar+and+other+related+words
INPUT PARAMETERS

Broader narrower similar and other related words — Endpoint Features

Object Description
word Required A word or phrase (up to 64 characters; "ice cream", "run away"). Inflected forms are matched to their base form: ran → run, mice → mouse, dogs → dog.
pos Optional Only this part of speech: noun, verb, adjective or adverb.
safe Optional Best-effort family-friendly filter (default false). Drops senses our word list tags as vulgar, derogatory, slur or slang, senses whose definitions describe sexual, excretory or illegal-drug meanings, and a list of profane and slur words, everywhere in the answer. Not a guarantee; see safeNote in the answer.
relation Optional Comma-separated, or "all": hypernyms (broader), hyponyms (narrower), similar, seeAlso, partOf, hasParts, memberOf, hasMembers, substanceOf, madeOf, entails, causes, attributes, topics, derived (word forms like teach → teacher), pertainyms. Default hypernyms,hyponyms,similar.
limit Optional Items per relation per sense, 1-100 (default 25).

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

word
pos
safe
relation
limit
API EXAMPLE RESPONSE
JSON
{
    "word": "happy",
    "lemmas": [
        "happy"
    ],
    "safe": false,
    "relations": [
        "hypernyms",
        "hyponyms"
    ],
    "senses": [
        {
            "id": "oewn-01151786-a",
            "partOfSpeech": "adjective",
            "definition": "enjoying or showing or marked by joy or pleasure",
            "words": [],
            "related": {
                "hypernyms": [],
                "hyponyms": []
            }
        },
        {
            "id": "oewn-01052105-s",
            "partOfSpeech": "adjective",
            "satellite": true,
            "definition": "marked by good fortune",
            "words": [
                "felicitous"
            ],
            "related": {
                "hypernyms": [],
                "hyponyms": []
            }
        },
        {
            "id": "oewn-02576313-s",
            "partOfSpeech": "adjective",
            "satellite": true,
            "definition": "eagerly disposed to act or to be of service",
            "words": [
                "glad"
            ],
            "related": {
                "hypernyms": [],
                "hyponyms": []
            }
        },
        {
            "id": "oewn-01003861-s",
            "partOfSpeech": "adjective",
            "satellite": true,
            "definition": "well expressed and to the point",
            "words": [
                "well-chosen"
            ],
            "related": {
                "hypernyms": [],
                "hyponyms": []
            }
        }
    ]
}
Broader narrower similar and other related words — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/14588/word+sense+thesaurus+api/37377/broader+narrower+similar+and+other+related+words?word=happy&safe=false&relation=hypernyms,hyponyms&limit=3' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Every sense with its definition, example sentences, lexical category (e.g. noun.animal), synonyms and usage tags (e.g. british-spelling, colloquial); IPA pronunciations where our word list has them (about 28,000 words); irregular inflections.
Endpoint ID: 37378
GET https://zylalabs.com/api/14588/word+sense+thesaurus+api/37378/definitions+examples+pronunciation+inflections
INPUT PARAMETERS

Definitions examples pronunciation inflections — Endpoint Features

Object Description
word Required A word or phrase (up to 64 characters; "ice cream", "run away"). Inflected forms are matched to their base form: ran → run, mice → mouse, dogs → dog.
pos Optional Only this part of speech: noun, verb, adjective or adverb.
safe Optional Best-effort family-friendly filter (default false). Drops senses our word list tags as vulgar, derogatory, slur or slang, senses whose definitions describe sexual, excretory or illegal-drug meanings, and a list of profane and slur words, everywhere in the answer. Not a guarantee; see safeNote in the answer.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

word
pos
safe
API EXAMPLE RESPONSE
JSON
{
    "word": "happy",
    "lemmas": [
        "happy"
    ],
    "safe": false,
    "pronunciations": {
        "happy": [
            {
                "ipa": "ˈhæpi",
                "variety": "US"
            },
            {
                "ipa": "ˈhæpiː",
                "variety": "GB"
            }
        ]
    },
    "inflections": {
        "happy": [
            "happier",
            "happiest"
        ]
    },
    "senses": [
        {
            "id": "oewn-01151786-a",
            "partOfSpeech": "adjective",
            "definition": "enjoying or showing or marked by joy or pleasure",
            "lexicalCategory": "adj.all",
            "examples": [
                "a happy smile",
                "spent many happy days on the beach",
                "a happy marriage"
            ],
            "synonyms": [],
            "usage": []
        },
        {
            "id": "oewn-01052105-s",
            "partOfSpeech": "adjective",
            "satellite": true,
            "definition": "marked by good fortune",
            "lexicalCategory": "adj.all",
            "examples": [
                "a felicitous life",
                "a happy outcome"
            ],
            "synonyms": [
                "felicitous"
            ],
            "usage": []
        },
        {
            "id": "oewn-02576313-s",
            "partOfSpeech": "adjective",
            "satellite": true,
            "definition": "eagerly disposed to act or to be of service",
            "lexicalCategory": "adj.all",
            "examples": [
                "glad to help"
            ],
            "synonyms": [
                "glad"
            ],
            "usage": []
        },
        {
            "id": "oewn-01003861-s",
            "partOfSpeech": "adjective",
            "satellite": true,
            "definition": "well expressed and to the point",
            "lexicalCategory": "adj.all",
            "examples": [
                "a happy turn of phrase",
                "a few well-chosen words"
            ],
            "synonyms": [
                "well-chosen"
            ],
            "usage": []
        }
    ]
}
Definitions examples pronunciation inflections — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/14588/word+sense+thesaurus+api/37378/definitions+examples+pronunciation+inflections?word=happy&safe=false' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
The words linked to this one by our word list's derivation relation (decide - decision - decisive) and pertainym relation (decisive - decisively), up to "depth" links away (default 2), following the exact senses so synonyms and other meanings of the words reached stay out. "family" groups them by part of speech; "members" gives each word's hops (0 = the word itself), the relation that reached it and a definition per part of speech. For writing tools, ESL and vocabulary apps.
Endpoint ID: 37379
GET https://zylalabs.com/api/14588/word+sense+thesaurus+api/37379/word+family+derived+forms+grouped+by+part+of+speech
INPUT PARAMETERS

Word family derived forms grouped by part of speech — Endpoint Features

Object Description
word Required A word or phrase (up to 64 characters; "ice cream", "run away"). Inflected forms are matched to their base form: ran → run, mice → mouse, dogs → dog.
pos Optional Only this part of speech: noun, verb, adjective or adverb.
safe Optional Best-effort family-friendly filter (default false). Drops senses our word list tags as vulgar, derogatory, slur or slang, senses whose definitions describe sexual, excretory or illegal-drug meanings, and a list of profane and slur words, everywhere in the answer. Not a guarantee; see safeNote in the answer.
depth Optional Links to follow, 1-3 (default 2).

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

word
pos
safe
depth
API EXAMPLE RESPONSE
JSON
{
    "word": "happy",
    "lemmas": [
        "happy"
    ],
    "safe": false,
    "depth": 2,
    "family": {
        "noun": [
            "happiness"
        ],
        "verb": [],
        "adjective": [
            "happy"
        ],
        "adverb": [
            "happily"
        ]
    },
    "members": [
        {
            "word": "happy",
            "partsOfSpeech": [
                "adjective"
            ],
            "hops": 0,
            "definitions": {
                "adjective": "enjoying or showing or marked by joy or pleasure"
            }
        },
        {
            "word": "happily",
            "partsOfSpeech": [
                "adverb"
            ],
            "hops": 1,
            "relation": "pertainym",
            "definitions": {
                "adverb": "in an unexpectedly lucky way"
            }
        },
        {
            "word": "happiness",
            "partsOfSpeech": [
                "noun"
            ],
            "hops": 1,
            "relation": "derivation",
            "definitions": {
                "noun": "state of well-being characterized by emotions ranging from contentment to intense joy"
            }
        }
    ],
    "count": 3,
    "note": "Words linked to this one by our word list's derivation (decide - decision) and pertainym (decisive - decisively) relations, up to \"depth\" links away; hops 0 is the word itself. A family can include a related word with another meaning."
}
Word family derived forms grouped by part of speech — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/14588/word+sense+thesaurus+api/37379/word+family+derived+forms+grouped+by+part+of+speech?word=happy&safe=false&depth=2' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Up to 100 distinct single words (letters a-z) from our word list, filtered by part of speech, exact or ranged length, first 1-3 letters, commonness (level: easy = words with 3+ meanings, the most familiar; common = 2+ meanings, the default; all = every single word, about 64,000) and safe=true (the word and all of its meanings pass the best-effort kid-safe filter). The same seed and filters always give the same words, so a game can share a seed instead of a list; without a seed you get a fresh one (returned in the answer). "matching" says how many words fit the filters. No database call.
Endpoint ID: 37380
GET https://zylalabs.com/api/14588/word+sense+thesaurus+api/37380/random+words+for+games+filtered+and+seeded
INPUT PARAMETERS

Random words for games filtered and seeded — Endpoint Features

Object Description
pos Optional Only words that can be this part of speech.
length Optional Exact length, 2-15.
minLength Optional Shortest length (default 2).
maxLength Optional Longest length (default 15).
startsWith Optional First 1-3 letters.
level Optional easy, common (default) or all.
safe Optional Kid-safe words only (best effort, see safeNote).
count Optional How many words, 1-100 (default 1).
seed Optional Whole number 0-4294967295 for a repeatable list.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

pos
length
minLength
maxLength
startsWith
level
safe
count
seed
API EXAMPLE RESPONSE
JSON
{
    "seed": 42,
    "count": 5,
    "matching": 1506,
    "filters": {
        "pos": "noun",
        "minLength": 5,
        "maxLength": 5,
        "level": "common",
        "safe": true
    },
    "words": [
        {
            "word": "pixie",
            "partsOfSpeech": [
                "noun"
            ],
            "length": 5
        },
        {
            "word": "labor",
            "partsOfSpeech": [
                "noun",
                "verb"
            ],
            "length": 5
        },
        {
            "word": "sweat",
            "partsOfSpeech": [
                "noun",
                "verb"
            ],
            "length": 5
        },
        {
            "word": "rerun",
            "partsOfSpeech": [
                "noun",
                "verb"
            ],
            "length": 5
        },
        {
            "word": "close",
            "partsOfSpeech": [
                "noun",
                "verb",
                "adjective",
                "adverb"
            ],
            "length": 5
        }
    ],
    "level": "words with 2 or more meanings (default)",
    "safeNote": "safe=true is a best-effort filter, not a guarantee: it drops senses our word list tags as vulgar, derogatory, slur or slang, senses whose definitions describe sexual, excretory or illegal-drug meanings or call themselves offensive, and a list of profane and slur words. It can miss some offensive meanings and also hides some harmless ones."
}
Random words for games filtered and seeded — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/14588/word+sense+thesaurus+api/37380/random+words+for+games+filtered+and+seeded?pos=noun&length=5&level=common&safe=true&count=5&seed=42' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Word Sense Thesaurus API simply include your bearer token in the Authorization header.

Headers
Header Description
Authorization Required Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

No long-term commitment. Upgrade, downgrade, or cancel anytime.

Starts at
$10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Overview

Synonyms and antonyms grouped by meaning, with definitions, related words and a safe filter.

Word Sense Thesaurus API FAQs

Each endpoint returns structured data related to words, including synonyms, antonyms, definitions, related words, pronunciations, and inflections. For example, the Synonyms endpoint provides synonyms grouped by meaning, while the Antonyms endpoint lists direct and indirect antonyms.

Key fields include "word," "lemmas," "senses," "definition," "synonyms," "antonyms," "related," and "pronunciations." Each sense contains detailed information such as part of speech and usage examples, allowing for comprehensive understanding.

Parameters vary by endpoint but may include "word" for querying specific terms, "limit" for controlling response length, and filters for part of speech, word length, and commonness in the Random Words endpoint. Users can customize requests based on these parameters.

Response data is organized in a JSON format, with the main word at the top, followed by an array of senses. Each sense contains fields like "definition," "synonyms," and "antonyms," making it easy to navigate and extract relevant information.

Typical use cases include enhancing writing tools, developing educational apps for vocabulary building, and creating games that require word associations. The API can also assist in language learning by providing synonyms and antonyms for better comprehension.

Users can utilize the data by integrating it into applications for synonym suggestions, antonym identification, or language learning tools. For example, a writing assistant can suggest synonyms to improve text variety based on the returned data.

If a word has no synonyms or antonyms, the API will return an empty list for those fields. Users should implement checks in their applications to handle such cases gracefully, perhaps by providing alternative suggestions or prompts to the user.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.

You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.

Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs