FantasyEngine docs Fantasy Engine Data API
Version 1.0
  • 1.0 (this version)

Fantasy Engine Data API 1.0 / Reference

API history

Developer

Every change of the API answers, with its date; a change that is not additive is marked.

API history#

Last updated: 2026-11-25 · v1.0

Every change below is additive (new keys come after the existing ones, a request without the new parameters answers as before) unless it is marked not additive.

DateAreaChange
2026-10-23ErrorsNot additive: refused requests answer their real HTTP status (401 / 403 / 404) instead of 400; headerCode follows; new 404 for an id of another sport in /stats/{id}, /odds/{id}, /players/{team_id}. A client that checked for 400 must accept these codes. Invalid keys are limited to 30 requests per minute per IP (429).
2026-10-23Fixturesnew keys gs_id, gs_static_id, status_code, status_detail, period, clock, score, round, stage_kind, season_type, start_time_tbd, confirmed, stats_complete; per fixture (/stats, /odds) final_pending, confirmed_at, stats_updated_at, score.detail.periods. Soccer Final only once confirmed.
2026-10-23Playersnew keys gs_id, team_id, jersey, position_raw, roster_status, injury; stable order of players with the same name.
2026-10-23Statstyped values and minutes on every line; lineups (soccer).
2026-10-23Schedulesoptional from, to, round, page, per_page; paging. A fixture without a team no longer breaks the list (HTTP 500 before).
2026-10-23Freshnessanswers cached and rebuilt on every data change, at most 1 hour old.
2026-10-24US sportscorrected values: MLB abbreviations (TB, WSH, CWS, CHC, CLE, STL, ATH), NHL season "2026/2027" with its own schedule, /nba/teams = the 30 NBA teams, NFL games without a time at 00:00 US Eastern with start_time_tbd, a schedule day's status from all its games, statuses never going backwards, full rosters (traded players keep their id).
2026-10-24 to 26US sportslive scores, periods and clocks every minute; box scores while the game is played (NFL and MLB for the first time); Final 10-15 minutes after the end once confirmed; box scores of older finals filled in; players named only in a box score listed; NHL team keys powerplay_opportunities, powerplay_goals; NHL shoot-out scores from the box score.
2026-10-26Statsa line the source withdraws before the confirmation is removed (no key change).
2026-10-26US sportscorrected values: TBD starts replaced by the real start once played; NFL kicker distance groups kicking_fg_* from the scoring plays; full NBA player names.
2026-10-26Oddsodds for the seven soccer competitions and NBA, NFL, MLB, NHL, all markets including line markets; each bookmaker shows its own prices (corrected); price keys line_type, line, line_main; bookmaker updated_at; refreshed every 6 hours, frozen at the start.
2026-10-26Fixturesnew last keys kind, kind_detail, participants.
2026-10-26MMAfighters are players (/mma/players, player lines in /stats); bout result in kind_detail; fighters as teams deprecated (still served); repaired names; cards with their real start; removed bouts Canceled.
2026-10-26F1every session of a GP with its own status and results; sprint sessions; driver names without the nationality suffix (code in country); flat qualification lines with q1-q3; new session gs_ids (fixture ids unchanged).
2026-10-26PGAevery round of a tournament with the field as participants; statuses from the leaderboard; tee-time starts; both tournaments of a double week; every golfer listed; per-round hole lists and values; new gs_ids (ids unchanged).
2026-10-26/settingsnew last key quality (stable | beta) per sport.
2026-10-27FixturesUCL / UEL fixtures carry stage (after city, as in the schedule lists) and its stage_kind also in /stats/{id} and /odds/{id} (stage_kind was null there).
2026-10-27PGAcorrected values: a round score is published only when it can be one 18-hole round; a round nobody played is Canceled (Bermuda 2026 "Day 4" had read every golfer's total as his round 4: 197 - 204 strokes); a golfer who left a round unfinished is wd from it, no longer ranked first with his partial score; rounds stored before were corrected (no key change).
2026-10-27Keysa live key and a dev key per purchase (an existing key is the live key); limits per key - live 300 a minute, dev 30 a minute and 5 000 a day - answer 429 with Retry-After; optional IP lock per key (403 from another address); keys shown once (stored hashed); optional X-Site-Url / User-Agent recorded.
2026-10-27/settingsa sport switched off, renamed or added shows in /settings at once (before, your list could keep the old sports until your own purchase changed); buy_url is the shop page we set (no key change).
2026-10-27Horse racingraces of kind race with the runners as participants and a race kind_detail; one meeting per course and date (an event keeps its id for its earliest meeting); UK / Irish starts on the meeting date at the local time (they were a day or two early); Final only from published results, confirmed; non-runners and non-finishers; horses of their own sport only, the horses of the last 30 days in /players; USA wager pools no longer listed as meetings; horse_uk quality stable (beta again since 2026-11-25).
2026-10-28Errorsan endpoint asked with another method than GET answers 405 method_not_allowed with an Allow header (it answered 404 not_found); a typo in the path is still 404.
2026-10-29NHLcorrected values: a game the source leaves on the in-play word Over Time is final (then confirmed as usual) once both scores are known and differ; while they are level it stays in_progress. Before, such a game read unknown and never became final. No key change.
2026-10-30Playerscorrected values (no key change): soccer player names in the word order of the player's latest match sheet ("Yamal Lamine" became "Lamine Yamal" at the next daily players update); NHL names the box score abbreviates ("A. Matthews") get the full name from the same game's scoring / penalty rows, also in the box score lines of /stats; a stored abbreviated name is corrected when a box score naming him is read again.
2026-11-25/settingsquality of golf (pga), Formula 1 (f1) and UK horse racing (horse_uk) is beta, like USA and Australian horse racing; soccer, NBA, NFL, MLB, NHL and MMA stay stable. No key change.
2026-11-25Errorsa path outside /api/feeds/ answers 404 not_found with the message Api not found, whatever the method (it named the route). Paths under /api/feeds/ answer as before.

Change log#

Last updated: 2026-11-25 · v1.0

Date (GMT+7)SectionWhat changed
2026-10-27allFirst 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-30allRe-checked with every API change of those days (see the API history).
2026-11-25allMoved 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). Row of 2026-11-25: golf, Formula 1 and UK horse racing beta. The rows of 2026-10-29 and 2026-10-30 in date order.
2026-11-25API historyRow of 2026-11-25: a path outside /api/feeds/ answers Api not found.