報
Halodoc API
6 endpointsNews & MediaIDsocial:read3 real examples
Returns Halodoc health articles: the latest list, paged lists and the full text of one article.
View as Markdown| GET | /halodoc/articles | The latest health articles of Halodoc, the ones its article page shows. |
| GET | /halodoc/list | Health articles of Halodoc, newest first, one page at a time. |
| GET | /halodoc/trending | The trending health articles of Halodoc, one page at a time. |
| GET | /halodoc/detail | One Halodoc health article with its full text, by its slug or URL. |
| GET | /halodoc/topics | Health topics of Halodoc, such as conditions and medicines, one page at a time. Type trending lists the topics the site highlights. |
| GET | /halodoc/topic | One Halodoc health topic, such as a condition or a medicine, with its full text, by its slug. |
articles
GET
/v1/halodoc/articlesThe latest health articles of Halodoc, the ones its article page shows.
scope social:read1 unitcached 30 minpaginated
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
14 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
id | string |
imageUrl | string |
publishedAt | string |
source | string |
summary | string |
title | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/halodoc/articles" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/halodoc/articles", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/halodoc/articles", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "id": "inilah-beberapa-jenis-salep-yang-dapat-mengatasi-eksim", "imageUrl": "", "publishedAt": "2026-11-05T00:00:00Z", "source": "", "summary": "Mengatasi eksim atau dermatitis atopik ternyata bisa dilakukan dengan beberapa pilihan jenis salep khusus yang bisa dibeli berikut ini!", "title": "Inilah Beberapa Jenis Salep yang Dapat Mengatasi Eksim", "updatedAt": "2026-11-05T08:45:18Z", "url": "https://www.halodoc.com/artikel/inilah-beberapa-jenis-salep-yang-dapat-mengatasi-eksim" }, { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "id": "ini-7-rekomendasi-obat-biduran-yang-ampuh-redakan-gatal-pada-kulit", "imageUrl": "", "publishedAt": "2026-11-05T00:00:00Z", "source": "", "summary": "Inilah obat biduran dengan resep dokter yang bisa kamu dapatkan di apotek. Pastikan penggunaannya sesuai dengan dosis yang dianjurkan.", "title": "Ini 7 Rekomendasi Obat Biduran yang Ampuh Redakan Gatal pada Kulit", "updatedAt": "2026-11-05T08:28:47Z", "url": "https://www.halodoc.com/artikel/ini-7-rekomendasi-obat-biduran-yang-ampuh-redakan-gatal-pada-kulit" } ], "meta": { "cached": false, "endpoint": "articles", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "halodoc", "requestId": "req_2Xb9kQ…", "units": 1 } }
list
GET
/v1/halodoc/listHealth articles of Halodoc, newest first, one page at a time.
scope social:read1 unitcached 30 minpaginated
Parameters
limitinteger | Items per page, 1 to 30. default 10e.g. 10 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
14 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
id | string |
imageUrl | string |
publishedAt | string |
source | string |
summary | string |
title | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/halodoc/list?limit=10" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/halodoc/list?limit=10", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/halodoc/list?limit=10", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "id": "inilah-beberapa-jenis-salep-yang-dapat-mengatasi-eksim", "imageUrl": "", "publishedAt": "2026-11-05T00:00:00Z", "source": "", "summary": "Mengatasi eksim atau dermatitis atopik ternyata bisa dilakukan dengan beberapa pilihan jenis salep khusus yang bisa dibeli berikut ini!", "title": "Inilah Beberapa Jenis Salep yang Dapat Mengatasi Eksim", "updatedAt": "2026-11-05T08:45:18Z", "url": "https://www.halodoc.com/artikel/inilah-beberapa-jenis-salep-yang-dapat-mengatasi-eksim" }, { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "id": "ini-7-rekomendasi-obat-biduran-yang-ampuh-redakan-gatal-pada-kulit", "imageUrl": "", "publishedAt": "2026-11-05T00:00:00Z", "source": "", "summary": "Inilah obat biduran dengan resep dokter yang bisa kamu dapatkan di apotek. Pastikan penggunaannya sesuai dengan dosis yang dianjurkan.", "title": "Ini 7 Rekomendasi Obat Biduran yang Ampuh Redakan Gatal pada Kulit", "updatedAt": "2026-11-05T08:28:47Z", "url": "https://www.halodoc.com/artikel/ini-7-rekomendasi-obat-biduran-yang-ampuh-redakan-gatal-pada-kulit" } ], "meta": { "cached": false, "endpoint": "list", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "halodoc", "requestId": "req_2Xb9kQ…", "units": 1 } }
trending
GET
/v1/halodoc/trendingThe trending health articles of Halodoc, one page at a time.
scope social:read1 unitcached 30 minpaginated
Parameters
limitinteger | Items per page, 1 to 30. default 10e.g. 10 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
14 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
id | string |
imageUrl | string |
publishedAt | string |
source | string |
summary | string |
title | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/halodoc/trending?limit=10" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/halodoc/trending?limit=10", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/halodoc/trending?limit=10", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "https://…", "id": "abc123", "name": "…", "url": "https://…", "username": "…" }, "id": "abc123", "imageUrl": "https://…", "publishedAt": "2026-11-06T09:41:00Z", "source": "…", "summary": "…", "title": "…", "updatedAt": "2026-11-06T09:41:00Z", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "trending", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "halodoc", "requestId": "req_2Xb9kQ…", "units": 1 } }
detail
GET
/v1/halodoc/detailOne Halodoc health article with its full text, by its slug or URL.
scope social:read1 unitcached 30 min
Parameters
slugstring required | Article slug or its URL, halodoc.com/artikel/<slug>. e.g. apa-itu-sikap-denial-ini-penyebab-dampak-dan-cara-mengatasinya |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
17 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
categories | Category[] |
name | string |
content | string |
id | string |
imageUrl | string |
publishedAt | string |
readingMinutes | integer (int64) |
source | string |
summary | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/halodoc/detail?slug=apa-itu-sikap-denial-ini-penyebab-dampak-dan-cara-mengatasinya" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/halodoc/detail?slug=apa-itu-sikap-denial-ini-penyebab-dampak-dan-cara-mengatasinya", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/halodoc/detail?slug=apa-itu-sikap-denial-ini-penyebab-dampak-dan-cara-mengatasinya", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "author": { "avatarUrl": "", "id": "", "name": "Redaksi Halodoc", "url": "", "username": "" }, "categories": [ { "name": "Kesehatan Mental" } ], "content": "DAFTAR ISI\nMengenal Sikap Denial dan Penyebabnya\nDampak Sikap Denial bagi Kesehatan Mental\nCara Sehat Mengatasi Sikap Denial\nKapan Harus ke …", "id": "apa-itu-sikap-denial-ini-penyebab-dampak-dan-cara-mengatasinya", "imageUrl": "", "publishedAt": "2026-09-09T00:00:00Z", "readingMinutes": 5, "source": "", "summary": "Denial adalah mekanisme pertahanan psikologis yang memberikan perlindungan sementara.", "title": "Apa Itu Sikap Denial? Ini Penyebab, Dampak, dan Cara Mengatasinya", "url": "https://www.halodoc.com/artikel/apa-itu-sikap-denial-ini-penyebab-dampak-dan-cara-mengatasinya" }, "meta": { "cached": false, "endpoint": "detail", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "halodoc", "requestId": "req_2Xb9kQ…", "units": 1 } }
topics
GET
/v1/halodoc/topicsHealth topics of Halodoc, such as conditions and medicines, one page at a time. Type trending lists the topics the site highlights.
scope social:read1 unitcached 1 hpaginated
Parameters
typestring | trending: the topics the site highlights; general: every topic.trendinggeneraldefault trending |
limitinteger | Items per page, 1 to 30. default 10e.g. 10 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
id | string |
name | string |
slug | string |
summary | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/halodoc/topics?limit=10" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/halodoc/topics?limit=10", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/halodoc/topics?limit=10", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "https://…", "id": "abc123", "name": "…", "url": "https://…", "username": "…" }, "id": "abc123", "name": "…", "slug": "…", "summary": "…", "updatedAt": "2026-11-06T09:41:00Z", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "topics", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "halodoc", "requestId": "req_2Xb9kQ…", "units": 1 } }
topic
GET
/v1/halodoc/topicOne Halodoc health topic, such as a condition or a medicine, with its full text, by its slug.
scope social:read1 unitcached 1 h
Parameters
slugstring required | Topic slug, such as batuk for Batuk (cough). e.g. batuk |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
content | string |
id | string |
name | string |
slug | string |
summary | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/halodoc/topic?slug=batuk" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/halodoc/topic?slug=batuk", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/halodoc/topic?slug=batuk", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "author": { "avatarUrl": "https://…", "id": "abc123", "name": "…", "url": "https://…", "username": "…" }, "content": "…", "id": "abc123", "name": "…", "slug": "…", "summary": "…", "updatedAt": "2026-11-06T09:41:00Z", "url": "https://…" }, "meta": { "cached": false, "endpoint": "topic", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "halodoc", "requestId": "req_2Xb9kQ…", "units": 1 } }