Kosh - APIs for Lexical Data

Kosh is an open-source framework for creating and maintaining APIs for lexical data

View it on GitHub

Kosh has been conceived to provide API access to any XML-encoded lexical dataset, independently of the data model employed.

Its name Kosh derives from the Hindi word for dictionary or lexicon, कोश koś or kosh, which in turn derives from Sanskrit कोश kośa with the same meaning.


  • Kosh processes lexical data in XML format.
  • Two APIs, GraphQL and REST, access the data stored in elasticsearch.
  • Kosh can be deployed either via Docker or natively on Unix-like systems.

How to run Kosh

You can configurate Kosh to create APIs for any XML-encoded lexical resource. Learn how to do it for your own resources in deployment


Francisco Mondaca, Philip Schildkamp, and Felix Rau. 2019. “Introducing Kosh, a Framework for Creating and Maintaining APIs for Lexical Data.” In Electronic Lexicography in the 21st Century. Proceedings of the eLex 2019 Conference, Sintra, Portugal. Brno: Lexical Computing CZ, s.r.o., 907–21. PDF

Francisco Mondaca and Jan Bigalke. 2019. “Introducing an Open, Dynamic and Efficient Access for TEI-encoded Dictionaries on the Internet”. Presentation of a Kosh-based workflow for editing dictionaries and publish them via APIs. TEI Conference Graz 2019. DOI.

Francisco Mondaca, Felix Rau, Claes Neuefeind, Börge Kiss, Daniel Kölligan, Uta Reinöhl, Patrick Sahle. 2019. “C-SALT APIs – Connecting and Exposing Heterogeneous Language Resources”. Presentation at the Digital Humanities Conference 2019, Utrecht, The Netherlands.


If you have any questions, please write us an email: info-kosh[a]