đŸ“ē Channels & Sports API Documentation

Welcome to the Lista Preta.site API. This API provides:

🌐 Base URL

https://listapreta.site/developer-api

📝 Channels Endpoints

1. GET /channels

https://listapreta.site/developer-api/channels

Sample Response

[{
  "id": 16,
  "name": "20 Minutes TV",
  "link": "https://listapreta.site/developer-api/player.php?id=16",
  "country": "FR",
  "image": "https://listapreta.site/developer-api/images/20minutes.png"
}]

đŸŽŦ Example Video

Below is a live preview of one of our channel links:

â„šī¸ Player Features

Our embedded player comes with a Switch Channel button. This button is visible only when there is more than one available option (e.g., Option 2) for the currently selected channel. Click it to toggle between available streams of the same channel.

📱 Mobile Experience: On mobile devices, the player does not display ads, providing a clean viewing experience. On desktop, a maximum of 2 ads per channel is shown.

â„šī¸ Note: Switch Channel button appears only when multiple options exist. Mobile devices have no ads.

2. GET /channels/country/{COUNTRY}

https://listapreta.site/developer-api/channels/country/PT

Sample Response

[{
  "id": 21,
  "name": "News Channel PT",
  "link": "https://listapreta.site/developer-api/player.php?id=21",
  "country": "PT",
  "image": "https://listapreta.site/developer-api/defimage.png"
}]

📂 Channels Response Structure

FieldTypeDescription
idintegerUnique channel ID
namestringChannel name
linkstringStreaming link starting with player.php
countrystringCountry code (PT, FR, etc.)
imagestringURL to the channel image. Defaults to defimage.png if not found.

📝 Sports Endpoints

1. GET /sports

https://listapreta.site/developer-api/sports

Sample Response

{
  "Soccer": [
    {
      "gameID": "a1b2c3d4e5f6",
      "homeTeam": "Csikszereda",
      "awayTeam": "Unirea Slobozia",
      "homeTeamIMG": "https://listapreta.site/developer-api/images/img.php?url=...",
      "awayTeamIMG": "https://listapreta.site/developer-api/images/img.php?url=...",
      "time": "15:30",
      "tournament": "Liga I",
      "country": "Romania",
      "countryIMG": "https://listapreta.site/developer-api/images/img.php?url=...",
      "status": "finished",
      "start": "2025-11-21 15:30",
      "end": "2025-11-21 18:09",
      "channels": [
        {
          "channel_name": "Arena Sport 2",
          "channel_code": "HR",
          "viewers": 0,
          "url": "https://listapreta.site/developer-api/player.php?id=372",
          "image": "https://listapreta.site/developer-api/images/img.php?url=..."
        }
      ]
    }
  ]
}

📂 Sports Response Structure

FieldTypeDescription
gameIDstringUnique ID generated by our API.
homeTeam / awayTeamstringNames of the competing teams.
homeTeamIMG / awayTeamIMG / countryIMGstringAll images via /images/img.php.
timestringMatch start time (HH:MM).
tournamentstringName of the tournament or league.
countrystringCountry of the event.
statusstringEvent status (e.g., finished, live).
start / endstringFull start/end datetime.
channelsarrayMapped channels available for this event.
channel_name / channel_codestringChannel name and country code.
urlstringPlayer link on our platform.
imagestring Channel image.

đŸ’ģ Usage Example (JavaScript)

fetch('https://listapreta.site/developer-api/sports')
  .then(res => res.json())
  .then(events => {
      events.Soccer.forEach(event => {
          console.log(event.homeTeam, event.awayTeam, event.channels);
      });
  });