報
iNews.id API
2 endpointsNews & MediaIDsocial:read2 real examples
Returns the latest iNews.id articles and the full text of one article with byline and times.
View as Markdown| GET | /inews/latest | Latest articles of iNews.id, newest first. |
| GET | /inews/article | One article of iNews.id with its text, byline and times. |
latest
GET
/v1/inews/latestLatest articles of iNews.id, newest first.
scope social:read1 unitcached 5 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/inews/latest" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/inews/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/inews/latest", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "category": "Nasional", "id": "", "imageUrl": "https://img.inews.id/files/inews_new/2020/07/15/15___Fintech.jpg", "publishedAt": "2026-11-06T17:38:00Z", "source": "", "summary": "Utang pinjol mencapai Rp106,48 triliun pada September 2026. OJK mencatat kredit macet naik menjadi 5,36 persen, dari sebelumnya 4,73 persen.", "title": "Utang Pinjol Warga RI Menggunung hingga Rp106 Triliun, Kredit Macet Naik Jadi 5,36 Persen", "url": "https://www.inews.id/news/nasional/utang-pinjol-warga-ri-menggunung-hingga-rp106-triliun-kredit-macet-naik-jadi-536-persen" }, { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "category": "Internasional", "id": "", "imageUrl": "https://img.inews.id/files/inews_new/2026/11/07/1000367068.jpg", "publishedAt": "2026-11-06T17:30:00Z", "source": "", "summary": "Pengadilan Kenya, Jumat (6/11), menjatuhkan hukuman total 200 tahun penjara kepada pemimpin sekte kontroversial, Paul Mackenzie, terkait kem…", "title": "Mantan Pendeta yang Anjurkan Pengikutnya Puasa Sampai Mati Dihukum 200 Tahun Penjara", "url": "https://www.inews.id/news/internasional/mantan-pendeta-yang-anjurkan-pengikutnya-puasa-sampai-mati-dihukum-200-tahun-penjara" } ], "meta": { "cached": false, "endpoint": "latest", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "inews", "requestId": "req_2Xb9kQ…", "units": 1 } }
article
GET
/v1/inews/articleOne article of iNews.id with its text, byline and times.
scope social:read1 unitcached 1 h
Parameters
urlstring required | Full address of an article of iNews.id. e.g. https://www.inews.id/regional/jateng/kebakaran-3-kios-di-pasar-pedurungan-semarang-pedagang-panik-selamatkan-barang-dagangan |
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/inews/article?url=https%3A%2F%2Fwww.inews.id%2Fregional%2Fjateng%2Fkebakaran-3-kios-di-pasar-pedurungan-semarang-pedagang-panik-selamatkan-barang-dagangan" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/inews/article?url=https%3A%2F%2Fwww.inews.id%2Fregional%2Fjateng%2Fkebakaran-3-kios-di-pasar-pedurungan-semarang-pedagang-panik-selamatkan-barang-dagangan", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/inews/article?url=https%3A%2F%2Fwww.inews.id%2Fregional%2Fjateng%2Fkebakaran-3-kios-di-pasar-pedurungan-semarang-pedagang-panik-selamatkan-barang-dagangan", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "author": { "avatarUrl": "", "id": "", "name": "iNews", "url": "", "username": "" }, "content": "SEMARANG, iNews.id - Kebakaran melanda tiga kios di lantai dua Pasar Pedurungan, Kota Semarang, Jawa Tengah, Jumat (6/11/2026) pagi. Api men…", "id": "", "imageUrl": "https://img.inews.id/media/822", "publishedAt": "2026-11-06T10:30:00Z", "section": "berita", "source": "", "summary": "Kebakaran menghanguskan tiga kios di Pasar Pedurungan Semarang. Korsleting listrik diduga menjadi penyebab kebakaran tersebut.", "title": "Kebakaran 3 Kios di Pasar Pedurungan Semarang, Pedagang Panik Selamatkan Barang Dagangan", "updatedAt": "2026-11-06T10:30:00Z", "url": "https://www.inews.id/regional/jateng/kebakaran-3-kios-di-pasar-pedurungan-semarang-pedagang-panik-selamatkan-barang-dagangan" }, "meta": { "cached": false, "endpoint": "article", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "inews", "requestId": "req_2Xb9kQ…", "units": 1 } }