Problem with GET /words.json/search/{query}

46 views
Skip to first unread message

Caleb Martin

unread,
Jul 1, 2018, 2:31:33 AM7/1/18
to Wordnik API
If I do a simple search with something like https://api.wordnik.com/v4/words.json/search/test?limit=10&api_key=APIKEY, it only returns a single result:

{
  "totalResults": 74,
  "searchResults": [
    {
      "lexicality": 0,
      "count": 985171,
      "word": "test"
    }
  ]
}

There are a few ways that I have found to make it return more than one result, but they don't really make any sense:
  • Set includePartOfSpeech to something valid
  • Set skip to 1 or higher
  • Set minLength to one more than the length of the query word (eg, for "test" you have to set minLength to 5)

Reply all
Reply to author
Forward
0 new messages