Skip to content

Merdeka.com API

5 endpointsNews & MediaIDsocial:read4 real examples

Returns Merdeka.com articles: latest, by section, by keyword search, and full article text with byline and times.

View as Markdown
GET/merdeka/latestLatest articles of Merdeka.com, newest first.
GET/merdeka/categoryLatest articles of one section of Merdeka.com, newest first.
GET/merdeka/articleOne article of Merdeka.com with its text, byline and times.
GET/merdeka/searchArticles of Merdeka.com that match a keyword.
GET/merdeka/tagArticles of Merdeka.com filed under one tag, such as prabowo or prabowo-subianto, 30 per page; pages with cursor.

latest

GET/v1/merdeka/latest

Latest articles of Merdeka.com, newest first.

scope social:read1 unitcached 10 minpaginated

Parameters

limit
integer
Items per page, 1 to 100.
default 20
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
categorystring
idstring
imageUrlstring
publishedAtstring
sourcestring
summarystring
titlestring
urlstring
curl "https://api.hoshime.com/v1/merdeka/latest" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "author": {
        "avatarUrl": "",
        "id": "",
        "name": "",
        "url": "",
        "username": ""
      },
      "category": "politik",
      "id": "",
      "imageUrl": "",
      "publishedAt": "2026-11-06T15:18:10Z",
      "source": "",
      "summary": "",
      "title": "Golkar: Penyadapan Bisa Mengancam Demokrasi",
      "url": "https://www.merdeka.com/politik/read/8330266/golkar-penyadapan-bisa-mengancam-demokrasi"
    },
    {
      "author": {
        "avatarUrl": "",
        "id": "",
        "name": "",
        "url": "",
        "username": ""
      },
      "category": "peristiwa",
      "id": "",
      "imageUrl": "",
      "publishedAt": "2026-11-06T15:17:10Z",
      "source": "",
      "summary": "",
      "title": "Yusril Persilakan Komnas HAM Usut Bentrokan Maut di Pidie",
      "url": "https://www.merdeka.com/peristiwa/read/8330265/yusril-persilakan-komnas-ham-usut-bentrokan-maut-di-pidie"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "latest",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "merdeka",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

category

GET/v1/merdeka/category

Latest articles of one section of Merdeka.com, newest first.

scope social:read1 unitcached 10 minpaginated

Parameters

category
string
required
Section of the site, such as peristiwa.
artisduniagayaotoperistiwapolitiksehatsportteknologiuang
e.g. peristiwa
limit
integer
Items per page, 1 to 100.
default 20
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
categorystring
idstring
imageUrlstring
publishedAtstring
sourcestring
summarystring
titlestring
urlstring
curl "https://api.hoshime.com/v1/merdeka/category?category=peristiwa" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "author": {
        "avatarUrl": "",
        "id": "",
        "name": "",
        "url": "",
        "username": ""
      },
      "category": "peristiwa",
      "id": "",
      "imageUrl": "",
      "publishedAt": "2026-11-06T15:17:10Z",
      "source": "",
      "summary": "",
      "title": "Yusril Persilakan Komnas HAM Usut Bentrokan Maut di Pidie",
      "url": "https://www.merdeka.com/peristiwa/read/8330265/yusril-persilakan-komnas-ham-usut-bentrokan-maut-di-pidie"
    },
    {
      "author": {
        "avatarUrl": "",
        "id": "",
        "name": "",
        "url": "",
        "username": ""
      },
      "category": "peristiwa",
      "id": "",
      "imageUrl": "",
      "publishedAt": "2026-11-06T14:21:05Z",
      "source": "",
      "summary": "",
      "title": "Pangdam Beberkan Amunisi Dipakai Saat Bentrokan Warga di Aceh",
      "url": "https://www.merdeka.com/peristiwa/read/8330233/pangdam-beberkan-amunisi-dipakai-saat-bentrokan-warga-di-aceh"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "category",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "merdeka",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

article

GET/v1/merdeka/article

One article of Merdeka.com with its text, byline and times.

scope social:read1 unitcached 1 h

Parameters

url
string
required
Full address of an article of Merdeka.com.
e.g. https://www.merdeka.com/peristiwa/read/8330052/pasca-letusan-bromo-bpbd-rombak-jalur-evakuasi-dan-posko
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

9 fields
authorstring
contentstring
imagestring
publishedAtstring
sectionstring
summarystring
titlestring
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/merdeka/article?url=https%3A%2F%2Fwww.merdeka.com%2Fperistiwa%2Fread%2F8330052%2Fpasca-letusan-bromo-bpbd-rombak-jalur-evakuasi-dan-posko" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "author": "Hermawan Arifianto",
    "content": "BPBD memetakan ulang jalur evakuasi dan posko usai Bromo erupsi. Aktivitas vulkanik di Level II. PVMBG menetapkan radius aman. Ini datanya.\n…",
    "image": "https://cdn1-production-images-kly.akamaized.net/IRdRqCADFrwNd_LTvKy9wCPmnRI=/1200x675/smart/filters:quality(75):strip_icc():format(jpeg)/kl…",
    "publishedAt": "2026-11-06T09:48:49Z",
    "section": "",
    "summary": "BPBD memetakan ulang jalur evakuasi dan posko usai Bromo erupsi. Aktivitas vulkanik di Level II. PVMBG menetapkan radius aman. Ini datanya.",
    "title": "Pasca Letusan Bromo, BPBD Rombak Jalur Evakuasi dan Posko",
    "updatedAt": "2026-11-06T09:48:50Z",
    "url": "https://www.merdeka.com/peristiwa/read/8330052/pasca-letusan-bromo-bpbd-rombak-jalur-evakuasi-dan-posko"
  },
  "meta": {
    "cached": false,
    "endpoint": "article",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "merdeka",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

tag

GET/v1/merdeka/tag

Articles of Merdeka.com filed under one tag, such as prabowo or prabowo-subianto, 30 per page; pages with cursor.

scope social:read1 unitcached 3 minpaginated

Parameters

tag
string
required
Tag slug, such as prabowo or prabowo-subianto.
e.g. prabowo
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

3 fields
imagestring
titlestring
urlstring
curl "https://api.hoshime.com/v1/merdeka/tag?tag=prabowo" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "image": "…",
      "title": "…",
      "url": "https://…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "tag",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "merdeka",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open