Vocab Bloom Hub

Public API v1

The reference of the read-only dictionary API, generated from the OpenAPI document the server publishes — the same contract the SDKs are built from.

Read-only dictionary API under /api/v1 (contract version 1): no authentication, every answer in a { data, meta } envelope, errors as { statusCode, message, error: true }, X-API-Version on every response. Successful GET answers carry ETag, Last-Modified and Cache-Control. Documentation: https://vocab-bloom-hub.com/en/docs/api.

Base URLhttps://<instance>/api/v1
Every instance serves the API under its own origin; the examples below use a placeholder.
Contract
OpenAPI 3 document, served by every instance at /api/v1/openapi.json; the committed file
Read on

Endpoints

GET/api/v1/meta

API and dataset versions, data license and counts of the served dictionary

Parameters

No parameters.

Responses

Example

curl 'https://your-instance.example/api/v1/meta'

Try it in the playground

GET/api/v1/openapi.json

The OpenAPI 3 document of the public API (this contract)

Parameters

No parameters.

Responses

  • 200OKobject
  • 429Rate limit of the public prefix exceeded (PUBLIC_API_RATE_LIMIT); retry after the windowPublicApiErrorT
  • 503Not available: the OpenAPI document is not ready, or the suggestion queue is fullPublicApiErrorT

Example

curl 'https://your-instance.example/api/v1/openapi.json'

GET/api/v1/search/detailed

Search dictionary entries with pagination, meanings and translations

The detailed search: the same term and tiers, paged, with meanings and translations joined on request; the fields travel in the query string (`translation_languages` as a repeated key). Cacheable like every public GET.

Parameters

NameInTypeRequiredDescription
searchquerystringyesThe term to search for
typequerystring
wordgrammar_patternphrase
noRestrict the answer to one entry type
limitqueryintegerno
default: 10
pagequeryintegerno
default: 1
with_meaningsquerybooleannoJoin the meanings (with translations, synonyms, antonyms) of every item
default: false
with_translationsquerybooleannoJoin the short translations of every item
default: false
translation_languagesquerystring[]
ruesfrdeptzhar
noKeep only these translation languages (a repeated key); omit the key for all of them

Responses

Example

curl 'https://your-instance.example/api/v1/search/detailed'

Try it in the playground

GET/api/v1/words/{word}

All entries of a headword: parts of speech, forms, meanings, translations, links

Parameters

NameInTypeRequiredDescription
wordpathstringyesHeadword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry

Responses

Example

curl 'https://your-instance.example/api/v1/words/run'

Try it in the playground

GET/api/v1/words/{word}/meanings

The meanings of a headword across its entries

Parameters

NameInTypeRequiredDescription
wordpathstringyesHeadword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry

Responses

Example

curl 'https://your-instance.example/api/v1/words/run/meanings'

Try it in the playground

GET/api/v1/words/{word}/translations

The short and per-meaning translations of a headword

Parameters

NameInTypeRequiredDescription
wordpathstringyesHeadword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry
languagequerystring[]
ruesfrdeptzhar
noTranslation languages; no value means all of them

Responses

Example

curl 'https://your-instance.example/api/v1/words/run/translations'

Try it in the playground

GET/api/v1/words/{word}/forms

The inflected forms of a headword across its entries

Parameters

NameInTypeRequiredDescription
wordpathstringyesHeadword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry

Responses

Example

curl 'https://your-instance.example/api/v1/words/run/forms'

Try it in the playground

GET/api/v1/words/{word}/synonyms

The synonyms of a headword, per meaning

One item per linked headword and meaning; each names its `meaning_id`, `word_id` and `part_of_speech`.

Parameters

NameInTypeRequiredDescription
wordpathstringyesHeadword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry

Responses

Example

curl 'https://your-instance.example/api/v1/words/run/synonyms'

Try it in the playground

GET/api/v1/words/{word}/antonyms

The antonyms of a headword, per meaning

One item per linked headword and meaning; each names its `meaning_id`, `word_id` and `part_of_speech`.

Parameters

