Edge Backend API • Production Ready

HLS Streaming & Sports Events API

High-throughput on-the-fly HLS remuxing, parsed live match schedules with team parsing, and full IPTV channel catalog.

HLS Latency Engine
3s Segment / 10-Window
Remux Pipeline
Direct Zero-CPU Passthrough
Channel Concurrency
10 Dedicated Streams

Sports Matches & Schedule JSON REST

GET /api/v1/events/matches
Fetches all 2-day live and upcoming game events across MLB, Soccer, NFL, NBA, Motorsport, and PPV. Formatted with clean home/away team breakdown and primary numeric stream IDs.
Example Response (JSON)
[
  {
    "id": "92397",
    "title": "Cleveland Guardians vs. Detroit Tigers",
    "category": "baseball",
    "date": 1786645800000,
    "poster": "/api/images/proxy/92397.webp",
    "popular": true,
    "teams": {
      "home": { "name": "Detroit Tigers", "badge": "" },
      "away": { "name": "Cleveland Guardians", "badge": "" }
    },
    "sources": [
      { "source": "admin", "id": "92397" }
    ]
  }
]

Live HLS Transcoder & Playlists M3U8 / MPEG-TS

HLS /api/v1/hls/{id}/index.m3u8
Direct live sliding HLS index playlist. Starts the zero-copy remux pipeline on-demand if the stream is idle and returns a 10-segment contiguous video playlist updated every 2-3 seconds.
Parameters
{id} Match stream ID (e.g. 92397), channel slug, or event slug.
Example Output (M3U8)
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:3
#EXT-X-MEDIA-SEQUENCE:142
#EXTINF:3.003000,
/api/v1/hls/92397/stream/segment_142.ts
#EXTINF:3.003000,
/api/v1/hls/92397/stream/segment_143.ts
#EXTINF:3.003000,
/api/v1/hls/92397/stream/segment_144.ts
HLS /api/v1/matches/{id}/master.m3u8
Master playlist compatible with standard player implementations and external CDN caching.

Embedded Video Players & UI HTML5 / HLS.js

HTML /watch/{id}
Full-featured standalone web player with automatic HLS initialization, buffer health monitors, full-screen, picture-in-picture, and auto-reconnect fallback.
Embed in Your Website (HTML)
<iframe 
  src="https://your-domain.com/watch/92397" 
  width="100%" 
  height="100%" 
  frameborder="0" 
  allow="autoplay; fullscreen; picture-in-picture" 
  allowfullscreen></iframe>

IPTV Channel Catalog REST API

GET /api/v1/iptv/playlist
Returns the complete parsed IPTV channels catalog categorized by country, group, and category.