Medicare Hospital Outpatient Services
Medicare outpatient volumes and payments for each U.S. hospital and comprehensive outpatient service group (APC): patients, services, average charges, allowed amounts and Medicare payments, with the hospital's CMS number, address and rural-urban class, for 2015 to the latest year.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/medicare-hospital-outpatient-services/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"state":"TN"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
21 fields.
Basics
- Ccn
The hospital's six-digit CMS Certification Number (CCN), the key that joins other CMS hospital data.
Example 440082
- Hospital name
The hospital's name as CMS lists it.
Example Ascension Saint Thomas Hospital
- Ruca code
Rural-Urban Commuting Area code of the hospital's ZIP code, from 1 (metropolitan core) to 10 (rural); decimals such as 7.1 mark a secondary commuting flow.
Example 1
- Ruca description
What the rural-urban code means, in words.
Example Metropolitan area core: primary flow within an urbanized area of 50,000 and greater
- Apc code
The comprehensive Ambulatory Payment Classification (APC) code, four digits such as 5072.
Example 5223
- Apc description
What the service group covers, as CMS names it, such as Level 2 Excision/ Biopsy/ Incision and Drainage.
Example Level 3 Pacemaker and Similar Procedures
- Beneficiaries
Number of distinct Medicare patients who received services in this group at the hospital in the year.
Example 245
- Services
Number of comprehensive APC services Medicare paid the hospital for in the year.
Example 245
- Outlier services
Number of services costly enough to qualify for an extra outlier payment.
Example 0
Prices
- Average submitted charges
Average amount the hospital billed Medicare per service (its list charges).
Example $56,332.06
- Average allowed amount
Average Medicare allowed amount per service: Medicare's payment plus the patient's deductible and coinsurance.
Example $9,164.25
- Average medicare payment
Average amount Medicare itself paid per service, after the patient's deductible and coinsurance.
Example $7,530.53
- Total medicare payment
Services times the average Medicare payment: about what Medicare paid the hospital for this group in the year.
Example $1,844,979.20
- Average outlier payment
Average outlier payment per service that qualified for one.
Example $0.00
- Currency
Currency of the money figures: USD.
Example USD
Location
- Street
Street address of the hospital.
Example 4220 Harding Rd, Po Box 380
- City
City of the hospital.
Example Nashville
- State
Two-letter state code of the hospital.
Example TN
- Zip
Five-digit ZIP code of the hospital.
Example 37205
Dates
- Data year
Calendar year the services and payments are from.
Example 2024
Links
- Link
Link to this row in CMS's data API, as JSON.
Technical detailsField names and types for developers
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
ccn | text | Ccn | 3 of 3 |
hospital_name | text | Hospital name | 3 of 3 |
street | text | Street | 3 of 3 |
city | text | City | 3 of 3 |
state | text | State | 3 of 3 |
zip | text | Zip | 3 of 3 |
ruca_code | text | Ruca code | 3 of 3 |
ruca_description | text | Ruca description | 3 of 3 |
apc_code | text | Apc code | 3 of 3 |
apc_description | text | Apc description | 3 of 3 |
beneficiaries | number | Beneficiaries | 3 of 3 |
services | number | Services | 3 of 3 |
avg_submitted_charges | money | Average submitted charges | 3 of 3 |
avg_allowed_amount | money | Average allowed amount | 3 of 3 |
avg_medicare_payment | money | Average medicare payment | 3 of 3 |
total_medicare_payment | money | Total medicare payment | 3 of 3 |
outlier_services | number | Outlier services | 2 of 3 |
avg_outlier_payment | money | Average outlier payment | 2 of 3 |
currency | text | Currency | 3 of 3 |
data_year | number | Data year | 3 of 3 |
url | link | Link | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Ccn | Hospital name | Ruca code | Ruca description | Apc code | Apc description | Beneficiaries | Services | Outlier services | Average submitted charges | Average allowed amount | Average medicare payment | Total medicare payment | Average outlier payment | Currency | Street | City | State | Zip | Data year | Link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 440082 | Ascension Saint Thomas Hospital | 1 | Metropolitan area core: primary flow within an urbanized area of 50,000 and greater | 5223 | Level 3 Pacemaker and Similar Procedures | 245 | 245 | — | $56,332.06 | $9,164.25 | $7,530.53 | $1,844,979.20 | — | USD | 4220 Harding Rd, Po Box 380 | Nashville | TN | 37205 | 2024 | data.cms.gov/data-api/v1/dataset/771e94a2-cd8f-4702-a9d7-8f777f363938/data?filter%5BRndrng_Prvdr_CCN%5D=440082&filter%5BAPC_Cd%5D=5223 |
| 2 | 440048 | Baptist Memorial Hospital | 1 | Metropolitan area core: primary flow within an urbanized area of 50,000 and greater | 5223 | Level 3 Pacemaker and Similar Procedures | 182 | 183 | 0 | $63,071.61 | $8,935.93 | $7,302.01 | $1,336,267.47 | $0.00 | USD | 6019 Walnut Grove Road | Memphis | TN | 38120 | 2024 | data.cms.gov/data-api/v1/dataset/771e94a2-cd8f-4702-a9d7-8f777f363938/data?filter%5BRndrng_Prvdr_CCN%5D=440048&filter%5BAPC_Cd%5D=5223 |
| 3 | 440091 | Memorial Healthcare System, Inc | 1 | Metropolitan area core: primary flow within an urbanized area of 50,000 and greater | 5223 | Level 3 Pacemaker and Similar Procedures | 164 | 164 | 0 | $39,607.99 | $9,095.79 | $7,463.79 | $1,224,061.56 | $0.00 | USD | 2525 Desales Ave | Chattanooga | TN | 37404 | 2024 | data.cms.gov/data-api/v1/dataset/771e94a2-cd8f-4702-a9d7-8f777f363938/data?filter%5BRndrng_Prvdr_CCN%5D=440091&filter%5BAPC_Cd%5D=5223 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Covers Original Medicare (fee-for-service) Part B outpatient services at hospitals paid under Medicare's outpatient prospective payment system, as CMS publishes them. Medicare Advantage and other payers are not included. CMS does not endorse this API.
- Only comprehensive APCs are in this data: about 70 service groups now (about 25 in 2015) such as surgery, endoscopy, device implants and observation stays, not every outpatient visit, test or scan. CMS renumbered the groups in 2016.
- By default only rows with published figures come back. CMS hides any figure under 11, so beneficiaries and the outlier figures are sometimes empty on their own; include_suppressed adds the rows (about 45 in 100) whose figures are all hidden.
- The newest year is calendar 2024, published June 2026; CMS adds a year about once a year. Leave year empty for the newest; data_year names the year of each row.
- Submitted charges are what the hospital billed, not what it was paid. Money figures are averages per service in U.S. dollars, rounded to cents; total_medicare_payment is services times the average Medicare payment.
- At most 10,000 rows per run. Narrow by state, service, city or hospital for larger pulls.
- Public domain U.S. government data.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.