Medicare Facility Enrollments
Medicare enrollments of U.S. hospitals, nursing homes, FQHCs, rural health clinics, home health agencies and hospices: legal and trade names, NPI, CMS Certification Number, PECOS id, organization type, ownership, incorporation and practice address. Filter by state, city, name, NPI or CCN.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from data.cms.gov/provider-characteristics/hospitals-and-other-facilities/hospital-enrollments
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/medicare-facility-enrollments/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"provider_type":"hospital"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
22 fields: 20 here, 2 technical ones under Technical details.
Basics
- Provider type
Medicare provider type, such as Hospital, Critical access hospital, Skilled nursing facility, Rural health clinic or Hospice.
Example Hospital
- Provider type code
CMS provider type code, such as 00-09 for a hospital.
Example 00-09
- Npi
The 10-digit National Provider Identifier (NPI) of the enrollment.
Example 1174563779
- Has multiple npis
Yes when the organization has more than one NPI (npi shows one).
Example No
- Ccn
CMS Certification Number (CCN), the facility key used across CMS quality and cost data.
Example 450144
- Organization name
Legal business name as enrolled with Medicare.
Example ANDREWS COUNTY HOSPITAL DISTRICT
- Doing business as
Doing-business-as name, often the facility's public name.
Example PERMIAN REGIONAL MEDICAL CENTER
- Organization type
Organization structure as enrolled: CORPORATION, LLC, PARTNERSHIP, GOVERNMENT or OTHER.
Example GOVERNMENT
- Organization type other
The enrolled description when organization_type is OTHER, such as CITY OWNED or 501(C)(3).
Example HOSPITAL DISTRICT
- Proprietary or nonprofit
Proprietary or Nonprofit, as registered with the IRS.
Example Nonprofit
- Hospital subgroups
Hospital units and kinds the hospital reported, such as Acute care, Psychiatric or Swing-bed approved (hospitals only).
Example General
Location
- Incorporation state
Two-letter state where the business is incorporated.
Example TX
- Enrollment state
Two-letter state of the Medicare enrollment.
Example TX
- Address
Street address of the practice location, both address lines.
Example 720 HOSPITAL DR
- City
City of the practice location.
Example ANDREWS
- State
Two-letter state of the practice location.
Example TX
- Zip
ZIP code of the practice location, as ZIP+4 when CMS has it.
Example 79714-3617
- Practice location type
Kind of practice location, such as MAIN/PRIMARY HOSPITAL LOCATION or HOSPITAL PSYCHIATRIC UNIT.
Example MAIN/PRIMARY HOSPITAL LOCATION
Dates
- Incorporation date
The day the business was incorporated.
Example May 14, 2001
Links
- Link
Link to this enrollment in CMS's data API, as JSON.
Technical detailsField names and types for developers, and the 2 fields hidden above
Hidden by default
These 2 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.
- Enrollment ID
enrollment_idThe 15-character Medicare enrollment id, unique per enrollment. - Associate ID
associate_idThe 10-digit PECOS Associate Control (PAC) id, which links all enrollments of one legal entity.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
enrollment_id | text | Enrollment ID (hidden) | 3 of 3 |
provider_type | text | Provider type | 3 of 3 |
provider_type_code | text | Provider type code | 3 of 3 |
npi | text | Npi | 3 of 3 |
has_multiple_npis | yes or no | Has multiple npis | 3 of 3 |
ccn | text | Ccn | 3 of 3 |
associate_id | text | Associate ID (hidden) | 3 of 3 |
organization_name | text | Organization name | 3 of 3 |
doing_business_as | text | Doing business as | 3 of 3 |
organization_type | text | Organization type | 3 of 3 |
organization_type_other | text | Organization type other | 2 of 3 |
proprietary_or_nonprofit | text | Proprietary or nonprofit | 3 of 3 |
incorporation_date | date | Incorporation date | 1 of 3 |
incorporation_state | text | Incorporation state | 1 of 3 |
enrollment_state | text | Enrollment state | 3 of 3 |
address | text | Address | 3 of 3 |
city | text | City | 3 of 3 |
state | text | State | 3 of 3 |
zip | text | Zip | 3 of 3 |
practice_location_type | text | Practice location type | 3 of 3 |
hospital_subgroups | list | Hospital subgroups | 2 of 3 |
url | link | Link | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Provider type | Provider type code | Npi | Has multiple npis | Ccn | Organization name | Doing business as | Organization type | Organization type other | Proprietary or nonprofit | Hospital subgroups | Incorporation state | Enrollment state | Address | City | State | Zip | Practice location type | Incorporation date | Link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Hospital | 00-09 | 1174563779 | No | 450144 | ANDREWS COUNTY HOSPITAL DISTRICT | PERMIAN REGIONAL MEDICAL CENTER | GOVERNMENT | — | Nonprofit | General | — | TX | 720 HOSPITAL DR | ANDREWS | TX | 79714-3617 | MAIN/PRIMARY HOSPITAL LOCATION | — | data.cms.gov/data-api/v1/dataset/f6f6505c-e8b0-4d57-b258-e2b94133aaf2/data?filter%5BENROLLMENT+ID%5D=O20071127000704 |
| 2 | Hospital | 00-09 | 1356398127 | No | 45U144 | ANDREWS COUNTY HOSPITAL DISTRICT | PERMIAN REGIONAL MEDICAL CENTER | OTHER | HOSPITAL DISTRICT | Nonprofit | Swing-bed approved | TX | TX | 720 HOSPITAL DR | ANDREWS | TX | 79714-3617 | HOSPITAL SWING-BED UNIT | May 14, 2001 | data.cms.gov/data-api/v1/dataset/f6f6505c-e8b0-4d57-b258-e2b94133aaf2/data?filter%5BENROLLMENT+ID%5D=O20071127000732 |
| 3 | Rural emergency hospital | 00-24 | 1457393571 | No | 670781 | ANSON HOSPITAL DISTRICT | ANSON GENERAL HOSPITAL | OTHER | HOSPITAL DISTRICT | Nonprofit | — | — | TX | 101 AVENUE J | ANSON | TX | 79501-2113 | OTHER HOSPITAL PRACTICE LOCATION | — | data.cms.gov/data-api/v1/dataset/f6f6505c-e8b0-4d57-b258-e2b94133aaf2/data?filter%5BENROLLMENT+ID%5D=O20230120001774 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- CMS refreshes the hospital and nursing home files monthly and the other four files quarterly, so a new, changed or ended enrollment can take weeks to show. Only facilities currently enrolled in Medicare are listed.
- One facility type per run and at most 10,000 rows. In December 2026 the files held about 14,400 nursing homes, 11,500 home health agencies, 11,200 FQHC sites, 9,100 hospital enrollments, 5,700 hospices and 5,600 rural health clinics.
- Names and addresses are in capital letters as enrolled. The incorporation date is empty for about a quarter of hospitals and half of nursing homes, and many rows have no doing-business-as name.
- CMS documents only two ownership codes (proprietary, nonprofit); a few percent of rows carry another code and come back with proprietary_or_nonprofit empty. Ownership is as enrolled: most Texas nursing homes are enrolled by public hospital districts and read GOVERNMENT and Nonprofit.
- When an organization has more than one NPI, CMS shows one of them and has_multiple_npis is true. A hospital's psychiatric, rehabilitation and swing-bed units are listed as their own enrollments with their own CCN.
- practice_location_type is filled for hospitals and for home health branch offices (HHA BRANCH), hospital_subgroups for hospitals only, and organization_type_other only when the type is OTHER.
- CMS data is public domain. CMS does not endorse this API.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.