API Reference

Hospitals

Directory of 2,900+ hospitals from a Ministry of Health data-center export, with hospital codes, types, locations, contacts, bed capacity, and source metadata.

Data as of · Source: Pusdatin Kemenkes (Ministry of Health)

Main endpoint
GET https://use.apiindonesia.id/api/v1/rumah-sakit
Endpoints
3
Authentication
x-api-key header (create one free in the dashboard)
Price
2 credits (Rp2) per successful request; failed requests are free
Format
JSON (REST), with cURL, JavaScript and Python examples
Product Brief

What this API gives you

Directory of 2,900+ hospitals from a Ministry of Health data-center export, with hospital codes, types, locations, contacts, bed capacity, and source metadata.

Coverage
3

ready-to-use endpoints in this product, with JSON responses and consistent error handling.

Access
API key

Can be tried with the 3,000 credit signup bonus, then used in production through one API Indonesia key.

Sample resource
https://use.apiindonesia.id/api/v1/rumah-sakit

Compact list with name/code search and region, type, class, ownership, and BLU filters. Use the detail endpoint for service, staff, bed, and facility collections.

When should you use it?

The Hospitals API is useful for health-tech, insurance, medical logistics, and facility directories that need Indonesian hospital data with type, class, ownership, bed capacity, and contact details.

The app needs hospital search by region or facility class.

Claims or support teams need a facility reference without separate spreadsheets.

Logistics products need to map destinations for medical equipment or medicine distribution.

This API does not replace real-time doctor availability, queue, or bed information from each hospital.

Example product scenarios

This section separates the product page from the docs. The docs explain how to call endpoints; this page explains why the endpoints make sense for your feature.

  • Health-tech: power a nearest-hospital search filtered by class and service type.
  • Health insurance: validate a partner-hospital network during claims processing.
  • Medical logistics: plan drug/equipment distribution routes based on facility data.

Example Usage

Request
curl "https://use.apiindonesia.id/api/v1/rumah-sakit?q=al+ihsan&province_id=32" \
  -H "x-api-key: YOUR_API_KEY"
Response · 200 OK
{
  "data": [
    {
      "id": "rs-3204086",
      "code": "3204086",
      "name": "RS UMUM DAERAH AL IHSAN PROVINSI JAWA BARAT",
      "jenis": "RSUM",
      "hospital_type": "RS_RUJUKAN_PROVINSI",
      "kelas": null,
      "ownership": null,
      "is_blu": 0,
      "blu_status": null,
      "province_id": "32",
      "regency_id": "3204",
      "lat": -7.0081,
      "lng": 107.624,
      "beds_total": 462,
      "province_name": "JAWA BARAT",
      "regency_name": "KABUPATEN BANDUNG"
    }
  ],
  "meta": {
    "total": 1,
    "page": 1,
    "per_page": 50,
    "total_pages": 1
  }
}

Browse the data

Related Articles

Pricing 2 credits (Rp2) per successful request; failed requests are free. One-time 3,000 credit signup bonus, no credit card, no monthly allowance.

Hospitals API questions

What does a hospital profile contain?

GET /api/v1/rumah-sakit/{id} accepts an internal ID or SIRS code and returns the full profile: beds, services, staff, facilities, plus source and sync details.

Which filters are supported?

The list endpoint supports name or code search, province_id, regency_id, type, class, ownership and BLU/BLUD status.

How many hospitals are listed and what is the source?

There are 2,900+ hospitals from a Ministry of Health data-center export (Pusdatin Kemenkes).

Get Started

Start Integrating
Today

Sign up for free and get a 3,000 credit bonus (Rp3,000) once your email is verified, grab an API key, and call your first endpoint right away. No credit card, no tedious approval process.

Dot wave visualization