all templates
APIs & Data

Dictionary Lookup

Look up any word and read its definitions — nested JSON, unpacked.

Type a word, get its pronunciation and definitions grouped by part of speech, straight from English Wiktionary. The data comes back as arrays inside objects inside arrays, so this is your lesson in reading real, nested JSON.

What's inside

  • Definitions grouped by part of speech
  • Reading deeply nested JSON, step by step
  • Handles "word not found" cleanly
  • Shows examples where the API provides them
  • Free API, no key required

Quickstart

$ git clone https://github.com/devai-io/devai_boilerplates.git$ cd devai_boilerplates/dictionary-lookup$ open index.html   # or just double-click the file

Browse the code

The full source, exactly as it ships in the repo.

loading…
Download .zip
loading tree…

about this tutorial

A devai.io starter tutorial — navigating nested data without getting lost.