WordsAPI

FREEMIUM
Verified
By dpventures | Updated 4日前 | Data
Popularity

9.9 / 10

Latency

206ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Search with synonyms returned?

Rapid account: Softsafari
softsafari
7年前

Hello,

This call below brings back these results. I was expecting words with their synonyms returned?

https://wordsapiv1.p.mashape.com/words/?hasDetails=synonyms

{“query”:{“limit”:100,“page”:1},“results”:{“total”:110542,“data”:["'s gravenhage","'tween","'tween decks",".22",".22 caliber",".22 calibre",".22-caliber",".22-calibre",".38 caliber",".38 calibre",".38-caliber",".38-calibre",".45 caliber",".45 calibre",".45-caliber",".45-calibre",“0”,“1”,“1 chronicles”,“1 esdras”,“1 kings”,“1 maccabees”,“1 samuel”,“1-dodecanol”,“1-hitter”,“10”,“10-membered”,“100”,“1000”,“10000”,“100000”,“1000000”,“1000000000”,“1000000000000”,“1000th”,“100th”,“101”,“101st”,“105”,“105th”,“10th”,“11”,“11 november”,“11-plus”,“110”,“110th”,“115”,“115th”,“11th”,“12”,“12-tone music”,“12-tone system”,“120”,“120th”,“125”,“125th”,“12th”,“13”,“130”,“130th”,“135”,“135th”,“13th”,“14”,“14 july”,“140”,“140th”,“144”,“145”,“145th”,“14th”,“15”,“15 august 1945”,“15 minutes”,“150”,“150th”,“155”,“155th”,“15th”,“16”,“16 pf”,“160”,“160th”,“165”,“165th”,“16th”,“17”,“17 november”,“170”,“170th”,“1728”,“175”,“175th”,“17th”,“18”,“180”,“180th”,“1880s”,“1890s”,“18th”]}}

Rapid account: Softsafari
softsafari Commented 7年前

Ok. Thanks.

Rapid account: Wordsapi
wordsapi Commented 7年前

Hi softsafari,
The search feature of the API returns a list of words matching your query, but not the details associated with the word (like the definitions, synonyms, etc). You’ll have to make subsequent calls to retrieve the details. Or, of you just want any word with synonyms, you can tack on ‘&random=true’ to your query string. The random parameter will return the entire details of a random word matching your query.

More details on search can be found here:
https://www.wordsapi.com/docs#search

Join in the discussion - add comment below:

Login / Signup to post new comments