報
Fajar API
2 endpointsNews & MediaIDsocial:read2 real examples
Returns the latest Fajar news articles, overall or by section.
View as Markdown| GET | /fajar/latest | Latest articles of Fajar, newest first. |
| GET | /fajar/category | Latest articles of one section of Fajar. |
latest
GET
/v1/fajar/latestLatest articles of Fajar, 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/fajar/latest" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/fajar/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/fajar/latest", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "category": "Nasional", "id": "", "imageUrl": "https://fajar.co.id/wp-content/uploads/2026/11/HWbe2thakAAqP6h.webp", "publishedAt": "2026-11-06T17:46:00Z", "source": "Fajar", "summary": "FAJAR.CO.ID, JAKARTA — Momen Presiden ke-7 RI Joko Widodo (Jokowi) berjongkok sambil merapikan map dokumen...", "title": "Dokter Tifa Bongkar Sisi Gelap Foto Jokowi Jongkok: Ingatkan Tragedi Kanjuruhan", "url": "https://fajar.co.id/2026/11/07/dokter-tifa-bongkar-sisi-gelap-foto-jokowi-jongkok-ingatkan-tragedi-kanjuruhan/" }, { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "category": "Politik", "id": "", "imageUrl": "https://fajar.co.id/wp-content/uploads/2026/11/WA_1793860482807.webp", "publishedAt": "2026-11-06T16:43:56Z", "source": "Fajar", "summary": "FAJAR.CO.ID, JAKARTA — Pengamat politik sekaligus pendiri Lembaga Survei KedaiKOPI, Hendri Satrio (Hensa), melontarkan analisis...", "title": "Jokowi Tunjukkan Ijazah Agar Selamat dari Cecaran Soal Penyadapan Listyo Cs", "url": "https://fajar.co.id/2026/11/07/jokowi-tunjukkan-ijazah-agar-selamat-dari-cecaran-soal-penyadapan-listyo-cs/" } ], "meta": { "cached": false, "endpoint": "latest", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "fajar", "requestId": "req_2Xb9kQ…", "units": 1 } }
category
GET
/v1/fajar/categoryLatest articles of one section of Fajar.
scope social:read1 unitcached 5 minpaginated
Parameters
categorystring required | Section of the site, such as nasional.ekonominasionalolahragae.g. nasional |
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/fajar/category?category=nasional" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/fajar/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/fajar/category?category=nasional", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "category": "Nasional", "id": "", "imageUrl": "https://fajar.co.id/wp-content/uploads/2026/11/HWbe2thakAAqP6h.webp", "publishedAt": "2026-11-06T17:46:00Z", "source": "Fajar", "summary": "FAJAR.CO.ID, JAKARTA — Momen Presiden ke-7 RI Joko Widodo (Jokowi) berjongkok sambil merapikan map dokumen...", "title": "Dokter Tifa Bongkar Sisi Gelap Foto Jokowi Jongkok: Ingatkan Tragedi Kanjuruhan", "url": "https://fajar.co.id/2026/11/07/dokter-tifa-bongkar-sisi-gelap-foto-jokowi-jongkok-ingatkan-tragedi-kanjuruhan/" }, { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "category": "Nasional", "id": "", "imageUrl": "https://fajar.co.id/wp-content/uploads/2025/09/Polemik-ijazah-Gibran-e1759216031281.jpeg", "publishedAt": "2026-11-06T15:27:19Z", "source": "Fajar", "summary": "FAJAR.CO.ID, JAKARTA – Bareskrim Polri masih mendalami aduan terkait dokumen pendidikan Wakil Presiden Gibran Rakabuming...", "title": "Bareskrim Dalami Aduan Soal Suket Ijazah Wapres Gibran, Telaah Putusan MA dan MK", "url": "https://fajar.co.id/2026/11/06/bareskrim-dalami-aduan-soal-suket-ijazah-wapres-gibran-telaah-putusan-ma-dan-mk/" } ], "meta": { "cached": false, "endpoint": "category", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "fajar", "requestId": "req_2Xb9kQ…", "units": 1 } }