The C-SALT APIs for Sanskrit Dictionaries provide access to the most important Sanskrit dictionaries hosted by the University of Cologne. The dictionaries have been encoded in TEI-P5 and you can download them from this repository. The APIs have been created and are maintained with Kosh.
You can access each dictionary via a REST and a GraphQL API.
MW - A Sanskrit-English Dictionary: Etymologically and Philologically Arranged with Special Reference to Cognate Indo-European languages by Monier Williams (1899) - 31.821 entries
AP90 - The Practical Sanskrit-English Dictionary by V.S. Apte (1890) - 31.751 entries
BHS - Buddhist Hybrid Sanskrit Grammar and Dictionary by Edgerton (1953) - 17.807 entries
VEI - Vedic Index of Names and Subjects by Macdonell & Keith (1912) - 3.834 entries
PWG - Sanskrit Wörterbuch, herausgegeben von der kaiserlichen Akademie der Wissenschaften, bearbeitet von Otto Böhtlingk und Rudolph Roth (1855) - 122.731 entries
GRA - Wörterbuch zum Rig-Veda von Hermann Grassmann (1873) - 10.777 entries
AE - The Student’s English-Sanskrit Dictionary by V.S. Apte (1884) - 11.364 entries
If you have any questions, contact the C-SALT team: info-csalt@uni-koeln.de.