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

# Search MeSH in Duaer

In Duaer, look up MeSH subject headings via NLM MeSH with Duaer Data. One successful search uses 1 credit. This page includes the full English call skill.
## What you get

MeSH in the Duaer data market returns subject headings and MeSH unique ids. One successful search uses 1 credit.

Add the node from the [Duaer Data category](/getting-started/duaer-data.md) (MeSH), or copy the skill on the [data market](/getting-started/data-market.md). Related: [Keywords](/getting-started/keywords.md) and [RxNorm](/getting-started/rxnorm.md).

## Search on the canvas

1. Open the node creator, select Duaer Data, then MeSH.
2. Enter Words (a new node starts with aspirin), or a MeSH id such as D001241.
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/mesh?...
- Authorization: Bearer <Duaer key>
- words or id 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-mesh
description: >-
  Look up MeSH subject headings through Duaer (NLM MeSH).
  One successful search uses 1 Duaer credit.
---

# Duaer MeSH

Look up MeSH descriptors through Duaer with a Duaer key (NLM MeSH RDF lookup).

## Call

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

Header: `Authorization: Bearer <Duaer key>`

Use an account key or a model API key.

Provide `words` or `id` (or both; id wins).

- `words` — MeSH descriptor label.
- `id` — optional. MeSH unique id (D001241). Overrides words when set.
- `limit` — optional. From 1 to 20. Default 10.

## Result

Each item has `source`, `title`, `url`, `summary`, `meshId`, `resource`, and `synonyms`.
Related keywords: https://skills.duaer.com/keywords.md.
Related RxNorm: https://skills.duaer.com/rxnorm.md.

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

### How do Duaer MeSH differ from Keywords?

MeSH is NLM Medical Subject Headings. Keywords search UniProt keywords.

## Related

- [Search keywords in Duaer](https://doc.duaer.com/getting-started/keywords.md)
- [Search RxNorm in Duaer](https://doc.duaer.com/getting-started/rxnorm.md)
- [Search diseases in Duaer](https://doc.duaer.com/getting-started/diseases.md)
- [Use the Duaer data market](https://doc.duaer.com/getting-started/data-market.md)

