Skip to main content

API and Developement

Access our public API and contribute to the project.

Our Python Library

For ease of access, we have created a simple Python library for our API.
Our API Client library is available on PyPi, and can be installed with pip.

Run the following command to install the library:
pip install latindictionary-io

Or clone the GitHub repository to contribute to the library.
Documentation can be found on PyPi or on the GitHub repository.

Our Endpoints

If you are not using Python, you can access our API using our RESTful endpoints.

Base URL: https://www.latindictionary.io/api/v1

Endpoints:

  • analyze/{word}
    • word - The word to analyze.

    Example:
    https://www.latindictionary.io/api/v1/analyze/puer

    Response:

    [
        [
            {
            "entry": {
                "dict": {
                "decl": "2nd",
                "freq": "very frequent",
                "gend": "masculine",
                "hdwd": "puer, pueri",
                "pofs": "noun"
                },
                "infl": [
                {
                    "case": "nominative",
                    "decl": "2nd",
                    "gend": "masculine",
                    "num": "singular",
                    "pofs": "noun",
                    "term": {
                    "lang": "lat",
                    "stem": "puer"
                    },
                    "var": "3rd"
                },
                {
                    "case": "vocative",
                    "decl": "2nd",
                    "gend": "masculine",
                    "num": "singular",
                    "pofs": "noun",
                    "term": {
                    "lang": "lat",
                    "stem": "puer"
                    },
                    "var": "3rd"
                }
                ],
                "mean": "boy, lad, young man; servant; (male) child; [a puere => from boyhood];"
            },
            "word": "puer"
            }
        ]
    ]
                                                        



  • concordance/{word}
    • word - The word to get examples sentences of.

    Example:
    https://www.latindictionary.io/api/v1/concordance/puer

    Response:
    The response's link fields are links to the examples sentences on Latin Packhum. If you would like to include the link to the example sentences for your own use, just add https://latin.packhum.org/ to the beginning of the link.

    [
        {
            "cit": "Just.Dig.34.4.3.2.3",
            "left": "si ante restitutam decessisset, matri eius relicta: ut, si ",
            "link": "/loc/2806/2/214/1467-1471",
            "right": " ante diem legati cedentem decessisset, matri debeatur, si",
            "target": "puer"
        },
        {
            "cit": "Luc.BC.8.296",
            "left": "uoluptas. celsior in campo sonipes et fortior arcus, nec ",
            "link": "/loc/917/1/7/13440-13444",
            "right": " aut senior letalis tendere neruos segnis, et a nulla mors",
            "target": "puer"
        },
        {
            "cit": "VFl.Arg.6.83",
            "left": "illis est domus et crudo residens sub vellere coniunx et ",
            "link": "/loc/1035/1/5/3923-3927",
            "right": " e primo torquens temone cateias. linquitur abruptus pelago",
            "target": "puer"
        },
        {
            "cit": "Porph.Carm.1.9.15-16.1",
            "left": "possit accidere. Nec dvlcis a. s. p. Pro: dum ",
            "link": "/loc/1512/1/8/1289-1293",
            "right": " es, noli spernere. Donec",
            "target": "puer"
        },
        {
            "cit": "Ter.An.833",
            "left": "nunc non fert: feras. illam hinc civem esse aiunt; ",
            "link": "/loc/134/1/5/909-913",
            "right": " est natu': nos missos face. Si. per ego te deos",
            "target": "puer"
        },
        {
            "cit": "CBas.Metr.6.138",
            "left": "et alios inveniri posse complures 'cui non dictus Hylas ",
            "link": "/loc/812/2/0/8429-8433",
            "right": " et Latonia Delos'. quod apparet ita esse, quoniam ita",
            "target": "puer"
        },
        {
            "cit": "Hor.S.1.10.*5",
            "left": "quo melior vir et est longe subtilior illo, qui multum ",
            "link": "/loc/893/4/9/235-239",
            "right": " et loris et funibus udis exoratus, ut esset, opem qui",
            "target": "puer"
        },
        {
            "cit": "Catul.Carm.21.11",
            "left": "satur, tacerem: nunc ipsum id doleo, quod esurire a temet ",
            "link": "/loc/472/1/18/406-410",
            "right": " et sitire discet. quare desine, dum licet pudico, ne finem",
            "target": "puer"
        },
        {
            "cit": "Chalc.poet.12.1",
            "left": "litigioso. Ex Catharmis Namque ego iam dudum vixi ",
            "link": "/loc/2028/1/0/1521-1525",
            "right": " et solida arbos, ales et ex undis animal, tum lactea",
            "target": "puer"
        },
        {
            "cit": "Catul.Carm.27.1",
            "left": "XXVII Minister vetuli ",
            "link": "/loc/472/1/24/72-76",
            "right": " Falerni, inger mi calices amariores, ut lex Postumiae",
            "target": "puer"
        }
    ]
                                                        



  • word_of_the_day/{date}
    • date - The date to get the word of the day for.

    Example:
    https://www.latindictionary.io/api/v1/word_of_the_day/2022-01-01

    Response:

    {
        "conj": null, 
        "decl": null, 
        "hdwd": "qualitercunque", 
        "mean": "no matter how; in whatever manner; howsoever (L+S); be it as it may;", 
        "pos": "ADV", 
        "prep_case": null, 
        "verb_type": null
    }