Public APIv2
FlyEmbed Sports API
A free, public JSON API providing live and upcoming sports match data with embeddable stream URLs. No authentication required.
Endpoint
GET
https://ovogoal.pages.dev/api/v2/flyembed2.json- • No authentication or API key required
- • Returns
application/json - • CORS enabled — can be fetched from the browser
- • All times are in UTC+05:00 (Pakistan Standard Time)
Response Format
The response is a JSON object with a single value key containing an array of match objects.
json
{
"value": [
{
"MatchID": "12345",
"Sport": "Soccer",
"League": "Premier League",
"LeagueLogo": "https://ovogoal.pages.dev/logos/premier-league.png",
"Team1": "Arsenal",
"Team1Logo": "https://ovogoal.pages.dev/logos/arsenal.png",
"Team2": "Chelsea",
"Team2Logo": "https://ovogoal.pages.dev/logos/chelsea.png",
"MatchDate": "2025-01-15",
"MatchStartTime": "20:00",
"MatchEndTime": "22:00",
"IframeURL": "https://flyembed.sbs/embed/12345.php"
}
]
}Match Object Fields
| Field | Description |
|---|---|
| MatchID | Unique identifier for the match. Used to construct the embed URL. |
| Sport | Sport category. One of: Soccer, NBA, NHL, UFC/MMA, Formula 1, MotoGP, College Football. |
| League | Name of the league or tournament (e.g. "Premier League", "UFC Fight Night"). |
| LeagueLogo | Full URL to the league/tournament logo image. |
| Team1 | Name of the home team, driver, or first competitor. |
| Team1Logo | Full URL to Team1's logo image. |
| Team2 | Name of the away team, or second competitor. |
| Team2Logo | Full URL to Team2's logo image. |
| MatchDate | Date of the match in YYYY-MM-DD format (UTC+05:00 / Pakistan Standard Time). |
| MatchStartTime | Start time in HH:MM format (UTC+05:00). Convert to local time for display. |
| MatchEndTime | Estimated end time in HH:MM format (UTC+05:00). |
| IframeURL | Direct embed URL for the stream player. Equivalent to https://flyembed.sbs/embed/{MatchID}.php. |
Stream Embed URL
Each match can be embedded using its MatchID. The IframeURL field already contains the full URL.
https://flyembed.sbs/embed/{MatchID}.php
html
<!-- Embed a match stream -->
<iframe
src="https://flyembed.sbs/embed/{MatchID}.php"
width="100%"
height="480"
allowfullscreen
allow="autoplay; encrypted-media"
></iframe>Usage Example
javascript
// Fetch all matches
const res = await fetch('https://ovogoal.pages.dev/api/v2/flyembed2.json');
const data = await res.json();
const matches = data.value;
// Filter live matches (happening now)
const now = new Date();
const live = matches.filter(match => {
const date = match.MatchDate; // "YYYY-MM-DD"
const start = match.MatchStartTime; // "HH:MM" UTC+05:00
const end = match.MatchEndTime; // "HH:MM" UTC+05:00
// ... your time comparison logic
});
// Get embed URL for a match
const embedUrl = `https://flyembed.sbs/embed/${match.MatchID}.php`;Sports Covered
Notes
- •All dates and times in the API response are in UTC+05:00 (Pakistan Standard Time). Convert to the user's local timezone for display.
- •The API returns all matches (past, live, and upcoming). Filter by date/time to show only what's relevant.
- •Stream availability depends on broadcast rights. Some embeds may be region-restricted.
- •If a stream doesn't load, try using a VPN or switch your DNS to 1.1.1.1 (Cloudflare).
- •This API is publicly provided by FlyEmbed. We do not control uptime or content availability.
Powered by FlyEmbed
Data provided by flyembed.sbs
