報
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/latest | Latest articles of Merdeka.com, newest first. |
| GET | /merdeka/category | Latest articles of one section of Merdeka.com, newest first. |
| GET | /merdeka/article | One article of Merdeka.com with its text, byline and times. |
| GET | /merdeka/search | Articles of Merdeka.com that match a keyword. |
| GET | /merdeka/tag | Articles of Merdeka.com filed under one tag, such as prabowo or prabowo-subianto, 30 per page; pages with cursor. |
latest
GET
/v1/merdeka/latestLatest articles of Merdeka.com, newest first.
scope social:read1 unitcached 10 minpaginated
Parameters
limitinteger | Items per page, 1 to 100. default 20 |
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 |
category | string |
id | string |
imageUrl | string |
publishedAt | string |
source | string |
summary | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/merdeka/latest" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/merdeka/latest", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/merdeka/latest", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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/categoryLatest articles of one section of Merdeka.com, newest first.
scope social:read1 unitcached 10 minpaginated
Parameters
categorystring required | Section of the site, such as peristiwa.artisduniagayaotoperistiwapolitiksehatsportteknologiuange.g. peristiwa |
limitinteger | Items per page, 1 to 100. default 20 |
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 |
category | string |
id | string |
imageUrl | string |
publishedAt | string |
source | string |
summary | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/merdeka/category?category=peristiwa" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/merdeka/category?category=peristiwa", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/merdeka/category?category=peristiwa", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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/articleOne article of Merdeka.com with its text, byline and times.
scope social:read1 unitcached 1 h
Parameters
urlstring 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 |
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
9 fields
author | string |
content | string |
image | string |
publishedAt | string |
section | string |
summary | string |
title | string |
updatedAt | string |
url | string |
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"
const res = await fetch("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", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "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", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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 } }
search
GET
/v1/merdeka/searchArticles of Merdeka.com that match a keyword.
scope social:read1 unitcached 3 minpaginated
Parameters
querystring required | Keyword to search for. e.g. ekonomi |
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
3 fields
image | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/merdeka/search?query=ekonomi" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/merdeka/search?query=ekonomi", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/merdeka/search?query=ekonomi", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "image": "", "title": "Golkar: Penyadapan Bisa Mengancam Demokrasi2 jam yang lalu", "url": "https://www.merdeka.com/politik/read/8330266/golkar-penyadapan-bisa-mengancam-demokrasi" }, { "image": "", "title": "Yusril Persilakan Komnas HAM Usut Bentrokan Maut di Pidie2 jam yang lalu", "url": "https://www.merdeka.com/peristiwa/read/8330265/yusril-persilakan-komnas-ham-usut-bentrokan-maut-di-pidie" } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "merdeka", "requestId": "req_2Xb9kQ…", "units": 1 } }
tag
GET
/v1/merdeka/tagArticles 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
tagstring required | Tag slug, such as prabowo or prabowo-subianto. e.g. prabowo |
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
3 fields
image | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/merdeka/tag?tag=prabowo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/merdeka/tag?tag=prabowo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/merdeka/tag?tag=prabowo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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 } }