Indonesia Hospitals API
Indonesian hospitals from Ministry of Health facility references, served through the same key and JSON format as the world datasets.
Request and response
The response below is the example from our OpenAPI document, so it shows the exact shape you get, though the record itself may come from another country.
curl 'https://api.apifor.dev/v1/id/hospitals' \
-G -d limit=1 \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": [
{
"id": "rs-0000001",
"name": "RSUD KOYA",
"type": "RSUM",
"class": null,
"ownership": null,
"is_blu": 0,
"province_id": null,
"regency_id": null,
"address": "JALAN DELI NO. 4 TANJUNG PRIOK JAKARTA 14220",
"postal_code": null,
"lat": -6.108679,
"lng": 106.899865,
"website": null,
"beds_total": 0,
"icu_beds": null,
"doctors_gp": null,
"doctors_spec": null,
"is_active": 1,
"created_at": "2026-07-01 10:49:01",
"updated_at": "2026-09-18 16:11:12",
"code": "0000001",
"hospital_type": "RS_RUJUKAN_PROVINSI",
"blu_status": null,
"land_area": null,
"building_area": null,
"source_region_name": "JAKARTA UTARA",
"source_province_name": "DKI JAKARTA",
"source_name": "Pusdatin Kemenkes export via zakiego/data-pusdatin-kemenkes",
"source_url": "https://github.com/zakiego/data-pusdatin-kemenkes",
"source_updated_at": null,
"synced_at": "2026-09-18T12:58:22.407Z",
"provenance": "{\"source_record_code\":\"0000001\",\"imported_from\":\"rumah-sakit.json\",\"source_fields\":[\"alamat\",\"kode_rs\",\"lokasi.lat\",\"lokasi.lon\",\"nama\",\"telepon\",\"tempat_tidur\",\"tipe\",\"wilayah\"]}"
}
]
}Fields
Each record in data has these fields. Types are read from the example values; a nullable field can hold null for some records.
| Field | Type | Example |
|---|---|---|
| id | string | "rs-0000001" |
| name | string | "RSUD KOYA" |
| type | string | "RSUM" |
| class | nullable | null |
| ownership | nullable | null |
| is_blu | integer | 0 |
| province_id | nullable | null |
| regency_id | nullable | null |
| address | string | "JALAN DELI NO. 4 TANJUNG PRIOK JAKARTA 14220" |
| postal_code | nullable | null |
| lat | number | -6.108679 |
| lng | number | 106.899865 |
| website | nullable | null |
| beds_total | integer | 0 |
| icu_beds | nullable | null |
| doctors_gp | nullable | null |
| doctors_spec | nullable | null |
| is_active | integer | 1 |
| created_at | string | "2026-07-01 10:49:01" |
| updated_at | string | "2026-09-18 16:11:12" |
| code | string | "0000001" |
| hospital_type | string | "RS_RUJUKAN_PROVINSI" |
| blu_status | nullable | null |
| land_area | nullable | null |
| building_area | nullable | null |
| source_region_name | string | "JAKARTA UTARA" |
| source_province_name | string | "DKI JAKARTA" |
| source_name | string | "Pusdatin Kemenkes export via zakiego/data-pusd… |
| source_url | string (url) | "https://github.com/zakiego/data-pusdatin-kemen… |
| source_updated_at | nullable | null |
| synced_at | string (date-time) | "2026-09-18T12:58:22.407Z" |
| provenance | string | "{\"source_record_code\":\"0000001\",\"imported… |
Filters and paging
Query parameters accepted by GET /v1/id/hospitals. Full detail, including the single-record route, is in the endpoint reference.
| Parameter | Type | Rules |
|---|---|---|
| page | integer | min 1 · default 1 |
| limit | integer | 1 to 200 · default 50 |
| country | string | ISO 3166-1 alpha-2 |
| q | string | 2 to 100 chars |
| province_id | string | None |
| regency_id | string | None |