datahub.hhs.gov
Open data portalsUSdatahub.hhs.gov
Socrata open data portal at datahub.hhs.gov, publishing 10000 public datasets from the publishing organisation, led by the Community category.
Capabilities (5)
GET /v1/data/datahub-hhs-gov/catalog-search1 creditKeyword search over the datasets published on datahub.hhs.gov: each hit carries the dataset id, name, description, attribution, category, tags, column names and last update time, plus the total match count.
GET /v1/data/datahub-hhs-gov/dataset1 creditThe complete metadata document for one dataset: name, description, attribution, licence, category, tags, all column definitions with data types, and the table id used for queries.
GET /v1/data/datahub-hhs-gov/datasets1 creditA page of the portal's own dataset records (id, name, description, category, attribution, creation and update timestamps, view count) without the full column metadata.
GET /v1/data/datahub-hhs-gov/row-count1 creditOne number: how many rows the dataset currently holds, as a SoQL count aggregate.
GET /v1/data/datahub-hhs-gov/rows1 creditThe first 100 rows of a dataset as JSON objects keyed by field name. Column names are the API field names, so they can be used directly in a later SoQL query.
Response example
The shape of data from datahub-hhs-gov/catalog-search (Catalogue search). A sample, not live data.
Example truncated, full shape in JSON from the API.
{
"results": [
{
"resource": {
"name": "COVID-19 Public Therapeutic Locator",
"id": "rxn6-qnx8",
"resource_name": null,
"parent_fxf": [],
"description": "<b>NOTE: This dataset is no longer updated as of 1/31/2024. Please use <a href=\"https://healthdata.gov/ASPR/COVID-19-Treatments/xkzp-zhs7/about_data\">COVID-19 Treatments.</a></b>\n<p>\nLocations of publicly available COVID-19 Therapeutics. Dataset only includes locations for Paxlovid (oral antiviral), Lagevrio (oral antiviral), and outpatient Veklury (intravenous antiviral infusion). COVID-19 therapeutics require a prescription to obtain. Limitations: public contact information.\n</p>\n<p>\n<b> To filter, click 'View Data' below, then 'Filter.' To save your view, click 'Save as,' and this configuration will be saved in your profile under 'My Assets.' <u>Please try not to publish dataset publicly, unless necessary.</b></u>\n</p>\n\nOn 1/3/2022 - The following changes were made to this dataset.\n- Dropped the Expected Deliver Date column - This was a derived field set to 3 days after the Last Order Date field.\n- Added the following fields\n Last Date Delivered\n Total Courses\n Courses Available\n Courses Available Date\n\nOn 1/4/2022 - Added Geocoded Address\n\nOn 1/11/2022 - Added NPI - National Provider Identifier\n\nOn 2/18/2022 - Added new therapeutics, Bebtelovimab & Sotrovimab.\n\nOn 3/16/2022 - Dropped the following columns\n - last_order_date\n - last_date_delivered\n - total_courses\n - courses_available_date\n Added the following columns\n - facility_id\n - last_report_date\n - grantee_code\n - provider_pin\n - state_provider_pin\n\nOn 3/31/2022 - Dropped the following columns\n - facility_id\n - grantee_code\n - provider_pin\n - state_provider_pin\n Added the following columns\n - provider_status\n - provider_note",
"attribution": "U.S. Department of Health & Human Services",
"attribution_link": null,
"contact_email": "HealthData@hhs.gov",
"type": "dataset",
"updatedAt": "2025-07-03T14:26:28.000Z",
"createdAt": "2021-12-28T15:47:44.000Z",
"metadata_updated_at": "2025-07-03T14:26:28.000Z",
"data_updated_at": "2024-01-31T09:30:24.000Z",
"page_views": {
"page_views_last_week": 25,
"page_views_last_month": 42,
"page_views_total": 909,
"page_views_last_week_log": 4.700439718141093,
"page_views_last_month_log": 5.426264754702098,
"page_views_total_log": 9.829722735086058
},
"columns_name": [
"NPI",
"City",
"Demo | State Geographic Boundaries",
"National Drug Code",
"Order Label",
"… 11 more items"
],
"columns_field_name": [
"npi",
"city",
":@computed_region_pqdx_y6mm",
"national_drug_code",
"order_label",
"… 11 more items"
],
"columns_datatype": [
"Text",
"Text",
"Number",
"Text",
"Text",
"… 11 more items"
],
"columns_description": [
"National Provider Identifier\nhttps://npiregistry.cms.hhs.gov/",
"Provider's city",
"This column was automatically created in order to record in what polygon from the dataset 'Demo | State Geographic Boundaries' (pqdx-y6mm) the point in column 'geocoded_address' is located. This enables the creation of region maps (choropleths) in the visualization canvas and data lens.",
"Therapeutic NDC",
"Therapeutic name",
"… 11 more items"
],
"columns_format": [
{},
{},
{},
{},
{},
"… 11 more items"
],
"download_count": 1136,
"provenance": "official",
"lens_view_type": "tabular",Ask with this source
A prompt for your agent that names this source and how to call it through the crw MCP.
Catalogue search
Use datahub.hhs.gov (datahub-hhs-gov) from fastCRW Pergamon, capability "Catalogue search" (catalog-search). You want to find a dataset on this portal by keyword and do not know its four-by-four id. Example options: q=taxi, offset=0, order=page_views_total DESC. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datahub-hhs-gov" and capability "catalog-search". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Dataset metadata
Use datahub.hhs.gov (datahub-hhs-gov) from fastCRW Pergamon, capability "Dataset metadata" (dataset). You already hold a dataset id and need its columns, licence or description before querying rows. Example options: id=fyca-ph3c. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datahub-hhs-gov" and capability "dataset". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Dataset inventory
Use datahub.hhs.gov (datahub-hhs-gov) from fastCRW Pergamon, capability "Dataset inventory" (datasets). You need to enumerate what this portal publishes, or page through its newest datasets. Example options: offset=0, order=createdAt, category=Transportation. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datahub-hhs-gov" and capability "datasets". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Row count
Use datahub.hhs.gov (datahub-hhs-gov) from fastCRW Pergamon, capability "Row count" (row-count). You need to know how large a dataset is before downloading it, or want a cheap liveness check. Example options: id=fyca-ph3c. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datahub-hhs-gov" and capability "row-count". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Licence
Datasets on this portal declare the licence "Public Domain U.S. Government" in their Socrata metadata; the portal publishes no separate API licence and different datasets may carry different terms. Quoted as found in the portal's own catalogue.
https://datahub.hhs.gov/Attribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Source: datahub.hhs.gov. Dataset attribution as stated by each publishing agency.
Cache: up to 3600s
