---
title: "Device Hospital Stays and Outpatient Services"
method: GET
path: "/healthcare/device-procedures/hospitals"
tags: ["Healthcare Providers"]
---

# Device Hospital Stays and Outpatient Services

`GET /healthcare/device-procedures/hospitals`

## Request

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

Medicare hospital stays (inpatient, by diagnosis related group) and hospital outpatient services (by ambulatory payment classification) in device-heavy groups, such as hip and knee replacement, pacemaker and defibrillator implants, transcatheter valves, coronary stents and spinal fusion, by category, code, state, hospital or year.

## Query parameters

- `group_by` string
- `setting` string
- `category` string
- `state` string
- `year` integer
- `sort` string

## 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)
