The data are scrapped (on the fly per API http request) from MoH's official website named SIRANAP V 3.0.
-
List Provinces
Get list of province's name- endpoint: BASEURL/api/province
- parameter:
none
- example:
BASEURL/api/province
-
Check Available
Get data bed available for each hospital in specific location, for now only support filter by province- endpoint: BASEURL/api/available
- parameter:
- province
[string]
: province name
- province
- example:
BASEURL/api/available?province=aceh
-
Detail Hospital
Get data detail bed available for each room types in specific hospital- endpoint: BASEURL/api/detail
- parameter:
- code
[number]
: hospital code, can be obtained from the response of API Check Available
- code
- example:
BASEURL/api/detail?code=123456
Deployed using Vercel Serverless Function that integrated with DataDog for storing log.