Healthgrades hospitals and facilities search API

Use the Healthgrades hospitals and facilities search API to retrieve matching healthcare facilities, their locations and service categories. Choose a facility type and US location or coordinates, then refine distance and sort order to compare hospitals, urgent-care centres, pharmacies, group practices or other listed facilities. Compare facility locations and published specialties, inspect contact and service information, or identify the institution behind a listing. Institutional profiles describe the facilities and services the source lists, without booking care or retrieving patient records. The detail page provides request and response examples, supported parameters, and usage pricing.

Selected price
$0.002 / billing creditPublished pricing
Sellers / implementations
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...

Run sends a real API request. Charges follow the published API contract.

Request parameters
US city and state, ZIP code or state (or pass `lat` and `lng` instead).
Optional parameters (12)
Optional name or keyword (the type's name by default).
Latitude (with `lng`) instead of `location`.
Longitude (with `lat`).
hospital (default), urgent_care, pharmacy, group_practice, surgery_center or rehab_hospital.
bestmatch, distance or patientsatisfaction.
Miles: 0.5, 1, 5, 10, 25, 50, 100 or national.
Page number (default 1).
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.
Native CSV/NDJSON record selector; it has no effect on this JSON-only product.

Sample response

{
  "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
}

Response result

Response structure

Inferred from examples
  • applied_filtersobject
    • latnull
    • lngnull
    • locationstring
    • qnull
    • sortstring
  • cachedboolean
  • countinteger
  • credits_usedinteger
  • entity_codenull
  • filters(object | string)[]
    • keystring
    • labelstring
    • selectedstring | null
    • values(object | string)[]
      • countinteger
      • labelstring
      • selectedboolean
      • valuestring
  • items(object | string)[]
    • aboutstring
    • addressstring
    • affiliated_doctor_countinteger
    • awards(object | string)[]
      • codestring
      • namestring
      • yearsstring
    • citystring
    • distance_milesnumber
    • five_star_ratingsnull | integer
    • idstring
    • latnumber
    • lngnumber
    • namestring
    • phonestring
    • quality_awardsnull | integer
    • statestring
    • typestring
    • type_codestring
    • urlstring
    • zipstring
  • locationnull
  • next_pageinteger
  • pageinteger
  • page_sizeinteger
  • pointnull
  • querynull
  • sortstring
  • sorts(object | string)[]
    • keystring
    • labelstring
  • totalinteger
  • total_pagesinteger

Loading related APIs…

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Healthgrades hospitals and facilities search API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.