The Centers for Medicare & Medicaid Services (CMS) recently launched a redesigned data.cms.gov website that makes it easier to discover, access, and understand CMS data.
Click here: data.cms.gov
Click here: Data API-Application Programming Interface
Data.cms.gov gives you direct access to public data released by CMS.
Reference:
CMS.gov
Data.cms.gov