Vocab Bloom Hub

API pública v1

La referencia de la API de solo lectura del diccionario, generada a partir del documento OpenAPI que publica el servidor — el mismo contrato del que se construyen los 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 basehttps://<instance>/api/v1
Cada instancia sirve la API bajo su propio origen; los ejemplos usan un marcador.
Contrato
Documento OpenAPI 3, servido por cada instancia en /api/v1/openapi.json; el archivo versionado
Seguir leyendo

Endpoints

GET/api/v1/meta

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

Parámetros

Sin parámetros.

Respuestas

Ejemplo

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

Probar en el playground

GET/api/v1/openapi.json

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

Parámetros

Sin parámetros.

Respuestas

  • 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

Ejemplo

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.

Parámetros

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

Respuestas

Ejemplo

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

Probar en el playground

GET/api/v1/words/{word}

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

Parámetros

NombreEnTipoObligatorioDescripción
wordpathstringHeadword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry

Respuestas

Ejemplo

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

Probar en el playground

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

The meanings of a headword across its entries

Parámetros

NombreEnTipoObligatorioDescripción
wordpathstringHeadword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry

Respuestas

Ejemplo

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

Probar en el playground

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

The short and per-meaning translations of a headword

Parámetros

NombreEnTipoObligatorioDescripción
wordpathstringHeadword 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

Respuestas

Ejemplo

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

Probar en el playground

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

The inflected forms of a headword across its entries

Parámetros

NombreEnTipoObligatorioDescripción
wordpathstringHeadword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry

Respuestas

Ejemplo

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

Probar en el 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`.

Parámetros

NombreEnTipoObligatorioDescripción
wordpathstringHeadword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry

Respuestas

Ejemplo

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

Probar en el 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`.

Parámetros

NombreEnTipoObligatorioDescripción
wordpathstringHeadword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry

Respuestas

Ejemplo

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

Probar en el playground

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

One dictionary entry by its numeric id

Parámetros

NombreEnTipoObligatorioDescripción
idpathnumber

Respuestas

Ejemplo

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

Probar en el 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.

Parámetros

NombreEnTipoObligatorioDescripción
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
por defecto: ["base_form"]
cursorquerystringnoThe `meta.next_cursor` of the previous page; omit for the first page
limitqueryintegerno
por defecto: 20
with_meaningsquerybooleannoJoin the meanings of every word
por defecto: false
with_translationsquerybooleannoJoin the short translations of every word
por defecto: false

Respuestas

  • 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

Ejemplo

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

Probar en el playground

GET/api/v1/random

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

Parámetros

NombreEnTipoObligatorioDescripción
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
por defecto: ["base_form"]

Respuestas

Ejemplo

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

Probar en el 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.

Cuerpo de la petición · WordsBatchV1ReqDTO

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

Respuestas

Ejemplo

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

Probar en el 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.

Cuerpo de la petición · CreateSuggestionV1ReqDTO

NombreTipoObligatorioDescripción
headwordstringThe 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
por defecto: "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

Respuestas

Ejemplo

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

Probar en el playground

Esquemas

SuggestionEditV1DTO

NombreTipoObligatorioDescripción
target_typestring
wordmeaningmeaning_translationshort_translation
target_idnumberId of the targeted row, from the word answers
changesobjectThe 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

NombreTipoObligatorioDescripción
headwordstringThe 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
por defecto: "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

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

PublicSearchV1MetaT

NombreTipoObligatorioDescripción
countinteger
fuzzyboolean
short_termboolean

PublicSearchV1ResT

NombreTipoObligatorioDescripción
dataPublicSearchWordV1T[]
metaPublicSearchV1MetaT

PublicSearchWordV1T

