報
IDN Times API
4 endpointsNews & MediaIDsocial:read4 real examples
Returns IDN Times articles: latest, by section, full article text with byline, and keyword search results.
View as Markdown| GET | /idntimes/latest | Latest articles of IDN Times, newest first. |
| GET | /idntimes/category | Latest articles of one section of IDN Times, newest first. |
| GET | /idntimes/article | One article of IDN Times with its text, byline and times. |
| GET | /idntimes/search | Articles of IDN Times that match a keyword. |
latest
GET
/v1/idntimes/latestLatest articles of IDN Times, 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/idntimes/latest" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/idntimes/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/idntimes/latest", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "category": "", "id": "", "imageUrl": "", "publishedAt": "2026-11-06T16:30:00Z", "source": "", "summary": "", "title": "Hakim Meksiko Dibekuk Usai Terima Suap Rp36 M dari Kartel Narkoba", "url": "https://www.idntimes.com/news/world/hakim-meksiko-dibekuk-usai-terima-suap-rp36-m-dari-kartel-narkoba-c1c2-01-nz139-r1c6jn" }, { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "category": "", "id": "", "imageUrl": "", "publishedAt": "2026-11-06T16:10:00Z", "source": "", "summary": "", "title": "Gereja Peru Didesak Buka Penyelidikan Independen Pelecehan Seksual", "url": "https://www.idntimes.com/news/world/gereja-peru-didesak-buka-penyelidikan-independen-pelecehan-seksual-c1c2-01-nz139-0t5jr9" } ], "meta": { "cached": false, "endpoint": "latest", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "idntimes", "requestId": "req_2Xb9kQ…", "units": 1 } }
category
GET
/v1/idntimes/categoryLatest articles of one section of IDN Times, newest first.
scope social:read1 unitcached 10 minpaginated
Parameters
categorystring required | Section of the site, such as business.automotivebusinessfoodhealthkorealifesciencesporttechtravele.g. business |
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/idntimes/category?category=business" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/idntimes/category?category=business", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/idntimes/category?category=business", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "category": "business", "id": "", "imageUrl": "", "publishedAt": "2026-11-06T16:04:00Z", "source": "", "summary": "", "title": "4 Fase Perjalanan Pengusaha: Menanam Ide hingga Memanen Hasil Bisnis", "url": "https://www.idntimes.com/business/economy/fase-perjalanan-pengusaha-menanam-ide-hingga-memanen-hasil-c1c2-01-jct2y-0vdx4c" }, { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "category": "business", "id": "", "imageUrl": "", "publishedAt": "2026-11-06T15:29:00Z", "source": "", "summary": "", "title": "BI: Penempatan DHE SDA Berpotensi Tambah Cadangan Devisa", "url": "https://www.idntimes.com/business/economy/bi-penempatan-dhe-sda-berpotensi-tambah-cadangan-devisa-00-gshdq-8z5zzy" } ], "meta": { "cached": false, "endpoint": "category", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "idntimes", "requestId": "req_2Xb9kQ…", "units": 1 } }
article
GET
/v1/idntimes/articleOne article of IDN Times with its text, byline and times.
scope social:read1 unitcached 1 h
Parameters
urlstring required | Full address of an article of IDN Times. e.g. https://www.idntimes.com/news/indonesia/kejaksaan-agung-geledah-enam-lokasi-kasus-nikel-00-xvwcc-xhk05r |
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
16 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
content | string |
id | string |
imageUrl | string |
publishedAt | string |
section | string |
source | string |
summary | string |
title | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/idntimes/article?url=https%3A%2F%2Fwww.idntimes.com%2Fnews%2Findonesia%2Fkejaksaan-agung-geledah-enam-lokasi-kasus-nikel-00-xvwcc-xhk05r" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/idntimes/article?url=https%3A%2F%2Fwww.idntimes.com%2Fnews%2Findonesia%2Fkejaksaan-agung-geledah-enam-lokasi-kasus-nikel-00-xvwcc-xhk05r", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/idntimes/article?url=https%3A%2F%2Fwww.idntimes.com%2Fnews%2Findonesia%2Fkejaksaan-agung-geledah-enam-lokasi-kasus-nikel-00-xvwcc-xhk05r", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "author": { "avatarUrl": "", "id": "", "name": "Amir Faisol", "url": "", "username": "" }, "content": "Jakarta, IDN Times - Kejaksaan Agung RI melakukan penggeledahan terhadap enam lokasi di Jakarta, Jumat (6/11/2026). Hal itu dilakukan terkai…", "id": "", "imageUrl": "https://image.idntimes.com/post/20261106/20261106_150245_85e44e45-bbd9-4225-b247-b3b6b6b3ebe1.jpg", "publishedAt": "2026-11-06T10:26:24Z", "section": "", "source": "", "summary": "Kejagung menggeledah enam lokasi di Jakarta terkait dugaan korupsi tata kelola tambang nikel dan menyita uang serta barang bukti elektronik.", "title": "Kejagung Geledah 6 Lokasi Kasus Korupsi Nikel, Libatkan Pengusaha AK?", "updatedAt": "2026-11-06T10:26:24Z", "url": "https://www.idntimes.com/news/indonesia/kejaksaan-agung-geledah-enam-lokasi-kasus-nikel-00-xvwcc-xhk05r" }, "meta": { "cached": false, "endpoint": "article", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "idntimes", "requestId": "req_2Xb9kQ…", "units": 1 } }
search
GET
/v1/idntimes/searchArticles of IDN Times 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
13 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 |
url | string |
curl "https://api.hoshime.com/v1/idntimes/search?query=ekonomi" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/idntimes/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/idntimes/search?query=ekonomi", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "id": "", "imageUrl": "https://image.idntimes.com/post/20220729/whatsapp-image-2022-07-29-at-75939-pm-eb31051a1588d531ba16e4ae3c0c76be.jpeg", "publishedAt": "", "source": "", "summary": "", "title": "Ekonomi Kuartal III-2026 Tumbuh 5,47 Persen, INDEF: Perlu Ditelusuri", "url": "https://www.idntimes.com/business/economy/ekonomi-kuartal-iii-2026-tumbuh-5-47-persen-indef-perlu-ditelusuri-00-3m8tp-nx41wv" }, { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "id": "", "imageUrl": "https://image.idntimes.com/post/20241121/images-87-ed52ff2be10271c66d1c7497887b239c-68e2f3763068efe3a360da0f4f351e22.jpeg", "publishedAt": "", "source": "", "summary": "", "title": "Investasi Perlu Tumbuh 7 Persen untuk Kejar Target Ekonomi 6 Persen", "url": "https://www.idntimes.com/business/economy/investasi-perlu-tumbuh-7-persen-untuk-kejar-target-ekonomi-6-persen-00-gshdq-q3fjm6" } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "idntimes", "requestId": "req_2Xb9kQ…", "units": 1 } }