---
title: "Hospital directory API | APIFor"
description: "Find a hospital by name, country, type, region or city. 1 credit per call, REST and MCP, one API key."
canonical: "https://apifor.dev/services/hospitals/"
---

1. [Services](https://apifor.dev/services/)
2. [Hospitals](https://apifor.dev/services/hospitals/)

# Hospital directory API

Find a hospital by name, country, type, region or city. Every country shares one set of fields, and country-only details such as a star rating or parent trust sit under local.

GET /v1/hospitals 1 credit About $0.001

[Get a free API key](https://app.apifor.dev/register) [Endpoint reference](https://apifor.dev/docs/reference/hospitals/)

## Try it

GET /v1/hospitals

```bash
curl 'https://api.apifor.dev/v1/hospitals?country=US&region=AL&q=medical' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response · 200

```json
{
  "success": true,
  "data": [
    {
      "id": "US-010001",
      "country_code": "US",
      "name": "Southeast Health Medical Center",
      "type": "Acute Care Hospitals",
      "status": "open",
      "address": "1108 Ross Clark Circle",
      "city": "Dothan",
      "region": "AL",
      "postal_code": "36301",
      "lat": null,
      "lng": null,
      "phone": "(334) 793-8701",
      "website": null,
      "updated_at": "2026-11-30",
      "local": {
        "country": "US",
        "ccn": "010001",
        "county": "Houston",
        "ownership": "Government - Hospital District or Authority",
        "emergency_services": true,
        "overall_rating": 4
      }
    }
  ],
  "meta": {
    "total": 1,
    "page": 1,
    "limit": 50,
    "total_pages": 1,
    "coverage": [
      "ID",
      "CA"
    ],
    "attribution": {
      "source": "https://data.cms.gov/provider-data/dataset/xubh-q36u",
      "licence": "Public domain (US government work)",
      "license": "Public domain (US government work)",
      "license_url": "https://data.cms.gov/provider-data/dataset/xubh-q36u",
      "source_url": "https://data.cms.gov/provider-data/dataset/xubh-q36u",
      "attribution_page": "https://apifor.dev/sources",
      "notice": "Source: CMS Hospital General Information."
    },
    "sources": [
      {
        "country": "US",
        "name": "CMS Hospital General Information",
        "url": "https://data.cms.gov/provider-data/dataset/xubh-q36u",
        "licence": "Public domain (US government work)"
      }
    ]
  }
}
```

A real response from our OpenAPI file, with long lists and strings shortened.

## Endpoints and price

| Endpoint | Credits | About |
| --- | --- | --- |
| GET `/v1/hospitals` | 1 credit | $0.001 |
| GET `/v1/hospitals/{id}` | 1 credit | $0.001 |
| GET `/v1/hospitals/coverage` (Free) | Free | $0 |

USD at Starter pack prices ($5 for 5,000 credits). Calls that fail before work starts are refunded.

## Coverage today

Canada, Indonesia, United Kingdom and United States.

Leave `country` out to get every covered country, or pass one to narrow it.

Sources, row counts and country-only fields per country: [`GET /v1/hospitals/coverage`](https://apifor.dev/docs/reference/hospitals/#get-hospitals-coverage), free with your API key. [How coverage works](https://apifor.dev/docs/coverage/)

## Limits

- Some sources list trust sites, clinics and units, not just hospitals. type says what each row is.
- Some countries have no coordinates, so lat and lng are null.
- Up to 200 rows per page, 10,000 rows deep.

## Sources and licences

- **[Kemenkes SIRS](https://sirs.kemkes.go.id)**: Public domain (government)
- **[CMS Hospital General Information](https://data.cms.gov/provider-data/dataset/xubh-q36u)**: Public domain (US government work)
- **[NHS England Organisation Data Service](https://digital.nhs.uk/services/organisation-data-service)**: Open Government Licence v3.0
- **[Statistics Canada ODHF v1.1](https://www.statcan.gc.ca/en/lode/databases/odhf)**: Open Government Licence - Canada

### Attribution

- Contains information licensed under the Open Government Licence - Canada.
- Contains public sector information licensed under the Open Government Licence v3.0.
- Source: Centers for Medicare & Medicaid Services.

## Also on MCP

Connect `https://mcp.apifor.dev/mcp` and your agent gets a tool for this service, billed the same way.

[MCP setup](https://apifor.dev/docs/mcp/)

## Questions

**What happened to the hospitals dataset?**

It is now this service, at the same path and the same 1 credit per call. Existing rows keep their ids and fields.

**How fresh is it?**

Each row has updated_at. Some sources refresh weekly.

## Related services

[All services](https://apifor.dev/services/)

- [Administrative boundaries API](https://apifor.dev/services/boundaries/)
- [Places (POI) API](https://apifor.dev/services/places/)
- [Train station API](https://apifor.dev/services/train-stations/)
- [Bus terminal API](https://apifor.dev/services/bus-terminals/)
- [Toll road API](https://apifor.dev/services/toll-roads/)
- [School directory API](https://apifor.dev/services/schools/)
- [Vehicle registrations API](https://apifor.dev/services/vehicle-registrations/)
