> 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/dbsnp.md).

# Search dbSNP in Duaer

In Duaer, search variant ids in dbSNP. One successful search uses 1 credit.
## What you get

dbSNP in the Duaer data market uses 1 credit per successful search.

Related: [Variants](/getting-started/variants.md).

## Search on the canvas

1. Open the node creator, select Duaer Data, then dbSNP.
2. Enter Words (default BRCA1) or an id.
3. Limit defaults to 10, max 20.

A successful search uses 1 credit.

## Call the API

- GET https://api.duaer.com/v1/data/dbsnp?...
- Authorization: Bearer <Duaer key>

Below is the same English call skill as Copy skill.

## Call skill

Same text as Copy skill.

```
---
name: duaer-dbsnp
description: >-
  Search variant ids in dbSNP through Duaer.
  One successful search uses 1 Duaer credit.
---

# Duaer dbSNP

Search variant ids in dbSNP through Duaer with a Duaer key.

## Call

`GET https://api.duaer.com/v1/data/dbsnp?words=BRCA1&limit=10`

Header: `Authorization: Bearer <Duaer key>`

Use an account key or a model API key.

Provide `words` or `id`.
- `words` — gene words, such as BRCA1.
- `id` — optional. rs id such as rs56116432.
- `limit` — optional. From 1 to 20. Default 10.

## Result

Each item has `source`, `title`, `url`, `summary`, `rsid`, `chrom`, `gene`, `clinicalSignificance`, and `spdi`.

```
## Questions

### How many credits does a dbSNP search use in Duaer?

One successful search uses 1 credit.

