Duaer

入门

在 Duaer 里查美国医院(CMS)

在 Duaer 里:CMS Care Compare 收录的 Medicare 认证美国医院:类型、所有制、急诊服务与总体星级。一次成功查询用 1 额度。

能拿到什么

Duaer 数据市场里的「美国医院(CMS)」:CMS Care Compare 收录的 Medicare 认证美国医院:类型、所有制、急诊服务与总体星级。查到结果时用 1 额度,结果交给数字组织的下一个节点。

从节点创建器选 Duaer 数据 → 美国医院(CMS),或打开 数据市场。相关:美国医疗服务者登记(NPI)、WHO 卫生统计。

适合做什么

  • 查找某城市或邮编内的医院及其星级。
  • 确认某医院是否提供急诊。

在画布里检索

  1. 打开节点创建器,选 Duaer 数据 → US hospitals (CMS)。
  2. 填 Name(如 general)、City、State 或 ZIP 之一。
  3. Limit 默认 10,最大 20。执行。

查到结果才扣 1 额度;没有结果、输入有误或上游失败都不扣。

用 API 调用

  • GET https://api.duaer.com/v1/data/cms-hospitals?name=general&state=MA
  • Authorization: Bearer <Duaer key>

下方是与数据市场「复制技能」相同的英文技能,含参数、示例与返回字段。

调用技能(英文)

与数据市场「复制技能」一致。

---
name: duaer-cms-hospitals
description: >-
  Duaer US hospitals (CMS). Medicare-certified US hospitals from CMS Care Compare: type, ownership, emergency services, and overall star rating.
  One successful search uses 1 Duaer credit.
---

# Duaer US hospitals (CMS)

Duaer US hospitals (CMS) searches the CMS Care Compare list of Medicare-certified US hospitals, with the CMS overall star rating where one exists.

## When to use

- Find hospitals in a city or ZIP code with their star rating.
- Check whether a hospital offers emergency services.

## When not to use

- Individual clinicians. Use https://skills.duaer.com/npi.md.
- Global health statistics. Use https://skills.duaer.com/who-gho.md.

## Call

`GET https://api.duaer.com/v1/data/cms-hospitals?name=general&state=MA`

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`, or `zip`.

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

## Examples

- `GET https://api.duaer.com/v1/data/cms-hospitals?name=general&state=MA` — general hospitals in Massachusetts.
- `GET https://api.duaer.com/v1/data/cms-hospitals?city=Houston&state=TX&limit=20` — hospitals in Houston.

## Result

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

- `facilityId`, `name` — CMS certification number and hospital name.
- `address`, `city`, `state`, `zip`, `county`, `phone` — location.
- `hospitalType`, `ownership`, `emergencyServices` — type, owner, and emergency care.
- `overallRating` — 1 to 5 stars; left out when CMS has no rating.
- `birthingFriendly` — meets the CMS birthing-friendly criteria.

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/npi.md — Duaer US provider registry (NPI)
- https://skills.duaer.com/who-gho.md — Duaer WHO health statistics

常见问题

Duaer 的美国医院(CMS)检索扣多少额度?

查到结果时扣 1 额度;没有结果或出错不扣。

Duaer 美国医院的星级为什么有时为空?

CMS 没有给出总体星级时,Duaer 美国医院会省略 overallRating。

同组