{"name":"NGoLiveTV API","version":"1.0.0","embedPattern":"https://tv.nontongo.win/embed/channel/:number","streamAccess":{"allowedHosts":["nontongo.win","nontongo.app","nontongo.stream"],"localAllowed":true,"encryption":"AES-256-GCM","plainUrlsAllowed":false,"upstreamTimeoutMs":60000,"note":"/api/stream/<token> only accepts playback requests whose Referer or Origin host matches an allowed domain. The token hides the upstream stream URL."},"endpoints":[{"method":"GET","path":"/api/sources","description":"List the available channel playlist sources.","description_id":"Daftar sumber playlist channel yang tersedia.","example":"https://tv.nontongo.win/api/sources"},{"method":"GET","path":"/api/channels?source=:id","description":"List channels with public embed links. Use /embed/channel/:n to play a channel.","description_id":"Daftar channel dengan link embed publik. Pakai /embed/channel/:n untuk memutar channel.","example":"https://tv.nontongo.win/api/channels?source=sports","params":{"source":"source id from /api/sources, defaults to \"sports\""}},{"method":"GET","path":"/api/channels?url=:m3uUrl","description":"Load an M3U playlist from your own URL.","description_id":"Muat playlist M3U dari URL milik sendiri.","example":"https://tv.nontongo.win/api/channels?url=https%3A%2F%2Fexample.com%2Fplaylist.m3u"},{"method":"GET","path":"/api/channel?source=:id&n=:number","description":"One channel with its embed link and encrypted proxy path.","description_id":"Satu channel beserta link embed dan path proxy terenkripsi.","example":"https://tv.nontongo.win/api/channel?source=sports&n=1"},{"method":"GET","path":"/embed/channel/:number","description":"Ready-to-iframe embed player. Add ?source= for other playlists.","description_id":"Player embed siap dipasang di iframe. Tambah ?source= untuk playlist lain.","example":"https://tv.nontongo.win/embed/channel/1"},{"method":"GET","path":"/api/sports?date=:YYYY-MM-DD","description":"Fixtures & scores (ESPN) for one date, times in ISO UTC.","description_id":"Jadwal & skor olahraga (ESPN) untuk satu tanggal, waktu ISO UTC.","example":"https://tv.nontongo.win/api/sports?date=2026-11-13"},{"method":"GET","path":"/api/stream/:token","description":"HLS proxy with AES-256-GCM encrypted tokens. Playlists and segments are rewritten to opaque tokens.","description_id":"Proxy HLS dengan token AES-256-GCM. Playlist dan segmen ditulis ulang memakai token opaque.","example":"https://tv.nontongo.win/api/stream/<encrypted-token>"},{"method":"GET","path":"/api/health","description":"Server status.","description_id":"Status server.","example":"https://tv.nontongo.win/api/health"}]}