Access via the API

Numerous entries from this website can be directly queried via the HTTP-interface. Direct search of synonyms, similar words and substring matches is supported. Querrying through Wikipedia/Wiktionary is currently not supported.

Warning: output format might change. However, it will only be extended, existing parts will not be changed without notice.

Query

The following HTTP-query over GET finds all synsets including the word query.

http://spell.linux.sk/thesaurus/xml_api.php?q=query&format=text/xml

Result

Query result is an XML file in the form:

<matches>
  <metaData>
    <apiVersion content='0.1.3'/>
    <warning content='WARNING -- this API is in beta -- the format may change without warning!'/>
    <copyright content='Copyright (c) 2004-2024 Zdenko Podobný, zdposter (at) gmail (dot) com;(c) 2004 Tibor Bako, yorik (at) szm (dot) sk'/>
    <license content='GNU General Public License (GPL)'/>
    <source content='http://spell.linux.sk/thesaurus/'/>
    <date content='Mon, 04 Nov 2024 18:30:28 +0000'/>
  </metaData>
  <synset id='1234'>
    <categories>
      <category name='Category name'/>
    </categories>
    <term term='Meaning 1, word 1'/>
    <term term='Meaning 1, word 2'/>
  </synset>
  <synset id='2345'>
    <categories/>
    <term term='Meaning 2, word 1'/>
  </synset>
</matches>

Options

Known Issues

Downloads

Besides direct querying full database downloads are also still available.


Page updated: 2024-02-06