DEV Community

1xApi
1xApi

Posted on • Originally published at 1xapi.com

Build a Live Football Streaming App in 10 Minutes

Introduction

Building a live football streaming app used to require scraping multiple websites and managing unreliable sources. With the Football Live Streaming API, you can get real-time match data with streaming links in a single API call.

What You Get

  • Live scores updated every 60 seconds
  • 2-13 streaming servers per match
  • 50+ leagues worldwide
  • Team logos and league emblems
  • Multiple stream formats (HLS, FLV, MPD)

Quick Start

const response = await fetch(
  "https://football-live-streaming-api.p.rapidapi.com/matches?status=live&page=1",
  {
    headers: {
      "X-RapidAPI-Key": "YOUR_API_KEY",
      "X-RapidAPI-Host": "football-live-streaming-api.p.rapidapi.com"
    }
  }
);

const data = await response.json();
const liveMatches = data.matches;
Enter fullscreen mode Exit fullscreen mode

Response Structure

Each match includes:

  • Home and away team names with logos
  • Live score
  • Match status (live/upcoming)
  • League info with emblem
  • Array of streaming servers

Stream Types

Type Format Usage
direct HLS/FLV Play directly in any video player
drm MPD Requires DRM-capable player
referer HLS Needs specific Referer header

Filtering Options

  • By status: ?status=live or ?status=vs
  • By date: ?date=17022026 (DDMMYYYY)
  • By league: /matches/league/premier-league
  • Pagination: ?page=1 (20 per page)

Why This API?

  • 9.9 Popularity on RapidAPI
  • 100% Service Level
  • Sub-50ms response time
  • 165+ subscribers and growing
  • Free tier available

Get Started

Football Live Streaming API on RapidAPI


Published by 1xAPI

Top comments (0)