FlyEmbed API Docs
API URL
Simple GET request. No API key, no authentication, no rate limit β just fetch and use.
https://flyembed-panel.pages.dev/flyembed/matches
Endpoint
Response is a JSON object: { "matches": [ ... ] }. Data auto-updates every few minutes β cache it on your side for best performance.
Response Fields
Each object inside the matches array contains the following fields:
| Field | Type | Description |
|---|---|---|
| id | string | Unique ID of the match (e.g. ESPN event ID) |
| league | string | League / competition name β e.g. NBA, NHL, NFL, English Premier League |
| leagueLogo | string | URL of league logo image |
| teamOne | string | Home / first team name |
| teamTwo | string | Away / second team name |
| teamOneLogo | string | URL of first team logo |
| teamTwoLogo | string | URL of second team logo |
| date | string | Match date β format YYYY-MM-DD |
| time | string | Start time β format HH:MM (24-hour) |
| iframeUrl | string | Stream embed URL β use directly inside an <iframe> tag. The number before .php is the Channel ID (CH ID) |
| thumbnail | string | URL of match thumbnail / preview image |
Example Response β Live from API
Real data fetched directly from the API β first match object:
Loading live data from APIβ¦
CH ID: Extract the channel ID from the iframeUrl using this regex: /\/(\d+)\.php/ β for the match above, CH ID is β¦
Embed a Stream β Live URL
Use the iframeUrl field directly in an iframe to embed the player on your site. Streams open approximately 1 hour before match start time.
Loading live URL from APIβ¦
fetch("https://flyembed-panel.pages.dev/flyembed/matches")
.then(res => res.json())
.then(data => {
data.matches.forEach(m => {
console.log(`${m.teamOne} vs ${m.teamTwo} β ${m.time}`);
// embed: m.iframeUrl
});
})
.catch(err => console.error("API error:", err));
curl https://flyembed-panel.pages.dev/flyembed/matches
Live API Tester
Test the API right now β fetches live data and shows ALL matches from the response with response time.
| # | Date | Time | League | Match | CH ID |
|---|
Showing 0 of 0 total matches β scroll to see all.
Usage Guidelines
Free & open: No API key required. No authentication. Use it in any project β websites, bots, apps.
Caching: Please cache responses for at least 60 seconds. Data refreshes automatically β hammering the API every second is unnecessary.
Error handling: Always implement try/catch in production β if the API is temporarily down, show a graceful fallback on your site.
Stream availability: Embed players only become active ~1 hour before the scheduled match start. Before that, the player may show a placeholder.