Get started
Word definitions in Duaer
In Duaer: Wiktionary: definitions, parts of speech, and examples for a word in English, Chinese, and many other languages. One successful search uses 1 credit.
What you get
Duaer Word definitions reads Wiktionary and returns one row per definition of a word, with the part of speech and an example sentence.
Pick Duaer Data → Word definitions in the node creator, or open the data market. Related: Word finder, Wikipedia.
When to use it
- Define an unfamiliar English word in a reading app.
- Look up the meanings of a Chinese or French word.
When not to use it
- Synonyms, rhymes, or related words. Use Word finder.
- Encyclopedia articles. Use Wikipedia.
Search on the canvas
- Open the node creator and pick Duaer Data → Word definitions.
- Fill Word (such as serendipity). Optional: Language (zh).
- Limit defaults to 10, max 20. Execute.
A search uses 1 credit only when it returns rows. No rows, wrong input, or an upstream failure uses 0.
Call the API
- GET https://api.duaer.com/v1/data/word-definitions?word=serendipity
- Authorization: Bearer <Duaer key>
The call skill below matches Copy skill in the Duaer data market, with parameters, examples, and result fields.
Call skill
Same text as Copy skill.
---
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
How many credits does a Word definitions search use in Duaer?
One credit when Duaer returns rows. A search with no rows or an error uses 0.
Which languages does Duaer Word definitions support?
Use a Wiktionary language code such as en, zh, fr, or ja, or all for every language.
In this section
Word finder in Duaer
In Duaer: Datamuse: English words that mean, sound like, are spelled like, rhyme with, relate to, or oppose your words. One successful search uses 1 credit.
Get startedWikipedia in Duaer
In Duaer: Wikipedia articles in any language edition with the short description, a text excerpt, and a thumbnail, for quick background on a term. One successful search uses 1 credit.