FantasyData
communitySports data API with projections, odds, DFS, and betting data for NFL, NBA, MLB, NHL.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
GET
https://api.sportsdata.io/v3/{sport}/projections/json/PlayerGameProjectionStatsByDate/{date}Get player projections
Parameters
dateYYYY-MMM-DD (stringrequiredsportnfl|nba|mlb|nhl (stringrequiredReturns
projections[] with PlayerID, Name, Team, Position, FantasyPoints, PassingYards, RushingYards, ReceivingYards, TouchdownsGET
https://api.sportsdata.io/v3/{sport}/scores/json/ScoresByDate/{date}Get scores
Parameters
dateYYYY-MMM-DD (stringrequiredsportsport (stringrequiredReturns
games[] with GameID, Status, HomeTeam, AwayTeam, HomeTeamScore, AwayTeamScore, DateTime, ChannelGET
https://api.sportsdata.io/v3/{sport}/odds/json/GameOddsByDate/{date}Get betting odds
Parameters
dateYYYY-MMM-DD (stringrequiredsportsport (stringrequiredReturns
odds[] with GameId, Sportsbook, HomeMoneyLine, AwayMoneyLine, HomePointSpread, OverUnder