About the API:
A word association is a relationship between a word and another word that show the semantic relationship among these words. The word presented is called the stimulus word, while the word that appears in the mind first after reading/hearing the stimulus word is called the response word.
This API will receive a word and will provide you with an array of words that are associated with the provided one. Also, get the relevance score for those given words.
Using word association could allow you to train machine learning models to create a paraphrasing tool.
Be able to create a grammar checker with this API.
There are many uses you can give to word associations.
Besides API call limitations per month:
Free Plan: 30 requests per minute.
{"entry":"airplane","request":"airplane","response":{"airplane":1},"associations":"plane, aircraft, terminal, airliner, hangar, airport, helicopter, pilot, blimp, immigrate, moth, airborne, hijacking, fledged, landing, levitate, flight, bombardier, fly, cockpit, hover, pterodactyl, footloose, flying, aviator, parachute, airman, butterfly, pterosaur, sortie","associations_array":["plane","aircraft","terminal","airliner","hangar","airport","helicopter","pilot","blimp","immigrate","moth","airborne","hijacking","fledged","landing","levitate","flight","bombardier","fly","cockpit","hover","pterodactyl","footloose","flying","aviator","parachute","airman","butterfly","pterosaur","sortie"],"associations_scored":{"plane":0.48773042791245164,"aircraft":0.5627001852553488,"terminal":0.07622863424677508,"airliner":0.08760564250755491,"hangar":0.2049807538656269,"airport":0.2216104785528353,"helicopter":0.07045791015327464,"pilot":0.0900454896362833,"blimp":0.05740678166503142,"immigrate":0.04449328082091137,"moth":0.04512010691495491,"airborne":0.06146315443681133,"hijacking":0.22426760494896403,"fledged":0.046388451603837505,"landing":0.05617956681810236,"levitate":0.048756519408182174,"flight":0.47631837501991076,"bombardier":0.057038451919944506,"fly":0.37171805324379964,"cockpit":0.029282100163990632,"hover":0.04868096194787381,"pterodactyl":0.04456720032601065,"footloose":0.04506243083990712,"flying":0.15277587872323714,"aviator":0.045478369247761496,"parachute":0.0385585085388821,"airman":0.04727418346735289,"butterfly":0.04458773897350637,"pterosaur":0.044440423825559246,"sortie":0.04478140413212962},"version":"7.4.2","author":"twinword inc.","email":"[email protected]","result_code":"200","result_msg":"Success"}
curl --location --request GET 'https://zylalabs.com/api/809/word+association+api/564/get+word+association?entry=airplane' --header 'Authorization: Bearer YOUR_API_KEY'
| 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. Free Trial includes up to 50 requests.
The Get Word Association endpoint returns an array of words associated with a given stimulus word, along with a semantic distance score indicating the relevance of each associated word.
The key fields in the response data include "version" (API version), "author" (data provider), "result_code" (status of the request), "result_msg" (message about the request), and the array of associated words with their relevance scores.
The response data is structured in JSON format, containing metadata (version, author, result code, and message) followed by an array of associated words, each paired with a relevance score.
The primary parameter for the Get Word Association endpoint is the "word" parameter, which specifies the stimulus word for which associations are requested.
Users can customize their requests by specifying different stimulus words to retrieve relevant associations, allowing for tailored results based on their specific needs.
The data is sourced from linguistic databases and algorithms that analyze semantic relationships between words, ensuring a comprehensive understanding of word associations.
Typical use cases include developing paraphrasing tools, enhancing grammar checkers, and improving natural language processing applications by leveraging word associations for better context understanding.
If the response returns an empty array or a specific error message, users should verify the input word for accuracy or consider using synonyms or related terms to expand their search for associations.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used 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.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
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, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
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.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
173ms
Service Level:
100%
Response Time:
2,429ms
Service Level:
100%
Response Time:
17ms
Service Level:
100%
Response Time:
105ms
Service Level:
100%
Response Time:
3,869ms
Service Level:
100%
Response Time:
299ms
Service Level:
100%
Response Time:
219ms
Service Level:
100%
Response Time:
935ms
Service Level:
100%
Response Time:
546ms
Service Level:
100%
Response Time:
83ms