---
title: "Hospitals"
method: GET
path: "/healthcare/hospitals"
tags: ["Healthcare Providers"]
---

# Hospitals

`GET /healthcare/hospitals`

## Request

- Base URL: `https://api.dataporium.io`
- URL: `https://api.dataporium.io/healthcare/hospitals`
- Auth: API key in query parameter `apikey`

Every active Medicare-certified hospital in the US (identified by its CCN) from official US government data: type, ownership, beds, emergency services, teaching status, the overall star rating (1 to 5), the health system and its listed owner, and the latest yearly financials from the hospital cost reports.

All filters are optional and can be combined. The answer is {total, limit, offset, sort, order, rows, about, as_of}. This data needs a full API key (demo keys are limited to their demo tickers).

## Query parameters

- `q` string
- `ccn` string
- `state` string
- `city` string
- `zip` string
- `county_fips` string
- `hospital_type` string
- `ownership` string
- `system_id` string
- `ticker` string
- `emergency_services` boolean
- `teaching` boolean
- `star_rating_min` integer
- `beds_min` integer
- `sort` string
- `order` string
- `limit` integer
- `offset` integer

## Response `200`

Successful response (JSON).

- object

## Other responses

- `401`: No API key in the request.
- `403`: The API key is not valid or has expired.

---

[API](https://skmtc.dev/dataporium/apis/dataporium-data-api.md) · [All operations](https://skmtc.dev/dataporium/apis/dataporium-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dataporium/apis/dataporium-data-api/revisions/8bc593179dc8?raw)
