# Healthgrades hospitals and facilities search API

Search Healthgrades facilities by US location or coordinates via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as location, output, and retrieve structured data including source facility identifier, source facility type, facility display name, source distance in miles, and source affiliated-practitioner count for facility directory, and regional search.

Documentation: https://openany.si/market/apis/healthgrades/healthgrades-hospitals-and-facilities-search-api/?offering=7519a512-802b-4715-85b3-ab57ffd28371
API ID: 7519a512-802b-4715-85b3-ab57ffd28371
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/healthgrades/v1/facilities
Page update time: 2026-12-03T02:46:32.737Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:46:31.933Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Healthgrades hospitals and facilities search API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "q": {
          "type": "string",
          "description": "Optional name or keyword (the type's name by default)."
        },
        "location": {
          "type": "string",
          "description": "US city and state, ZIP code or state (or pass `lat` and `lng` instead)."
        },
        "lat": {
          "type": "number",
          "description": "Latitude (with `lng`) instead of `location`."
        },
        "lng": {
          "type": "number",
          "description": "Longitude (with `lat`)."
        },
        "type": {
          "type": "string",
          "description": "hospital (default), urgent_care, pharmacy, group_practice, surgery_center or rehab_hospital.",
          "enum": [
            "hospital",
            "urgent_care",
            "pharmacy",
            "group_practice",
            "surgery_center",
            "rehab_hospital"
          ]
        },
        "sort": {
          "type": "string",
          "description": "bestmatch, distance or patientsatisfaction.",
          "enum": [
            "bestmatch",
            "distance",
            "patientsatisfaction"
          ]
        },
        "distance": {
          "type": "string",
          "description": "Miles: 0.5, 1, 5, 10, 25, 50, 100 or national."
        },
        "page": {
          "type": "integer",
          "description": "Page number (default 1)."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      },
      "required": [
        "location"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "applied_filters": {
      "type": "object",
      "properties": {
        "lat": {
          "type": "null"
        },
        "lng": {
          "type": "null"
        },
        "location": {
          "type": "string"
        },
        "q": {
          "type": "null"
        },
        "sort": {
          "type": "string"
        }
      }
    },
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "entity_code": {
      "type": "null"
    },
    "filters": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "key": {
                "type": "string"
              },
              "label": {
                "type": "string"
              },
              "selected": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "values": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "count": {
                          "type": "integer"
                        },
                        "label": {
                          "type": "string"
                        },
                        "selected": {
                          "type": "boolean"
                        },
                        "value": {
                          "type": "string"
                        }
                      }
                    },
                    {
                      "type": "string"
                    }
                  ]
                }
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "items": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "about": {
                "type": "string"
              },
              "address": {
                "type": "string"
              },
              "affiliated_doctor_count": {
                "type": "integer"
              },
              "awards": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "years": {
                          "type": "string"
                        }
                      }
                    },
                    {
                      "type": "string"
                    }
                  ]
                }
              },
              "city": {
                "type": "string"
              },
              "distance_miles": {
                "type": "number"
              },
              "five_star_ratings": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "integer"
                  }
                ]
              },
              "id": {
                "type": "string"
              },
              "lat": {
                "type": "number"
              },
              "lng": {
                "type": "number"
              },
              "name": {
                "type": "string"
              },
              "phone": {
                "type": "string"
              },
              "quality_awards": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "integer"
                  }
                ]
              },
              "state": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "type_code": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "zip": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "location": {
      "type": "null"
    },
    "next_page": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "page_size": {
      "type": "integer"
    },
    "point": {
      "type": "null"
    },
    "query": {
      "type": "null"
    },
    "sort": {
      "type": "string"
    },
    "sorts": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "key": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "total": {
      "type": "integer"
    },
    "total_pages": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/healthgrades/v1/facilities?location=Austin%2C+TX&output=json' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "applied_filters": {
    "lat": null,
    "lng": null,
    "location": "Austin, TX",
    "q": null,
    "sort": "bestmatch"
  },
  "cached": false,
  "count": 20,
  "credits_used": 1,
  "entity_code": null,
  "filters": [
    {
      "key": "distances",
      "label": "Distance",
      "selected": "National",
      "values": [
        {
          "count": 0,
          "label": "0.5 miles",
          "selected": false,
          "value": "0.5"
        },
        {
          "count": 0,
          "label": "1 mile",
          "selected": false,
          "value": "1"
        },
        "… 6 more"
      ]
    },
    {
      "key": "FacilityAwards",
      "label": "Awards",
      "selected": null,
      "values": [
        {
          "count": 10,
          "label": "Gastrointestinal Surgery Excellence Award",
          "selected": false,
          "value": "Gastrointestinal Surgery Excellence Award|GSO"
        },
        {
          "count": 10,
          "label": "Pulmonary Care Excellence Award",
          "selected": false,
          "value": "Pulmonary Care Excellence Award|PUL"
        },
        "… 42 more"
      ]
    },
    "… 2 more"
  ],
  "items": [
    {
      "about": "CHRISTUS Santa Rosa Hospital-San Marcos is a medical facility located in San Marcos, TX - Get directions, phone number, research physicians,…",
      "address": "1301 Wonder World Dr",
      "affiliated_doctor_count": 729,
      "awards": [],
      "city": "San Marcos",
      "distance_miles": 31.240577992460263,
      "five_star_ratings": null,
      "id": "980144",
      "lat": 29.851,
      "lng": -97.94603,
      "name": "CHRISTUS Santa Rosa Hospital-San Marcos",
      "phone": "+1 555 010 0000",
      "quality_awards": null,
      "state": "TX",
      "type": "hospital",
      "type_code": "STAC",
      "url": "https://www.healthgrades.com/hospital/christus-santa-rosa-hospital-san-marcos-980144",
      "zip": "78666"
    },
    {
      "about": "Baptist Hospitals of Southeast Texas is a medical facility located in Beaumont, TX. This hospital has been recognized for Labor and Delivery…",
      "address": "3080 College St",
      "affiliated_doctor_count": 501,
      "awards": [
        {
          "code": "LAB",
          "name": "Labor and Delivery Excellence Award",
          "years": "2023, 2022, 2021"
        },
        {
          "code": "OBG",
          "name": "Obstetrics and Gynecology Excellence Award",
          "years": "2023, 2022, 2021"
        },
        "… 1 more"
      ],
      "city": "Beaumont",
      "distance_miles": 216.86676148423018,
      "five_star_ratings": 9,
      "id": "15EBAF",
      "lat": 30.06857,
      "lng": -94.11922,
      "name": "Baptist Hospitals of Southeast Texas",
      "phone": "+1 555 010 0000",
      "quality_awards": 3,
      "state": "TX",
      "type": "hospital",
      "type_code": "STAC",
      "url": "https://www.healthgrades.com/hospital/baptist-hospitals-of-southeast-texas-15ebaf",
      "zip": "77701"
    },
    "… 18 more"
  ],
  "location": null,
  "next_page": 2,
  "page": 1,
  "page_size": 20,
  "point": null,
  "query": null,
  "sort": "bestmatch",
  "sorts": [
    {
      "key": "bestmatch",
      "label": "Most Relevant"
    },
    {
      "key": "distance",
      "label": "Closest"
    },
    "… 1 more"
  ],
  "total": 94,
  "total_pages": 5
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- apish: https://openany.si/market/apis/healthgrades/healthgrades-hospitals-and-facilities-search-api/?offering=7519a512-802b-4715-85b3-ab57ffd28371

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