NameInTypeRequiredDescription
wordpathstringyesHeadword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry

Responses

Example

curl 'https://your-instance.example/api/v1/words/run/antonyms'

Try it in the playground

GET/api/v1/words/id/{id}

One dictionary entry by its numeric id

Parameters

NameInTypeRequiredDescription
idpathnumberyes

Responses

Example

curl 'https://your-instance.example/api/v1/words/id/1'

Try it in the playground

GET/api/v1/words

List dictionary entries by filters, cursor-paged and ordered by (word, id)

Every enum filter accepts a repeated key; values of one filter are OR-ed, filters are AND-ed. `search` keeps the headwords starting with the prefix (an autocomplete or an A–Z browser: cacheable, unlike the search). Pass `meta.next_cursor` back as `cursor` to read the next page.

Parameters

NameInTypeRequiredDescription
searchquerystringnoHeadword prefix, case-insensitive (`ru` lists run, rung, runner, …)
is_obsoletequerybooleannotrue: obsolete entries only, false: current ones only
part_of_speechquerystring[]
nounverbmodal_verbadjectiveadverbpronounnumeralnumeral_fractionaldeterminerinterjectionarticleprepositionconjunctionletterphrasegrammar_pattern
no
word_levelquerystring[]
A1A2B1B2C1C2
no
language_registerquerystring[]
formalinformalslang
no
categoryquerystring[]
scientifictechnicalmedicallegalbusinessITartpoliticalsportculinary
noWords tagged with any of the categories
area_variantquerystring[]
commonbritishamericanaustralian
no
form_of_wordquerystring[]
base_formplural_formpossessive_singular_formpossessive_plural_formpast_simplepast_participlepresent_participlethird_person_singularcomparative_formsuperlative_formobjectpossessive_adjectivepossessive_pronounreflexiveordinalmultiplicative
noDefaults to base forms only
default: ["base_form"]
cursorquerystringnoThe `meta.next_cursor` of the previous page; omit for the first page
limitqueryintegerno
default: 20
with_meaningsquerybooleannoJoin the meanings of every word
default: false
with_translationsquerybooleannoJoin the short translations of every word
default: false

Responses

  • 200OKPublicWordsV1ResT
  • 400Invalid input: an unknown field, a value outside the allowed set, or a foreign cursorPublicApiErrorT
  • 429Rate limit of the public prefix exceeded (PUBLIC_API_RATE_LIMIT); retry after the windowPublicApiErrorT

Example

curl 'https://your-instance.example/api/v1/words'

Try it in the playground

GET/api/v1/random

A random dictionary entry matching the filters (base forms unless form_of_word is given)

Parameters

NameInTypeRequiredDescription
searchquerystringnoHeadword prefix, case-insensitive (`ru` lists run, rung, runner, …)
is_obsoletequerybooleannotrue: obsolete entries only, false: current ones only
part_of_speechquerystring[]
nounverbmodal_verbadjectiveadverbpronounnumeralnumeral_fractionaldeterminerinterjectionarticleprepositionconjunctionletterphrasegrammar_pattern
no
word_levelquerystring[]
A1A2B1B2C1C2
no
language_registerquerystring[]
formalinformalslang
no
categoryquerystring[]
scientifictechnicalmedicallegalbusinessITartpoliticalsportculinary
noWords tagged with any of the categories
area_variantquerystring[]
commonbritishamericanaustralian
no
form_of_wordquerystring[]
base_formplural_formpossessive_singular_formpossessive_plural_formpast_simplepast_participlepresent_participlethird_person_singularcomparative_formsuperlative_formobjectpossessive_adjectivepossessive_pronounreflexiveordinalmultiplicative
noDefaults to base forms only
default: ["base_form"]

Responses

Example

curl 'https://your-instance.example/api/v1/random'

Try it in the playground

POST/api/v1/words/batch

Up to 50 headwords in one request

Every spelling is matched like `GET /words/{word}`; the answer keeps the request order, collapses duplicates, and lists the spellings without an entry under `meta.not_found` instead of failing. One request against the rate limit, whatever the size of the batch.

