NewAPIVerve Academy: free courses and certifications anyone can verify.Explore the Academy →

Word Opposites API

GET

Find antonyms and opposing words for any term.

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

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/wordopposite?word=hot
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

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

About the Word Opposites API

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.

How it works

Word Opposites sends your word to a Gemini language model with an instruction to act as a JSON API that returns up to five opposites. The model output is constrained to a schema holding a single array of strings, which becomes opposites. word echoes your input exactly as sent, without trimming or case changes.

The instruction also tells the model to answer in English regardless of the input language, never to return a string that is not a real English word, and to return an empty array when the input is not a real word or has no meaningful opposite. In practice that means a typo or a term like "table" can legitimately come back with opposites: [], which you should treat as "no antonym available" rather than as an error. If the model omits the array, the API still returns opposites as an empty array.

The model runs at a low sampling temperature of 0.3, so results for common words are fairly stable, but the list is not drawn from a fixed thesaurus and order or wording can vary between calls. Entries are not deduplicated or ranked by the API. Answers can include both strict antonyms and looser contrasting words, as with "cool" for "hot". Multi-word phrases are accepted as input, but answers are most reliable for single common words.

If the model's safety filter blocks the input, the request fails with a 400 error that carries the block reason. There are no plan-dependent fields.

What people use it for

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.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Word Opposites

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Word Opposites API.

Read the docs →
Is it cheap enough to look up opposites for every search query in my app?
Yes. Each lookup costs 20 credits, which works out to about $0.003 per call on the Starter plan, or $3.00 for every 1,000 lookups. That plan covers 10,000 lookups each month. You can also test with 10 free lookups every month before upgrading.
Does it return multiple opposites or just a single match?
It returns a list of opposites whenever multiple words share contrasting meanings with your input. You get the full array of antonyms rather than just one suggestion.
Can I look up full phrases or multi-word expressions?
No. The lookup expects an individual word. To evaluate longer phrases or sentences, your code will need to tokenize the text and submit each term individually.
Does Word Opposites support different parts of speech?
Yes. Word Opposites handles standard words across parts of speech that have defined opposites, such as adjectives, verbs, and adverbs.
What is returned if a word has no known antonyms?
When you submit a word that lacks recognized opposites, the opposites field returns an empty list alongside your original input word.

Ready to build with Word Opposites? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs