HealthData.gov SODA API
type: WebAPI
id: healthdata
description: The Socrata Open Data API (SODA) provides programmatic access to all public datasets hosted on HealthData.gov. Each dataset is accessible through a unique eight-character identifier inserted into the REST endpoint. Queries are expressed using SoQL (Socrata Query Language), a SQL-like syntax that supports filtering, sorting, aggregation, and pagination. Datasets span Medicare inpatient and outpatient claims, hospital compare quality scores, state drug utilization data, community health indicators, and thousands of additional HHS datasets.
documentation: https://dev.socrata.com/consumers/getting-started.html
terms of service: https://healthdata.gov/terms-of-service
provider: U.S. Department of Health and Human Services
potential action: Query datasets via SoQL
  type: SearchAction
  description: Use SoQL (Socrata Query Language) to filter, sort, aggregate, and paginate dataset rows via the SODA REST endpoint.
  target: https://healthdata.gov/resource/{dataset_id}.json
keywords: Health
keywords: Open Data
keywords: Federal Government
keywords: Medicare
keywords: Medicaid
keywords: Hospital Quality
keywords: Drug Utilization
keywords: Public Health
keywords: CDC
keywords: CMS
keywords: FDA
keywords: NIH
keywords: SODA
keywords: Socrata
license: https://healthdata.gov/terms-of-service
is accessible for free: true
audience: Audience
  audience type: Developers, Researchers, Data Scientists, Public Health Analysts
date modified: 2026-06-13