NombreTipoObligatorioDescripción
idinteger
wordstring
part_of_speechEnPartOfSpeechE
form_of_wordEnWordFormsE
is_obsoleteboolean
is_abbreviationboolean
word_levelWordLevelE | null
area_variantEnAreaVariantsE | null
categoriesCategoryE[]
language_registerLanguageRegisterE | null
descriptionstring | null
transcriptionstring | null
patternstring[] | null
noun___irregular_pluralboolean | null
noun___uncountableboolean | null
noun___is_properboolean | null
noun___always_pluralboolean | null
verb___is_irregularboolean | null
verb___transitivityEnVerbTransitivityE | null
verb___is_phrasalboolean | null
verb___phrasal_object_patternEnPhrasalObjectPatternE | null
base_phrasalstring | null
formsPublicWordV1FormT[]
similaritynumberno

EnPartOfSpeechE

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

EnWordFormsE

Uno de: 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

Uno de: A1, A2, B1, B2, C1, C2

EnAreaVariantsE

Uno de: common, british, american, australian

CategoryE

Uno de: scientific, technical, medical, legal, business, IT, art, political, sport, culinary

LanguageRegisterE

Uno de: formal, informal, slang

EnVerbTransitivityE

Uno de: transitive, intransitive, both

EnPhrasalObjectPatternE

Uno de: no_object, inseparable, separable, separable_pronoun_only

PublicWordV1FormT

NombreTipoObligatorioDescripción
idinteger
wordstring
form_of_wordEnWordFormsE
area_variantEnAreaVariantsE
transcriptionstring | null

PublicSearchDetailedV1MetaT

NombreTipoObligatorioDescripción
pageinteger
limitinteger
has_moreboolean
fuzzyboolean
short_termboolean

PublicSearchDetailedV1ResT

NombreTipoObligatorioDescripción
dataPublicWordV1T[]
metaPublicSearchDetailedV1MetaT

PublicWordV1T

NombreTipoObligatorioDescripción
meaningsPublicWordV1MeaningT[]
short_translationsPublicWordV1ShortTranslationT[]
phrasal_variantsstring[]no
idinteger
wordstring
part_of_speechEnPartOfSpeechE
form_of_wordEnWordFormsE
is_obsoleteboolean
is_abbreviationboolean
word_levelWordLevelE | null
area_variantEnAreaVariantsE | null
categoriesCategoryE[]
language_registerLanguageRegisterE | null
descriptionstring | null
transcriptionstring | null
patternstring[] | null
noun___irregular_pluralboolean | null
noun___uncountableboolean | null
noun___is_properboolean | null
noun___always_pluralboolean | null
verb___is_irregularboolean | null
verb___transitivityEnVerbTransitivityE | null
verb___is_phrasalboolean | null
verb___phrasal_object_patternEnPhrasalObjectPatternE | null
base_phrasalstring | null
formsPublicWordV1FormT[]
similaritynumberno

PublicWordV1MeaningT

NombreTipoObligatorioDescripción
idinteger
sort_orderinteger
titlestring
definitionstring
is_obsoleteboolean
examplesstring[]
categoriesCategoryE[]
meaning_levelWordLevelE | null
area_variantEnAreaVariantsE
language_registerLanguageRegisterE | null
translationsPublicWordV1MeaningTranslationT[]
synonymsstring[]
antonymsstring[]

PublicWordV1MeaningTranslationT

NombreTipoObligatorioDescripción
idinteger
languageAvailableTranslationLanguagesE
titlestring
definitionstring
variants_of_wordsstring[]

AvailableTranslationLanguagesE

Uno de: ru, es, fr, de, pt, zh, ar

PublicWordV1ShortTranslationT

NombreTipoObligatorioDescripción
idinteger
languageAvailableTranslationLanguagesE
descriptionstring
variants_of_wordsstring[]

PublicWordV1ResT

NombreTipoObligatorioDescripción
dataPublicWordV1T

PublicHeadwordV1MetaT

NombreTipoObligatorioDescripción
wordstring
countinteger

PublicHeadwordV1ResT

NombreTipoObligatorioDescripción
dataPublicWordV1T[]
metaPublicHeadwordV1MetaT

PublicMeaningV1T