Request body · WordsBatchV1ReqDTO

NameTypeRequiredDescription
wordsstring[]yesHeadword spellings, 50 at most, each matched like GET /words/{word} (case-insensitively; an inflected form resolves to its base entry)

Responses

Example

curl -X POST 'https://your-instance.example/api/v1/words/batch' \
  -H 'Content-Type: application/json' \
  -d '{"words":["example"]}'

Try it in the playground

POST/api/v1/suggestions

Report a mistake in the dictionary data

Files a report for the instance admin to review: what is wrong with a headword (optionally one specific entry of it) and, ideally, what would be right. The headword must exist in the dictionary. Strictly rate-limited; once too many reports are waiting for the admin the endpoint answers 503 until the queue is worked down.

Request body · CreateSuggestionV1ReqDTO

NameTypeRequiredDescription
headwordstringyesThe headword the report is about; must exist in the dictionary
word_idobjectnoId of the entry (part of speech) the report points at, from the word answers
kindstring
reportedit
no
default: "report"
messageobjectnoWhat is wrong and, ideally, what would be right. Required for a report; an optional comment on an edit
editsSuggestionEditV1DTO[]noEdit flow: every touched target of the word form with its proposed values

Responses

Example

curl -X POST 'https://your-instance.example/api/v1/suggestions' \
  -H 'Content-Type: application/json' \
  -d '{"headword":"example"}'

Try it in the playground

Schemas

SuggestionEditV1DTO

NameTypeRequiredDescription
target_typestring
wordmeaningmeaning_translationshort_translation
yes
target_idnumberyesId of the targeted row, from the word answers
changesobjectyesThe proposed field values, e.g. { "definition": "…" }. The accepted fields depend on target_type; unknown fields, empty values and values equal to the current ones are rejected

CreateSuggestionV1ReqDTO

NameTypeRequiredDescription
headwordstringyesThe headword the report is about; must exist in the dictionary
word_idobjectnoId of the entry (part of speech) the report points at, from the word answers
kindstring
reportedit
no
default: "report"
messageobjectnoWhat is wrong and, ideally, what would be right. Required for a report; an optional comment on an edit
editsSuggestionEditV1DTO[]noEdit flow: every touched target of the word form with its proposed values

WordsBatchV1ReqDTO

NameTypeRequiredDescription
wordsstring[]yesHeadword spellings, 50 at most, each matched like GET /words/{word} (case-insensitively; an inflected form resolves to its base entry)

PublicSearchV1MetaT

NameTypeRequiredDescription
countintegeryes
fuzzybooleanyes
short_termbooleanyes

PublicSearchV1ResT

NameTypeRequiredDescription
dataPublicSearchWordV1T[]yes
metaPublicSearchV1MetaTyes

PublicSearchWordV1T

NameTypeRequiredDescription
idintegeryes
wordstringyes
part_of_speechEnPartOfSpeechEyes
form_of_wordEnWordFormsEyes
is_obsoletebooleanyes
is_abbreviationbooleanyes
word_levelWordLevelE | nullyes
area_variantEnAreaVariantsE | nullyes
categoriesCategoryE[]yes
language_registerLanguageRegisterE | nullyes
descriptionstring | nullyes
transcriptionstring | nullyes
patternstring[] | nullyes
noun___irregular_pluralboolean | nullyes
noun___uncountableboolean | nullyes
noun___is_properboolean | nullyes
noun___always_pluralboolean | nullyes
verb___is_irregularboolean | nullyes
verb___transitivityEnVerbTransitivityE | nullyes
verb___is_phrasalboolean | nullyes
verb___phrasal_object_patternEnPhrasalObjectPatternE | nullyes
base_phrasalstring | nullyes
formsPublicWordV1FormT[]yes
similaritynumberno

EnPartOfSpeechE

One of: noun, verb, modal_verb, adjective, adverb, pronoun, numeral, numeral_fractional, determiner, interjection, article, preposition, conjunction, letter, phrase, grammar_pattern

EnWordFormsE

