Vocab Bloom Hub

公共 API v1

只读词典 API 的参考文档,由服务器发布的 OpenAPI 文档生成——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. The /api/compat/freedictionaryapi/v1 routes use freedictionaryapi.com objects, language lists and plain-text errors. The /api/compat/dictionaryapi routes use dictionaryapi.dev v1/v2 arrays and errors, with additive vocabBloom provenance. Compatibility lookups ending in /datasets wrap the responses from all installed datasets in { data, meta }; each group has dataset terms, status and response. Successful GET answers carry ETag, Last-Modified and Cache-Control. Documentation: https://vocab-bloom-hub.com/en/docs/api.

基础 URLhttps://<instance>/api/v1
每个实例都在自己的源站上提供 API;下面的示例使用占位符。
契约
OpenAPI 3 文档,每个实例都在此路径提供 /api/v1/openapi.json; 已提交的文件
延伸阅读

端点

GET/api/v1/meta

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

参数

无参数。

响应

示例

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

在演练场中试用

GET/api/v1/openapi.json

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

参数

无参数。

响应

  • 200OK — object
  • 429Rate limit of the public prefix exceeded (PUBLIC_API_RATE_LIMIT); retry after the window — PublicApiErrorT
  • 503Not available: a selected dataset could not be read, the OpenAPI document is not ready, or the suggestion queue is full — PublicApiErrorT

示例

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.

参数

名称位置类型必填描述
searchquerystring是The term to search for
typequerystring
wordgrammar_patternphrase
否Restrict the answer to one entry type
limitqueryinteger否
默认值: 10
pagequeryinteger否
默认值: 1
with_meaningsqueryboolean否Join the meanings (with translations, synonyms, antonyms) of every item
默认值: false
with_translationsqueryboolean否Join the short translations of every item
默认值: false
translation_languagesquerystring[]
ruesfrdeptzhar
否Keep only these translation languages (a repeated key); omit the key for all of them
datasetquerystring否Public dataset name; omitted = the active dataset. Unknown or closed targets return 404, never a fallback.

响应

  • 200OK — PublicSearchDetailedV1ResT
  • 400Invalid input: an unknown field, a value outside the allowed set, or a foreign cursor — PublicApiErrorT
  • 404Nothing matches — PublicApiErrorT
  • 429Rate limit of the public prefix exceeded (PUBLIC_API_RATE_LIMIT); retry after the window — PublicApiErrorT
  • 503Not available: a selected dataset could not be read, the OpenAPI document is not ready, or the suggestion queue is full — PublicApiErrorT

示例

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

在演练场中试用

GET/api/v1/words/{word}

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

参数

名称位置类型必填描述
wordpathstring是Headword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry

响应

示例

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

在演练场中试用

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

The meanings of a headword across its entries

参数

名称位置类型必填描述
wordpathstring是Headword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry

响应

示例

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

在演练场中试用

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

The short and per-meaning translations of a headword

参数

名称位置类型必填描述
wordpathstring是Headword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry
languagequerystring[]
ruesfrdeptzhar
否Translation languages; no value means all of them

响应

示例

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

在演练场中试用

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

The inflected forms of a headword across its entries

参数

名称位置类型必填描述
wordpathstring是Headword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry

响应

示例

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

在演练场中试用

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

参数

名称位置类型必填描述
wordpathstring是Headword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry

响应

示例

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

在演练场中试用

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

参数

名称位置类型必填描述
wordpathstring是Headword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry

响应

示例

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

在演练场中试用

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

What was changed or added on the instance in the entries of a headword

The edits that still show in what is served, the latest first, with the values before and after: the entries of such a headword carry `modified: true`. Empty for a headword served as its source has it.

参数

名称位置类型必填描述
wordpathstring是Headword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry

响应

示例

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

在演练场中试用

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

A headword as every open dataset of the instance has it, grouped by dataset

One group per open dataset, never merged: the terms of the dataset (`license`, `attribution`, `license_text`, …) and the entries `GET /words/{word}` would answer if that dataset were the served one. The spelling is matched inside each dataset, so a group has its own `word` and `variants`; a dataset without the headword answers an empty `entries`, and the request fails with 404 when no dataset holds it. Entries taken from several groups are bound by the terms of each. One request against the rate limit.

参数

名称位置类型必填描述
wordpathstring是Headword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry

响应

示例

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

在演练场中试用

GET/api/v1/words/{word}/datasets/{dataset}/history

What was changed or added on the instance in the entries of a headword, in one dataset

The answer of `GET /words/{word}/history` for a dataset named by its `dataset`: the edits behind `modified: true` of the entries of that group. 404 for a closed dataset or a dataset the instance does not hold.

