Skip to content

Sport Live Partner APIIntegrate live sports data & streams

Production-ready REST API for licensed broadcast partners — leagues, schedules, multi-channel playback, VOD, and analytics on your domain.

Sport Live

Base URL

All Partner API endpoints share this prefix:

https://api.matato.ir/partner/api/v1
ℹ️Read-only API

Every endpoint is HTTP GET. There are no write operations — your integration fetches published data only. Mutations happen in the Sport Live panel by your account team.

Quick start

bash
curl -s -H "X-API-Key: YOUR_API_KEY" \
  "https://api.matato.ir/partner/api/v1/leagues"

Replace YOUR_API_KEY with the key issued by Sport Live. See Authentication for header formats and security guidance.

API endpoints at a glance

  1. Authenticate — send X-API-Key on every request (guide).
  2. Bootstrap — call /leagues and /sport-categories once and cache the IDs.
  3. Schedule UI — poll /live-events with league_id, from/to or at, and status.
  4. Playback — use the stream field from live events or /channels; URLs are already rewritten.
  5. Post-match — check vod_url / vod_item_id on ended events or browse /vods.
💡Cache aggressively

League and category lists change rarely. Cache them for hours. Live event lists should refresh every 30–60 seconds during match days, or more often when status=live.

Event status lifecycle

StatusMeaning
scheduledPublished, not yet started
liveCurrently broadcasting
halftimeHalf-time break (football)
endedFinished — VOD may be available

Support & onboarding

Contact your Sport Live account manager to:

  • Enable additional leagues on your API key
  • Rotate a compromised key
  • Adjust CDN / stream rewrite rules
  • Whitelist a staging domain for pre-production testing