Broader (hypernym) and narrower (hyponym) words — e.g. dog → canine / puppy

Returns related words from WordNet: broader terms (a dog is an animal), narrower terms, and part/whole relations.

Request

GEThttps://english-dictionary.p.apihiver.com/v1/related/happy
Number. Maximum number of results (1–100, default 20).
Language
Client
1curl --request GET \
2  --url 'https://english-dictionary.p.apihiver.com/v1/related/happy?limit=%7Blimit%7D' \
3  --header 'Accept: application/json' \
4  --header 'X-API-Key: YOUR_API_KEY'

Broader (hypernym) and narrower (hyponym) words — e.g. dog → canine / puppy: English Dictionary API reference

Returns related words from WordNet: broader terms (a *dog* is an *animal*), narrower terms, and part/whole relations. This endpoint is part of the English Dictionary API: English definitions, synonyms, antonyms, rhymes, 'words that mean…' and autocomplete — fast and fully offline.

Example response (200, application/json)

Success.

1{
2  "word": "happy",
3  "parts": [],
4  "sense": "enjoying or showing or marked by joy or pleasure",
5  "broader": [],
6  "part_of": [],
7  "narrower": []
8}

Errors

  • 400 — A required parameter is missing or a value has the wrong format.
    1{
    2  "error": {
    3    "code": "INVALID_INPUT",
    4    "message": "Send a single English word or short phrase (letters, spaces, hyphens)."
    5  }
    6}
  • 404 — Nothing matches the value you sent.
    1{
    2  "error": {
    3    "code": "NOT_FOUND",
    4    "message": "'qwxzvbn' isn't in the dictionary."
    5  }
    6}

Gateway errors (missing key, no subscription, rate limits) are listed in Error codes.