参数

名称位置类型必填描述
wordpathstring是Headword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry
datasetpathstring是The name of a dataset of the instance, as `dataset` of a group of `GET /words/{word}/datasets` says it

响应

示例

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

在演练场中试用

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

One dictionary entry by its numeric id

参数

名称位置类型必填描述
idpathnumber是

响应

示例

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

在演练场中试用

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.

参数

名称位置类型必填描述
searchquerystring否Headword prefix, case-insensitive (`ru` lists run, rung, runner, …)
is_obsoletequeryboolean否true: obsolete entries only, false: current ones only
part_of_speechquerystring[]
nounverbmodal_verbadjectiveadverbpronounnumeralnumeral_fractionaldeterminerinterjectionarticleprepositionconjunctionletterphrasegrammar_pattern
否
word_levelquerystring[]
A1A2B1B2C1C2
否
language_registerquerystring[]
formalinformalslang
否
categoryquerystring[]
scientifictechnicalmedicallegalbusinessITartpoliticalsportculinary
否Words tagged with any of the categories
area_variantquerystring[]
commonbritishamericanaustralian
否
form_of_wordquerystring[]
base_formplural_formpossessive_singular_formpossessive_plural_formpast_simplepast_participlepresent_participlethird_person_singularcomparative_formsuperlative_formobjectpossessive_adjectivepossessive_pronounreflexiveordinalmultiplicative
否Defaults to base forms only
默认值: ["base_form"]
cursorquerystring否The `meta.next_cursor` of the previous page; omit for the first page
limitqueryinteger否
默认值: 20
with_meaningsqueryboolean否Join the meanings of every word
默认值: false
with_translationsqueryboolean否Join the short translations of every word
默认值: false

响应

  • 200OK — PublicWordsV1ResT
  • 400Invalid input: an unknown field, a value outside the allowed set, or a foreign cursor — PublicApiErrorT
  • 429Rate limit of the public prefix exceeded (PUBLIC_API_RATE_LIMIT); retry after the window — PublicApiErrorT

示例

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

在演练场中试用

GET/api/v1/random

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

参数

名称位置类型必填描述
searchquerystring否Headword prefix, case-insensitive (`ru` lists run, rung, runner, …)
is_obsoletequeryboolean否true: obsolete entries only, false: current ones only
part_of_speechquerystring[]
nounverbmodal_verbadjectiveadverbpronounnumeralnumeral_fractionaldeterminerinterjectionarticleprepositionconjunctionletterphrasegrammar_pattern
否
word_levelquerystring[]
A1A2B1B2C1C2
否
language_registerquerystring[]
formalinformalslang
否
categoryquerystring[]
scientifictechnicalmedicallegalbusinessITartpoliticalsportculinary
否Words tagged with any of the categories
area_variantquerystring[]
commonbritishamericanaustralian
否
form_of_wordquerystring[]
base_formplural_formpossessive_singular_formpossessive_plural_formpast_simplepast_participlepresent_participlethird_person_singularcomparative_formsuperlative_formobjectpossessive_adjectivepossessive_pronounreflexiveordinalmultiplicative
否Defaults to base forms only
默认值: ["base_form"]

响应

示例

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

在演练场中试用

GET/api/v1/search/semantic/status

Whether the instance enables semantic search

Reflects only SEMANTIC_SEARCH_ENABLED. Performs no inference and does not promise model/vector availability. Never cached.

参数

无参数。

响应

示例

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

在演练场中试用

GET/api/v1/search/semantic

Find existing meanings from a description

Separate from spelling search; no lexical fallback. Requires SEMANTIC_SEARCH_ENABLED, PostgreSQL/pgvector, imported current vectors and a matching Ollama model. Disabled = 404 semantic_search_disabled; missing infrastructure, busy service or incompatible model = 503. Returns up to 20 meanings, ordered by cosine similarity then meaning ID. Scores are not confidence probabilities; no calibrated no-answer threshold. No pagination or cross-dataset ranking. Uses the shared public rate budget. Responses are no-store.

参数

名称位置类型必填描述
queryquerystring是A description of the intended meaning, in English or another language supported by the model.
datasetquerystring否One public dataset; omitted = active dataset. Closed/unknown targets return 404.
limitqueryinteger否
默认值: 10

响应

  • 200OK — PublicSemanticSearchV1ResT
  • 400Invalid input: an unknown field, a value outside the allowed set, or a foreign cursor — PublicApiErrorT
  • 404Nothing matches — PublicApiErrorT
  • 429Rate limit of the public prefix exceeded (PUBLIC_API_RATE_LIMIT); retry after the window — PublicApiErrorT
  • 503Not available: a selected dataset could not be read, the OpenAPI document is not ready, or the suggestion queue is full — PublicApiErrorT

