> For the complete documentation index, see [llms.txt](https://doc.duaer.com/zh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/zh/getting-started/word-definitions.md).

# 在 Duaer 里查词语释义

在 Duaer 里：Wiktionary：单词在英文、中文等多种语言中的释义、词性与例句。一次成功查询用 1 额度。
## 能拿到什么

Duaer 数据市场里的「词语释义」：Wiktionary：单词在英文、中文等多种语言中的释义、词性与例句。查到结果时用 1 额度，结果交给数字组织的下一个节点。

从节点创建器选 Duaer 数据 → 词语释义，或打开 [数据市场](/zh/getting-started/data-market.md)。相关：[英文找词](/zh/getting-started/word-finder.md)、[维基百科](/zh/getting-started/wikipedia.md)。

## 适合做什么

- 在阅读应用里解释生僻英文单词。
- 查一个中文或法文词的多种释义。

## 在画布里检索

1. 打开节点创建器，选 Duaer 数据 → Word definitions。
2. 填 Word（如 serendipity）；Language（zh）可选。
3. Limit 默认 10，最大 20。执行。

查到结果才扣 1 额度；没有结果、输入有误或上游失败都不扣。

## 用 API 调用

- GET https://api.duaer.com/v1/data/word-definitions?word=serendipity
- Authorization: Bearer <Duaer key>

下方是与数据市场「复制技能」相同的英文技能，含参数、示例与返回字段。

## 调用技能（英文）

与数据市场「复制技能」一致。

```
---
name: duaer-word-definitions
description: >-
  Duaer Word definitions. Wiktionary: definitions, parts of speech, and examples for a word in English, Chinese, and many other languages.
  One successful search uses 1 Duaer credit.
---

# Duaer Word definitions

Duaer Word definitions reads Wiktionary and returns one row per definition of a word, with the part of speech and an example sentence.

## When to use

- Define an unfamiliar English word in a reading app.
- Look up the meanings of a Chinese or French word.

## When not to use

- Synonyms, rhymes, or related words. Use https://skills.duaer.com/word-finder.md.
- Encyclopedia articles. Use https://skills.duaer.com/wikipedia.md.

## Call

`GET https://api.duaer.com/v1/data/word-definitions?word=serendipity`

Header: `Authorization: Bearer <Duaer key>`

Use an account key or a model API key.

Get a Duaer key: https://skills.duaer.com/keys.md

## Parameters

Provide `word`.

- `word` — A word or short phrase, such as serendipity. URL-encode non-Latin text.
- `language` — Optional. Language code such as `en`, `zh`, or `fr`, or `all`. Default `en`.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.

## Examples

- `GET https://api.duaer.com/v1/data/word-definitions?word=serendipity` — English definitions of serendipity.
- `GET https://api.duaer.com/v1/data/word-definitions?word=%E5%92%96%E5%95%A1&language=zh` — Chinese definitions of the word for coffee.

## Result

The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:

- `word`, `language`, `languageCode` — the word and the language of the entry.
- `partOfSpeech`, `definition`, `example` — part of speech, the definition, and one example.

A word Wiktionary does not have finds nothing and uses 0 credits.

Fields without a value are left out.

## Credits

A search that returns at least one row uses 1 credit.
An empty search, a search that finds nothing, or a failed search uses 0.
Wrong input returns 400 with a message and uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.

## Related

- https://skills.duaer.com/word-finder.md — Duaer Word finder
- https://skills.duaer.com/wikipedia.md — Duaer Wikipedia

```
## Questions

### Duaer 的词语释义检索扣多少额度？

查到结果时扣 1 额度；没有结果或出错不扣。

### Duaer 词语释义支持哪些语言？

用 Wiktionary 的语言代码，如 en、zh、fr、ja；填 all 返回所有语言的释义。

## 相关

- [在 Duaer 里查英文找词](https://doc.duaer.com/zh/getting-started/word-finder.md)
- [在 Duaer 里查维基百科](https://doc.duaer.com/zh/getting-started/wikipedia.md)

