Skip to content

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/latestLatest articles of iNews.id, newest first.
GET/inews/articleOne article of iNews.id with its text, byline and times.

latest

GET/v1/inews/latest

Latest articles of iNews.id, newest first.

scope social:read1 unitcached 5 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/inews/latest" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/article

One article of iNews.id with its text, byline and times.

scope social:read1 unitcached 1 h

Parameters

url
string
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
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

16 fields
authorAuthor
avatarUrlstring
idstring
namestring
urlstring
usernamestring
contentstring
idstring
imageUrlstring
publishedAtstring
sectionstring
sourcestring
summarystring
titlestring
updatedAtstring
urlstring
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"
200 Real response
{
  "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
  }
}
esc
↑↓ move↵ open