示例

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

在演练场中试用

GET/api/compat/dictionaryapi/v2/entries/{language}/{word}/datasets

dictionaryapi.dev v2 responses from every open dataset

One group per installed dataset with its terms, status and response in the adapter format. Missing words have status 404 and the adapter error in response. The outer request returns 200 even when no dataset matches. English only; the usual headword and inflection rules apply in each dataset. No query parameters. Does not activate any dataset. One public rate-limit unit; cached across all datasets.

参数

名称位置类型必填描述
languagepathstring
enen_USen_GB
是
wordpathstring是Headword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry

响应

示例

curl 'https://your-instance.example/api/compat/dictionaryapi/v2/entries/en/run/datasets'

在演练场中试用

GET/api/compat/dictionaryapi/v1/entries/{language}/{word}/datasets

dictionaryapi.dev v1 responses from every open dataset

One group per installed dataset with its terms, status and response in the adapter format. Missing words have status 404 and the adapter error in response. The outer request returns 200 even when no dataset matches. English only; the usual headword and inflection rules apply in each dataset. No query parameters. Does not activate any dataset. One public rate-limit unit; cached across all datasets.

参数

名称位置类型必填描述
languagepathstring
enen_USen_GB
是
wordpathstring是Headword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry

响应

示例

curl 'https://your-instance.example/api/compat/dictionaryapi/v1/entries/en/run/datasets'

在演练场中试用

GET/api/compat/freedictionaryapi/v1/entries/{language}/{word}/datasets

freedictionaryapi.com responses from every open dataset

One group per installed dataset with its terms, status 200 and the adapter object in response. Exact spelling; en and all read English. Missing words and other languages have empty response.entries. The outer request returns 200 even when no dataset matches. Does not activate any dataset. One public rate-limit unit; cached across all datasets. Empty source links point here rather than active-only /meta.

参数

名称位置类型必填描述
languagepathstring是en or all; other values return empty entries
wordpathstring是Exact case-sensitive spelling, encoded as one URL segment
prettyqueryboolean否Indent the whole response with two spaces; default false.
translationsqueryboolean否Include supported translations; default false. Only true/false, first occurrence wins.

响应

  • 200OK — FreeDictionaryDatasetsResT
  • 400Invalid input: an unknown field, a value outside the allowed set, or a foreign cursor
  • 429Rate limit of the public prefix exceeded (PUBLIC_API_RATE_LIMIT); retry after the window

示例

curl 'https://your-instance.example/api/compat/freedictionaryapi/v1/entries/example/run/datasets'

在演练场中试用

GET/api/compat/dictionaryapi/v2/entries/{language}/{word}

dictionaryapi.dev v2 lookup in the active dataset

Array response, with lossless provenance in vocabBloom. English only; native headword and inflection resolution. No dataset query parameter.

参数

名称位置类型必填描述
languagepathstring
enen_USen_GB
是
wordpathstring是Headword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry

响应

示例

curl 'https://your-instance.example/api/compat/dictionaryapi/v2/entries/en/run'

在演练场中试用

GET/api/compat/dictionaryapi/v1/entries/{language}/{word}

dictionaryapi.dev legacy v1 lookup in the active dataset

Same entries and terms as v2, with a meaning object keyed by part of speech instead of meanings. English only.

参数

名称位置类型必填描述
languagepathstring
enen_USen_GB
是
wordpathstring是Headword spelling, case-insensitive (spaces URL-encoded for phrases). An inflected form resolves to its base entry

响应

示例

curl 'https://your-instance.example/api/compat/dictionaryapi/v1/entries/en/run'

在演练场中试用

GET/api/compat/freedictionaryapi/v1/entries/{language}/{word}

freedictionaryapi.com lookup in the active dataset

Exact spelling. en and all read the English database; other languages and missing spellings return empty entries. Full terms in vocabBloom.

参数

名称位置类型必填描述
languagepathstring是en or all; other values return empty entries
wordpathstring是Exact case-sensitive spelling, encoded as one URL segment
prettyqueryboolean否Indent JSON with two spaces; default false.
translationsqueryboolean否Include supported translations; default false. Only true/false, first occurrence wins.

响应

  • 200OK — FreeDictionaryEntriesResT
  • 400Invalid input: an unknown field, a value outside the allowed set, or a foreign cursor
  • 429Rate limit of the public prefix exceeded (PUBLIC_API_RATE_LIMIT); retry after the window

示例

curl 'https://your-instance.example/api/compat/freedictionaryapi/v1/entries/example/run'

在演练场中试用

