Vocab Bloom Hub

API publique v1

La référence de l'API du dictionnaire en lecture seule, générée à partir du document OpenAPI publié par le serveur — le même contrat dont sont construits les SDK.

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.

URL de basehttps://<instance>/api/v1
Chaque instance sert l'API sous sa propre origine ; les exemples ci-dessous utilisent un espace réservé.
Contrat
Document OpenAPI 3, servi par chaque instance à /api/v1/openapi.json; le fichier versionné
Pour aller plus loin

Points de terminaison

GET/api/v1/meta

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

Paramètres

Aucun paramètre.

Réponses

Exemple

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

Essayer dans le playground

GET/api/v1/openapi.json

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

Paramètres

Aucun paramètre.

Réponses

  • 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

Exemple

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.

Paramètres

NomDansTypeObligatoireDescription
searchquerystringouiThe term to search for
typequerystring
wordgrammar_patternphrase
nonRestrict the answer to one entry type
limitqueryintegernon
par défaut: 10
pagequeryintegernon
par défaut: 1
with_meaningsquerybooleannonJoin the meanings (with translations, synonyms, antonyms) of every item
par défaut: false
with_translationsquerybooleannonJoin the short translations of every item
par défaut: false
translation_languagesquerystring[]
ruesfrdeptzhar
nonKeep only these translation languages (a repeated key); omit the key for all of them

Réponses

Exemple

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

Essayer dans le playground

GET/api/v1/words/{word}

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

Paramètres

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

Réponses

Exemple

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

Essayer dans le playground

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

The meanings of a headword across its entries

Paramètres

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

Réponses

Exemple

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

Essayer dans le playground

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

The short and per-meaning translations of a headword

Paramètres

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

Réponses

Exemple

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

Essayer dans le playground

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

The inflected forms of a headword across its entries

Paramètres

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

Réponses

Exemple

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

Essayer dans le 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`.

Paramètres

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

Réponses

Exemple

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

Essayer dans le 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`.

Paramètres

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

Réponses

Exemple

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

Essayer dans le playground

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

One dictionary entry by its numeric id

Paramètres

NomDansTypeObligatoireDescription
idpathnumberoui

Réponses

Exemple

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

Essayer dans le 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.

Paramètres

NomDansTypeObligatoireDescription
searchquerystringnonHeadword prefix, case-insensitive (`ru` lists run, rung, runner, …)
is_obsoletequerybooleannontrue: obsolete entries only, false: current ones only
part_of_speechquerystring[]
nounverbmodal_verbadjectiveadverbpronounnumeralnumeral_fractionaldeterminerinterjectionarticleprepositionconjunctionletterphrasegrammar_pattern
non
word_levelquerystring[]
A1A2B1B2C1C2
non
language_registerquerystring[]
formalinformalslang
non
categoryquerystring[]
scientifictechnicalmedicallegalbusinessITartpoliticalsportculinary
nonWords tagged with any of the categories
area_variantquerystring[]
commonbritishamericanaustralian
non
form_of_wordquerystring[]
base_formplural_formpossessive_singular_formpossessive_plural_formpast_simplepast_participlepresent_participlethird_person_singularcomparative_formsuperlative_formobjectpossessive_adjectivepossessive_pronounreflexiveordinalmultiplicative
nonDefaults to base forms only
par défaut: ["base_form"]
cursorquerystringnonThe `meta.next_cursor` of the previous page; omit for the first page
limitqueryintegernon
par défaut: 20
with_meaningsquerybooleannonJoin the meanings of every word
par défaut: false
with_translationsquerybooleannonJoin the short translations of every word
par défaut: false

Réponses

  • 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

Exemple

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

Essayer dans le playground

GET/api/v1/random

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

Paramètres

