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. 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" (404) cleanly
- Shows examples where the API provides them
- Free API, no key required
Quickstart
$ curl -LO https://devai.io/downloads/dictionary-lookup.zip$ unzip dictionary-lookup.zip && cd dictionary-lookup$ open index.html # or just double-click the file
about this tutorial
A devai.io starter tutorial — navigating nested data without getting lost.
More in APIs & Data
view allAPIs & Data
Weather Right Now
Type a city, get the live weather — your first two-step API call.
HTMLCSSJavaScriptfetch()+1
View template zip + preview
APIs & Data
GitHub Profile Card
Type a username, get their profile — your first taste of an API.
HTMLCSSJavaScriptfetch()+1
View template zip + preview
APIs & Data
Random Quote Machine
Load quotes from a data file and show a new one on demand.
HTMLCSSJavaScriptfetch()+1
View template zip + preview