GET/api/compat/freedictionaryapi/v1/languages

Available headword languages and readable spelling counts

English only. Counts include phrases, inflections and alternative-only entry rows in the active dataset, once per readable spelling; unlinked placeholders are excluded.

参数

名称位置类型必填描述
prettyqueryboolean否Indent JSON with two spaces; default false.

响应

  • 200OK — FreeDictionaryLanguagesResT
  • 400Invalid input: an unknown field, a value outside the allowed set, or a foreign cursor
  • 429Rate limit of the public prefix exceeded (PUBLIC_API_RATE_LIMIT); retry after the window

示例

curl 'https://your-instance.example/api/compat/freedictionaryapi/v1/languages'

在演练场中试用

GET/api/v1/search/datasets

Search up to five public datasets, in separate groups

Repeat datasets for each target (1–5 unique names). Groups follow installation order. The detailed search filters, limit (1–20) and page (1–20) apply independently to every group. Relevance scores are local to each dataset. Empty matches have status ok and an empty data array; failed readers have status unavailable and no results/pagination. Unknown or closed targets reject the entire request with 404. Partial failures return 200 with meta.partial and Cache-Control: no-store. Each selected dataset costs one unit of the shared public rate budget, including failed reads. Selected searches revalidate their ETag on every use.

参数

名称位置类型必填描述
searchquerystring是The term to search for
typequerystring
wordgrammar_patternphrase
否Restrict the answer to one entry type
limitqueryinteger否
默认值: 10
pagequeryinteger否
默认值: 1
with_meaningsqueryboolean否Join the meanings (with translations, synonyms, antonyms) of every item
默认值: false
with_translationsqueryboolean否Join the short translations of every item
默认值: false
translation_languagesquerystring[]
ruesfrdeptzhar
否Keep only these translation languages (a repeated key); omit the key for all of them
datasetsquerystring[]是Public dataset names as repeated keys. Groups follow installation order. Each selected dataset costs one unit of the shared public rate budget.

响应

示例

curl 'https://your-instance.example/api/v1/search/datasets?search=run&datasets=default'

在演练场中试用

GET/api/v1/datasets

Publicly readable datasets and their terms, in installation order

参数

无参数。

响应

示例

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

在演练场中试用

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.

请求体 · WordsBatchV1ReqDTO

名称类型必填描述
wordsstring[]是Headword spellings, 50 at most, each matched like GET /words/{word} (case-insensitively; an inflected form resolves to its base entry)

响应

示例

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

在演练场中试用

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 selected publicly open dataset. Pass dataset to target a viewed dataset; omitted means the active dataset. All IDs must belong to that dataset and headword. Closed, unknown or removed targets answer 404 without fallback. Rate limits are shared across datasets; a full target queue answers 503.

请求体 · CreateSuggestionV1ReqDTO

