# Merriam-Webster

> Look up word definitions, parts of speech, synonyms, and antonyms using Merriam-Webster's Dictionary and Thesaurus APIs.

App · Dictionaries & Language · 2 actions. Web page: https://docs.lodol.com/docs/integrations/merriam-webster

## Actions

### Get definition

Look up a word's part of speech and definitions.

**Inputs**

- Word (`word`, text, required): Word to look up.

**Outputs**

- `definitions` (list): Short definitions, in order
- `part_of_speech` (text): Part of speech, for example 'noun' or 'verb'
- `word` (text): The matched dictionary headword. Empty if not found.

**Example output**

```json
{
  "definitions": [
    "existing or being everywhere at the same time"
  ],
  "part_of_speech": "adjective",
  "word": "ubiquitous"
}
```

### Get synonyms

Look up synonyms and antonyms for a word.

**Inputs**

- Word (`word`, text, required): Word to look up.

**Outputs**

- `antonyms` (list): Antonyms for the word
- `synonyms` (list): Synonyms for the word
- `word` (text): The matched thesaurus headword. Empty if not found.

**Example output**

```json
{
  "antonyms": [
    "sad",
    "unhappy"
  ],
  "synonyms": [
    "glad",
    "joyful",
    "content"
  ],
  "word": "happy"
}
```
