Fantasy Engine Data API 1.0 / Endpoints
Schedules and fixtures
The schedule lists of the current season and the fixture object every list, box score and odds answer is built on.
Schedules - /{sport}/schedule, /schedule/upcoming, /schedule/past#
Last updated: 2026-11-25 · v1.0
GET/api/feeds/{sport}/schedule
GET/api/feeds/{sport}/schedule/upcoming
GET/api/feeds/{sport}/schedule/past
The fixtures of the sport's current season (only the current one: there is no history of earlier seasons), grouped by event. The three lists differ in which fixtures they hold:
| List | Holds | Note |
|---|---|---|
/schedule | every fixture of the season | the only list that also shows fixtures in play, being confirmed, postponed in the past or canceled in the past |
/schedule/upcoming | fixtures whose start_date is now or later and whose status is not Final | a fixture leaves this list at its start time: games in play are not in it |
/schedule/past | fixtures whose status is Final (result confirmed) | a game that is over but still being confirmed (status_code: final, status: In Progress) is not in it yet |
Query parameters (all optional; they work on all three lists and combine)#
| Parameter | Type / allowed | Default | Effect |
|---|---|---|---|
from | date YYYY-MM-DD (UTC) | none | fixtures starting on or after that day 00:00 UTC |
to | date YYYY-MM-DD (UTC), not before from | none | fixtures starting on or before that day 23:59:59 UTC |
round | whole number 1-999 | none | fixtures of that round (round.number: soccer gameweek, NFL week); sports without rounds return none |
page | whole number >= 1 (below 1 or not a number = 1; at most 10000) | 1 when per_page is given | that page of the fixtures |
per_page | 1-500 (above 500 = 500; 0 or not a number = 100) | 100 when page is given | page size, counted in fixtures |
- Without any parameter the answer is the whole list in fixture
idorder (the historical behaviour; large, see Compression). - With any parameter fixtures come in kick-off order (then by
id), still grouped under their events; an event lists only its fixtures that match. - With
pageorper_page,dataends withpaging: {page, per_page, total, last_page}(total= fixtures matching the filters). A page after the last one has"matches": []. - A value that cannot be read answers 400 (Errors); a filter is never ignored.
- A window with no fixture answers
{"data": {"id": 1, "season": "2026/2027", "league": "Premier League", "is_current": true, "matches": []}}(EPL from 1 to 2 July 2026). - A sport with no current season yet (just added, before its first daily update) answers
{"data": []}on all three endpoints: nothing to read yet, try again after the next daily update.
Examples:
GET /epl/schedule?round=8 every match of gameweek 8
GET /nba/schedule?from=2026-10-26&to=2026-10-28 a live scoreboard window (recipes)
GET /nba/schedule/upcoming?from=2026-10-26&to=2026-11-01 next week's games not started yet
GET /mlb/schedule/past?page=1&per_page=200 confirmed results, 200 at a time
GET /pga/schedule?from=2026-10-22&to=2026-10-25 one tournament week (a whole PGA season is ~5 MB)
GET /epl/schedule?from=2026-10-24&to=2026-10-25 (trimmed: one event, one fixture):
{
"data": {
"id": 1,
"season": "2026/2027",
"league": "Premier League",
"is_current": true,
"matches": [
{
"id": 25,
"name": "Oct 24 2026",
"start_date": "2026-10-24 11:30:00",
"status": "Final",
"fixtures": [
{
"id": 72,
"name": "AST vs MAC",
"start_date": "2026-10-24 11:30:00",
"status": "Final",
"location": "Villa Park",
"city": "Birmingham",
"home_team": {
"id": 2,
"name": "Aston Villa",
"abbr": "AST",
"coach": "Unai Emery",
"image": "https://data.fantasyengine.net/storage/df_teams/epl/aston-villa.png"
},
"away_team": {
"id": 15,
"name": "Manchester City",
"abbr": "MAC",
"coach": "Enzo Maresca",
"image": "https://data.fantasyengine.net/storage/df_teams/epl/manchester-city.png"
},
"gs_id": 4376327,
"gs_static_id": 3868873,
"status_code": "final",
"status_detail": "Full-time",
"period": null,
"clock": null,
"score": {
"home": 2,
"away": 1,
"detail": {
"ht": [1, 0],
"ft": [2, 1],
"et": null,
"pen": null,
"winner": "home",
"aggregate_winner": null
}
},
"round": {"number": 8, "name": "Week 8"},
"stage_kind": null,
"season_type": "regular",
"start_time_tbd": false,
"confirmed": true,
"stats_complete": true,
"kind": "match",
"kind_detail": null,
"participants": null
},
...
]
},
...
]
}
}
GET /nfl/schedule?round=8&per_page=2 (trimmed):
{
"data": {
"id": 3,
"season": "2026",
"league": "NFL",
"is_current": true,
"matches": [
{
"id": 280,
"name": "Oct 29 2026",
"start_date": "2026-10-30 00:15:00",
"status": "Scheduled",
"fixtures": [
{
"id": 1803,
"name": "GB vs CAR",
"start_date": "2026-10-30 00:15:00",
"status": "Scheduled",
...,
"round": {"number": 8, "name": "Week 8"},
"season_type": "regular"
}
]
},
...
],
"paging": {"page": 1, "per_page": 2, "total": 14, "last_page": 7}
}
}
| Field | Type | Meaning |
|---|---|---|
id | integer | the season's schedule id; a new season gets a new id (US sports: one per season, e.g. NHL "2026/2027") |
season | string | "2026/2027" (soccer, NBA, NHL) or "2026" (NFL, MLB, MMA, F1, PGA, racing) |
league | string | competition name (can be "", e.g. MMA) |
is_current | boolean | always true (only the current season is served) |
matches[] | list | the events: soccer and US sports one per day (US: the US Eastern calendar day, so "Oct 26 2026" holds games starting at 00:00 UTC on 27 October), MMA one per card, F1 one per Grand Prix, PGA one per tournament, horse racing one per meeting (course and day) |
matches[].id, .name | integer, string | event id and name ("Oct 24 2026", "UFC 333: Volkanovski vs. Evloev", "USA Grand Prix", "Butterfield Bermuda Championship", "Doncaster") |
matches[].start_date | string | start of the event's first fixture (UTC) |
matches[].status | string | the status of its fixtures together: Final when all are over, In Progress when some are running or being confirmed, Scheduled before |
matches[].fixtures[] | list | the fixtures: the fixture object |
paging | object | only with page / per_page: page, per_page, total, last_page |
Do not use matches[] to identify a fixture: always key your data by the fixture
id. A moved fixture keeps its id (Postponed and moved fixtures).
The fixture object#
Last updated: 2026-11-25 · v1.0
A fixture is one thing that is played and scored: a match (soccer, US sports), a bout (MMA), a session (F1), a round
(PGA) or a race (horse racing). The same object appears in every schedule list (matches[].fixtures[]), in
/stats/{id} (data.fixture) and in /odds/{id} (data). Keys appear in
this order; a key may be null but is never missing unless the table says so.
| Field | Type | Meaning |
|---|---|---|
id | integer | the fixture id: use it for /stats/{id}, /odds/{id} and as your own key |
name | string | team sports: "HOME_ABBR vs AWAY_ABBR"; F1: the session ("Race", "Qualification", "First practice"); PGA: "Day 1" .. "Day 4", "Playoff"; horse racing: the race ("Race 1 Richard James Hone Memorial Handicap") |
start_date | string | kick-off / start (UTC); with start_time_tbd: true only the day is known |
status | string | the classic status: Scheduled, In Progress, Final, Postponed, Canceled (Fixture statuses). Final means the result is confirmed. |
location, city | string | venue (US sports put the whole venue text in location and leave city ""); "" when unknown |
stage | object, only for a fixture of a cup competition | {id, name} of the competition stage (UCL / UEL: "League Phase", "Qualifying"), in the schedule lists, /stats/{id} and /odds/{id} alike . Absent for a fixture without a stage. |
home_team, away_team | object, team sports except F1 | {id, name, abbr, coach, image}; coach is that match's coach (soccer) or "". A team the source has not named yet reads {"id": 0, "name": "", "abbr": "", ...}. Absent for F1, PGA and horse racing. |
odds | list, only in /odds/{id} | Odds |
gs_id | integer | the source id of the fixture (Ids) |
gs_static_id | integer or null | soccer: the permanent source id of the match (stays when gs_id is re-issued); null for other sports |
status_code | string | the precise status, a closed list: scheduled, in_progress, interrupted, final, postponed, canceled, abandoned, unknown (Fixture statuses) |
status_detail | string or null | the status word as the source sent it: Full-time, 4th Quarter, Top 8th, Final/OT, Finished ... |
period | string or null | while in play the period (1H, HT, 2H, ET, PEN, Q1..Q4, P1..P3, OT, 2OT, SO, INT, TOP_8, BOTTOM_8, MIDDLE_8, END_8); for a final, how it ended when not in regulation (AET, PEN, AWD, OT, 2OT, SO, EXTRA_10 = 10 innings); else null |
clock | string or null | the game clock while in play: soccer minute ("67", "45+2"), US clock ("8:28") |
score | object or null | null before a score is known (and always for MMA, F1, PGA, racing). home, away: integers, including overtime / extra time, without a penalty shoot-out. detail: ht (half-time), ft (end of regulation), et (goals scored in extra time), pen (shoot-out) as [home, away] or null; winner home / away / draw / null (shoot-out and aggregate included); aggregate_winner (two-legged cup tie) or null. In /stats and /odds also periods: {"q1": [32, 35], ...} (NBA / NFL q1..q4, NHL p1..p3, MLB in1..in9; {} for soccer; a half-inning not played is null) |
round | object or null | {number, name}: soccer gameweek {"number": 8, "name": "Week 8"}, NFL week (a named week without number: {"number": null, "name": "Wild Card"}); null for NBA, MLB, NHL, MMA, F1, PGA, racing (PGA's round number is in kind_detail.number) |
stage_kind | string or null | the kind of the stage (UCL / UEL, every answer): league, qualifying, group, knockout, final, unknown; null without a stage |
season_type | string or null | regular, preseason, postseason, exhibition, allstar, unknown (horse racing: regular) |
start_time_tbd | boolean or null | true: the day is known, the time is not (US sports: start_date is then 00:00 US Eastern of that day = 04:00 / 05:00 UTC; PGA: 00:00 UTC until tee times are published; horse racing: false unless the source gives no time) |
confirmed | boolean | true exactly when the result is final and confirmed (status_code final and status Final) |
stats_complete | boolean or null | after the end: true the box score was checked complete, false checked incomplete (the result is still final), null not checked yet / not applicable (not finished, canceled, horse racing) |
final_pending | boolean, only /stats and /odds | true while the source says the game is over and the result is being confirmed |
confirmed_at | string or null, only /stats and /odds | when the result was confirmed (UTC). null with confirmed: true on a result stored before the current crawl (older finals, mostly horse racing and MMA); some of those also have participants: [] because the source no longer serves their details - treat them as final, they are not updated any more |
stats_updated_at | string or null, only /stats and /odds | last time a player or team line of the fixture was written; compare it to know whether to re-read the stats |
kind | string | match (soccer, US sports), bout (MMA), session (F1), round (PGA), race (horse racing) |
kind_detail | object or null | null for a match; bout / session / round / race details on the page Per sport |
participants | list or null | null for a match; the fighters / drivers / golfers / runners of the fixture, each {side, number, type, player_id, team_id, gs_id, name, status, result} (Per sport) |
A soccer fixture in a schedule list (from the answer above):
{
"id": 72,
"name": "AST vs MAC",
"start_date": "2026-10-24 11:30:00",
"status": "Final",
"location": "Villa Park",
"city": "Birmingham",
"home_team": {
"id": 2,
"name": "Aston Villa",
"abbr": "AST",
"coach": "Unai Emery",
"image": "https://data.fantasyengine.net/storage/df_teams/epl/aston-villa.png"
},
"away_team": {
"id": 15,
"name": "Manchester City",
"abbr": "MAC",
"coach": "Enzo Maresca",
"image": "https://data.fantasyengine.net/storage/df_teams/epl/manchester-city.png"
},
"gs_id": 4376327,
"gs_static_id": 3868873,
"status_code": "final",
"status_detail": "Full-time",
"period": null,
"clock": null,
"score": {
"home": 2,
"away": 1,
"detail": {"ht": [1, 0], "ft": [2, 1], "et": null, "pen": null, "winner": "home", "aggregate_winner": null}
},
"round": {"number": 8, "name": "Week 8"},
"stage_kind": null,
"season_type": "regular",
"start_time_tbd": false,
"confirmed": true,
"stats_complete": true,
"kind": "match",
"kind_detail": null,
"participants": null
}
Change log#
Last updated: 2026-11-25 · v1.0
| Date (GMT+7) | Section | What changed |
|---|---|---|
| 2026-10-27 | all | First version of the Data API reference (a single document), every example answer taken from a test copy of the API. |
| 2026-10-28 to 2026-10-30 | all | Re-checked with every API change of those days (see the API history). |
| 2026-11-25 | all | Moved to the documentation site as this page; every section re-checked against the code of version 1.0 of the Data API (endpoints, parameters, defaults, allowed values, paging, errors, limits, the X-API-KEY header, times in UTC). Example answers taken again (team ids of the soccer example changed); the empty-window example names its window. |