API Reference/

Dictionary API

Dictionary API

A multilingual dictionary lookup and search service. Look up definitions, etymology, word forms, synonyms, antonyms, and more across 871 languages with over 10 million entries. Supports exact match and prefix search modes.

Base Path

$https://api.playanagrama.com/api/v1/dictionary

All Dictionary API endpoints require an ak_ API key as a Bearer token in the Authorization header. Responses are JSON. Dictionary endpoints share the same rate limits as the Word API — see rate limits for details.

Endpoints

MethodEndpointDescription
GET/v1/dictionary/:wordLook up or search for a word
GET/v1/dictionary/languagesList available dictionary languages
The Dictionary API is supported in all official SDKs. Use client.dictionary.lookup("word") and client.dictionary.languages() in TypeScript, Python, and Go.

Error Reference

All errors follow the standard Anagrama error format:

StatusCodeWhen
400INVALID_PARAMSInvalid query params (bad lang, limit, word too long, etc.)
401UNAUTHORIZEDMissing or invalid API key
404WORD_NOT_FOUNDNo dictionary entries for the given word in the specified language
404LANGUAGE_NOT_FOUNDNo dictionary collection for the requested language code
429RATE_LIMIT_EXCEEDEDBurst (per-minute) or rolling (24-hour) rate limit exceeded
500INTERNAL_ERRORUnexpected server error
503SERVICE_UNAVAILABLEDatabase or word pool not ready (try again shortly)

Language Coverage

The Dictionary API covers 871 languages with over 10 million entries total. Use GET /v1/dictionary/languages for the full list.

LanguageCodeEntries
Englishen1,440,974
Latinla878,330
Spanishes796,482
Italianit620,479
Russianru439,895
Portuguesept424,046
Frenchfr398,236
Germande362,384
Swedishsv307,556
Finnishfi263,658
Galiciangl204,064
Catalanca197,000
Chinesezh187,349
Polishpl185,337
Dutchnl142,101

Data Source

Dictionary data is sourced from Wiktionary via the Wiktextract project. Wiktextract processes Wiktionary dumps into structured JSON, which Anagrama indexes and serves through this API. The dataset covers 871 languages with over 10 million entries including definitions, etymology, word forms, synonyms, antonyms, and related terms.

Was this page helpful?
Anagrama API Docs | Developer Reference