One of: base_form, plural_form, possessive_singular_form, possessive_plural_form, past_simple, past_participle, present_participle, third_person_singular, comparative_form, superlative_form, object, possessive_adjective, possessive_pronoun, reflexive, ordinal, multiplicative

WordLevelE

One of: A1, A2, B1, B2, C1, C2

EnAreaVariantsE

One of: common, british, american, australian

CategoryE

One of: scientific, technical, medical, legal, business, IT, art, political, sport, culinary

LanguageRegisterE

One of: formal, informal, slang

EnVerbTransitivityE

One of: transitive, intransitive, both

EnPhrasalObjectPatternE

One of: no_object, inseparable, separable, separable_pronoun_only

PublicWordV1FormT

NameTypeRequiredDescription
idintegeryes
wordstringyes
form_of_wordEnWordFormsEyes
area_variantEnAreaVariantsEyes
transcriptionstring | nullyes

PublicSearchDetailedV1MetaT

NameTypeRequiredDescription
pageintegeryes
limitintegeryes
has_morebooleanyes
fuzzybooleanyes
short_termbooleanyes

PublicSearchDetailedV1ResT

NameTypeRequiredDescription
dataPublicWordV1T[]yes
metaPublicSearchDetailedV1MetaTyes

PublicWordV1T

NameTypeRequiredDescription
meaningsPublicWordV1MeaningT[]yes
short_translationsPublicWordV1ShortTranslationT[]yes
phrasal_variantsstring[]no
idintegeryes
wordstringyes
part_of_speechEnPartOfSpeechEyes
form_of_wordEnWordFormsEyes
is_obsoletebooleanyes
is_abbreviationbooleanyes
word_levelWordLevelE | nullyes
area_variantEnAreaVariantsE | nullyes
categoriesCategoryE[]yes
language_registerLanguageRegisterE | nullyes
descriptionstring | nullyes
transcriptionstring | nullyes
patternstring[] | nullyes
noun___irregular_pluralboolean | nullyes
noun___uncountableboolean | nullyes
noun___is_properboolean | nullyes
noun___always_pluralboolean | nullyes
verb___is_irregularboolean | nullyes
verb___transitivityEnVerbTransitivityE | nullyes
verb___is_phrasalboolean | nullyes
verb___phrasal_object_patternEnPhrasalObjectPatternE | nullyes
base_phrasalstring | nullyes
formsPublicWordV1FormT[]yes
similaritynumberno

PublicWordV1MeaningT

NameTypeRequiredDescription
idintegeryes
sort_orderintegeryes
titlestringyes
definitionstringyes
is_obsoletebooleanyes
examplesstring[]yes
categoriesCategoryE[]yes
meaning_levelWordLevelE | nullyes
area_variantEnAreaVariantsEyes
language_registerLanguageRegisterE | nullyes
translationsPublicWordV1MeaningTranslationT[]yes
synonymsstring[]yes
antonymsstring[]yes

PublicWordV1MeaningTranslationT

NameTypeRequiredDescription
idintegeryes
languageAvailableTranslationLanguagesEyes
titlestringyes
definitionstringyes
variants_of_wordsstring[]yes

AvailableTranslationLanguagesE

One of: ru, es, fr, de, pt, zh, ar

PublicWordV1ShortTranslationT

NameTypeRequiredDescription
idintegeryes
languageAvailableTranslationLanguagesEyes
descriptionstringyes
variants_of_wordsstring[]yes

PublicWordV1ResT

NameTypeRequiredDescription
dataPublicWordV1Tyes

PublicHeadwordV1MetaT

NameTypeRequiredDescription
wordstringyes
countintegeryes

PublicHeadwordV1ResT

NameTypeRequiredDescription
dataPublicWordV1T[]yes
metaPublicHeadwordV1MetaTyes

PublicMeaningV1T

NameTypeRequiredDescription
word_idintegeryes
part_of_speechEnPartOfSpeechEyes
idintegeryes
sort_orderintegeryes
titlestringyes
definitionstringyes
is_obsoletebooleanyes
examplesstring[]yes
categoriesCategoryE[]yes
meaning_levelWordLevelE | nullyes
area_variantEnAreaVariantsEyes
language_registerLanguageRegisterE | nullyes
translationsPublicWordV1MeaningTranslationT[]yes
synonymsstring[]yes
antonymsstring[]yes

PublicHeadwordMeaningsV1ResT

NameTypeRequiredDescription
dataPublicMeaningV1T[]yes
metaPublicHeadwordV1MetaTyes

PublicWordFormV1T

NameTypeRequiredDescription
word_idintegeryes
part_of_speechEnPartOfSpeechEyes
idintegeryes
wordstringyes
form_of_wordEnWordFormsEyes
area_variantEnAreaVariantsEyes
transcriptionstring | nullyes

PublicHeadwordFormsV1ResT

NameTypeRequiredDescription
dataPublicWordFormV1T[]yes
metaPublicHeadwordV1MetaTyes

PublicShortTranslationV1T

NameTypeRequiredDescription
word_idintegeryes
part_of_speechEnPartOfSpeechEyes
idintegeryes
languageAvailableTranslationLanguagesEyes
descriptionstringyes
variants_of_wordsstring[]yes

PublicMeaningTranslationV1T

NameTypeRequiredDescription
meaning_idintegeryes
word_idintegeryes
part_of_speechEnPartOfSpeechEyes
idintegeryes
languageAvailableTranslationLanguagesEyes
titlestringyes
definitionstringyes
variants_of_wordsstring[]yes

PublicWordLinkV1T

NameTypeRequiredDescription
meaning_idintegeryes
wordstringyes
word_idintegeryes
part_of_speechEnPartOfSpeechEyes

PublicHeadwordLinksV1ResT

NameTypeRequiredDescription
dataPublicWordLinkV1T[]yes
metaPublicHeadwordV1MetaTyes

PublicHeadwordTranslationsV1T

NameTypeRequiredDescription
short_translationsPublicShortTranslationV1T[]yes
meaning_translationsPublicMeaningTranslationV1T[]yes

PublicHeadwordTranslationsV1ResT

NameTypeRequiredDescription
metaPublicHeadwordV1MetaTyes
dataPublicHeadwordTranslationsV1Tyes

PublicWordsBatchItemV1T

NameTypeRequiredDescription
wordstringyes
countintegeryes
entriesPublicWordV1T[]yes

PublicWordsBatchV1MetaT

NameTypeRequiredDescription
countintegeryes
not_foundstring[]yes

PublicWordsBatchV1ResT

NameTypeRequiredDescription
dataPublicWordsBatchItemV1T[]yes
metaPublicWordsBatchV1MetaTyes

PublicWordsV1MetaT

NameTypeRequiredDescription
limitintegeryes
has_morebooleanyes
next_cursorstring | nullyes

PublicWordsV1ResT

NameTypeRequiredDescription
dataPublicWordV1T[]yes
metaPublicWordsV1MetaTyes

PublicDatasetCountsV1T

NameTypeRequiredDescription
entriesintegeryes
wordsintegeryes
phrasesintegeryes
grammar_patternsintegeryes
word_formsintegeryes
meaningsintegeryes
meaning_translationsintegeryes
short_translationsintegeryes

PublicMetaV1T

NameTypeRequiredDescription
api_versionstringyes
app_versionstringyes
dataset_versionstring | nullyes
licensestringyes
license_urlstringyes
attributionstringyes
noticestringyes
countsPublicDatasetCountsV1Tyes
available_languagesPublicAvailableLanguagesV1Tyes

PublicAvailableLanguagesV1T

NameTypeRequiredDescription
sourcestring[]yes
translationsAvailableTranslationLanguagesE[]yes

PublicMetaV1ResT

NameTypeRequiredDescription
dataPublicMetaV1Tyes

PublicSuggestionCreatedV1T

NameTypeRequiredDescription
idintegeryes
statusstringyes

PublicSuggestionCreatedV1ResT

NameTypeRequiredDescription
dataPublicSuggestionCreatedV1Tyes

PublicApiErrorT

NameTypeRequiredDescription
statusCodenumberyes
messagestringyes
errorbooleanyes