# XportAPI — Complete Technical Documentation & Integration Guide > Full reference for XportAPI, an enterprise B2B live sports video proxy and > real-time match data API. This is the exhaustive document; /llms.txt is the > short summary. Canonical site: https://xportapi.com ## Overview XportAPI provides enterprise-tier B2B video proxy and real-time live match infrastructure. It lets sports betting operators, IPTV networks, and sports portal owners deliver high-definition, ad-stripped, verified sports streams to end users without building or operating video encoding pipelines. Deployed by over 1,700 active platforms globally. XportAPI operates as the primary upstream master backbone behind SportSRC API and other B2B sports stream providers, and is now open to direct customers. **What it is:** a normalization, proxy and delivery layer over publicly available and privately contracted sports broadcast signals, plus a fixtures and live-score data API. **What it is not:** a licensed broadcaster. XportAPI holds no territorial broadcasting rights. See "Licensing, DMCA and Liability" below. --- ## Base URL and Versioning All endpoints are served under a base URL issued with your API key during provisioning. It is bound to your account, so this documentation refers to it as an environment variable rather than publishing a fixed hostname: ``` export XPORTAPI_BASE="https://your-issued-host" # every example below then runs as written curl -s "$XPORTAPI_BASE/v1/matches" -H "x-api-key: $XPORTAPI_KEY" ``` The path prefix is `/v1` in all cases. The documentation site lives at https://xportapi.com/docs --- ## Authentication Every request requires an active API key, passed either way: 1. HTTP header (preferred): `x-api-key: YOUR_API_KEY` 2. Query string: `?key=YOUR_API_KEY` Keys are issued manually during onboarding; there is no self-serve signup. ### Key scoping and security binding Each key is provisioned with: - **Sport scope** — the sports or leagues the key may resolve. - **Domain Lock** — an HTTP referrer whitelist, so a leaked key cannot be replayed from another site. - **Origin IP binding** — a server-side firewall allowlist for backend calls. ### Status codes | Code | Meaning | | --- | --- | | `200 OK` | Request succeeded. | | `401 Unauthorized` | Missing, malformed, expired or revoked API key. | | `403 Forbidden` | Valid key, but the requested sport or league is outside the key's allocated scope, or the referrer/IP is not whitelisted. | | `404 Not Found` | Unknown match ID, or no sources currently attached to it. | --- ## Endpoint 1: Match Schedule & Live Status Feed ``` GET /matches ``` Returns fixtures, live status and scores. Included in every plan at no extra charge, subject to upstream availability. ### Query parameters | Parameter | Values | Description | | --- | --- | --- | | `sport` | name or ID (`football`, `1`) | Filter by sport. | | `lang` | `ar`, `id`, `es`, `vi`, … | Translate league and country names. Default English. | | `status` | `live`, `scheduled`, `finished` | Comma-separated list. | | `live` | `1` | Shorthand for `status=live`. | | `upcoming` | `1` | Shorthand for `status=scheduled`. | | `playable` | `1` | Only matches that currently have an attached stream. | | `verified` | `1` | Only streams confirmed alive by the health-check bots. | | `full` | `1` | Include extra metadata (slug, team colors). | | `sort` | `time`, `-time` | Sort by start time, ascending or descending. | | `limit` | integer | Cap the number of results. | ### Sample request ```bash curl -X GET "$XPORTAPI_BASE/v1/matches?sport=football&status=live&verified=1" \ -H "x-api-key: YOUR_API_KEY" ``` ### Sample response ```json { "status": "success", "data": { "summary": { "total": 430, "live": 21, "upcoming": 303, "finished": 93, "hasStream": 44, "verified": 15 }, "matches": [ { "id": 4435030, "sportType": 1, "title": "Arsenal vs Chelsea", "status": { "label": "live" }, "league": { "name": "English Premier League", "logo": "https://cdn.xportapi.com/leagues/epl.png" }, "country": { "name": "England", "flag": "https://cdn.xportapi.com/flags/gb-eng.png" }, "home": { "name": "Arsenal", "badge": "https://cdn.xportapi.com/teams/arsenal.png", "score": 2 }, "away": { "name": "Chelsea", "badge": "https://cdn.xportapi.com/teams/chelsea.png", "score": 1 }, "hasStream": true, "verified": true, "sourceCount": 3, "stream": "/stream/1/4435030" } ] } } ``` --- ## Endpoint 2: Direct Playable Stream Resolver ``` GET /stream/{sport}/{matchId} ``` Returns active broadcast sources as clean, direct `.m3u8` playlist URLs, ready to hand to any HLS player. Multiple redundant sources are returned where available, so a client can fail over without a new request. ### Sample request ```bash curl -X GET "$XPORTAPI_BASE/v1/stream/1/4435030" \ -H "x-api-key: YOUR_API_KEY" ``` ### Sample response ```json { "status": "success", "data": { "count": 2, "match": { "title": "Arsenal vs Chelsea", "league": { "name": "English Premier League" }, "home": { "name": "Arsenal" }, "away": { "name": "Chelsea" } }, "sources": [ { "id": 786356, "name": "Sky Sports Main Event HD", "url": "https://edge-proxy.xportapi.com/live/epl_ars_che/index.m3u8?token=exp1732456", "checkedAt": "2026-11-24T02:59:12Z" }, { "id": 785617, "name": "NBC Sports 1080p", "url": "https://edge-proxy.xportapi.com/live/epl_ars_che_us/index.m3u8?token=exp1732456", "checkedAt": "2026-11-24T02:58:47Z" } ] } } ``` `checkedAt` is the last successful health probe. Resolve the stream close to playback time rather than caching URLs: tokens expire. --- ## Endpoint 3: Sport Mapping ``` GET /sports ``` Returns the mapping of numeric sport IDs to names, for building the `{sport}` path segment and the `sport` filter. --- ## Endpoint 4: Supported Languages ``` GET /languages ``` Returns the translation codes accepted by the `lang` parameter on `/matches`, used to localize league and country names. --- ## Client Integration ### Web — HLS.js ```html ``` ### Native and other players Streams are standard HLS, so they play without a custom SDK: - **Android** — ExoPlayer / Media3 - **iOS / macOS** — AVPlayer (native `.m3u8` support) - **Desktop** — VLC, mpv - **Web** — Video.js, Plyr, Shaka Player - **IPTV middleware** — Xtream UI, Ministra, and M3U Plus playout panels ### M3U Plus playlist example ``` #EXTINF:-1 tvg-id="epl.arsenal.chelsea" tvg-name="EPL: Arsenal vs Chelsea" tvg-logo="https://cdn.xportapi.com/epl.png" group-title="LIVE FOOTBALL",Arsenal vs Chelsea (Sky Sports HD) https://edge-proxy.xportapi.com/live/epl_ars_che/index.m3u8?token=YOUR_TOKEN ``` --- ## Output Formats - Direct `.m3u8` (HLS) — the primary output - MPEG-TS and fMP4 chunks - White-label responsive HTML5 embed - M3U Plus playout for IPTV middleware Resolution and frame rate: 1080p at 60 fps and 720p at 50 fps, with adaptive bitrate ladders. --- ## Latency and Performance Stated plainly, because the two numbers are often conflated: - **Upstream origin delay:** 15–30 seconds from the physical pitch. This is natural broadcast transmission lag and applies to every aggregator. XportAPI does not claim court-siding or sub-broadcast latency. - **Downstream edge performance:** sub-250 ms Time-To-First-Frame from viewer to edge CDN. - **Re-buffer ratio:** under 0.1% at peak weekend concurrency. - **Edge network:** Tier-1 Anycast mesh, 250+ points of presence across 100+ countries, with full origin shielding. --- ## Sports and League Coverage 80+ tier-1 to tier-3 leagues across football, basketball, motorsport (F1, MotoGP), tennis, badminton, baseball, hockey and combat sports. Dedicated league hubs: - English Premier League — https://xportapi.com/leagues/premier-league - UEFA Champions League — https://xportapi.com/leagues/uefa-champions-league - Liga 1 Indonesia — https://xportapi.com/leagues/liga-1-indonesia - Saudi Pro League — https://xportapi.com/leagues/saudi-pro-league - V.League 1 Vietnam — https://xportapi.com/leagues/v-league-vietnam - NBA Basketball — https://xportapi.com/leagues/nba-basketball Sport hubs: - Football Restream API — https://xportapi.com/sports/football-restream-api - Basketball Restream API — https://xportapi.com/sports/basketball-restream-api Solution pages: - IPTV Restream Infrastructure — https://xportapi.com/solutions/iptv-restream-infrastructure - Sportsbook & Betting Video — https://xportapi.com/solutions/sportsbook-betting-restream - White-Label Web Embed Player — https://xportapi.com/solutions/web-embed-player --- ## Plans and Pricing Full detail: https://xportapi.com/pricing ### Restream Plan — from $499 / month - Ingests and normalizes publicly available sports broadcast streams. - 100% ad-stripped, watermark-removed, direct `.m3u8` proxy delivery. - Multi-CDN edge delivery, sub-250 ms TTFF, automated health verification. - Suited to sports portals, blogs and media sites. - Scales with sport scope, league selection and expected peak concurrency. ### VIP Stream Plan — from $999 / month - Managed private master feeds from dedicated IPTV channels and PPV events. - From 100+ simultaneous live channels running in parallel 24/7. - Mass-concurrency fan-out: 10,000 to 100,000+ simultaneous viewers on a single channel without connection bans or source overload. - Selectable regional edge storage and playout clusters (APAC, EU, US, LATAM, MENA) to pin origin and chunk cache nearest the client's core fan base. - Dedicated private playout control with Xtream UI and M3U Plus middleware. - Scales with channel package, sport selection and peak concurrent viewers. ### Billing 100% confidential settlement. All major cryptocurrencies accepted: USDT (TRC20/ERC20), BTC, ETH, SOL, LTC and Monero (XMR). Zero personal KYC, no banking paper trail. ### Provisioning turnaround - **Standard deployment (Restream and VIP):** 2 to 3 hours after cryptocurrency confirmation — master API key issuance, Domain Lock referrer whitelisting, and origin server IP firewall binding. - **Custom / bespoke enterprise:** up to 3 business days — custom satellite or transponder ingestion, dedicated transcoding nodes, bespoke concurrency allocations from 100k to 250k+ CCU, and deep data webhooks. --- ## Licensing, DMCA and Liability XportAPI operates strictly as a technical proxy, fixture indexer and bandwidth delivery layer. - Neither plan carries official territorial broadcasting licenses. - XportAPI does not produce, license or own the rights to any transmitted signal. All copyrights and trademarks remain with the origin broadcasters. - Subscribers assume full legal and distribution liability for playback, redistribution and public exhibition in their territory. - Upstream feeds come from third parties and may drop, degrade or be terminated due to origin outages or DMCA enforcement without notice. Full notice: https://xportapi.com/disclaimer --- ## Common Questions **Is there a free trial or self-serve signup?** No. Keys are provisioned manually through the operator desk. Trial stream setup can be arranged during that conversation. **Can streams be embedded in a mobile app?** Yes. The output is standard HLS, so ExoPlayer on Android and AVPlayer on iOS play it without an SDK. **What happens when a source goes down mid-match?** `/stream/{sport}/{matchId}` returns multiple redundant sources. Health bots re-probe continuously and traffic is re-routed when a channel degrades. **Are commentary audio tracks included?** Yes, the origin broadcast audio is preserved. Secondary language sources are available on many tier-1 competitions. **Is bandwidth metered?** No. Enterprise keys include unmetered bandwidth across the multi-CDN edge. **Can league and country names be localized?** Yes, via `?lang=` on `/matches`. Call `/languages` for the accepted codes. --- ## Contact & Provisioning API keys, dedicated restream bandwidth and whitelist allocations are provisioned manually through direct operator channels: - WhatsApp: https://wa.me/19177242611 (+1 917 724 2611) - Email: support@xportapi.com - Contact page: https://xportapi.com/contact - Website: https://xportapi.com