Indonesia Hospitals API Reference
2 routes under /v1/id/hospitals. Base URL https://api.apifor.dev, authenticated with x-api-key, one credit per request.
GET
/v1/id/hospitalsList hospitals with filters and paging.
| Parameter | In | Type | Rules |
|---|---|---|---|
| page | query | integer | min 1 · default 1 |
| limit | query | integer | 1 to 200 · default 50 |
| country | query | string | ISO 3166-1 alpha-2 |
| q | query | string | 2 to 100 chars |
| province_id | query | string | None |
| regency_id | query | string | None |
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\"]}"
}
]
}200Successful response. Pagination is explicit; no silent truncation.400Invalid query parameters404Record not found500Dataset unavailable
GET
/v1/id/hospitals/{id}Find indonesia hospitals by identifier.
| Parameter | In | Type | Rules |
|---|---|---|---|
| id * | path | string | None |
curl 'https://api.apifor.dev/v1/id/hospitals/{id}' \
-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\"]}"
}
}200Successful response. Pagination is explicit; no silent truncation.400Invalid query parameters404Record not found500Dataset unavailable