v1

latestSwagger 2.02026-07-142411.3 KB

Gets associations with the given word or phrase.

get/json/search

Query parameters

textstring[] required

Word or phrase to find associations with. Tip. You can use multiple parameters 'text' in a request (from 1 to 10 inclusive). This way you can get associations for several input words or phrases in one response. Restriction: regardless of the size of the text association lookup is always performed by the first 10 words of the text.

lang'de' | 'en' | 'es' | 'fr' | 'it' | 'pt' | 'ru' required

Query language. Use language code for the language of the text:

  • de - German;
  • en - English;
  • es - Spanish;
  • fr - French;
  • it - Italian;
  • pt - Portuguese;
  • ru - Russian;
type'stimulus' | 'response'

Type of result. Possible values:

  • stimulus - an input data (the text parameter) is considered as a response word. The service returns a list of stimuli words, which evoke a given response word;
  • response - an input data (the text parameter) is considered as a stimulus word. The service returns a list of response words, which come to mind for a given stimulus word.
limitinteger

Maximum number of results to return. Allows to limit the number of results (associations) in response. The value of this parameter is an integer number from 1 to 300 inclusive.

posstring[]

Parts of speech to return. Allows to limit results by specified parts of speech. The value of this parameter is a list of parts of speech separated by comma. The following parts of speech codes are supported:

  • noun
  • adjective
  • verb
  • adverb
indent'yes' | 'no'

Indentation switch for pretty printing of JSON response. Allows to either turn on or off space indentation for a response. The following values are allowed:

  • yes - turns indentation with spaces on;
  • no - turn indentation with spaces off;

Response

Successful response

versionstring
codeinteger
All 2 operations