# Word Opposites API

> Word Opposites looks up direct antonyms for any single input term. Pass an English word to receive an array of contrasting and opposing words.

**Endpoint:** `GET https://api.apiverve.com/v1/wordopposite`  
**Category:** Text Processing  
**Cost:** 20 credits per call  
**Canonical page:** https://apiverve.com/marketplace/wordopposite

## Overview

A word opposites API for finding antonyms programmatically. Submit a single word in the query string and get back a structured list of opposing words, so "hot" returns cold, cool, chilly, frozen and frigid. If a term has several valid antonyms, the response contains every one returned in a JSON array alongside the original query.

Writers and editors use it to vary their vocabulary, education apps use it for vocabulary drills and quiz generation, word-game builders use it for clues and matching rounds, and content tools use it to suggest contrasting terms. Because the result is a plain array, it slots straight into autocomplete menus, flash cards or prompt templates.

Opposites are generated by an AI language model that is instructed to return up to five real English words and to return an empty list rather than invent entries for a nonsense word or a word with no meaningful opposite. The full response is available on every plan, including the Free plan.

## 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/wordopposite?word=hot" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `word` | string | Yes | The word to get the opposites for |

## Response fields

- `word` — string · The input word analyzed for opposite words
- `opposites` — array · List of antonym words with similar opposite meaning

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "word": "hot",
    "opposites": [
      "cold",
      "cool",
      "chilly",
      "frozen",
      "frigid"
    ]
  }
}
```

## Use cases

- **Crossword Clue Generation** — Clue authors and puzzle builders retrieve contrasting terms to construct clever definitions and dual-word crossword grids automatically.
- **Creative Copy Inversion** — Generate punchy before-and-after advertising hooks by querying contrasting vocabulary for draft product headlines and promotional slogans.
- **Sentiment Polarity Testing** — To calibrate lexicon-based sentiment models, data teams test opposing word pairs against text classification pipelines.
- **Digital Workbook Drills** — When students complete a reading unit, education software pulls contrasting terms to build antonym matching drills and practice questions.

## SDKs

- **npm** — `npm install @apiverve/wordopposite` (https://www.npmjs.com/package/@apiverve/wordopposite)
- **NuGet** — `dotnet add package APIVerve.API.WordOpposites` (https://www.nuget.org/packages/APIVerve.API.WordOpposites)
- **Source** — https://github.com/apiverve/wordopposite-api

## More

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