NomDansTypeObligatoireDescription
searchquerystringnonHeadword prefix, case-insensitive (`ru` lists run, rung, runner, …)
is_obsoletequerybooleannontrue: obsolete entries only, false: current ones only
part_of_speechquerystring[]
nounverbmodal_verbadjectiveadverbpronounnumeralnumeral_fractionaldeterminerinterjectionarticleprepositionconjunctionletterphrasegrammar_pattern
non
word_levelquerystring[]
A1A2B1B2C1C2
non
language_registerquerystring[]
formalinformalslang
non
categoryquerystring[]
scientifictechnicalmedicallegalbusinessITartpoliticalsportculinary
nonWords tagged with any of the categories
area_variantquerystring[]
commonbritishamericanaustralian
non
form_of_wordquerystring[]
base_formplural_formpossessive_singular_formpossessive_plural_formpast_simplepast_participlepresent_participlethird_person_singularcomparative_formsuperlative_formobjectpossessive_adjectivepossessive_pronounreflexiveordinalmultiplicative
nonDefaults to base forms only
par défaut: ["base_form"]

Réponses

Exemple

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

Essayer dans le 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.

Corps de la requête · WordsBatchV1ReqDTO

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

Réponses

Exemple

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

Essayer dans le 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.

Corps de la requête · CreateSuggestionV1ReqDTO

NomTypeObligatoireDescription
headwordstringouiThe headword the report is about; must exist in the dictionary
word_idobjectnonId of the entry (part of speech) the report points at, from the word answers
kindstring
reportedit
non
par défaut: "report"
messageobjectnonWhat is wrong and, ideally, what would be right. Required for a report; an optional comment on an edit
editsSuggestionEditV1DTO[]nonEdit flow: every touched target of the word form with its proposed values

Réponses

Exemple

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

Essayer dans le playground

Schémas

SuggestionEditV1DTO

NomTypeObligatoireDescription
target_typestring
wordmeaningmeaning_translationshort_translation
oui
target_idnumberouiId of the targeted row, from the word answers
changesobjectouiThe 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

NomTypeObligatoireDescription
headwordstringouiThe headword the report is about; must exist in the dictionary
word_idobjectnonId of the entry (part of speech) the report points at, from the word answers
kindstring
reportedit
non
par défaut: "report"
messageobjectnonWhat is wrong and, ideally, what would be right. Required for a report; an optional comment on an edit
editsSuggestionEditV1DTO[]nonEdit flow: every touched target of the word form with its proposed values

WordsBatchV1ReqDTO

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

PublicSearchV1MetaT

NomTypeObligatoireDescription
countintegeroui
fuzzybooleanoui
short_termbooleanoui

PublicSearchV1ResT

NomTypeObligatoireDescription
dataPublicSearchWordV1T[]oui
metaPublicSearchV1MetaToui

PublicSearchWordV1T

NomTypeObligatoireDescription
idintegeroui
wordstringoui
part_of_speechEnPartOfSpeechEoui
form_of_wordEnWordFormsEoui
is_obsoletebooleanoui
is_abbreviationbooleanoui
word_levelWordLevelE | nulloui
area_variantEnAreaVariantsE | nulloui
categoriesCategoryE[]oui
language_registerLanguageRegisterE | nulloui
descriptionstring | nulloui
transcriptionstring | nulloui
patternstring[] | nulloui
noun___irregular_pluralboolean | nulloui
noun___uncountableboolean | nulloui
noun___is_properboolean | nulloui
noun___always_pluralboolean | nulloui
verb___is_irregularboolean | nulloui
verb___transitivityEnVerbTransitivityE | nulloui
verb___is_phrasalboolean | nulloui
verb___phrasal_object_patternEnPhrasalObjectPatternE | nulloui
base_phrasalstring | nulloui
formsPublicWordV1FormT[]oui
similaritynumbernon

EnPartOfSpeechE

L'une des valeurs: noun, verb, modal_verb, adjective, adverb, pronoun, numeral, numeral_fractional, determiner, interjection, article, preposition, conjunction, letter, phrase, grammar_pattern

EnWordFormsE

L'une des valeurs: 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

L'une des valeurs: A1, A2, B1, B2, C1, C2

EnAreaVariantsE

L'une des valeurs: common, british, american, australian

