Healthgrades API endpoint
Returns one Healthgrades hospital profile: hospital-wide and specialty awards with years, clinical outcome ratings by service line (procedure or condition, measure, outcome rating, and 1-5 stars), patient-experience measures with national comparisons, address, and phone. Patient-authored reviews are not returned. Requests use US egress because Healthgrades restricts content by region.
/healthgrades/hospitalQuery parameters:
url (required): a Healthgrades hospital profile URL (https://www.healthgrades.com/hospital/<slug>), as returned in facilities[].url by /api/v1/healthgrades/facilities/search with type=hospital.Returns the hospital name, description, address, phone, awards (name, category such as Hospital Quality Awards or Specialty Excellence Awards, description, and years), clinical_ratings grouped by service line (each rating has its type such as Complication Based Ratings or Mortality Based Ratings, the procedure or condition, the measure, the outcome rating such as Better than Expected, As Expected, or Worse than Expected, and stars 1-5), and patient_experience measures (percent and national comparison). Rating families, measures, and outcome labels are returned as data. Patient-authored reviews are not returned. Unknown hospitals return 404.
| Field | Filled in, of 12 checked | Values in the sample |
|---|---|---|
| name | 12 | |
| category | 12 | |
| description | 3 | median 200 characters |
| years | 12 | median 1 entry |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| url | string | Yes | Healthgrades hospital profile URL from /healthgrades/facilities/search | https://www.healthgrades.com/hospital/massachusetts-general-hospital-60c282 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/healthgrades/hospital?url=https%3A%2F%2Fwww.healthgrades.com%2Fhospital%2Fmassachusetts-general-hospital-60c282" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 0,
"message": "success",
"data": {
"name": "Massachusetts General Hospital",
"url": "https://www.healthgrades.com/hospital/massachusetts-general-hospital-60c282",
"address": "55 Fruit St, Boston MA 02114",
"phone": "(617) 726-2000",
"awards": [
{
"name": "America's 250 Best Hospitals Award™",
"category": "Hospital Quality Awards",
"description": "Top 5% in the nation for consistently delivering clinical quality",
"years": [
2026,
2025,
2024
]
}
],
"clinical_ratings": [
{
"name": "Cardiac",
"ratings": [
{
"type": "Complication Based Ratings",
"procedure_or_condition": "Pacemaker Procedures",
"measure": "In Hospital",
"rating": "As Expected",
"stars": 3
}
]
}
],
"patient_experience": [
{
"measure": "Patient Experience Rating",
"percent": 87,
"comparison": "20% higher than the national average"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/healthgrades.hospitalResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | healthgrades.HospitalResponse | No | ||||
| data.address | string | No | ||||
| data.awards | array | No | ||||
| data.awards[].category | string | No | ||||
| data.awards[].description | string | No | ||||
| data.awards[].name | string | No | ||||
| data.awards[].years | array | No | ||||
| data.clinical_ratings | array | No | ||||
| data.clinical_ratings[].name | string | No | ||||
| data.clinical_ratings[].ratings | array | No | ||||
| data.clinical_ratings[].ratings[].measure | string | No | ||||
| data.clinical_ratings[].ratings[].procedure_or_condition | string | No | ||||
| data.clinical_ratings[].ratings[].rating | string | No | Rating is Healthgrades' outcome label, for example "Better than Expected", "As Expected", or "Worse than Expected" (returned as data). | |||
| data.clinical_ratings[].ratings[].stars | integer | No | ||||
| data.clinical_ratings[].ratings[].type | string | No | Type is the rating family, for example "Complication Based Ratings" or "Mortality Based Ratings" (observed; returned as data). | |||
| data.description | string | No | ||||
| data.name | string | No | ||||
| data.patient_experience | array | No | ||||
| data.patient_experience[].comparison | string | No | ||||
| data.patient_experience[].measure | string | No | ||||
| data.patient_experience[].percent | integer | No | ||||
| data.phone | string | No | ||||
| data.url | string | No |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/healthgrades/hospital?url=https%3A%2F%2Fwww.healthgrades.com%2Fhospital%2Fmassachusetts-general-hospital-60c282" \
-H "x-api-key: $CRAWLORA_API_KEY"