Skip to content

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/articlesThe latest health articles of Halodoc, the ones its article page shows.
GET/halodoc/listHealth articles of Halodoc, newest first, one page at a time.
GET/halodoc/trendingThe trending health articles of Halodoc, one page at a time.
GET/halodoc/detailOne Halodoc health article with its full text, by its slug or URL.
GET/halodoc/topicsHealth topics of Halodoc, such as conditions and medicines, one page at a time. Type trending lists the topics the site highlights.
GET/halodoc/topicOne Halodoc health topic, such as a condition or a medicine, with its full text, by its slug.

articles

GET/v1/halodoc/articles

The latest health articles of Halodoc, the ones its article page shows.

scope social:read1 unitcached 30 minpaginated

Parameters

tunnel
string
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.
proxy
string
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.
profileId
string
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
authorAuthor
avatarUrlstring
idstring
namestring
urlstring
usernamestring
idstring
imageUrlstring
publishedAtstring
sourcestring
summarystring
titlestring
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/halodoc/articles" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/list

Health articles of Halodoc, newest first, one page at a time.

scope social:read1 unitcached 30 minpaginated

Parameters

limit
integer
Items per page, 1 to 30.
default 10e.g. 10
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
authorAuthor
avatarUrlstring
idstring
namestring
urlstring
usernamestring
idstring
imageUrlstring
publishedAtstring
sourcestring
summarystring
titlestring
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/halodoc/list?limit=10" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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
  }
}

detail

GET/v1/halodoc/detail

One Halodoc health article with its full text, by its slug or URL.

scope social:read1 unitcached 30 min

Parameters

slug
string
required
Article slug or its URL, halodoc.com/artikel/<slug>.
e.g. apa-itu-sikap-denial-ini-penyebab-dampak-dan-cara-mengatasinya
tunnel
string
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.
proxy
string
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.
profileId
string
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
authorAuthor
avatarUrlstring
idstring
namestring
urlstring
usernamestring
categoriesCategory[]
namestring
contentstring
idstring
imageUrlstring
publishedAtstring
readingMinutesinteger (int64)
sourcestring
summarystring
titlestring
urlstring
curl "https://api.hoshime.com/v1/halodoc/detail?slug=apa-itu-sikap-denial-ini-penyebab-dampak-dan-cara-mengatasinya" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/topics

Health 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

type
string
trending: the topics the site highlights; general: every topic.
trendinggeneral
default trending
limit
integer
Items per page, 1 to 30.
default 10e.g. 10
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
authorAuthor
avatarUrlstring
idstring
namestring
urlstring
usernamestring
idstring
namestring
slugstring
summarystring
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/halodoc/topics?limit=10" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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/topic

One Halodoc health topic, such as a condition or a medicine, with its full text, by its slug.

scope social:read1 unitcached 1 h

Parameters

slug
string
required
Topic slug, such as batuk for Batuk (cough).
e.g. batuk
tunnel
string
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.
proxy
string
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.
profileId
string
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
authorAuthor
avatarUrlstring
idstring
namestring
urlstring
usernamestring
contentstring
idstring
namestring
slugstring
summarystring
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/halodoc/topic?slug=batuk" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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
  }
}
esc
↑↓ move↵ open