CategoryE

L'une des valeurs: scientific, technical, medical, legal, business, IT, art, political, sport, culinary

LanguageRegisterE

L'une des valeurs: formal, informal, slang

EnVerbTransitivityE

L'une des valeurs: transitive, intransitive, both

EnPhrasalObjectPatternE

L'une des valeurs: no_object, inseparable, separable, separable_pronoun_only

PublicWordV1FormT

NomTypeObligatoireDescription
idintegeroui
wordstringoui
form_of_wordEnWordFormsEoui
area_variantEnAreaVariantsEoui
transcriptionstring | nulloui

PublicSearchDetailedV1MetaT

NomTypeObligatoireDescription
pageintegeroui
limitintegeroui
has_morebooleanoui
fuzzybooleanoui
short_termbooleanoui

PublicSearchDetailedV1ResT

NomTypeObligatoireDescription
dataPublicWordV1T[]oui
metaPublicSearchDetailedV1MetaToui

PublicWordV1T

NomTypeObligatoireDescription
meaningsPublicWordV1MeaningT[]oui
short_translationsPublicWordV1ShortTranslationT[]oui
phrasal_variantsstring[]non
idintegeroui
wordstringoui
part_of_speechEnPartOfSpeechEoui
form_of_wordEnWordFormsEoui
is_obsoletebooleanoui
is_abbreviationbooleanoui
word_levelWordLevelE | nulloui
area_variantEnAreaVariantsE | nulloui
categoriesCategoryE[]oui
language_registerLanguageRegisterE | nulloui
descriptionstring | nulloui
transcriptionstring | nulloui
patternstring[] | nulloui
noun___irregular_pluralboolean | nulloui
noun___uncountableboolean | nulloui
noun___is_properboolean | nulloui
noun___always_pluralboolean | nulloui
verb___is_irregularboolean | nulloui
verb___transitivityEnVerbTransitivityE | nulloui
verb___is_phrasalboolean | nulloui
verb___phrasal_object_patternEnPhrasalObjectPatternE | nulloui
base_phrasalstring | nulloui
formsPublicWordV1FormT[]oui
similaritynumbernon

PublicWordV1MeaningT

NomTypeObligatoireDescription
idintegeroui
sort_orderintegeroui
titlestringoui
definitionstringoui
is_obsoletebooleanoui
examplesstring[]oui
categoriesCategoryE[]oui
meaning_levelWordLevelE | nulloui
area_variantEnAreaVariantsEoui
language_registerLanguageRegisterE | nulloui
translationsPublicWordV1MeaningTranslationT[]oui
synonymsstring[]oui
antonymsstring[]oui

PublicWordV1MeaningTranslationT

NomTypeObligatoireDescription
idintegeroui
languageAvailableTranslationLanguagesEoui
titlestringoui
definitionstringoui
variants_of_wordsstring[]oui

AvailableTranslationLanguagesE

L'une des valeurs: ru, es, fr, de, pt, zh, ar

PublicWordV1ShortTranslationT

NomTypeObligatoireDescription
idintegeroui
languageAvailableTranslationLanguagesEoui
descriptionstringoui
variants_of_wordsstring[]oui

PublicWordV1ResT

NomTypeObligatoireDescription
dataPublicWordV1Toui

PublicHeadwordV1MetaT

NomTypeObligatoireDescription
wordstringoui
countintegeroui

PublicHeadwordV1ResT

NomTypeObligatoireDescription
dataPublicWordV1T[]oui
metaPublicHeadwordV1MetaToui

PublicMeaningV1T

NomTypeObligatoireDescription
word_idintegeroui
part_of_speechEnPartOfSpeechEoui
idintegeroui
sort_orderintegeroui
titlestringoui
definitionstringoui
is_obsoletebooleanoui
examplesstring[]oui
categoriesCategoryE[]oui
meaning_levelWordLevelE | nulloui
area_variantEnAreaVariantsEoui
language_registerLanguageRegisterE | nulloui
translationsPublicWordV1MeaningTranslationT[]oui
synonymsstring[]oui
antonymsstring[]oui

