Fantasy Sports API

Player data built for scoring engines

Player-level statistics, live scoring events and fantasy points data for season-long fantasy, DFS and prediction models — one consistent schema whether you're pulling last night's box score or the last five seasons of history.

Included

Player Statistics

Per-match and season player performance data — goals, assists, minutes, shots, cards and more.

Included

Live Scoring Events

Goals, assists, substitutions and other events pushed as they happen for live fantasy scoring.

Included

Fantasy Point Presets

Common scoring templates alongside raw stats, so you can start from a preset or build your own.

Included

Historical Player Data

Multi-season player history for projections, rankings and model training.

Included

Lineups & Injuries

Starting lineups, benched players and injury status ahead of lock.

Access

Bulk Export

Pull large player datasets for offline model training and backtesting.

Included

Stable Player IDs

Consistent player and team identifiers across seasons, competitions and sports.

Included

Multi-Sport Schema

The same field shapes across football, basketball, American football, cricket and more.

Built For

Who builds fantasy products on Orbistats

The same structured player feed supports a range of fantasy and analytics workflows, from season-long leagues to same-day DFS slates.

SEASON-LONG

Fantasy League Platforms

Run weekly or season-long fantasy leagues with automated scoring pulled straight from live match events.

  • Player stats and events for automated scoring
  • Lineups and injury status ahead of kickoff
  • Historical stats for draft rankings and trade tools
See example request →
DFS

Daily Fantasy Sports

Score same-day slates in near real time as player events land, with the same schema every sport.

  • Low-latency live events during a slate
  • Salary-relevant stats — usage, minutes, volume
  • Multi-sport coverage from a single integration
See data fields →
MEDIA

Fantasy Content & Media

Power rankings, projections articles and start/sit tools with the same data behind the scoring.

  • Season and career player statistics
  • Consistent player names and IDs for content pipelines
  • Works alongside the Analytics & Data Science solution
See Analytics & Data Science →
MODELING

Projections & AI Models

Train projection, ranking or lineup-optimization models on historical player data, then serve live.

  • Historical and live data share one schema
  • Point-in-time snapshots avoid lookahead bias
  • Bulk export for multi-season model training
See AI & Sports Data →
Data Fields

What you get back

A representative slice of the fields available on player statistics and events endpoints — full field-by-field detail is in the API Reference.

FieldTypeDescription
player_idstringStable identifier for the player, consistent across seasons and competitions
fixture_idstringMatch identifier the stat line or event is tied to
team_idstringTeam the player was fielded for in this fixture
minutes_playedintegerMinutes on the pitch or court, used for usage and workload metrics
goals / assistsintegerCore scoring contributions, present across most invasion sports
shots / shots_on_targetintegerVolume metrics commonly weighted in fantasy scoring rules
cardsobjectYellow and red cards, typically penalized in fantasy scoring
eventsarrayTimestamped in-match events — goals, subs, cards — for live scoring engines
fantasy_pointsobjectPoints calculated under common preset scoring templates, alongside the raw stats
injury_statusstringAvailability flag — fit, doubtful, out — ahead of lineup lock
i Bring your own scoring rules. Every league and DFS site scores differently, so Orbistats returns the raw stats and events plus common presets — apply your own point values on top, or start from a preset and adjust.
Example Request

GET /v1/football/players/stats

Player statistics and fantasy points for a single fixture — the response, and applying a custom scoring rule in Python.

GET /v1/football/players/stats?match_id=48213
{
  "player_id": "p_10231",
  "player": "E. Haaland",
  "team_id": "manchester-city",
  "minutes_played": 90,
  "goals": 2,
  "assists": 1,
  "shots_on_target": 4,
  "cards": { "yellow": 0, "red": 0 },
  "fantasy_points": { "standard": 16.5, "ppr": 18.0 }
}
import requests

stats = client.football.player_stats(match_id="48213")

def custom_score(p):
  return p["goals"] * 6 + p["assists"] * 4 - p["cards"]["yellow"] * 1

print(custom_score(stats["data"][0]))

See the full Fantasy Scoring example for a complete, runnable walkthrough.

Coverage

Fantasy-ready across every major sport

Player-level stats and events use the same field shapes whether you're scoring one sport or running a multi-sport contest.

FAQs

Common questions

What is a fantasy sports API?

A fantasy sports API is a data feed that delivers player-level statistics, live match events and results in a structured format so a fantasy platform can calculate scores, update leaderboards and power projections automatically instead of entering results by hand.

Does Orbistats calculate fantasy points for me?

Orbistats returns the raw player statistics and events — goals, assists, minutes, shots, saves and more — plus common preset scoring templates. Because every fantasy platform uses its own scoring rules, you apply your ruleset to the raw stats, or use a preset template as a starting point.

Is this data fast enough for daily fantasy sports (DFS)?

Yes. Live player events are pushed as they happen, so lineup and scoring updates during a slate reflect the match in near real time rather than on a delay.

Can I get player data for building projections and prediction models?

Yes. Historical player statistics share the same schema as live data, so a projections or prediction model trained on past seasons can consume live data without a rewrite.

Which sports have fantasy-ready player data?

Football, basketball, American football, cricket, baseball and several other sports all expose player-level statistics and events through the same API shape, so one integration can support multi-sport fantasy contests.

See Also

Related pages

Explore more of the platform.

Get Started

Start free. Upgrade when you need enterprise SLAs.

Self-serve API keys for developers today — dedicated infrastructure, custom feeds and SLAs when you're ready.