1. Indonesia
  2. Hospitals

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.

GET/v1/id/hospitals
curl 'https://api.apifor.dev/v1/id/hospitals' \
  -G -d limit=1 \
  -H 'x-api-key: YOUR_API_KEY'
Example response · application/json
{
  "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.

FieldTypeExample
idstring"rs-0000001"
namestring"RSUD KOYA"
typestring"RSUM"
classnullablenull
ownershipnullablenull
is_bluinteger0
province_idnullablenull
regency_idnullablenull
addressstring"JALAN DELI NO. 4 TANJUNG PRIOK JAKARTA 14220"
postal_codenullablenull
latnumber-6.108679
lngnumber106.899865
websitenullablenull
beds_totalinteger0
icu_bedsnullablenull
doctors_gpnullablenull
doctors_specnullablenull
is_activeinteger1
created_atstring"2026-07-01 10:49:01"
updated_atstring"2026-09-18 16:11:12"
codestring"0000001"
hospital_typestring"RS_RUJUKAN_PROVINSI"
blu_statusnullablenull
land_areanullablenull
building_areanullablenull
source_region_namestring"JAKARTA UTARA"
source_province_namestring"DKI JAKARTA"
source_namestring"Pusdatin Kemenkes export via zakiego/data-pusd…
source_urlstring (url)"https://github.com/zakiego/data-pusdatin-kemen…
source_updated_atnullablenull
synced_atstring (date-time)"2026-09-18T12:58:22.407Z"
provenancestring"{\"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.

ParameterTypeRules
pageintegermin 1 · default 1
limitinteger1 to 200 · default 50
countrystringISO 3166-1 alpha-2
qstring2 to 100 chars
province_idstringNone
regency_idstringNone