Definitions, examples, synonyms and antonyms of an English word

Returns the meanings of an English word, grouped by part of speech, with example sentences, synonyms and antonyms.

Request

GEThttps://english-dictionary.p.apihiver.com/v1/define/happy
*
String. An English word, e.g. happy.
Language
Client
1curl --request GET \
2  --url https://english-dictionary.p.apihiver.com/v1/define/happy \
3  --header 'Accept: application/json' \
4  --header 'X-API-Key: YOUR_API_KEY'

Definitions, examples, synonyms and antonyms of an English word: English Dictionary API reference

Returns the meanings of an English word, grouped by part of speech, with example sentences, synonyms and antonyms. 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  "source": "Princeton WordNet 3.0",
4  "antonyms": [
5    "unhappy"
6  ],
7  "meanings": [
8    {
9      "definitions": [
10        {
11          "examples": [
12            "a happy smile",
13            "spent many happy days on the beach",
14            "a happy marriage"
15          ],
16          "definition": "enjoying or showing or marked by joy or pleasure"
17        },
18        {
19          "examples": [
20            "a felicitous life",
21            "a happy outcome"
22          ],
23          "definition": "marked by good fortune"
24        },
25        {
26          "examples": [
27            "glad to help"
28          ],
29          "definition": "eagerly disposed to act or to be of service"
30        }
31      ],
32      "part_of_speech": "adjective"
33    }
34  ],
35  "synonyms": [
36    "felicitous",
37    "glad",
38    "well-chosen"
39  ],
40  "base_form": "happy"
41}

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.