報
Kompas TV API
3 endpointsNews & MediaIDsocial:read2 real examples
Returns latest and individual articles of Kompas TV with text, byline and times.
View as Markdown| GET | /kompastv/latest | Latest articles of Kompas TV, newest first. |
| GET | /kompastv/article | One article of KompasTV with its text, byline and times. |
| GET | /kompastv/videos | Latest videos of Kompas TV, newest first: title, page, YouTube id, thumbnail and category. |
latest
GET
/v1/kompastv/latestLatest articles of Kompas TV, 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/kompastv/latest" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/kompastv/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/kompastv/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-06T17:31:57Z", "source": "", "summary": "", "title": "Sri Sultan Hamengku Buwono X Sebut Pungutan Pajak Harus Proporsional | KOMPAS MALAM", "url": "https://www.kompas.tv/regional/700185/sri-sultan-hamengku-buwono-x-sebut-pungutan-pajak-harus-proporsional-kompas-malam" }, { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "category": "", "id": "", "imageUrl": "", "publishedAt": "2026-11-06T17:07:24Z", "source": "", "summary": "", "title": "Saling Adu Argumen! Pakar Bedah Kasus Penyadapan Prabowo: Tarung Elite, Makar-Siapa Dalang?", "url": "https://www.kompas.tv/video/700184/saling-adu-argumen-pakar-bedah-kasus-penyadapan-prabowo-tarung-elite-makar-siapa-dalang" } ], "meta": { "cached": false, "endpoint": "latest", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "kompastv", "requestId": "req_2Xb9kQ…", "units": 1 } }
article
GET
/v1/kompastv/articleOne article of KompasTV with its text, byline and times.
scope social:read1 unitcached 1 h
Parameters
urlstring required | Full address of an article of KompasTV. e.g. https://www.kompas.tv/olahraga/700089/terhenti-di-perempat-final-korea-open-2026-ni-kadek-dhinda-ungkap-penyebab-kekalahannya |
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/kompastv/article?url=https%3A%2F%2Fwww.kompas.tv%2Folahraga%2F700089%2Fterhenti-di-perempat-final-korea-open-2026-ni-kadek-dhinda-ungkap-penyebab-kekalahannya" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/kompastv/article?url=https%3A%2F%2Fwww.kompas.tv%2Folahraga%2F700089%2Fterhenti-di-perempat-final-korea-open-2026-ni-kadek-dhinda-ungkap-penyebab-kekalahannya", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/kompastv/article?url=https%3A%2F%2Fwww.kompas.tv%2Folahraga%2F700089%2Fterhenti-di-perempat-final-korea-open-2026-ni-kadek-dhinda-ungkap-penyebab-kekalahannya", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "author": { "avatarUrl": "", "id": "", "name": "Gregorius Tri Hendrawan Manurung", "url": "", "username": "" }, "content": "", "id": "", "imageUrl": "https://media-origin.kompas.tv/library/image/content_article/article_img/20261106100020.webp", "publishedAt": "2026-11-06T10:28:48Z", "section": "", "source": "", "summary": "Pada pertandingan perempat final menghadapi, Kadek menilai ia belum bisa tampil maksimal pada laga dengan tempo permainan cepat.", "title": "Terhenti di Perempat Final Korea Open 2026, Ni Kadek Dhinda Ungkap Penyebab Kekalahannya", "updatedAt": "2026-11-06T10:28:48Z", "url": "https://www.kompas.tv/olahraga/700089/terhenti-di-perempat-final-korea-open-2026-ni-kadek-dhinda-ungkap-penyebab-kekalahannya" }, "meta": { "cached": false, "endpoint": "article", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "kompastv", "requestId": "req_2Xb9kQ…", "units": 1 } }
videos
GET
/v1/kompastv/videosLatest videos of Kompas TV, newest first: title, page, YouTube id, thumbnail and category.
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
20 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
category | string |
commentCount | integer (int64) |
description | string |
durationSeconds | integer (int64) |
id | string |
likeCount | integer (int64) |
publishedAt | string |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/kompastv/videos" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/kompastv/videos", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/kompastv/videos", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "https://…", "id": "abc123", "name": "…", "url": "https://…", "username": "…" }, "category": "…", "commentCount": 1280, "description": "…", "durationSeconds": 0, "id": "abc123", "likeCount": 1280, "publishedAt": "2026-11-06T09:41:00Z", "thumbnails": [ { "height": null, "url": null, "width": null } ], "title": "…", "url": "https://…", "viewCount": 1280 } ], "meta": { "cached": false, "endpoint": "videos", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "kompastv", "requestId": "req_2Xb9kQ…", "units": 1 } }