Skip to content

raf555/kbbi-api

Repository files navigation

kbbi-api

godoc

Probably the most complete public KBBI API you will ever find.

Documentation

{
  "lemma": "bermalas-malasan",
  "entries": [
    {
      "entry": "ber.ma.las-ma.las.an",
      "baseWord": "malas",
      "entryVariants": [],
      "pronunciation": "",
      "definitions": [
        {
          "definition": "bermalas-malas",
          "referencedLemma": "",
          "labels": [
            {
              "code": "v",
              "name": "Verba",
              "kind": "Kelas Kata"
            }
          ],
          "usageExamples": [
            "dia selalu ~ saat hari libur"
          ]
        }
      ],
      "nonStandardWords": [],
      "variants": [],
      "compoundWords": [],
      "derivedWords": [],
      "proverbs": [],
      "metaphors": []
    }
  ]
}

Data Source

Latest edition: Oktober 2025

The dictionary is mirrored from Official KBBI Application v6.1.0 with some hand-edited data and customly decoded for author's requirement.

The dictionary used by the server will be updated as soon as new version of the application is released.

Issues

For any issues, be it from the API server or from the dictionary, or questions or inquiries or suggestions, feel free to raise a new issue. I'll try to look into it as soon as possible.

If you are willing to open PR to fix any open issues, I'm more than welcome to review it.

Run the Application

The dictionary assets are encrypted (for now). You'll need the assets to run the server, therefore provided samples in the assets/sample directory.

You can rename the .env.sample file to be .env and run the server directly with this command.

go run ./cmd/kbbi

To regenerate the swagger, run this command.

go generate ./...

Once success, you should be able to open http://localhost:8888 in your browser.

Copyright and Data Ownership

Warning

All data in this dictionary is fully owned by Badan Pengembangan dan Pembinaan Bahasa, Kementerian Pendidikan, Kebudayaan, Riset, dan Teknologi Republik Indonesia.

The commercial use of this dataset is strictly prohibited and subject to legal provisions under: Indonesian Law No. 28 of 2014 on Copyright.

The accompanying code is licensed separately and is not subject to the same restrictions as the dictionary data. The code is provided under MIT License, allowing its use, modification, and distribution according to the terms of that license.

About

Kamus Besar Bahasa Indonesia (KBBI) as RESTful API

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors