STANDS4 Web Services:
Synonyms API
The Synonyms API from STANDS4 enables you to programmatically access Synonyms, Thesaurus and Antonyms information for any given word.
Request URL:
https://www.stands4.com/services/v2/syno.php
Request parameters:
Parameter | Value | Required | Default | Description |
---|---|---|---|---|
uid | string | Y | Your API user id |
|
tokenid | string | Y | Your valid developer token id |
|
word | string | Y | The word you would like to get synonyms and antonyms for |
|
format | string | N | xml | The format in which you want the result returned (xml or json) |
Sample request URL:
https://www.stands4.com/services/v2/syno.php?uid=1001&tokenid=tk324324&word=consistent&format=xml
Response elements:
Element | Description |
---|---|
results | Contains all of the query responses |
result | Contains each individual response |
term | The term this result is referring to |
definition | A definition for the specific sense |
partofspeech | adj, verb etc |
synonyms | Comma delimited list of synonyms for the word |
antonyms | Comma delimited list of antonyms for the word |
Sample response:
<?xml version="1.0" encoding="UTF-8"?>
<results>
<result>
<term>consistent</term>
<definition>(sometimes followed by 'with') in agreement or consistent or reliable</definition>
<partofspeech>adj</partofspeech>
<synonyms>ordered, coherent, logical, reproducible, uniform</synonyms>
<antonyms>scratchy, unreconciled, uneven, contradictory, inconsistent, conflicting, incompatible, spotty, heterogeneous, discrepant, heterogenous, self-contradictory, unconformable</antonyms>
</result>
</results>
{
"results": {
"result": {
"term": "consistent",
"definition": "(sometimes followed by 'with') in agreement or consistent or reliable",
"partofspeech": "adj",
"synonyms": "ordered, coherent, logical, reproducible, uniform",
"antonyms": "scratchy, unreconciled, uneven, contradictory, inconsistent, conflicting, incompatible, spotty, heterogeneous, discrepant, heterogenous, self-contradictory, unconformable"
}
}
}
Want to use this service?
The Synonyms API service is free to use for up to 100 queries per day.
For a premium commercial license, please contact us.