Skip to content

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/latestLatest articles of Kompas TV, newest first.
GET/kompastv/articleOne article of KompasTV with its text, byline and times.
GET/kompastv/videosLatest videos of Kompas TV, newest first: title, page, YouTube id, thumbnail and category.

latest

GET/v1/kompastv/latest

Latest articles of Kompas TV, newest first.

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

One article of KompasTV with its text, byline and times.

scope social:read1 unitcached 1 h

Parameters

url
string
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
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/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"
200 Real response
{
  "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/videos

Latest videos of Kompas TV, newest first: title, page, YouTube id, thumbnail and category.

scope social:read1 unitcached 10 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

20 fields
authorAuthor
avatarUrlstring
idstring
namestring
urlstring
usernamestring
categorystring
commentCountinteger (int64)
descriptionstring
durationSecondsinteger (int64)
idstring
likeCountinteger (int64)
publishedAtstring
thumbnailsImage[]
heightany
urlstring
widthany
titlestring
urlstring
viewCountinteger (int64)
curl "https://api.hoshime.com/v1/kompastv/videos" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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
  }
}
esc
↑↓ move↵ open