Duaer

入门

在 Duaer 里检索疾病

在 Duaer 里用 Duaer Data 检索 UniProt 疾病名称。一次成功查询 1 额度。正式名可用于蛋白检索的 Disease 字段。本页含完整英文调用技能。

能拿到什么

Duaer 数据市场里的「疾病」检索 UniProt 疾病词表。一次成功查询 1 额度。

从节点创建器的 Duaer 数据分类 选「疾病」,或打开 数据市场 复制技能。拿到的正式名可填进 基因和蛋白 的 Disease。

在画布里检索

  1. 打开节点创建器,点「Duaer 数据」,再选「疾病」。
  2. 用 Words 即可检索(新节点默认 diabetes)。Disease ID、Name、Acronym 可选;Disease ID 来自结果里的 diseaseId。
  3. Limit 默认 10,最大 20。点执行此步骤。

成功扣 1 额度。结果含 source、title、url、summary,以及 diseaseId、acronym、alternativeNames、reviewedProteinCount。把 title 用作蛋白检索的 disease;需要精确查时再把 diseaseId 填进 Disease ID。正式运行的交付进 数据池。

用 API 调用

  • GET https://api.duaer.com/v1/data/diseases?...
  • Authorization: Bearer <Duaer key>
  • 字段可组合;至少填一个检索字段。

密钥见 Duaer 公开 API 的身份验证。下方是与「复制技能」相同的英文技能。

调用技能(英文)

与数据市场「复制技能」一致。正文保持英文。

---
name: duaer-diseases
description: >-
  Search disease names through Duaer. Use the formal name with proteins.disease.
  One successful search uses 1 Duaer credit.
---

# Duaer diseases

Search the UniProt disease vocabulary through Duaer with a Duaer key.

## Call

`GET https://api.duaer.com/v1/data/diseases?q=diabetes&limit=10`

Header: `Authorization: Bearer <Duaer key>`

Use an account key or a model API key.

At least one search field is required. Fields combine.
Search with `q` first; use `id` or `acronym` only when you already have them from a result.

- `q` — words in the disease name or definition.
- `id` — optional. UniProt disease id from a result (`diseaseId`), such as `DI-02060`.
- `name` — optional. Disease name.
- `acronym` — optional. Disease acronym from a result, such as `T2D`.
- `limit` — optional. From 1 to 20. Default 10.

## Result

Each item has `source`, `title`, `url`, `summary`, `diseaseId`, `acronym`, `alternativeNames`, and `reviewedProteinCount`.
Use `title` as `disease` when searching proteins. Reuse `diseaseId` in `id` for an exact lookup.

## Credits

One successful search uses 1 credit.
An empty search, a failed search, a compound that matches nothing, or no remaining credits uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.

常见问题

疾病名用在哪里?

把结果里的 title 填进 Duaer 基因和蛋白检索的 Disease 字段(API 的 disease)。

同组