PublicHeadwordMeaningsV1ResT

NomTypeObligatoireDescription
dataPublicMeaningV1T[]oui
metaPublicHeadwordV1MetaToui

PublicWordFormV1T

NomTypeObligatoireDescription
word_idintegeroui
part_of_speechEnPartOfSpeechEoui
idintegeroui
wordstringoui
form_of_wordEnWordFormsEoui
area_variantEnAreaVariantsEoui
transcriptionstring | nulloui

PublicHeadwordFormsV1ResT

NomTypeObligatoireDescription
dataPublicWordFormV1T[]oui
metaPublicHeadwordV1MetaToui

PublicShortTranslationV1T

NomTypeObligatoireDescription
word_idintegeroui
part_of_speechEnPartOfSpeechEoui
idintegeroui
languageAvailableTranslationLanguagesEoui
descriptionstringoui
variants_of_wordsstring[]oui

PublicMeaningTranslationV1T

NomTypeObligatoireDescription
meaning_idintegeroui
word_idintegeroui
part_of_speechEnPartOfSpeechEoui
idintegeroui
languageAvailableTranslationLanguagesEoui
titlestringoui
definitionstringoui
variants_of_wordsstring[]oui

PublicWordLinkV1T

NomTypeObligatoireDescription
meaning_idintegeroui
wordstringoui
word_idintegeroui
part_of_speechEnPartOfSpeechEoui

PublicHeadwordLinksV1ResT

NomTypeObligatoireDescription
dataPublicWordLinkV1T[]oui
metaPublicHeadwordV1MetaToui

PublicHeadwordTranslationsV1T

NomTypeObligatoireDescription
short_translationsPublicShortTranslationV1T[]oui
meaning_translationsPublicMeaningTranslationV1T[]oui

PublicHeadwordTranslationsV1ResT

NomTypeObligatoireDescription
metaPublicHeadwordV1MetaToui
dataPublicHeadwordTranslationsV1Toui

PublicWordsBatchItemV1T

NomTypeObligatoireDescription
wordstringoui
countintegeroui
entriesPublicWordV1T[]oui

PublicWordsBatchV1MetaT

NomTypeObligatoireDescription
countintegeroui
not_foundstring[]oui

PublicWordsBatchV1ResT

NomTypeObligatoireDescription
dataPublicWordsBatchItemV1T[]oui
metaPublicWordsBatchV1MetaToui

PublicWordsV1MetaT

NomTypeObligatoireDescription
limitintegeroui
has_morebooleanoui
next_cursorstring | nulloui

PublicWordsV1ResT

NomTypeObligatoireDescription
dataPublicWordV1T[]oui
metaPublicWordsV1MetaToui

PublicDatasetCountsV1T

NomTypeObligatoireDescription
entriesintegeroui
wordsintegeroui
phrasesintegeroui
grammar_patternsintegeroui
word_formsintegeroui
meaningsintegeroui
meaning_translationsintegeroui
short_translationsintegeroui

PublicMetaV1T

NomTypeObligatoireDescription
api_versionstringoui
app_versionstringoui
dataset_versionstring | nulloui
licensestringoui
license_urlstringoui
attributionstringoui
noticestringoui
countsPublicDatasetCountsV1Toui
available_languagesPublicAvailableLanguagesV1Toui

PublicAvailableLanguagesV1T

NomTypeObligatoireDescription
sourcestring[]oui
translationsAvailableTranslationLanguagesE[]oui

PublicMetaV1ResT

NomTypeObligatoireDescription
dataPublicMetaV1Toui

PublicSuggestionCreatedV1T

NomTypeObligatoireDescription
idintegeroui
statusstringoui

PublicSuggestionCreatedV1ResT

NomTypeObligatoireDescription
dataPublicSuggestionCreatedV1Toui

PublicApiErrorT

NomTypeObligatoireDescription
statusCodenumberoui
messagestringoui
errorbooleanoui