API Documentation


Welcome to the official Livesport API documentation. Our REST API provides access to sports matches, live streams, and related data in JSON format.

Quick Start

The API is free to use with no authentication required. Here's how to get started:

  1. Browse matches to find available sports events
  2. Get streams for a specific match
  3. Explore sports for a specific match

Basic Usage Example

fetch('https://livesport.su/api/matches/football')
  .then(response => response.json())
  .then(matches => {
    console.log(matches);

    if (matches.length > 0) {
      const match = matches[0];

      fetch(`https://livesport.su/api/matches/${match.id}/detail`)
        .then(response => response.json())
        .then(detail => console.log(detail))
        .catch(error => console.error('Error fetching match detail:', error));
    }
  })
  .catch(error => console.error('Error fetching matches:', error));

API Guidelines

  • All endpoints return JSON data
  • No authentication required
  • Current rate limits: None (may change in the future)
  • HTTP status codes follow standard conventions (200 OK, 404 Not Found, etc.)
  • Use appropriate error handling in your applications

Available Endpoints

ResourceDescriptionDocumentation
/api/matches/...Sports events dataMatches
/api/sportsAvailable sports categoriesSports