Get started
Wikipedia 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.
What you get
Duaer Wikipedia searches article titles and text in one Wikipedia language edition. Use it for background, definitions, and the right article link.
Pick Duaer Data → Wikipedia in the node creator, or open the data market. Related: wikidata, Open Library.
When to use it
- Add a one-line definition or background to a report or chat answer.
- Find the article in Chinese, Japanese, or another edition with `lang`.
When not to use it
Search on the canvas
- Open the node creator and pick Duaer Data → Wikipedia.
- Fill Words (such as photosynthesis). Optional: Language.
- 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/wikipedia?words=photosynthesis&limit=3
- 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-wikipedia
description: >-
Duaer Wikipedia. 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 Duaer credit.
---
# Duaer Wikipedia
Duaer Wikipedia searches article titles and text in one Wikipedia language edition. Use it for background, definitions, and the right article link.
## When to use
- Add a one-line definition or background to a report or chat answer.
- Find the article in Chinese, Japanese, or another edition with `lang`.
## When not to use
- Structured facts such as IDs and dates. Use https://skills.duaer.com/wikidata.md.
- Peer-reviewed evidence. Use https://skills.duaer.com/papers.md.
## Call
`GET https://api.duaer.com/v1/data/wikipedia?words=photosynthesis&limit=3`
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 `words`.
- `words` — Words to find, such as photosynthesis.
- `lang` — Optional. Wikipedia language code, such as en, zh, de, or ja. Default en.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.
## Examples
- `GET https://api.duaer.com/v1/data/wikipedia?words=photosynthesis&limit=3` — English articles.
- `GET https://api.duaer.com/v1/data/wikipedia?words=Photosynthese&lang=de` — German Wikipedia. Use zh for Chinese or ja for Japanese.
## Result
The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:
- `pageId`, `language` — article id and edition.
- `description` — short description.
- `excerpt` — matching text snippet.
- `thumbnailUrl` — thumbnail image, when present.
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/wikidata.md
- https://skills.duaer.com/open-library.md — Duaer Open Library
Questions
How many credits does a Wikipedia search use in Duaer?
One credit when Duaer returns rows. A search with no rows or an error uses 0.
Can Duaer search Chinese Wikipedia?
Yes. Set `lang=zh`. Any Wikipedia language code works.
In this section
Search Wikidata in Duaer
In Duaer, search entities in Wikidata. One successful search uses 1 credit.
Get startedOpen Library in Duaer
In Duaer: Books from Open Library by title, author, or subject: authors, first publication year, edition count, ISBN, subjects, e-book access, and cover image. One successful search uses 1 credit.