報
VIVA API
4 endpointsNews & MediaIDsocial:read4 real examples
Returns the latest, sectioned, searched and individual articles of VIVA.co.id with text, byline and times.
View as Markdown| GET | /viva/latest | Latest articles of VIVA, newest first. |
| GET | /viva/category | Latest articles of one section of VIVA. |
| GET | /viva/article | One article of VIVA.co.id with its text, byline and times. |
| GET | /viva/search | Articles of VIVA.co.id that match a keyword. |
latest
GET
/v1/viva/latestLatest articles of VIVA, newest first.
scope social:read1 unitcached 5 minpaginated
Parameters
limitinteger | Number of articles, from 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/viva/latest" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/viva/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/viva/latest", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "category": "lifestyle", "id": "", "imageUrl": "", "publishedAt": "2026-11-06T17:49:08Z", "source": "", "summary": "Perubahan kebutuhan tenaga kerja tersebut semakin terasa di tengah perkembangan industri digital yang bergerak cepat. Karyawan dituntut untu…", "title": "Bukan Cuma Gaji, Ini Hal yang Bikin Karyawan Betah dan Nyaman di Tempat Kerja", "url": "https://www.viva.co.id/gaya-hidup/1941669-bukan-cuma-gaji-ini-hal-yang-bikin-karyawan-betah-dan-nyaman-di-tempat-kerja" }, { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "category": "berita", "id": "", "imageUrl": "", "publishedAt": "2026-11-06T17:40:00Z", "source": "", "summary": "Badan pariwisata Finlandia, Visit Finland, memiliki cara unik untuk menarik wisatawan mancanegara berkunjung ke negaranya. Melalui program b…", "title": "Finlandia Tawarkan Liburan Gratis bagi Wisatawan Lajang Bisa Sekalian Cari Jodoh, Ini Caranya", "url": "https://www.viva.co.id/berita/dunia/1941667-finlandia-tawarkan-liburan-gratis-bagi-wisatawan-lajang-bisa-sekalian-cari-jodoh-ini-caranya" } ], "meta": { "cached": false, "endpoint": "latest", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "viva", "requestId": "req_2Xb9kQ…", "units": 1 } }
category
GET
/v1/viva/categoryLatest articles of one section of VIVA.
scope social:read1 unitcached 5 minpaginated
Parameters
categorystring required | Section of the site, such as nasional or bola.bisnisboladuniagaya-hidupnasionalotomotifreligishowbizsporte.g. nasional |
limitinteger | Number of articles, from 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/viva/category?category=nasional" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/viva/category?category=nasional", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/viva/category?category=nasional", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "category": "berita", "id": "", "imageUrl": "", "publishedAt": "2026-11-06T17:30:00Z", "source": "", "summary": "Wakil Ketua Komisi VI DPR RI dari Fraksi Gerindra Andre Rosiade tak hanya memantau langsung penyelesaian persoalan konsumen perumahan PT Adh…", "title": "Tak Hanya Pantau Proses Penyelesaian Masalah LRT City, Andre Rosiade Pastikan Refund Konsumen Rampung di Akhir Tahun", "url": "https://www.viva.co.id/berita/nasional/1941649-tak-hanya-pantau-proses-penyelesaian-masalah-lrt-city-andre-rosiade-pastikan-refund-konsumen-…" }, { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "category": "berita", "id": "", "imageUrl": "", "publishedAt": "2026-11-06T17:20:00Z", "source": "", "summary": "Badan Gizi Nasional (BGN) merekrut dua mantan pejabat Komisi Pemberantasan Korupsi (KPK) untuk memperkuat tata kelola kelembagaan dan pengaw…", "title": "BGN Gandeng Mantan Pejabat KPK untuk Perkuat Tata Kelola dan Cegah Korupsi", "url": "https://www.viva.co.id/berita/nasional/1941652-bgn-gandeng-mantan-pejabat-kpk-untuk-perkuat-tata-kelola-dan-cegah-korupsi" } ], "meta": { "cached": false, "endpoint": "category", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "viva", "requestId": "req_2Xb9kQ…", "units": 1 } }
article
GET
/v1/viva/articleOne article of VIVA.co.id with its text, byline and times.
scope social:read1 unitcached 1 h
Parameters
urlstring required | Full address of an article of VIVA.co.id. e.g. https://www.viva.co.id/gaya-hidup/showbiz/1941539-sindiran-pedas-sahabat-ruben-onsu-ke-massa-aksi-boikot-mahasewa-orator-nasi-bungkus |
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/viva/article?url=https%3A%2F%2Fwww.viva.co.id%2Fgaya-hidup%2Fshowbiz%2F1941539-sindiran-pedas-sahabat-ruben-onsu-ke-massa-aksi-boikot-mahasewa-orator-nasi-bungkus" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/viva/article?url=https%3A%2F%2Fwww.viva.co.id%2Fgaya-hidup%2Fshowbiz%2F1941539-sindiran-pedas-sahabat-ruben-onsu-ke-massa-aksi-boikot-mahasewa-orator-nasi-bungkus", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/viva/article?url=https%3A%2F%2Fwww.viva.co.id%2Fgaya-hidup%2Fshowbiz%2F1941539-sindiran-pedas-sahabat-ruben-onsu-ke-massa-aksi-boikot-mahasewa-orator-nasi-bungkus", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "author": { "avatarUrl": "", "id": "", "name": "Reni Ravita", "url": "", "username": "" }, "content": "Jakarta, VIVA - Sahabat Ruben Onsu, Emma Warokka memberikan sindirian kepada massa aksi yang melakukan aksi boikot agar mantan suami Sarwend…", "id": "", "imageUrl": "https://thumb.viva.co.id/media/frontend/thumbs3/2026/08/22/6a8891d1d5e88-ruben-onsu_gemini_1265_711.jpg", "publishedAt": "2026-11-06T10:30:00Z", "section": "gaya-hidup", "source": "", "summary": "Sahabat Ruben Onsu, Emma Warokka memberikan sindirian kepada massa aksi yang melakukan aksi boikot agar mantan suami Sarwendah tak tampil di…", "title": "Sindiran Pedas Sahabat Ruben Onsu ke Massa Aksi Boikot: MahaSewa Orator Nasi Bungkus", "updatedAt": "2026-11-06T08:39:27Z", "url": "https://www.viva.co.id/gaya-hidup/showbiz/1941539-sindiran-pedas-sahabat-ruben-onsu-ke-massa-aksi-boikot-mahasewa-orator-nasi-bungkus" }, "meta": { "cached": false, "endpoint": "article", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "viva", "requestId": "req_2Xb9kQ…", "units": 1 } }
search
GET
/v1/viva/searchArticles of VIVA.co.id 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/viva/search?query=ekonomi" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/viva/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/viva/search?query=ekonomi", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "id": "", "imageUrl": "", "publishedAt": "", "source": "", "summary": "", "title": "img_title", "url": "https://www.viva.co.id/berita/nasional/1941648-kasus-penyadapan-prabowo-oleh-listyo-sigit-cs-bikin-geger-ini-pernyataan-5-menteri-kabinet-me…" }, { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "id": "", "imageUrl": "", "publishedAt": "", "source": "", "summary": "", "title": "img_title", "url": "https://www.viva.co.id/bisnis/1941639-presiden-prabowo-jadi-korban-penyadapan-airlangga-ungkap-dampaknya-bagi-ekonomi-ri" } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "viva", "requestId": "req_2Xb9kQ…", "units": 1 } }