halodoc api
Unofficial API and Web Scraping from halodoc.com
Treat me a cup of coffee in here
1. Node.js has installed on your machine
2. NPM has installed on your machine
Use the package manager npm to install dependencies.
npm installnpm startserver will running on port 3000
Get list of articles
GET /articles-trendingGet list of articles
GET /articles/page/1Get article content
GET /article-content/ini-10-makanan-sumber-vitamin-d-bantu-cegah-osteoporosis/a338dbd3-75c0-4051-a550-e4366a4e26faGet similar article
GET /article/similar/a338dbd3-75c0-4051-a550-e4366a4e26faGet list of medicine categories
GET /medicine/categoriesGet detail category of medicine
GET /medicine/categories/produk-susu/page/1Get medicine product
GET /medicine/detail/nutrilon-royal-3-madu-susu-pertumbuhan-bubuk-400-grGet similar product of medicine product
GET /medicine/similar/nutrilon-royal-3-madu-susu-pertumbuhan-bubuk-400-grGet location suggestion Max count is 500
PUT /doctor/specialities/:count/Get doctor profile
GET /doctor/dr-andry-ganesha-rombeGet hospital profile
GET /hospital/rsup-dr-sardjitoGet hospital departments
GET /hospital/departments/rsup-dr-sardjitoGet location suggestion
PUT /doctor/search{
region: "jakarta",
speciality: "" // Value must be from slug of /doctor/specialities request,
page: 1
}Get location suggestion
PUT /hospital/locations-sugestion{
search: "jakarta"
}Get hospital location
PUT /hospital/location{
district: "" // "Value must be from name of district key from /hospital/locations-sugestion response",
region: "" // "Value must be from name of region key from /hospital/locations-sugestion response",
city: "" // "Value must be from name of city key from /hospital/locations-sugestion response",
search: "jakarta"
}Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.