Datasets
Everything the API returns comes from public files. Most are published by the Centers for Medicare & Medicaid Services (CMS). The others come from ASTP/ONC (hospital EHR attestations), HRSA (health center sites), the National Library of Medicine (ClinicalTrials.gov), the National Institutes of Health (RePORTER) and the FDA (drug names). The pipeline downloads each file, loads it into Postgres, and archives a Parquet copy. In the table, a source with no publisher named is a CMS file. The data catalog serves the same list over the API, with every column described and profiled.
The table below is a snapshot from 5 December 2026. GET /api/meta always has the current list, with the download URL of each file.
| Table | Source file | Version | Data year | Rows |
|---|---|---|---|---|
partd_drug |
Medicare Part D Prescribers, by Provider and Drug | RY26 P04 V10 | 2024 | 28,023,892 |
medicaid_drug_state |
Medicaid State Drug Utilization Data (Medicaid.gov), with names from the FDA NDC Directory. Lake only. | SDUD 2024 and 2025, updated July 2026; NDC Directory 2026-12-04 | 2024 and 2025 | 9,976,129 |
medicare_service |
Medicare Physician & Other Practitioners, by Provider and Service | R26 P05 V10 | 2024 | 9,781,673 |
providers |
NPPES NPI Registry, monthly file, with NUCC taxonomy 26.1 | November 2026 V2 | 2026 | 9,531,103 |
open_payments |
Open Payments general payments, aggregated to clinician and company | PGYR2024 | 2024 | 4,578,218 |
group_members |
Revalidation Reassignment List, clinician-to-group links | 2026-11 | 2026 | 3,764,899 |
ma_enrollment_county |
Medicare Advantage / Part D Monthly Enrollment by Contract/Plan/State/County | November 2026 | 2026 | 3,387,584 |
clinician_facilities |
Doctors and Clinicians: Facility Affiliation Data | 2026-11-12 | 2026 | 2,280,190 |
partd_provider |
Medicare Part D Prescribers, by Provider | RY26 P04 V20 | 2024 | 1,416,883 |
trial_sites |
ClinicalTrials.gov (National Library of Medicine): US sites of interventional studies | API v2, downloaded 2026-12-05 | 2026 | 1,370,232 |
medicare_provider |
Medicare Physician & Other Practitioners, by Provider | R26 P05 V10 | 2024 | 1,296,739 |
facility_owners |
SNF, HHA, Hospice, FQHC and RHC All Owners, and Nursing Home Ownership | SNF 2026-11-12; HHA, hospice, FQHC, RHC 2026-09-29; nursing home ownership November 2026 | 2026 | 686,080 |
rollup_medicaid_drug_state |
Derived: Medicaid drug volume by drug, state and year | SDUD 2024 and 2025, updated July 2026 | 2024 and 2025 | 346,210 |
hospital_measures |
Care Compare hospital measures: mortality, safety, readmissions, infections, timely care, patient survey, spending | Care Compare 2026-11-12 | 2025 | 303,620 |
nih_grants |
NIH RePORTER: funded projects and principal investigators, linked to NPI by name | API v2, fiscal years 2024 to 2026, downloaded 2026-12-05 | 2024 to 2026 | 292,397 |
trial_investigators |
ClinicalTrials.gov: study officials and site investigators, linked to NPI by name | API v2, downloaded 2026-12-05 | 2026 | 239,175 |
groups |
Revalidation Reassignment List, group practices | 2026-11 | 2026 | 219,703 |
trials |
ClinicalTrials.gov: interventional studies with a US site | API v2, downloaded 2026-12-05 | 2026 | 165,307 |
hospital_owners |
Hospital All Owners | 2026-11-12 | 2026 | 147,029 |
hospital_drgs |
Medicare Inpatient Hospitals, by Provider and Service (MS-DRG) | RY26 P03 V10 | 2024 | 145,879 |
drug_spending |
Medicare Part D, Medicare Part B and Medicaid Spending by Drug | RY26 (Part D P04 V10, Part B P06 V10, Medicaid P06 V20) | 2020 to 2024 | 142,925 |
rollup_hcpcs_state |
Derived: procedure volume by code and state | R26 P05 V10 | 2024 | 128,881 |
rollup_drug_state |
Derived: Medicare Part D volume by drug and state, from the prescriber file and the CMS state totals (Part D Prescribers by Geography and Drug) | RY26 P04 V10 | 2024 | 113,704 |
facilities |
Provider of Services file (iQIES), Care Compare facility listings, PECOS enrollments, Post-Acute Care Utilization and HRSA Health Center Sites, joined | POS Q3 2026; Care Compare September to November 2026; PECOS 2026-09-29 and 2026-11-12; utilization RY26; HRSA 2026-12-04 | 2026 (volumes 2024) | 94,745 |
hospital_ehr_products |
Certified Health IT Reported by Hospitals for Promoting Interoperability (ASTP/ONC, from CMS attestations and the CHPL) | January 2026, program years 2023 and 2024 | 2023 and 2024 | 55,579 |
medicare_enrollment_county |
Medicare Monthly Enrollment, by county | August 2026 (released November 2026) | 2013 to 2026 | 45,877 |
health_center_sites |
HRSA Health Center Service Delivery and Look-Alike Sites | 2026-12-04 | 2026 | 18,389 |
aco_participants |
Medicare Shared Savings Program: ACO Participants | PY2026 (2026-01) | 2026 | 15,329 |
nursing_homes |
Care Compare: Nursing homes, Provider Information | November 2026 | 2026 | 14,681 |
home_health_agencies |
Care Compare: Home Health Care Agencies | October 2026 | 2026 | 12,201 |
hospitals |
Hospital Enrollments, Hospital Provider Cost Report and Hospital All Owners, joined | Enrollments 2026-11-12, cost report FY2024 | 2024 | 9,326 |
ma_plans |
Medicare Advantage / Part D Monthly Enrollment: contract and plan directory | November 2026 | 2026 | 7,582 |
dialysis_facilities |
Care Compare: Dialysis Facility, Listing by Facility | October 2026 | 2026 | 7,449 |
ma_enrollment_state |
Derived: Medicare private-plan enrollment by state and parent organization | November 2026 | 2026 | 6,927 |
surgery_centers |
Provider of Services file (iQIES), ambulatory surgical centers | Q3 2026 | 2026 | 6,665 |
hcpcs |
Derived: codes seen in the Medicare service file | R26 P05 V10 | 2024 | 6,471 |
hospices |
Care Compare: Hospice Provider Data and CAHPS Hospice Survey | November 2026 | 2026 | 6,229 |
hospital_quality |
Care Compare: Hospital General Information, HCAHPS summary and headline outcome measures | Care Compare 2026-11-12 | 2025 | 5,435 |
rollup_specialty_state |
Derived: Medicare activity by specialty and state | R26 P05 V10 | 2024 | 4,976 |
hospital_ehr |
Derived: primary EHR per hospital, from the ONC file above | January 2026, program years 2023 and 2024 | 2024 | 4,224 |
hospital_systems |
Medicare cost reports (HCRIS form 2552-10, worksheet S-2): chain home office per hospital | HCRIS FY2024, file of 2026-10-02 | 2024 | 3,950 |
medicare_enrollment_state |
Medicare Monthly Enrollment, by state | August 2026 (released November 2026) | 2013 to 2026 | 784 |
acos |
Medicare Shared Savings Program: ACOs, with Performance Year Financial and Quality Results | Organizations PY2026 (2026-04), results PY2025 (2026-11-19) | 2026 (results 2025) | 544 |
Two kinds of year
Section titled “Two kinds of year”- Registry and ownership data is current.
providers,groups,group_members,hospital_owners,facilities,facility_ownersandclinician_facilitiescome from late-2026 files. So do Medicare plan enrollment (November 2026), the ACO list (performance year 2026) and the trials download (5 December 2026). - Utilization data lags. Medicare volumes, hospital DRG volumes, Part D prescribing and Open Payments describe calendar year 2024, the latest year CMS has published. Medicaid drug utilization runs to 2025.
- Some sources sit in between. Hospital quality is the November 2026 Care Compare release, with measurement periods mostly in 2024 and 2025. Hospital EHR data is program year 2024, published January 2026. Health systems come from fiscal year 2024 cost reports. ACO results are performance year 2025.
A clinician who started practising in 2025 is in providers but has no Medicare rows yet.
Derived tables
Section titled “Derived tables”Seven tables are computed from the others, not downloaded:
rollup_hcpcs_stateandrollup_specialty_statepre-aggregate the two largest Medicare tables so “by state” questions answer in milliseconds.hcpcsis the list of codes that appear inmedicare_service, with national totals.rollup_drug_statetotals Part D by drug and state, and adds CMS’s own state totals over every prescriber.rollup_medicaid_drug_statetotalsmedicaid_drug_stateby drug, state and year.ma_enrollment_statetotals plan enrollment by state and parent company.hospital_ehrpicks the primary EHR per hospital fromhospital_ehr_products.
Three more hold links made here, which the sources do not publish. hospital_systems resolves each hospital’s reported home office to a system_id. trial_investigators and nih_grants carry an npi matched by name, and aco_participants a group_pac_id matched by name. Caveats says how.
How the pipeline runs
Section titled “How the pipeline runs”The pipeline has five steps, run in this order for each dataset:
| Step | Does |
|---|---|
raw |
Stores the file exactly as CMS published it |
transform |
Cleans and types it into a Parquet file |
lake |
Uploads the Parquet file, which DuckDB reads |
load |
Loads the same Parquet into Postgres. Skipped for partd_drug and medicaid_drug_state, which are held in the lake only. |
profile |
Computes the column statistics the data catalog shows, and writes them to catalog_columns |
Things to know about profile:
- It reads the Parquet files, so it describes the same rows both engines serve.
- It runs last, and only if no earlier step failed. A failed load leaves the previous statistics in place.
- It replaces all of a dataset’s rows in
catalog_columnsat once, so a renamed or dropped column does not linger. - It stops with an error if a table’s described columns and its Parquet file disagree.
- Run on its own, it does not move a dataset’s
loaded_at, so it does not mark saved dashboards as stale. A load does.