What You Build
The quick start calls /api/random-definition, handles loading and error states, and displays the returned word, definition, and part of speech.
Random Lexicon
Create a small browser app that fetches a random word and definition from Random Lexicon with plain HTML, CSS, and JavaScript.
The quick start calls /api/random-definition, handles loading and error states, and displays the returned word, definition, and part of speech.
The example runs in the browser and does not require a backend or API key.
After the first request works, combine filters such as pos, lang, tag, startsWith, minLen, maxLen, and allowExplicit.