# Dictionary API

> Dictionary looks up word definitions for any given term. It returns every recorded meaning as a text list with a total definition count, plus modern part-of-speech meanings with examples, synonyms and IPA pronunciation, for e-readers, vocabulary builders, and writing assistants.

**Endpoint:** `GET https://api.apiverve.com/v1/dictionary`  
**Category:** Data Lookup  
**Cost:** 2 credits per call  
**Canonical page:** https://apiverve.com/marketplace/dictionary

## Overview

An English dictionary API and word API for apps that need definitions on demand. Dictionary combines Webster's Revised Unabridged Dictionary with Open English WordNet, so both classic and modern words (serendipity, email, smartphone) resolve. Lookups are case-insensitive, accept hyphenated or spaced compounds and phrasal verbs, and fold inflected forms (running, mice, went) back to their base word.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/dictionary?word=apple" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `word` | string | Yes | The word or phrase to define (e.g., apple, ice cream, give up). Case-insensitive; inflected forms resolve to their base word |

## Response fields

- `word` — string · The word that was looked up in the dictionary
- `definitionCount` — number · Total number of definitions found for the word
- `definitions` — array · Array of definition strings for the word (Webster 1913 text when available, otherwise WordNet glosses)
- `matchedWord` — string · The dictionary headword that matched, lowercased. Differs from word when a variant spelling or base form was used
- `matchType` — string · How the word matched: exact, variant (hyphen/space/apostrophe spelling) or inflection (folded back to its base word)
- `baseForms` — array · Base words this word is an inflected form of, e.g. ["run"] for running or ["mouse"] for mice; empty when it is not an inflection
- `partsOfSpeech` — array · Distinct parts of speech found in meanings, most senses first
  - `meanings.0.partOfSpeech` — string · Part of speech of the sense (noun, verb, adjective, adverb, contraction...)
  - `meanings.0.definition` — string · Definition of the sense
  - `meanings.0.examples` — array · Up to three example sentences for the sense
  - `meanings.0.synonyms` — array · Other words with this sense, up to ten
- `pronunciation` — string · IPA pronunciation (US where available), or null

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "word": "apple",
    "definitionCount": 4,
    "definitions": [
      "The fleshy pome or fruit of a rosaceous tree (Pyrus malus) cultivated in numberless varieties in the temperate zones. Note: The European crab apple is supposed to be the original kind, from which all others have sprung.",
      "(bot.)  Any tree genus Pyrus which has the stalk sunken into the base of the fruit; an apple tree.",
      "Any fruit or other vegetable production resembling, or supposed to resemble, the apple; as, apple of love, or love apple (a tomato), balsam apple, egg apple, oak apple.",
      "Anything round like an apple; as, an apple of gold. Note: Apple is used either adjectively or in combination; as, apple paper or apple-paper, apple-shaped, apple blossom, apple dumpling, apple pudding. Apple blight, an aphid which injures apple trees. See Blight, n. -- Apple borer (Zoöl.), a coleopterous insect (Saperda candida or bivittata), the larva of which bores into the trunk of the apple tree and pear tree. -- Apple brandy, brandy made from apples. -- Apple butter, a sauce made of apples stewed down in cider. Bartlett. -- Apple corer, an instrument for removing the cores from apples. -- Apple fly (Zoöl.), any dipterous insect, the larva of which burrows in apples. Apple flies belong to the genera Drosophila and Trypeta. -- Apple midge (Zoöl.) a small dipterous insect (Sciara mali), the larva of which bores in apples. -- Apple of the eye, the pupil. -- Apple of discord, a subject of contention and envy, so called from the mythological golden apple, inscribed \"For the fairest,\" which was thrown into an assembly of the gods by Eris, the goddess of discord. It was contended for by Juno, Minerva, and Venus, and was adjudged to the latter. -- Apple of love, or Love apple, the tomato (Lycopersicum esculentum). -- Apple of Peru, a large coarse herb (Nicandra physaloides) bearing pale blue flowers, and a bladderlike fruit inclosing a dry berry. -- Apples of Sodom, a fruit described by ancient writers as externally of air appearance but dissolving into smoke and ashes plucked; Dead Sea apples. The name is often given to the fruit of Solanum Sodomæum, a prickly shrub with fruit not unlike a small yellow tomato. -- Apple sauce, stewed apples. [U. S.] -- Apple snail or Apple shell (Zoöl.), a fresh-water, operculated, spiral shell of the genus Ampullaria. -- Apple tart, a tart containing apples. -- Apple tree, a tree naturally bears apples. See Apple, 2. -- Apple wine, cider. -- Apple worm (Zoöl.), the larva of a small moth (Carpocapsa pomonella) which burrows in the interior of apples. See Codling moth. -- Dead Sea Apple. (a) pl. Apples of Sodom. Also Fig. \"To seek the Dead Sea apples of politics.\" S. B. Griffin. (b) A kind of gallnut coming from Arabia. See Gallnut.  To grow like an apple; to bear apples. Holland."
    ],
    "matchedWord": "apple",
    "matchType": "exact",
    "baseForms": [],
    "partsOfSpeech": [
      "noun"
    ],
    "meanings": [
      {
        "partOfSpeech": "noun",
        "definition": "fruit with red or yellow or green skin and sweet to tart crisp whitish flesh",
        "examples": [],
        "synonyms": []
      },
      {
        "partOfSpeech": "noun",
        "definition": "native Eurasian tree widely cultivated in many varieties for its firm rounded edible fruits",
        "examples": [],
        "synonyms": [
          "orchard apple tree",
          "Malus pumila"
        ]
      }
    ],
    "pronunciation": "ˈæp.əl"
  }
}
```

## Use cases

- **In-App Reading Lookups** — When readers double-tap an unfamiliar word, e-book software fetches the matching definitions and displays the top meaning in a tooltip.
- **Vocabulary Flashcard Generators** — Study apps supply terms from study lists to pull all definitions and populate review cards for language students.
- **Writing Editor Clarifications** — Drafting tools inspect flagged complex words and present alternate meanings so authors can pick the exact definition they intended.
- **Word Game Verification** — To score puzzle submissions, crossword platforms query entered words and confirm they exist by checking if definition counts exceed zero.

## SDKs

- **npm** — `npm install @apiverve/dictionary` (https://www.npmjs.com/package/@apiverve/dictionary)
- **PyPI** — `pip install apiverve-dictionary` (https://pypi.org/project/apiverve-dictionary/)
- **NuGet** — `dotnet add package APIVerve.API.Dictionary` (https://www.nuget.org/packages/APIVerve.API.Dictionary)
- **Source** — https://github.com/apiverve/dictionary-api

## More

- Full reference: https://docs.apiverve.com/ref/dictionary
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