名称类型必填描述
datasetstring否Installed, publicly open dataset containing the headword and all supplied IDs. Omit to use the active dataset.
headwordstring是The headword the report is about; must exist in the dictionary
word_idobject否Id of the entry (part of speech) the report points at, from the word answers
kindstring
reportedit
否
默认值: "report"
messageobject否What is wrong and, ideally, what would be right. Required for a report; an optional comment on an edit
editsSuggestionEditV1DTO[]否Edit flow: every touched target of the word form with its proposed values
author_nameobject否The name the sender wants to be credited by (issue #531). Kept only together with `author_consent: true`: once the correction is applied the name is shown next to it and travels with the copies of the data
author_consentobject否The sender agrees that `author_name` is shown and exported; required when a name is given

响应

示例

curl -X POST 'https://your-instance.example/api/v1/suggestions' \
  -H 'Content-Type: application/json' \
  -d '{"headword":"run","message":"Please check the definition of this word."}'

在演练场中试用

模式

SuggestionEditV1DTO

名称类型必填描述
target_typestring
wordmeaningmeaning_translationshort_translation
是
target_idnumber是Id of the targeted row, from the word answers
changesobject是The 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

名称类型必填描述
datasetstring否Installed, publicly open dataset containing the headword and all supplied IDs. Omit to use the active dataset.
headwordstring是The headword the report is about; must exist in the dictionary
word_idobject否Id of the entry (part of speech) the report points at, from the word answers
kindstring
reportedit
否
默认值: "report"
messageobject否What is wrong and, ideally, what would be right. Required for a report; an optional comment on an edit
editsSuggestionEditV1DTO[]否Edit flow: every touched target of the word form with its proposed values
author_nameobject否The name the sender wants to be credited by (issue #531). Kept only together with `author_consent: true`: once the correction is applied the name is shown next to it and travels with the copies of the data
author_consentobject否The sender agrees that `author_name` is shown and exported; required when a name is given

WordsBatchV1ReqDTO

名称类型必填描述
wordsstring[]是Headword spellings, 50 at most, each matched like GET /words/{word} (case-insensitively; an inflected form resolves to its base entry)

PublicSearchV1MetaT

名称类型必填描述
datasetstring否Present only for an explicitly selected dataset.
countinteger是
fuzzyboolean是
short_termboolean是

PublicSearchV1ResT

名称类型必填描述
dataPublicSearchWordV1T[]是
metaPublicSearchV1MetaT是

PublicSearchWordV1T

名称类型必填描述
alternativesstring[]否Alternative spellings of this headword, shared by all its parts of speech.
originsOriginT[]否
contributionsOriginT[]否Terms of the datasets whose edits still contribute to this word.
licensesWordLicenseT[]否
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是
pronunciationsPronunciationT[]否Ordered pronunciations, with legacy transcription and base-form fallback.
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[]是
similaritynumber否
sourcestring否
modifiedboolean否

OriginT

名称类型必填描述
idstring是
namestring是
versionstring | null是
urlstring否
record_urlstring否
licensesOriginLicenseT[]是
license_relationstring
allany
是All obligations apply, or the source explicitly offers a choice.
attributionstring是
noticesstring[]是
scopestring
worddataset
是Dataset means that distribution between individual words is unknown.
methodstring
datasetmanual
是
recorded_atstring | null是
acquisitionsOriginAcquisitionT[]否Copy/fork events belonging to this source snapshot; absent before any acquisition.
inheritedboolean是Automatically inherited terms cannot be removed by ordinary editing.

OriginLicenseT

A durable statement of terms, not a pointer to a mutable dataset registry.

名称类型必填描述
spdxstring否
namestring是
urlstring是
textstring否Required for custom licenses; preserved verbatim when supplied.

OriginAcquisitionT

An acquisition of a source snapshot, without repeating its license terms.

名称类型必填描述
idstring是
methodstring
copyfork
是
recorded_atstring | null是
revisionstring否
viaobject否The intermediate dataset the material passed through; this adds no license obligations.

WordLicenseT

One license can occur more than once; origin_id refers to origins or contributions.

名称类型必填描述
origin_idstring是
spdxstring否
namestring是
urlstring是
textstring否Required for custom licenses; preserved verbatim when supplied.

EnPartOfSpeechE

取值之一: noun, verb, modal_verb, adjective, adverb, pronoun, numeral, numeral_fractional, determiner, interjection, article, preposition, conjunction, letter, phrase, grammar_pattern

EnWordFormsE

取值之一: 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

取值之一: A1, A2, B1, B2, C1, C2

EnAreaVariantsE

取值之一: common, british, american, australian

CategoryE

取值之一: scientific, technical, medical, legal, business, IT, art, political, sport, culinary

LanguageRegisterE

取值之一: formal, informal, slang

PronunciationT

Portable pronunciation; database IDs never travel in datasets or public responses.

名称类型必填描述
audioPronunciationAudioT[]否Recordings carry their own terms, independent of the word's text.
typestring
ipaenpr
是
textstring | null是
area_variantEnAreaVariantsE是
sort_orderinteger是

PronunciationAudioT

External recordings only; missing license metadata is an empty list, never the text license.

名称类型必填描述
urlstring是
source_urlstring | null否
attributionstring | null否
licensesOriginLicenseT[]是
sort_orderinteger是

EnVerbTransitivityE

取值之一: transitive, intransitive, both

EnPhrasalObjectPatternE

取值之一: no_object, inseparable, separable, separable_pronoun_only

PublicWordV1FormT

名称类型必填描述
alternativesstring[]否
idinteger是
wordstring是
form_of_wordEnWordFormsE是
area_variantEnAreaVariantsE是
transcriptionstring | null是
pronunciationsPronunciationT[]否Ordered pronunciations, with legacy transcription and base-form fallback.

PublicSearchDetailedV1MetaT

名称类型必填描述
datasetstring否Present only for an explicitly selected dataset.
pageinteger是
limitinteger是
has_moreboolean是
fuzzyboolean是
short_termboolean是

PublicSearchDetailedV1ResT

名称类型必填描述
dataPublicWordV1T[]是
metaPublicSearchDetailedV1MetaT是

PublicWordV1T

名称类型必填描述
etymologiesobject[]否
meaningsPublicWordV1MeaningT[]是
short_translationsPublicWordV1ShortTranslationT[]是
phrasal_variantsstring[]否
alternativesstring[]否Alternative spellings of this headword, shared by all its parts of speech.
originsOriginT[]否
contributionsOriginT[]否Terms of the datasets whose edits still contribute to this word.
licensesWordLicenseT[]否
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是
pronunciationsPronunciationT[]否Ordered pronunciations, with legacy transcription and base-form fallback.
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[]是
similaritynumber否
sourcestring否
modifiedboolean否

PublicWordV1MeaningT

名称类型必填描述
etymology_numberinteger | null否Local number of the owning word etymology; null when unknown.
idinteger是
sort_orderinteger是
titlestring是
definitionstring是
is_obsoleteboolean是
examplesstring[]是
quotesMeaningQuoteT[]否
categoriesCategoryE[]是
meaning_levelWordLevelE | null是
area_variantEnAreaVariantsE是
language_registerLanguageRegisterE | null是
translationsPublicWordV1MeaningTranslationT[]是
synonymsstring[]是
antonymsstring[]是

MeaningQuoteT

A sourced quotation, in authored array order. Missing attribution is explicit.

名称类型必填描述
textstring是
referencestring | null是
source_urlstring | null否

PublicWordV1MeaningTranslationT

名称类型必填描述
idinteger是
languageAvailableTranslationLanguagesE是
titlestring是
definitionstring是
variants_of_wordsstring[]是

AvailableTranslationLanguagesE

取值之一: ru, es, fr, de, pt, zh, ar

PublicWordV1ShortTranslationT

名称类型必填描述
idinteger是
languageAvailableTranslationLanguagesE是
descriptionstring是
variants_of_wordsstring[]是

PublicWordV1ResT

名称类型必填描述
dataPublicWordV1T是

PublicHeadwordV1MetaT

名称类型必填描述
wordstring是
countinteger是
variantsstring[]否

PublicHeadwordV1ResT

名称类型必填描述
dataPublicWordV1T[]是
metaPublicHeadwordV1MetaT是

PublicMeaningV1T

名称类型必填描述
originsOriginT[]否
contributionsOriginT[]否
licensesWordLicenseT[]否
word_idinteger是
part_of_speechEnPartOfSpeechE是
sourcestring否
modifiedboolean否
etymology_numberinteger | null否Local number of the owning word etymology; null when unknown.
idinteger是
sort_orderinteger是
titlestring是
definitionstring是
is_obsoleteboolean是
examplesstring[]是
quotesMeaningQuoteT[]否
categoriesCategoryE[]是
meaning_levelWordLevelE | null是
area_variantEnAreaVariantsE是
language_registerLanguageRegisterE | null是
translationsPublicWordV1MeaningTranslationT[]是
synonymsstring[]是
antonymsstring[]是

PublicHeadwordMeaningsV1ResT

名称类型必填描述
dataPublicMeaningV1T[]是
metaPublicHeadwordV1MetaT是

PublicWordFormV1T

名称类型必填描述
originsOriginT[]否
contributionsOriginT[]否
licensesWordLicenseT[]否
word_idinteger是
part_of_speechEnPartOfSpeechE是
sourcestring否
modifiedboolean否
alternativesstring[]否
idinteger是
wordstring是
form_of_wordEnWordFormsE是
area_variantEnAreaVariantsE是
transcriptionstring | null是
pronunciationsPronunciationT[]否Ordered pronunciations, with legacy transcription and base-form fallback.

PublicHeadwordFormsV1ResT

名称类型必填描述
dataPublicWordFormV1T[]是
metaPublicHeadwordV1MetaT是

PublicShortTranslationV1T

名称类型必填描述
originsOriginT[]否
contributionsOriginT[]否
licensesWordLicenseT[]否
word_idinteger是
part_of_speechEnPartOfSpeechE是
sourcestring否
modifiedboolean否
idinteger是
languageAvailableTranslationLanguagesE是
descriptionstring是
variants_of_wordsstring[]是

PublicMeaningTranslationV1T

名称类型必填描述
meaning_idinteger是
originsOriginT[]否
contributionsOriginT[]否
licensesWordLicenseT[]否
word_idinteger是
part_of_speechEnPartOfSpeechE是
sourcestring否
modifiedboolean否
idinteger是
languageAvailableTranslationLanguagesE是
titlestring是
definitionstring是
variants_of_wordsstring[]是

PublicWordLinkV1T

名称类型必填描述
meaning_idinteger是
wordstring是
originsOriginT[]否
contributionsOriginT[]否
licensesWordLicenseT[]否
word_idinteger是
part_of_speechEnPartOfSpeechE是
sourcestring否
modifiedboolean否

PublicHeadwordLinksV1ResT

名称类型必填描述
dataPublicWordLinkV1T[]是
metaPublicHeadwordV1MetaT是

PublicChangeV1T

名称类型必填描述
inherited_fromOriginT | null否
contributionOriginT | null否Terms captured when this edit was made, independent of later dataset changes.
reasonstring | null否
created_atstring是
wordstring是
part_of_speechstring | null是
entityChangeEntityE是
actionChangeActionE是
recordChangeRecordT | null是
diffChangeDiffT是
originChangeOriginE是
authorstring | null是
sourcestring否

ChangeEntityE

What was edited

取值之一: word, word_form, meaning, meaning_translation, short_translation

ChangeActionE

取值之一: create, update, delete

ChangeRecordT

The record of an entry an edit is about, by what it says rather than by its id: ids change when a dataset is updated and differ between instances. Null for the word itself — the headword and the part of speech name it.

名称类型必填描述

ChangeFormRecordT

名称类型必填描述
wordstring是
form_of_wordstring是

ChangeMeaningRecordT

名称类型必填描述
titlestring是
sort_orderinteger是

ChangeTranslationRecordT

名称类型必填描述
meaningChangeMeaningRecordT是
languagestring是
titlestring是

ChangeShortTranslationRecordT

名称类型必填描述
languagestring是
descriptionstring是

ChangeDiffT

The values an edit changed: `{ field: { before, after } }`; a creation has no `before`, a deletion no `after`

名称类型必填描述

ChangeOriginE

Where an edit came from

取值之一: admin, suggestion, revert

PublicHeadwordHistoryV1MetaT

名称类型必填描述
wordstring是
countinteger是
variantsstring[]否

PublicHeadwordHistoryV1ResT

名称类型必填描述
dataPublicChangeV1T[]是
metaPublicHeadwordHistoryV1MetaT是

PublicDatasetTermsV1T

名称类型必填描述
originsOriginT[]否
licensesWordLicenseT[]否
descriptionstring | null否
datasetstring是
titlestring否
activeboolean是
sourcestring是
dataset_versionstring | null是
licensestring是
license_urlstring是
attributionstring是
attribution_urlstring | null是
noticestring是
license_textstring是

PublicWordDatasetV1T

名称类型必填描述
wordstring是
variantsstring[]是
countinteger是
entriesPublicWordV1T[]是
originsOriginT[]否
licensesWordLicenseT[]否
descriptionstring | null否
datasetstring是
titlestring否
activeboolean是
sourcestring是
dataset_versionstring | null是
licensestring是
license_urlstring是
attributionstring是
attribution_urlstring | null是
noticestring是
license_textstring是

PublicWordDatasetsV1MetaT

名称类型必填描述
wordstring是
datasetsinteger是
foundinteger是

PublicWordDatasetsV1ResT

名称类型必填描述
dataPublicWordDatasetV1T[]是
metaPublicWordDatasetsV1MetaT是

PublicHeadwordTranslationsV1T

名称类型必填描述
short_translationsPublicShortTranslationV1T[]是
meaning_translationsPublicMeaningTranslationV1T[]是

PublicHeadwordTranslationsV1ResT

名称类型必填描述
metaPublicHeadwordV1MetaT是
dataPublicHeadwordTranslationsV1T是

PublicWordsBatchItemV1T

名称类型必填描述
wordstring是
countinteger是
entriesPublicWordV1T[]是

PublicWordsBatchV1MetaT

名称类型必填描述
countinteger是
not_foundstring[]是

PublicWordsBatchV1ResT

名称类型必填描述
dataPublicWordsBatchItemV1T[]是
metaPublicWordsBatchV1MetaT是

PublicWordsV1MetaT

名称类型必填描述
limitinteger是
has_moreboolean是
next_cursorstring | null是

PublicWordsV1ResT

名称类型必填描述
dataPublicWordV1T[]是
metaPublicWordsV1MetaT是

PublicDatasetCountsV1T

名称类型必填描述
entriesinteger是
wordsinteger是
phrasesinteger是
grammar_patternsinteger是
word_formsinteger是
meaningsinteger是
meaning_translationsinteger是
short_translationsinteger是

PublicMetaV1T

名称类型必填描述
originsOriginT[]否
licensesWordLicenseT[]否
descriptionstring | null否
api_versionstring是
app_versionstring是
dataset_versionstring | null是
licensestring是
license_urlstring是
attributionstring是
noticestring是
datasetstring否
titlestring否
sourcestring否
attribution_urlstring | null否
license_textstring否
modified_entriesinteger否
countsPublicDatasetCountsV1T是
available_languagesPublicAvailableLanguagesV1T是

PublicAvailableLanguagesV1T

名称类型必填描述
sourcestring[]是
translationsAvailableTranslationLanguagesE[]是

PublicMetaV1ResT

名称类型必填描述
dataPublicMetaV1T是

PublicSuggestionCreatedV1T

名称类型必填描述
idinteger是
statusstring是

PublicSuggestionCreatedV1ResT

名称类型必填描述
dataPublicSuggestionCreatedV1T是

PublicApiErrorT

名称类型必填描述
statusCodenumber是
messagestring是
errorboolean是

DictionaryApiV1DatasetsResT

名称类型必填描述
dataobject[]是
metaobject是found counts datasets with entries, including for adapters whose misses are HTTP 200.

DictionaryApiV1ResT

名称类型必填描述

DictionaryApiDefinitionT

名称类型必填描述
definitionstring是
examplestring否
synonymsstring[]是
antonymsstring[]是

DictionaryApiPhoneticT

名称类型必填描述
textstring否
audiostring是
sourceUrlstring否
licenseDictionaryApiLicenseT否
vocabBloomobject否Lossless recording terms; the upstream singular license cannot express all of these.

DictionaryApiLicenseT

名称类型必填描述
namestring是
urlstring是

DictionaryApiErrorT

名称类型必填描述
titlestring是
messagestring是
resolutionstring是

DictionaryApiV2DatasetsResT

名称类型必填描述
dataobject[]是
metaobject是found counts datasets with entries, including for adapters whose misses are HTTP 200.

DictionaryApiV2ResT

名称类型必填描述

DictionaryApiMeaningT

名称类型必填描述
partOfSpeechstring是
definitionsDictionaryApiDefinitionT[]是
synonymsstring[]是
antonymsstring[]是

FreeDictionaryDatasetsResT

名称类型必填描述
dataobject[]是
metaobject是found counts datasets with entries, including for adapters whose misses are HTTP 200.

FreeDictionaryEntriesResT

名称类型必填描述
wordstring是
entriesFreeDictionaryEntryT[]是
sourceobject是
vocabBloomPublicDatasetTermsV1T是Terms of the dataset read. Word-specific origins are retained on each entry.

FreeDictionaryEntryT

名称类型必填描述
languageFreeDictionaryLanguageT是
partOfSpeechstring是
pronunciationsobject[]是
formsobject[]是
sensesFreeDictionarySenseT[]是
synonymsstring[]是
antonymsstring[]是
vocabBloomobject是Native entry identity and lossless terms; additive to the upstream format.

FreeDictionaryLanguageT

名称类型必填描述
codestring是
namestring是

FreeDictionarySenseT

名称类型必填描述
definitionstring是
tagsstring[]是
examplesstring[]是
quotesobject[]是
synonymsstring[]是
antonymsstring[]是
translationsobject[]否
subsensesFreeDictionarySenseT[]是

FreeDictionaryErrorT

Upstream parameter errors are plain text, not the native error envelope.

名称类型必填描述

FreeDictionaryLanguagesResT

名称类型必填描述

PublicDatasetsV1ResT

Public selector inventory, in installation order; no dictionary connections or counts.

名称类型必填描述
dataPublicDatasetTermsV1T[]是
metaobject是

PublicSearchDatasetResultV1T

名称类型必填描述
statusstring
ok
是
dataPublicWordV1T[]是
metaPublicSearchDetailedV1MetaT是
originsOriginT[]否
licensesWordLicenseT[]否
descriptionstring | null否
datasetstring是
titlestring否
activeboolean是
sourcestring是
dataset_versionstring | null是
licensestring是
license_urlstring是
attributionstring是
attribution_urlstring | null是
noticestring是
license_textstring是

PublicSearchDatasetUnavailableV1T

A failed reader has no result list or paging metadata; it is not an empty match.

名称类型必填描述
statusstring
unavailable
是
errorstring
dataset_unavailable
是
originsOriginT[]否
licensesWordLicenseT[]否
descriptionstring | null否
datasetstring是
titlestring否
activeboolean是
sourcestring是
dataset_versionstring | null是
licensestring是
license_urlstring是
attributionstring是
attribution_urlstring | null是
noticestring是
license_textstring是

PublicSearchDatasetV1T

名称类型必填描述

PublicSearchDatasetsV1ResT

名称类型必填描述
dataPublicSearchDatasetV1T[]是
metaobject是

PublicSemanticMatchV1T

A matching existing sense, with cosine similarity (not a confidence probability).

名称类型必填描述
wordPublicSearchWordV1T是
meaningobject是
scorenumber是Cosine similarity from -1 to 1; no calibrated no-answer threshold.

PublicSemanticSearchV1ResT

名称类型必填描述
dataPublicSemanticMatchV1T[]是
metaobject是

PublicSemanticStatusV1ResT

名称类型必填描述
dataobject是