Welcome to the FootyLive developer dashboard. Here you can explore our system endpoints, copy code signatures, view data structures, and access upstream streaming metadata providers.
To protect streaming servers from third-party hotlinking and scrape abuses, all resolved stream URLs are passed through a local proxy resolver: /api/stream-redirect.
This router enforces a cryptographic signature signature verification protocol. The stream URL is base64url encoded, appended with an expiration timestamp, and signed using an HMAC-SHA256 signature generated with the server's secret key (STREAM_SECRET). Requests with expired timestamps or incorrect signatures are instantly blocked (returns 403 Forbidden).
We employ an aggressive client/server caching layer to ensure lightning-fast page loading and protect upstream services:
Matches are aggregated from multiple scraping channels (WatchFooty, CDNLive, etc.) in real-time. Since names differ across networks (e.g., "Manchester United" vs "Man Utd"), the backend leverages a strategy pattern orchestrator:
The engine applies fuzzy Jaro-Winkler string similarity calculations (lib/utils/matching.ts). If the similarity score is greater than 0.85, the teams are aligned, and the duplicate match entries are collapsed, creating a single unified match console.
To configure or customize the API Hub backend, developers must declare the following environment variables in their root .env.local:
STREAM_SECRET: Encryption key string to sign client media playlists.REDIS_URL & REDIS_TOKEN: Optional Upstash credentials to replicate cache variables./api/matchesRetrieves all active and scheduled football matches aggregated from all scraping providers, sorted dynamically: active live matches first, followed by league priority and kickoff timestamps.
/api/match/[matchId]Fetches granular match statistics, venue data, referee metrics, lineups, team formations, and real-time live commentary event streams for a given match ID.
/api/streams/[matchId]Retrieves the list of active streaming channels (embeds or direct HLS m3u8 playlists) resolving signed redirect routing proxies for security.
/api/v1/[type]/[id]Proxies binary image data for leagues, teams, and posters, resolving CORS limitations. Includes local 24-hour server-side caching. Valid types are: "league-logo", "team-logo", "poster".
Public API documentation for Streamed.pk stream networks, which details endpoints for querying live stream playlists and direct streaming channels.
Comprehensive network for live sports broadcast streams, feeds, and streaming channel registries across multiple networks and regions.
Developer integration documentation for watchfooty.st. Provides core match configurations, live score commentary, and league standings statistics.