> For the complete documentation index, see [llms.txt](https://doc.duaer.com/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/getting-started/variants.md).

# Search variants in Duaer

In Duaer, search variants with Duaer Data (ClinVar / dbSNP). One successful search uses 1 credit. This page includes the full English call skill.
## What you get

Variants in the Duaer data market searches public ClinVar / dbSNP records. One successful search uses 1 credit.

Add the node from the [Duaer Data category](/getting-started/duaer-data.md) (Variants), or copy the skill on the [data market](/getting-started/data-market.md). Look up gene symbols with [Genes](/getting-started/genes.md).

## Search on the canvas

1. Open the node creator, select Duaer Data, then Variants.
2. Words alone is enough (a new node starts with rs113488022). rs ID, Gene, and Variant ID are optional.
3. Limit defaults to 10, max 20. Select Execute step.

A successful search uses 1 credit. Production deliverables land in the [data pool](/getting-started/data-pool.md).

## Call the API

- GET https://api.duaer.com/v1/data/variants?...
- Authorization: Bearer <Duaer key>
- Fields combine; at least one search field is required.

For keys, refer to [Authentication for the Duaer public API](/api/authentication.md). Below is the same English call skill as Copy skill.

## Call skill

Same text as Copy skill on the Duaer data market. Keep it English.

```
---
name: duaer-variants
description: >-
  Search variants through Duaer (ClinVar / dbSNP via MyVariant.info).
  One successful search uses 1 Duaer credit.
---

# Duaer variants

Search variants through Duaer with a Duaer key.

## Call

`GET https://api.duaer.com/v1/data/variants?q=rs113488022&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`, `rsid`, or `gene` first; use `id` only when you already have an HGVS genomic id from a result.

- `q` — words such as an rs id (`rs113488022`).
- `rsid` — optional. dbSNP rs id, such as `rs113488022`.
- `gene` — optional. Gene symbol with ClinVar annotations, such as `BRAF`. Look up symbols with https://skills.duaer.com/genes.md.
- `id` — optional. HGVS genomic id from a result (`variantId`), such as `chr7:g.140453136A>T`.
- `limit` — optional. From 1 to 20. Default 10.

## Result

Each item has `source`, `title`, `url`, `summary`, `variantId`, `rsid`, `gene`, `hgvsProtein`, `clinicalSignificance`, `chrom`, `ref`, and `alt`.
Reuse `variantId` 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.

```
## Questions

### Where do I reuse a variant from Duaer?

Put the item variantId into the Variants Variant ID field in Duaer for an exact lookup.

## Related

- [Search genes in Duaer](https://doc.duaer.com/getting-started/genes.md)
- [Search proteins in Duaer](https://doc.duaer.com/getting-started/proteins.md)
- [Search diseases in Duaer](https://doc.duaer.com/getting-started/diseases.md)
- [Search pathways in Duaer](https://doc.duaer.com/getting-started/pathways.md)

