Public APIs

🎁 Black Friday: 40% off the first payment of every plan, and Skip the queue for $29, through December 6.

PublicDataHub is in the queue

It will be published on December 9, 2026.

From $29 instead of $49, live within minutes

  1. Added from GitHub

    Added from the open-source list.

  2. In the queue

    Until December 9, 2026.

  3. Live

    Listed on Public APIs, with a link to its website.

PublicDataHub favicon

PublicDataHub

Government

US public schools, hospitals and federal agency budgets as JSON/CSV, with provenance on every record.

PublicDataHub's website screenshot

About PublicDataHub

PublicDataHub aggregates official public data from federal sources including NCES, CMS, the Census Bureau and USAspending into a searchable site covering schools, hospitals, government spending, and states/counties. The dataset spans 102,268 public schools and 19,714 districts, 5,419 CMS-certified hospitals with quality measures, federal spending obligations across 111 agencies, and 3,291 state and county geographies, totaling 8,821 records across 5 datasets as of the 2026.08 edition.

The site provides rankings (such as hospitals by quality measures reported, and states by federal obligations), state and county browse pages showing facilities and spending data, and a "Findings" section noting data quirks such as jurisdictions where county-level reporting is inconsistent or per-district statistics can be misleading. Each record shows the publishing agency, effective date, and licence. Figures described as computed (rankings, medians, changes over time) have their methodology and inputs documented on the page; other figures are reproduced from source data without modification.

Data is offered through a public API that exports records as CSV or JSON with no key required, alongside bulk downloads. Content is public domain for U.S. federal government works under 17 U.S.C. §105, with other sources carrying their own stated licence on the pages that use them. The intended audience includes researchers, journalists, and developers seeking findable, sourced government data on education, healthcare, and federal spending.

Key features

  • Aggregates 130,803 records from NCES, CMS, Census Bureau and USAspending
  • Hospital quality ratings and measures for 5,419 CMS-certified facilities
  • Federal spending obligations by state and agency for FY2025
  • County and state browsing with population, facility, and spending data
  • Editorial findings that flag data quirks and methodology issues
  • Public API to export any record as CSV or JSON with no key required

Frequently asked questions

Is there a free tier or API key required?

The Public API lets you export any record as CSV or JSON with no key required.

What data sources does PublicDataHub cover?

It draws on datasets from NCES, CMS, the Census Bureau, and USAspending, covering education, healthcare, and federal spending.

What license applies to the data?

Works of the U.S. federal government are public domain under 17 U.S.C. §105, while other sources carry their own licence shown on the pages that use them.

Who is this site for?

It is aimed at people researching official public data on schools, hospitals, and federal spending, offering rankings, comparisons, and per-state and per-county breakdowns.

How current is the data?

The current edition is 2026.08 with 8,821 records across 5 datasets, and figures are computed when the page is requested so they update as source data changes.

Ad
SerpApi - Search API favicon

SerpApi - Search API

SerpApi's Search API makes it easy and fast to scrape Google and other search engines.

Learn more

Featured products

  • SerpApi - Search API favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 9k newsletter subscribers

Advertise your product