Random Lexicon

Random Word API Quick Start

Create a small browser app that fetches a random word and definition from Random Lexicon with plain HTML, CSS, and JavaScript.

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.

No Key Required

The example runs in the browser and does not require a backend or API key.

Next Steps

After the first request works, combine filters such as pos, lang, tag, startsWith, minLen, maxLen, and allowExplicit.