{
"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"
]
}
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'
{
"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)."
}
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'
{
"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": []
}
}
]
}
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'
{
"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": []
}
]
}
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'
{
"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."
}
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'
{
"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."
}
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'
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.
| 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.
Synonyms and antonyms grouped by meaning, with definitions, related words and a safe filter.
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.
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.
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.
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.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund