Vocab Bloom Hub

Öffentliche API v1

Die Referenz der nur lesenden Wörterbuch-API, generiert aus dem OpenAPI-Dokument, das der Server veröffentlicht — derselbe Vertrag, aus dem die SDKs gebaut werden.

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.

Basis-URLhttps://<instance>/api/v1
Jede Instanz liefert die API unter ihrem eigenen Ursprung aus; die Beispiele unten verwenden einen Platzhalter.
Vertrag
OpenAPI-3-Dokument, von jeder Instanz ausgeliefert unter /api/v1/openapi.json; die eingecheckte Datei
Weiterlesen

Endpunkte

GET/api/v1/meta

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

Parameter

Keine Parameter.

Antworten

Beispiel

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

Im Playground ausprobieren

GET/api/v1/openapi.json

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

Parameter

Keine Parameter.

Antworten

  • 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

Beispiel

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.

Parameter

NameInTypErforderlichBeschreibung
searchquerystringjaThe term to search for
typequerystring
wordgrammar_patternphrase
neinRestrict the answer to one entry type
limitqueryintegernein
Standard: 10
pagequeryintegernein
Standard: 1
with_meaningsquerybooleanneinJoin the meanings (with translations, synonyms, antonyms) of every item
Standard: false
with_translationsquerybooleanneinJoin the short translations of every item
Standard: false
translation_languagesquerystring[]
ruesfrdeptzhar
neinKeep only these translation languages (a repeated key); omit the key for all of them

Antworten

Beispiel

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

Im Playground ausprobieren

GET/api/v1/words/{word}

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

Parameter

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

Antworten

Beispiel

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

Im Playground ausprobieren

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

The meanings of a headword across its entries

Parameter

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

Antworten

Beispiel

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

Im Playground ausprobieren

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

The short and per-meaning translations of a headword

Parameter

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

Antworten

Beispiel

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

Im Playground ausprobieren

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

The inflected forms of a headword across its entries

Parameter

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

Antworten

Beispiel

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

Im Playground ausprobieren

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`.

Parameter

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

Antworten

Beispiel

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

Im Playground ausprobieren

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`.

Parameter

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

Antworten

Beispiel

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

Im Playground ausprobieren

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

One dictionary entry by its numeric id

Parameter

NameInTypErforderlichBeschreibung
idpathnumberja

Antworten

Beispiel

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

Im Playground ausprobieren

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.

Parameter

NameInTypErforderlichBeschreibung
searchquerystringneinHeadword prefix, case-insensitive (`ru` lists run, rung, runner, …)
is_obsoletequerybooleanneintrue: obsolete entries only, false: current ones only
part_of_speechquerystring[]
nounverbmodal_verbadjectiveadverbpronounnumeralnumeral_fractionaldeterminerinterjectionarticleprepositionconjunctionletterphrasegrammar_pattern
nein
word_levelquerystring[]
A1A2B1B2C1C2
nein
language_registerquerystring[]
formalinformalslang
nein
categoryquerystring[]
scientifictechnicalmedicallegalbusinessITartpoliticalsportculinary
neinWords tagged with any of the categories
area_variantquerystring[]
commonbritishamericanaustralian
nein
form_of_wordquerystring[]
base_formplural_formpossessive_singular_formpossessive_plural_formpast_simplepast_participlepresent_participlethird_person_singularcomparative_formsuperlative_formobjectpossessive_adjectivepossessive_pronounreflexiveordinalmultiplicative
neinDefaults to base forms only
Standard: ["base_form"]
cursorquerystringneinThe `meta.next_cursor` of the previous page; omit for the first page
limitqueryintegernein
Standard: 20
with_meaningsquerybooleanneinJoin the meanings of every word
Standard: false
with_translationsquerybooleanneinJoin the short translations of every word
Standard: false

Antworten

  • 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

Beispiel

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

Im Playground ausprobieren

GET/api/v1/random

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

Parameter

NameInTypErforderlichBeschreibung
searchquerystringneinHeadword prefix, case-insensitive (`ru` lists run, rung, runner, …)
is_obsoletequerybooleanneintrue: obsolete entries only, false: current ones only
part_of_speechquerystring[]
nounverbmodal_verbadjectiveadverbpronounnumeralnumeral_fractionaldeterminerinterjectionarticleprepositionconjunctionletterphrasegrammar_pattern
nein
word_levelquerystring[]
A1A2B1B2C1C2
nein
language_registerquerystring[]
formalinformalslang
nein
categoryquerystring[]
scientifictechnicalmedicallegalbusinessITartpoliticalsportculinary
neinWords tagged with any of the categories
area_variantquerystring[]
commonbritishamericanaustralian
nein
form_of_wordquerystring[]
base_formplural_formpossessive_singular_formpossessive_plural_formpast_simplepast_participlepresent_participlethird_person_singularcomparative_formsuperlative_formobjectpossessive_adjectivepossessive_pronounreflexiveordinalmultiplicative
neinDefaults to base forms only
Standard: ["base_form"]

Antworten

Beispiel

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

Im Playground ausprobieren

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.

Anfragetext · WordsBatchV1ReqDTO

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

Antworten

Beispiel

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

Im Playground ausprobieren

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.

Anfragetext · CreateSuggestionV1ReqDTO

NameTypErforderlichBeschreibung
headwordstringjaThe headword the report is about; must exist in the dictionary
word_idobjectneinId of the entry (part of speech) the report points at, from the word answers
kindstring
reportedit
nein
Standard: "report"
messageobjectneinWhat is wrong and, ideally, what would be right. Required for a report; an optional comment on an edit
editsSuggestionEditV1DTO[]neinEdit flow: every touched target of the word form with its proposed values

Antworten

Beispiel

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

Im Playground ausprobieren

Schemas

SuggestionEditV1DTO

NameTypErforderlichBeschreibung
target_typestring
wordmeaningmeaning_translationshort_translation
ja
target_idnumberjaId of the targeted row, from the word answers
changesobjectjaThe 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

NameTypErforderlichBeschreibung
headwordstringjaThe headword the report is about; must exist in the dictionary
word_idobjectneinId of the entry (part of speech) the report points at, from the word answers
kindstring
reportedit
nein
Standard: "report"
messageobjectneinWhat is wrong and, ideally, what would be right. Required for a report; an optional comment on an edit
editsSuggestionEditV1DTO[]neinEdit flow: every touched target of the word form with its proposed values

WordsBatchV1ReqDTO

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

PublicSearchV1MetaT

NameTypErforderlichBeschreibung
countintegerja
fuzzybooleanja
short_termbooleanja

PublicSearchV1ResT

NameTypErforderlichBeschreibung
dataPublicSearchWordV1T[]ja
metaPublicSearchV1MetaTja

PublicSearchWordV1T

NameTypErforderlichBeschreibung
idintegerja
wordstringja
part_of_speechEnPartOfSpeechEja
form_of_wordEnWordFormsEja
is_obsoletebooleanja
is_abbreviationbooleanja
word_levelWordLevelE | nullja
area_variantEnAreaVariantsE | nullja
categoriesCategoryE[]ja
language_registerLanguageRegisterE | nullja
descriptionstring | nullja
transcriptionstring | nullja
patternstring[] | nullja
noun___irregular_pluralboolean | nullja
noun___uncountableboolean | nullja
noun___is_properboolean | nullja
noun___always_pluralboolean | nullja
verb___is_irregularboolean | nullja
verb___transitivityEnVerbTransitivityE | nullja
verb___is_phrasalboolean | nullja
verb___phrasal_object_patternEnPhrasalObjectPatternE | nullja
base_phrasalstring | nullja
formsPublicWordV1FormT[]ja
similaritynumbernein

EnPartOfSpeechE

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

EnWordFormsE

Eines von: 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

Eines von: A1, A2, B1, B2, C1, C2

EnAreaVariantsE

Eines von: common, british, american, australian

CategoryE

Eines von: scientific, technical, medical, legal, business, IT, art, political, sport, culinary

LanguageRegisterE

Eines von: formal, informal, slang

EnVerbTransitivityE

Eines von: transitive, intransitive, both

EnPhrasalObjectPatternE

Eines von: no_object, inseparable, separable, separable_pronoun_only

PublicWordV1FormT

NameTypErforderlichBeschreibung
idintegerja
wordstringja
form_of_wordEnWordFormsEja
area_variantEnAreaVariantsEja
transcriptionstring | nullja

PublicSearchDetailedV1MetaT

NameTypErforderlichBeschreibung
pageintegerja
limitintegerja
has_morebooleanja
fuzzybooleanja
short_termbooleanja

PublicSearchDetailedV1ResT

NameTypErforderlichBeschreibung
dataPublicWordV1T[]ja
metaPublicSearchDetailedV1MetaTja

PublicWordV1T

NameTypErforderlichBeschreibung
meaningsPublicWordV1MeaningT[]ja
short_translationsPublicWordV1ShortTranslationT[]ja
phrasal_variantsstring[]nein
idintegerja
wordstringja
part_of_speechEnPartOfSpeechEja
form_of_wordEnWordFormsEja
is_obsoletebooleanja
is_abbreviationbooleanja
word_levelWordLevelE | nullja
area_variantEnAreaVariantsE | nullja
categoriesCategoryE[]ja
language_registerLanguageRegisterE | nullja
descriptionstring | nullja
transcriptionstring | nullja
patternstring[] | nullja
noun___irregular_pluralboolean | nullja
noun___uncountableboolean | nullja
noun___is_properboolean | nullja
noun___always_pluralboolean | nullja
verb___is_irregularboolean | nullja
verb___transitivityEnVerbTransitivityE | nullja
verb___is_phrasalboolean | nullja
verb___phrasal_object_patternEnPhrasalObjectPatternE | nullja
base_phrasalstring | nullja
formsPublicWordV1FormT[]ja
similaritynumbernein

PublicWordV1MeaningT

NameTypErforderlichBeschreibung
idintegerja
sort_orderintegerja
titlestringja
definitionstringja
is_obsoletebooleanja
examplesstring[]ja
categoriesCategoryE[]ja
meaning_levelWordLevelE | nullja
area_variantEnAreaVariantsEja
language_registerLanguageRegisterE | nullja
translationsPublicWordV1MeaningTranslationT[]ja
synonymsstring[]ja
antonymsstring[]ja

PublicWordV1MeaningTranslationT

NameTypErforderlichBeschreibung
idintegerja
languageAvailableTranslationLanguagesEja
titlestringja
definitionstringja
variants_of_wordsstring[]ja

AvailableTranslationLanguagesE

Eines von: ru, es, fr, de, pt, zh, ar

PublicWordV1ShortTranslationT

NameTypErforderlichBeschreibung
idintegerja
languageAvailableTranslationLanguagesEja
descriptionstringja
variants_of_wordsstring[]ja

PublicWordV1ResT

NameTypErforderlichBeschreibung
dataPublicWordV1Tja

PublicHeadwordV1MetaT

NameTypErforderlichBeschreibung
wordstringja
countintegerja

PublicHeadwordV1ResT

NameTypErforderlichBeschreibung
dataPublicWordV1T[]ja
metaPublicHeadwordV1MetaTja

PublicMeaningV1T

NameTypErforderlichBeschreibung
word_idintegerja
part_of_speechEnPartOfSpeechEja
idintegerja
sort_orderintegerja
titlestringja
definitionstringja
is_obsoletebooleanja
examplesstring[]ja
categoriesCategoryE[]ja
meaning_levelWordLevelE | nullja
area_variantEnAreaVariantsEja
language_registerLanguageRegisterE | nullja
translationsPublicWordV1MeaningTranslationT[]ja
synonymsstring[]ja
antonymsstring[]ja

PublicHeadwordMeaningsV1ResT

NameTypErforderlichBeschreibung
dataPublicMeaningV1T[]ja
metaPublicHeadwordV1MetaTja

PublicWordFormV1T

NameTypErforderlichBeschreibung
word_idintegerja
part_of_speechEnPartOfSpeechEja
idintegerja
wordstringja
form_of_wordEnWordFormsEja
area_variantEnAreaVariantsEja
transcriptionstring | nullja

PublicHeadwordFormsV1ResT

NameTypErforderlichBeschreibung
dataPublicWordFormV1T[]ja
metaPublicHeadwordV1MetaTja

PublicShortTranslationV1T

NameTypErforderlichBeschreibung
word_idintegerja
part_of_speechEnPartOfSpeechEja
idintegerja
languageAvailableTranslationLanguagesEja
descriptionstringja
variants_of_wordsstring[]ja

PublicMeaningTranslationV1T

NameTypErforderlichBeschreibung
meaning_idintegerja
word_idintegerja
part_of_speechEnPartOfSpeechEja
idintegerja
languageAvailableTranslationLanguagesEja
titlestringja
definitionstringja
variants_of_wordsstring[]ja

PublicWordLinkV1T

NameTypErforderlichBeschreibung
meaning_idintegerja
wordstringja
word_idintegerja
part_of_speechEnPartOfSpeechEja

PublicHeadwordLinksV1ResT

NameTypErforderlichBeschreibung
dataPublicWordLinkV1T[]ja
metaPublicHeadwordV1MetaTja

PublicHeadwordTranslationsV1T

NameTypErforderlichBeschreibung
short_translationsPublicShortTranslationV1T[]ja
meaning_translationsPublicMeaningTranslationV1T[]ja

PublicHeadwordTranslationsV1ResT

NameTypErforderlichBeschreibung
metaPublicHeadwordV1MetaTja
dataPublicHeadwordTranslationsV1Tja

PublicWordsBatchItemV1T

NameTypErforderlichBeschreibung
wordstringja
countintegerja
entriesPublicWordV1T[]ja

PublicWordsBatchV1MetaT

NameTypErforderlichBeschreibung
countintegerja
not_foundstring[]ja

PublicWordsBatchV1ResT

NameTypErforderlichBeschreibung
dataPublicWordsBatchItemV1T[]ja
metaPublicWordsBatchV1MetaTja

PublicWordsV1MetaT

NameTypErforderlichBeschreibung
limitintegerja
has_morebooleanja
next_cursorstring | nullja

PublicWordsV1ResT

NameTypErforderlichBeschreibung
dataPublicWordV1T[]ja
metaPublicWordsV1MetaTja

PublicDatasetCountsV1T

NameTypErforderlichBeschreibung
entriesintegerja
wordsintegerja
phrasesintegerja
grammar_patternsintegerja
word_formsintegerja
meaningsintegerja
meaning_translationsintegerja
short_translationsintegerja

PublicMetaV1T

NameTypErforderlichBeschreibung
api_versionstringja
app_versionstringja
dataset_versionstring | nullja
licensestringja
license_urlstringja
attributionstringja
noticestringja
countsPublicDatasetCountsV1Tja
available_languagesPublicAvailableLanguagesV1Tja

PublicAvailableLanguagesV1T

NameTypErforderlichBeschreibung
sourcestring[]ja
translationsAvailableTranslationLanguagesE[]ja

PublicMetaV1ResT

NameTypErforderlichBeschreibung
dataPublicMetaV1Tja

PublicSuggestionCreatedV1T

NameTypErforderlichBeschreibung
idintegerja
statusstringja

PublicSuggestionCreatedV1ResT

NameTypErforderlichBeschreibung
dataPublicSuggestionCreatedV1Tja

PublicApiErrorT

NameTypErforderlichBeschreibung
statusCodenumberja
messagestringja
errorbooleanja