NombreTipoObligatorioDescripción
word_idinteger
part_of_speechEnPartOfSpeechE
idinteger
sort_orderinteger
titlestring
definitionstring
is_obsoleteboolean
examplesstring[]
categoriesCategoryE[]
meaning_levelWordLevelE | null
area_variantEnAreaVariantsE
language_registerLanguageRegisterE | null
translationsPublicWordV1MeaningTranslationT[]
synonymsstring[]
antonymsstring[]

PublicHeadwordMeaningsV1ResT

NombreTipoObligatorioDescripción
dataPublicMeaningV1T[]
metaPublicHeadwordV1MetaT

PublicWordFormV1T

NombreTipoObligatorioDescripción
word_idinteger
part_of_speechEnPartOfSpeechE
idinteger
wordstring
form_of_wordEnWordFormsE
area_variantEnAreaVariantsE
transcriptionstring | null

PublicHeadwordFormsV1ResT

NombreTipoObligatorioDescripción
dataPublicWordFormV1T[]
metaPublicHeadwordV1MetaT

PublicShortTranslationV1T

NombreTipoObligatorioDescripción
word_idinteger
part_of_speechEnPartOfSpeechE
idinteger
languageAvailableTranslationLanguagesE
descriptionstring
variants_of_wordsstring[]

PublicMeaningTranslationV1T

NombreTipoObligatorioDescripción
meaning_idinteger
word_idinteger
part_of_speechEnPartOfSpeechE
idinteger
languageAvailableTranslationLanguagesE
titlestring
definitionstring
variants_of_wordsstring[]

PublicWordLinkV1T

NombreTipoObligatorioDescripción
meaning_idinteger
wordstring
word_idinteger
part_of_speechEnPartOfSpeechE

PublicHeadwordLinksV1ResT

NombreTipoObligatorioDescripción
dataPublicWordLinkV1T[]
metaPublicHeadwordV1MetaT

PublicHeadwordTranslationsV1T

NombreTipoObligatorioDescripción
short_translationsPublicShortTranslationV1T[]
meaning_translationsPublicMeaningTranslationV1T[]

PublicHeadwordTranslationsV1ResT

NombreTipoObligatorioDescripción
metaPublicHeadwordV1MetaT
dataPublicHeadwordTranslationsV1T

PublicWordsBatchItemV1T

NombreTipoObligatorioDescripción
wordstring
countinteger
entriesPublicWordV1T[]

PublicWordsBatchV1MetaT

NombreTipoObligatorioDescripción
countinteger
not_foundstring[]

PublicWordsBatchV1ResT

NombreTipoObligatorioDescripción
dataPublicWordsBatchItemV1T[]
metaPublicWordsBatchV1MetaT

PublicWordsV1MetaT

NombreTipoObligatorioDescripción
limitinteger
has_moreboolean
next_cursorstring | null

PublicWordsV1ResT

NombreTipoObligatorioDescripción
dataPublicWordV1T[]
metaPublicWordsV1MetaT

PublicDatasetCountsV1T

NombreTipoObligatorioDescripción
entriesinteger
wordsinteger
phrasesinteger
grammar_patternsinteger
word_formsinteger
meaningsinteger
meaning_translationsinteger
short_translationsinteger

PublicMetaV1T

NombreTipoObligatorioDescripción
api_versionstring
app_versionstring
dataset_versionstring | null
licensestring
license_urlstring
attributionstring
noticestring
countsPublicDatasetCountsV1T
available_languagesPublicAvailableLanguagesV1T

PublicAvailableLanguagesV1T

NombreTipoObligatorioDescripción
sourcestring[]
translationsAvailableTranslationLanguagesE[]

PublicMetaV1ResT

NombreTipoObligatorioDescripción
dataPublicMetaV1T

PublicSuggestionCreatedV1T

NombreTipoObligatorioDescripción
idinteger
statusstring

PublicSuggestionCreatedV1ResT

NombreTipoObligatorioDescripción
dataPublicSuggestionCreatedV1T

PublicApiErrorT

NombreTipoObligatorioDescripción
statusCodenumber
messagestring
errorboolean