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

# Search targets in Duaer

In Duaer, search Open Targets gene–disease associations with Duaer Data. One successful search uses 1 credit. This page includes the full English call skill.
## What you get

Targets in the Duaer data market searches Open Targets gene–disease association scores. One successful search uses 1 credit.

Add the node from the [Duaer Data category](/getting-started/duaer-data.md) (Targets), or copy the skill on the [data market](/getting-started/data-market.md). Related: [Genes](/getting-started/genes.md) and [Diseases](/getting-started/diseases.md).

## Search on the canvas

1. Open the node creator, select Duaer Data, then Targets.
2. Gene or Disease is required (a new node starts with Gene INS). Disease may be a name or EFO_/MONDO_ id; with Gene it filters that gene’s associations.
3. Limit defaults to 10, max 20; results sort by association score descending. 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/targets?...
- Authorization: Bearer <Duaer key>
- gene or disease 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-targets
description: >-
  Search Open Targets gene–disease associations through Duaer.
  One successful search uses 1 Duaer credit.
---

# Duaer targets

Search Open Targets gene–disease associations through Duaer with a Duaer key.

## Call

`GET https://api.duaer.com/v1/data/targets?gene=INS&limit=10`

Header: `Authorization: Bearer <Duaer key>`

Use an account key or a model API key.

At least `gene` or `disease` is required.

- `gene` — gene symbol or Ensembl id. Look up symbols with https://skills.duaer.com/genes.md.
- `disease` — optional. Disease name or ontology id (`EFO_` / `MONDO_`). Alone, returns associated targets. With `gene`, filters that gene’s associations. Look up names with https://skills.duaer.com/diseases.md.
- `limit` — optional. From 1 to 20. Default 10. Results are sorted by association score descending.

## Result

Each item has `source`, `title`, `url`, `summary`, `gene`, `ensemblId`, `disease`, `diseaseId`, and `score`.
Reuse `gene` when searching proteins, genes, expression, interactions, or orthologs. Reuse `disease` when searching diseases or proteins.

## 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

### What if I only enter a disease in Duaer Targets?

Duaer returns the strongest associated target genes for that disease, sorted by association score.

## Related

- [Search genes in Duaer](https://doc.duaer.com/getting-started/genes.md)
- [Search diseases in Duaer](https://doc.duaer.com/getting-started/diseases.md)
- [Search proteins in Duaer](https://doc.duaer.com/getting-started/proteins.md)
- [Search expression in Duaer](https://doc.duaer.com/getting-started/expression.md)
- [Use the Duaer data market](https://doc.duaer.com/getting-started/data-market.md)

