Indonesia Hospitals
Indonesian hospital data from SIRS.
Base URL
https://use.api.co.id
All endpoints live under the /hospitals/indonesia path and are called with the x-api-co-id header. Filters are sent as query parameters. The response contains hospital details, including facilities, beds breakdown, services, and staff information.
Data structure
| Group | Contents |
|---|---|
| Basic information | Code, name, address, phone |
| Classification | type, class, blu_status, ownership |
| Facilities | land_area, building_area, total_beds |
| Beds breakdown | class_i, class_ii, class_iii, hcu, perinatology, icu_with_ventilator |
| Services | Count and list of services |
| Human resources | Total staff, general_practitioner, basic_specialist, other_specialist |
| Location | Province and regency codes |
| Other | Scraped timestamp |
Filters
| Parameter | Purpose |
|---|---|
code | Filter by hospital code |
name | Search by hospital name (case-insensitive partial match) |
type | Filter by hospital type |
class | Filter by hospital class (A, B, C, D) |
blu_status | Filter by BLU status |
ownership | Filter by ownership type |
province_code | Filter by province code |
regency_code | Filter by regency code |
page | Page number (default: 1) |
size | Page size (default: 100, max: 100) |
Metadata
Get the available filter values from the metadata endpoints: /hospitals/indonesia/types, /hospitals/indonesia/classes, /hospitals/indonesia/ownership, and /hospitals/indonesia/blu-status.
Postman Collection
Hospitals
List All Hospitals
Get all hospitals with pagination. Returns up to 100 hospitals per page.
### Query Parameters
- page (optional): Page number (default: 1)
- size (optional): Page size (default: 100, max: 100)
- code (optional): Filter by hospital code
- name (optional): Search by hospital name (case-insensitive partial match)
- type (optional): Filter by hospital type
- class (optional): Filter by hospital class
- blu_status (optional): Filter by BLU status
- ownership (optional): Filter by ownership type
- province_code (optional): Filter by province code
- regency_code (optional): Filter by regency code
### Examples
``bash # Get first page GET /hospitals/indonesia/?page=1&size=100
# Search by name GET /hospitals/indonesia/?name=RSUD
# Filter by type GET /hospitals/indonesia/?type=Rumah Sakit Umum
# Filter by class GET /hospitals/indonesia/?class=A
| Name | Type | Description |
|---|---|---|
pageOptional | integer | Page number (default 1) Example: 1 |
sizeOptional | integer | Page size (default 100, max 100) Example: 100 |
codeOptional | string | Filter by hospital code |
nameOptional | string | Search by hospital name (case-insensitive partial match) Example: RSUD |
typeOptional | string | Filter by hospital type Example: Rumah Sakit Umum |
classOptional | string | Filter by hospital class (A, B, C, D) Values: ABCDExample: A |
blu_statusOptional | string | Filter by BLU status Example: BLUD |
ownershipOptional | string | Filter by ownership type Example: Pemkab |
province_codeOptional | string | Filter by province code (2 digits) Example: 11 |
regency_codeOptional | string | Filter by regency code (4 digits) Example: 1113 |
| Name | Type | Description |
|---|---|---|
is_successOptional | boolean | Indicates if the request was successful Example: true |
messageOptional | string | Response message Example: Success |
dataOptional | object[] | |
data[].codeOptional | string | Hospital code from SIRS Example: 1113012 |
data[].nameOptional | string | Hospital name Example: RS Umum Muhammad Ali Kasim |
data[].addressOptional | string | Hospital address Example: Jalan Pangur |
data[].phoneOptional | string | Hospital phone number Example: null |
data[].typeOptional | string | Hospital type Example: Rumah Sakit Umum |
data[].classOptional | string | Hospital class (A, B, C, D) Example: C |
data[].blu_statusOptional | string | BLU status Example: BLUD |
data[].ownershipOptional | string | Ownership type Example: Pemkab |
data[].directorOptional | string | Hospital director name Example: dr. SRI AGUSTI, M.Ked.,Sp.KJ |
data[].facilitiesOptional | object | |
data[].facilities.land_areaOptional | string | Land area Example: 99.652 M2 |
data[].facilities.building_areaOptional | string | Building area Example: - |
data[].facilities.total_bedsOptional | integer | Total number of beds Example: 126 |
data[].bedsOptional | object | |
data[].beds.class_iOptional | integer | Number of class I beds Example: 14 |
data[].beds.class_iiOptional | integer | Number of class II beds Example: 12 |
data[].beds.class_iiiOptional | integer | Number of class III beds Example: 68 |
data[].beds.hcuOptional | integer | Number of HCU beds Example: 4 |
data[].beds.perinatologyOptional | integer | Number of perinatology beds Example: 20 |
data[].beds.icu_with_ventilatorOptional | integer | Number of ICU beds with ventilator Example: 8 |
data[].servicesOptional | object | |
data[].services.countOptional | integer | Number of services Example: 10 |
data[].services.listOptional | string[] | List of services Example: ["Pelayanan medik dasar / umum","Pelayanan medik gigi mulut","Pelayanan KIA/KB"] |
data[].staffOptional | object | |
data[].staff.totalOptional | integer | Total staff count Example: 56 |
data[].staff.general_practitionerOptional | number | Number of general practitioners Example: 38 |
data[].staff.basic_specialistOptional | number | Number of basic specialists Example: 11 |
data[].staff.other_specialistOptional | number | Number of other specialists Example: 7 |
data[].province_codeOptional | string | Province code Example: 11 |
data[].regency_codeOptional | string | Regency code Example: 1113 |
data[].scraped_atOptional | string | Timestamp when data was scraped Example: 2026-01-25T14:26:04.857537 |
pagingOptional | object | |
paging.pageOptional | integer | Current page number Example: 1 |
paging.sizeOptional | integer | Page size Example: 100 |
paging.total_itemOptional | integer | Total number of items Example: 3291 |
paging.total_pageOptional | integer | Total number of pages Example: 33 |
curl -X GET "https://use.api.co.id/hospitals/indonesia/" \ -H "x-api-co-id: $API_CO_ID_KEY"{ "is_success": true, "message": "Success", "data": [ { "code": "1113012", "name": "RS Umum Muhammad Ali Kasim", "address": "Jalan Pangur", "phone": null, "type": "Rumah Sakit Umum", "class": "C", "blu_status": "BLUD", "ownership": "Pemkab", "director": "dr. SRI AGUSTI, M.Ked.,Sp.KJ", "facilities": { "land_area": "99.652 M2", "building_area": "-", "total_beds": 126 }, "beds": { "class_i": 14, "class_ii": 12, "class_iii": 68, "hcu": 4, "perinatology": 20, "icu_with_ventilator": 8 }, "services": { "count": 10, "list": [ "Pelayanan medik dasar / umum", "Pelayanan medik gigi mulut", "Pelayanan KIA/KB", "Pelayanan Gawat Darurat Umum 24 jam & 7 hari seminggu", "Penyakit dalam", "Kesehatan anak", "Bedah", "Obstetri dan ginekologi", "Anestesi", "Radiologi" ] }, "staff": { "total": 56, "general_practitioner": 38, "basic_specialist": 11, "other_specialist": 7 }, "province_code": "11", "regency_code": "1113", "scraped_at": "2026-01-25T14:26:04.857537" } ], "paging": { "page": 1, "size": 100, "total_item": 3291, "total_page": 33 }}Get Hospital by Code
Get detailed information about a specific hospital by its code.
### Path Parameters
- code (required): Hospital code from SIRS
### Example
``bash GET /hospitals/indonesia/1113012
| Name | Type | Description |
|---|---|---|
codeRequired | string | Hospital code from SIRS Example: 1113012 |
| Name | Type | Description |
|---|---|---|
is_successOptional | boolean | Indicates if the request was successful Example: true |
messageOptional | string | Response message Example: Success |
dataOptional | object | |
data.codeOptional | string | Hospital code from SIRS Example: 1113012 |
data.nameOptional | string | Hospital name Example: RS Umum Muhammad Ali Kasim |
data.addressOptional | string | Hospital address Example: Jalan Pangur |
data.phoneOptional | string | Hospital phone number Example: null |
data.typeOptional | string | Hospital type Example: Rumah Sakit Umum |
data.classOptional | string | Hospital class (A, B, C, D) Example: C |
data.blu_statusOptional | string | BLU status Example: BLUD |
data.ownershipOptional | string | Ownership type Example: Pemkab |
data.directorOptional | string | Hospital director name Example: dr. SRI AGUSTI, M.Ked.,Sp.KJ |
data.facilitiesOptional | object | |
data.facilities.land_areaOptional | string | Land area Example: 99.652 M2 |
data.facilities.building_areaOptional | string | Building area Example: - |
data.facilities.total_bedsOptional | integer | Total number of beds Example: 126 |
data.bedsOptional | object | |
data.beds.class_iOptional | integer | Number of class I beds Example: 14 |
data.beds.class_iiOptional | integer | Number of class II beds Example: 12 |
data.beds.class_iiiOptional | integer | Number of class III beds Example: 68 |
data.beds.hcuOptional | integer | Number of HCU beds Example: 4 |
data.beds.perinatologyOptional | integer | Number of perinatology beds Example: 20 |
data.beds.icu_with_ventilatorOptional | integer | Number of ICU beds with ventilator Example: 8 |
data.servicesOptional | object | |
data.services.countOptional | integer | Number of services Example: 10 |
data.services.listOptional | string[] | List of services Example: ["Pelayanan medik dasar / umum","Pelayanan medik gigi mulut","Pelayanan KIA/KB"] |
data.staffOptional | object | |
data.staff.totalOptional | integer | Total staff count Example: 56 |
data.staff.general_practitionerOptional | number | Number of general practitioners Example: 38 |
data.staff.basic_specialistOptional | number | Number of basic specialists Example: 11 |
data.staff.other_specialistOptional | number | Number of other specialists Example: 7 |
data.province_codeOptional | string | Province code Example: 11 |
data.regency_codeOptional | string | Regency code Example: 1113 |
data.scraped_atOptional | string | Timestamp when data was scraped Example: 2026-01-25T14:26:04.857537 |
curl -X GET "https://use.api.co.id/hospitals/indonesia/1113012" \ -H "x-api-co-id: $API_CO_ID_KEY"{ "is_success": true, "message": "Success", "data": { "code": "1113012", "name": "RS Umum Muhammad Ali Kasim", "address": "Jalan Pangur", "phone": null, "type": "Rumah Sakit Umum", "class": "C", "blu_status": "BLUD", "ownership": "Pemkab", "director": "dr. SRI AGUSTI, M.Ked.,Sp.KJ", "facilities": { "land_area": "99.652 M2", "building_area": "-", "total_beds": 126 }, "beds": { "class_i": 14, "class_ii": 12, "class_iii": 68, "hcu": 4, "perinatology": 20, "icu_with_ventilator": 8 }, "services": { "count": 10, "list": [ "Pelayanan medik dasar / umum", "Pelayanan medik gigi mulut", "Pelayanan KIA/KB", "Pelayanan Gawat Darurat Umum 24 jam & 7 hari seminggu", "Penyakit dalam", "Kesehatan anak", "Bedah", "Obstetri dan ginekologi", "Anestesi", "Radiologi" ] }, "staff": { "total": 56, "general_practitioner": 38, "basic_specialist": 11, "other_specialist": 7 }, "province_code": "11", "regency_code": "1113", "scraped_at": "2026-01-25T14:26:04.857537" }}Metadata
Get All Types
Get all distinct hospital types available in the database.
### Response Returns a list of all unique hospital types that can be used for filtering.
### Example
``bash GET /hospitals/indonesia/types
| Name | Type | Description |
|---|---|---|
is_successOptional | boolean | Indicates if the request was successful Example: true |
messageOptional | string | Response message Example: Success |
dataOptional | object | |
data.typesOptional | string[] | List of hospital types Example: ["Rumah Sakit Umum","Rumah Sakit Khusus","Rumah Sakit Jiwa","Rumah Sakit Ibu dan Anak"] |
data.countOptional | integer | Number of types Example: 4 |
curl -X GET "https://use.api.co.id/hospitals/indonesia/types" \ -H "x-api-co-id: $API_CO_ID_KEY"{ "is_success": true, "message": "Success", "data": { "types": [ "Rumah Sakit Umum", "Rumah Sakit Khusus", "Rumah Sakit Jiwa", "Rumah Sakit Ibu dan Anak" ], "count": 4 }}Get All Classes
Get all distinct hospital classes available in the database.
### Response Returns a list of all unique hospital classes (A, B, C, D) that can be used for filtering.
### Classes - A: Highest class - B: High class - C: Medium class - D: Basic class
### Example
``bash GET /hospitals/indonesia/classes
| Name | Type | Description |
|---|---|---|
is_successOptional | boolean | Indicates if the request was successful Example: true |
messageOptional | string | Response message Example: Success |
dataOptional | object | |
data.classesOptional | string[] | List of hospital classes Example: ["A","B","C","D"] |
data.countOptional | integer | Number of classes Example: 4 |
curl -X GET "https://use.api.co.id/hospitals/indonesia/classes" \ -H "x-api-co-id: $API_CO_ID_KEY"{ "is_success": true, "message": "Success", "data": { "classes": [ "A", "B", "C", "D" ], "count": 4 }}Get All Ownership
Get all distinct ownership types available in the database.
### Response Returns a list of all unique ownership types that can be used for filtering.
### Common Ownership Types - Pemkab (Pemerintah Kabupaten) - Pemkot (Pemerintah Kota) - Pemprov (Pemerintah Provinsi) - Swasta - TNI/Polri
### Example
``bash GET /hospitals/indonesia/ownership
| Name | Type | Description |
|---|---|---|
is_successOptional | boolean | Indicates if the request was successful Example: true |
messageOptional | string | Response message Example: Success |
dataOptional | object | |
data.ownershipOptional | string[] | List of ownership types Example: ["Pemkab","Pemkot","Pemprov","Swasta","TNI/Polri"] |
data.countOptional | integer | Number of ownership types Example: 5 |
curl -X GET "https://use.api.co.id/hospitals/indonesia/ownership" \ -H "x-api-co-id: $API_CO_ID_KEY"{ "is_success": true, "message": "Success", "data": { "ownership": [ "Pemkab", "Pemkot", "Pemprov", "Swasta", "TNI/Polri" ], "count": 5 }}Get All BLU Status
Get all distinct BLU (Badan Layanan Umum) statuses available in the database.
### Response Returns a list of all unique BLU statuses that can be used for filtering.
### Common BLU Statuses - BLUD: Badan Layanan Umum Daerah - Non BLUD: Not a BLU
### Example
``bash GET /hospitals/indonesia/blu-status
| Name | Type | Description |
|---|---|---|
is_successOptional | boolean | Indicates if the request was successful Example: true |
messageOptional | string | Response message Example: Success |
dataOptional | object | |
data.blu_statusOptional | string[] | List of BLU statuses Example: ["BLUD","Non BLUD"] |
data.countOptional | integer | Number of BLU statuses Example: 2 |
curl -X GET "https://use.api.co.id/hospitals/indonesia/blu-status" \ -H "x-api-co-id: $API_CO_ID_KEY"{ "is_success": true, "message": "Success", "data": { "blu_status": [ "BLUD", "Non BLUD" ], "count": 2 }}