Our Related Words API is a powerful tool for retrieving related and associated words. The API is able to retrieve synonyms, antonyms, hypernyms, hyponyms, and holonyms, along with the relationships between them. The API also returns part of speech and cosine similarity of the word which is a measure of similarity between two non-zero vectors of an inner product space.
The API is designed to be easy to use, you simply input a word and the API will return a list of related words along with their relationships, parts of speech, and cosine similarity. You can also customize the response by specifying the type of relationship you are interested in, such as synonyms, antonyms, or hyponyms.
The API can be used in many applications such as natural language processing, text analysis, and information retrieval. It can also be useful in writing, language education, and as a tool for improving vocabulary.
The API returns the data in JSON format, making it easy to integrate with other applications. It also supports multiple languages, so you can easily retrieve related words in different languages.
In summary, our Related Words API is a versatile and powerful tool that can help you to understand the relationships between words, and improve your writing, language skills, or text analysis.
Pass a word and receive a list of all related words and possible associations.
Improving writing: By using the API to find related words and synonyms, you can improve the vocabulary and style of your writing.
Language education: Teachers can use the API to help students learn new words and their relationships in a target language.
Text analysis: Researchers can use the API to analyze the relationships between words in a body of text, such as in sentiment analysis or topic modeling.
Information retrieval: Use the API to find related words that can be used as search queries, to improve the precision and recall of search engines.
Natural Language Processing: Use the API to find related words to improve machine learning models for natural language tasks such as question answering, sentiment analysis or text classification.
Content generation: Use the API to find related words to generate new content, such as titles, headlines, or summaries.
Besides API call limitations per month, there is no other limitation.
Retrieve related and associated words (including synonyms, antonyms, hypernyms, hyponyms, and holonyms). Relationships, parts of speech, and cosine similarity are also returned.
Use the "Related Words and Associations" API to retrieve a word's:
For each returned word, you'll receive:
Use this API for writing apps, machine learning datasets, or anywhere you'll need to find or use related concepts.
Associated - Endpoint Features
| Object | Description |
|---|---|
entry |
[Required] The search word for which the endpoint will return related and associated words. |
{"entry":"football","request":"football","response":{"football":1},"associations":"soccer, player, rugby, defender, basketball, baseball, sport, tackle, fixture, game, amateur, team, tournament, varsity, pitch, bowler, inning, play, win, volleyball, outmaneuver, woodwind, ball, championship, golf, contest, violinist, thespian, club, chess","associations_array":["soccer","player","rugby","defender","basketball","baseball","sport","tackle","fixture","game","amateur","team","tournament","varsity","pitch","bowler","inning","play","win","volleyball","outmaneuver","woodwind","ball","championship","golf","contest","violinist","thespian","club","chess"],"associations_scored":{"soccer":0.19305779945080234,"player":0.583486202592533,"rugby":0.2201421814478619,"defender":0.15263794927975577,"basketball":0.05084326003121482,"baseball":0.03153333362956993,"sport":0.2601085701126511,"tackle":0.11615073727533312,"fixture":0.026309239408656437,"game":0.5373457305898969,"amateur":0.030090033941291363,"team":0.3033172201880995,"tournament":0.02484177307818506,"varsity":0.016639505557396298,"pitch":0.02634871132482662,"bowler":0.021399370615032668,"inning":0.017048563621917125,"play":0.17445661462241172,"win":0.09951968450756017,"volleyball":0.018681276487298445,"outmaneuver":0.017526535128121867,"woodwind":0.015803357376811586,"ball":0.07181262455005322,"championship":0.019691469153461386,"golf":0.025259078255340028,"contest":0.018319613934216387,"violinist":0.01599552445054246,"thespian":0.04032127628416555,"club":0.042560681965333115,"chess":0.017193309091544987},"version":"1","author":"SA","email":"No available","result_code":"200","result_msg":"Success"}
curl --location --request GET 'https://zylalabs.com/api/1159/related+words+api/1018/associated?entry=football' --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 Associated endpoint returns related words, including synonyms, antonyms, hypernyms, hyponyms, and holonyms. Each word is accompanied by its part of speech and cosine similarity score, which indicates the degree of similarity to the input word.
The key fields in the response data include "queryText" (the input word), "partOfSpeechCategories" (the part of speech for the input word), and "items" (an array of related words with their respective properties like "text," "cosineSimilarity," and "relationshipTypes").
The response data is structured in JSON format. It includes a main object with the input word details and an "items" array containing related words, each with fields for text, cosine similarity, part of speech, and relationship types.
The Associated endpoint accepts a single parameter: the input word. Users can customize their requests by specifying the type of relationship they are interested in, such as synonyms or antonyms, to filter the results.
The Associated endpoint provides information on various relationships between words, including synonyms, antonyms, hypernyms, hyponyms, and holonyms, along with their parts of speech and cosine similarity scores.
Users can leverage the returned data to enhance writing, improve vocabulary, or conduct text analysis. For example, they can use synonyms to diversify language in writing or analyze cosine similarity to gauge word relationships in NLP tasks.
The data is sourced from linguistic databases and lexical resources that compile relationships between words, ensuring a comprehensive and accurate representation of word associations.
Data accuracy is maintained through regular updates and quality checks against established linguistic resources. This ensures that the relationships and associations provided are relevant and reliable for users.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
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.
Service Level:
100%
Response Time:
316ms
Service Level:
100%
Response Time:
883ms
Service Level:
100%
Response Time:
13,713ms
Service Level:
100%
Response Time:
333ms
Service Level:
100%
Response Time:
2,183ms
Service Level:
100%
Response Time:
1,350ms
Service Level:
100%
Response Time:
5,657ms
Service Level:
100%
Response Time:
1,142ms
Service Level:
100%
Response Time:
1,100ms
Service Level:
100%
Response Time:
1,255ms
Service Level:
100%
Response Time:
17ms
Service Level:
100%
Response Time:
22ms
Service Level:
100%
Response Time:
9,114ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
17,960ms
Service Level:
100%
Response Time:
3,671ms
Service Level:
100%
Response Time:
1,913ms
Service Level:
100%
Response Time:
16,572ms
Service Level:
100%
Response Time:
17ms
Service Level:
100%
Response Time:
16ms