Dictionary API logo
DataMAINTAINED2 tokens / call

Dictionary API

Definitions and examples for 155,000 English words, grouped by part of speech, from WordNet 3.1

English definitions with usage examples for about 155,000 words, grouped by part of speech and ordered by how common each sense is, from Princeton WordNet 3.1. One call per word, self-hosted, no third-party service.

Every call needs an X-Api-Key header. A free key includes 500 tokens a month, no card required. 2 tokens per call, so the free plan covers about 250 calls a month.

No credit card requiredAccess to 125+ APIsCancel anytime
response.json
{
  "word": "dog",
  "definition_count": 8,
  "parts_of_speech": [
    "noun",
    "verb"
  ],
  "definitions": {
    "noun": [
      {
        "sense": 1,
        "definition": "a member of the genus Canis (probably descended from the common wolf) that has been domesticated by man since prehistoric times; occurs in many breeds",
        "examples": [
          "the dog barked all night"
        ]
      }
    ]
  },
  "source": "Princeton WordNet 3.1"
}
Production Ready
Battle-tested infrastructure with a 99.9% uptime SLA. Rate limits are generous, responses are consistent.
Simple Integration
Standard REST + JSON. Works with any HTTP client. Copy-ready code snippets in 4 languages.
One Key, 125+ APIs
Your DataAndAPIs subscription unlocks every API on the platform β€” anime, finance, sports, and more.

Use cases for Dictionary API

  • Show a definition on tap or hover in a reading, learning or writing app.

  • Build vocabulary and word-of-the-day features from a licensed source.

  • Validate that a word exists and see its parts of speech in a word game.

  • Enrich glossaries and search results with the most common sense of a term.

Dictionary API endpoints

Every endpoint with its parameters and a real example response.

GETDefine Word

https://api-dictionary.dataandapis.com/v1/define/{word}

Path parameters

ParameterExample
worddogRequired

Query parameters

ParameterExample
posnounOptional

Example request

curl
curl "https://api-dictionary.dataandapis.com/v1/define/dog?pos=noun" \
  -H "X-Api-Key: YOUR_API_KEY"
JavaScript / TypeScript (dataandapis package)
// npm install dataandapis
import { DataAndApis } from "dataandapis";

const client = new DataAndApis(); // reads DATAANDAPIS_API_KEY

const data = await client.dictionary.defineWord({ word: "dog", pos: "noun" });
Example response
{
  "word": "dog",
  "definition_count": 8,
  "parts_of_speech": [
    "noun",
    "verb"
  ],
  "definitions": {
    "noun": [
      {
        "sense": 1,
        "definition": "a member of the genus Canis (probably descended from the common wolf) that has been domesticated by man since prehistoric times; occurs in many breeds",
        "examples": [
          "the dog barked all night"
        ]
      },
      {
        "sense": 3,
        "definition": "informal term for a man",
        "examples": [
          "you lucky dog"
        ]
      }
    ]
  },
  "source": "Princeton WordNet 3.1"
}

Where the data comes from

Source
Princeton WordNet 3.1, used under the WordNet licence.
Freshness
Static reference data.

One install. Every endpoint.

Install the dataandapis package from npm and call this API with typed methods, or use any HTTP client in the language you prefer.

4languages
1endpoints
RESTarchitecture
1key for all APIs
  • Typed parameters and responses, with auto-completion in your editor
  • Works with import and require on Node.js 18 or later, with no dependencies
  • One key works across 125+ APIs on the platform

Read the npm package guide β†’

// npm install dataandapis
import { DataAndApis } from "dataandapis";

const client = new DataAndApis(); // reads DATAANDAPIS_API_KEY

const data = await client.dictionary.defineWord({ word: "dog", pos: "noun" });

Dictionary API Β· X-Api-Key

Explore the endpoints

Browse request parameters and inspect live example responses.

Available Endpoints

Request Parameters

API URL

Headers

X-Api-Key

Query Parameters

pos(Optional)

Path Parameters

word
// npm install dataandapis
import { DataAndApis } from "dataandapis";

const client = new DataAndApis({ apiKey: "YOUR_API_KEY" });

const data = await client.dictionary.defineWord({ word: "dog", pos: "noun" });

One subscription. Every API.

Tokens unlock this API and 125+ others on DataAndAPIs. Switch APIs any time β€” we promote.

FREE

$0/mo

500 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Community support
Start free
Most Popular

STARTER

$6.99/mo

25,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Email support
Subscribe

PRO

$24.99/mo

100,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority email support
Subscribe

ULTRA

$99.99/mo

1,000,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority support
Subscribe

Need higher volume, dedicated infra, or a custom contract? Talk to sales β†’

Questions about Dictionary API

Ship Dictionary API this afternoon.

500 free tokens. No card. Plus 125+ other APIs on the same key.