> 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/cms-nursing-homes.md).

# US nursing homes (CMS) in Duaer

In Duaer: Medicare nursing homes from CMS Care Compare: beds, ownership, and star ratings for overall, inspections, staffing, and quality. One successful search uses 1 credit.
## What you get

Duaer US nursing homes (CMS) searches the CMS list of Medicare and Medicaid nursing homes with their five-star ratings.

Pick Duaer Data → US nursing homes (CMS) in the node creator, or open the [data market](/getting-started/data-market.md). Related: [US hospitals (CMS)](/getting-started/cms-hospitals.md), [US clinicians (CMS)](/getting-started/cms-clinicians.md).

## When to use it

- Find highly rated nursing homes in a city.
- Compare staffing and inspection ratings.

## When not to use it

- Hospitals. Use [US hospitals (CMS)](/getting-started/cms-hospitals.md).
- Individual clinicians. Use [US clinicians (CMS)](/getting-started/cms-clinicians.md).

## Search on the canvas

1. Open the node creator and pick Duaer Data → US nursing homes (CMS).
2. Fill State (such as MA). Optional: Name, City, ZIP, Minimum Stars.
3. Limit defaults to 10, max 20. Execute.

A search uses 1 credit only when it returns rows. No rows, wrong input, or an upstream failure uses 0.

## Call the API

- GET https://api.duaer.com/v1/data/cms-nursing-homes?city=Boston&state=MA&minRating=4
- Authorization: Bearer <Duaer key>

The call skill below matches Copy skill in the Duaer data market, with parameters, examples, and result fields.

## Call skill

Same text as Copy skill.

```
---
name: duaer-cms-nursing-homes
description: >-
  Duaer US nursing homes (CMS). Medicare nursing homes from CMS Care Compare: beds, ownership, and star ratings for overall, inspections, staffing, and quality.
  One successful search uses 1 Duaer credit.
---

# Duaer US nursing homes (CMS)

Duaer US nursing homes (CMS) searches the CMS list of Medicare and Medicaid nursing homes with their five-star ratings.

## When to use

- Find highly rated nursing homes in a city.
- Compare staffing and inspection ratings.

## When not to use

- Hospitals. Use https://skills.duaer.com/cms-hospitals.md.
- Individual clinicians. Use https://skills.duaer.com/cms-clinicians.md.

## Call

`GET https://api.duaer.com/v1/data/cms-nursing-homes?city=Boston&state=MA&minRating=4`

Header: `Authorization: Bearer <Duaer key>`

Use an account key or a model API key.

Get a Duaer key: https://skills.duaer.com/keys.md

## Parameters

Provide `name`, `city`, `state`, `zip`, or `minRating`.

- `name` — Optional. Words in the name, such as care.
- `city` — Optional. City, such as Boston.
- `state` — Optional. Two-letter state code, such as MA.
- `zip` — Optional. Five-digit ZIP code, such as 02114.
- `minRating` — Optional. Overall rating from 1 to 5.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.

## Examples

- `GET https://api.duaer.com/v1/data/cms-nursing-homes?city=Boston&state=MA&minRating=4` — four- and five-star homes in Boston.
- `GET https://api.duaer.com/v1/data/cms-nursing-homes?zip=10025` — homes in one ZIP code.

## Result

The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:

- `ccn`, `name`, `address`, `city`, `state`, `zip`, `phone` — facility.
- `ownership`, `chain`, `certifiedBeds`, `residentsPerDay` — size and owner.
- `overallRating`, `healthInspectionRating`, `staffingRating`, `qualityRating` — 1 to 5 stars.
- `abuseCitation` — CMS abuse icon.

Fields without a value are left out.

## Credits

A search that returns at least one row uses 1 credit.
An empty search, a search that finds nothing, or a failed search uses 0.
Wrong input returns 400 with a message and uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.

## Related

- https://skills.duaer.com/cms-hospitals.md — Duaer US hospitals (CMS)
- https://skills.duaer.com/cms-clinicians.md — Duaer US clinicians (CMS)

```
## Questions

### How many credits does a US nursing homes (CMS) search use in Duaer?

One credit when Duaer returns rows. A search with no rows or an error uses 0.

### How does Minimum Stars work in Duaer US nursing homes (CMS)?

Enter 1 to 5. Duaer returns only nursing homes whose CMS overall rating is at least that value.

## Related

- [US hospitals (CMS) in Duaer](https://doc.duaer.com/getting-started/cms-hospitals.md)
- [US clinicians (CMS) in Duaer](https://doc.duaer.com/getting-started/cms-clinicians.md)

