Fantasy Defense Game Stats - All
Returns stats and fantasy points for a given game for the fantasy defense team (not IDP.)
Request
- Base URLhttps://api.sportsdata.io
- Auth
- API key in header Ocp-Apim-Subscription-Key
- or API key in query parameter key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>.
Year of the season and the season type. If no season type is provided, then the default is regular season.
<br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.
Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.
Example: <code>1</code>
Response
Success
A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season; SeasonType; Week and HomeTeam. Note: This value will be NULL for bye weeks
The type of season that this player corresponds to (1=Regular Season; 2=Preseason; 3=Postseason; 4=Offseason; 5=All-Star)
The NFL season of the game
The NFL week of the game (regular season: 1 to 18; preseason: 0 to 4; postseason: 1 to 4). Note: seasons after 2021 will have only 3 preseason weeks
The date and time of the game (in US Eastern Time)
The abbreviation [Key] of the team
The abbreviation [Key] of the opponent team
Total points allowed by the team during the game
Total defensive and special teams touchdowns scored by the team in the game
Total defensive solo (unassisted) tackles by the team in the game
Total defensive assisted tackles by the team in the game
Total defensive sacks by the team in the game
Total defensive sack yards by the team in the game
Total passes defended by the team in the game
Total fumbles forced on defense by the team in the game
Total defensive fumble recoveries by the team in the game
Total fumble return yards by the team in the game
Total fumble return touchdowns by the team in the game
Total defensive interceptions by the team in the game
Total defensive interception return yards by the team in the game
Total defensive interception return touchdowns by the team in the game
Total blocked kicks by team in the game. Note: BlockedKicks include Field Goals and Punts but NOT Extra Points
Total defensive safeties scored by the team in the game
Total punt returns by the team in the game
Total punt return yards by the team in the game
Total punt return touchdowns by the team in the game
The longest punt return by the team in the game
Total kickoff returns by the team in the game
Total kickoff return yards by the team in the game
Total kickoff return touchdowns by the team in the game
Longest kick return by the team in the game
Total blocked kick recovery return touchdowns for the team in the game
Total field goal return touchdowns by the team in the game. Note: This field excludes blocked field goals
Fantasy points allowed to opposing offensive players in the season. Note: positions include: QB; RB; WR; TE
Fantasy points allowed to opposing quarterbacks by the team in the game
Total fantasy points allowed to opposing running backs by the team in the game
Fantasy points allowed to opposing wide receivers
Fantasy points allowed to opposing tight ends by the team in the game
Fantasy points allowed to opponent kickers by the team in the game
Total blocked kick recovery return yards for the team in the game
Total field goal return yards by the team in the game. Note: This field excludes blocked field goals
Total quarterback hits by the team in the game. Note: This is a defensive stat that includes sacks
Total tackles for loss by the team in the game. Note: These are tackles behind the line of scrimmage for loss of yards (including sacks)
Total touchdowns scored by the defense
Total special teams touchdowns scored by the team in the game
Whether the game is over (true/false)
Fantasy points scored based on basic fantasy scoring system by the team's D/ST in the game
Stadium of the event
Temperature at game start (Fahrenheit)
The humidity percentage at the start of the game
The wind speed at the start of the game (in MPH)
Total third down attempts against the team in the game
Total third down conversions against the team in the game
Opponent's fourth down attempts against the team in the game
Opponent's fourth down conversions against the team in the game
Total number of points allowed by the team in the game to the opposing offense and special teams. Note: This field excludes points scored by the opponent's defense
The team's D/ST salary for FanDuel daily fantasy contests
The team's D/ST salary for DraftKings daily fantasy contests.
The team's D/ST salary as calculated by SportsDataIO (formerly known as FantasyData). Based on the same salary cap as DraftKings contests ($50,000)
The player's salary for Victiv daily fantasy contests.
Total successful two point conversion returns by the team in the game
Fantasy points based on FanDuel's scoring system by the team in the game
Fantasy points based on DraftKings' scoring system by the team in the game
Offensive yards allowed by the team's defense in the game
The player's salary for Yahoo daily fantasy contests
The unique PlayerID of the player as assigned by SportsDataIO for use when combining with player feeds. Note: this ID will stay with the player throughout their entire career
Fantasy points based on Yahoo's daily fantasy scoring system by the team in the game
Whether the team is home or away
The ranking of the opposing team's offense with regards to fantasy points allowed to fantasy DST
The ranking of the opposing team's offense with regards to fantasy points allowed to fantasy DST
The team's D/ST salary for FantasyDraft daily fantasy contests.
The unique ID of the team
The unique ID of this opponent team
The date of the game (in US Eastern Time)
The date and time of the game (in US Eastern Time)
A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues
A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues
A globally unique ID for this team's opponent. This value is guaranteed to be unique across all sports/leagues
The position of this team's D/ST; as listed by DraftKings.
The position of this team's D/ST; as listed by FanDuel.
The position of this team's D/ST; as listed by FantasyDraft
The position of the team's defense/special teams unit, as listed on Yahoo's daily fantasy sports platform
"Unique ID of FantasyDefense record (subject to change; although it very rarely does). Note: For a guaranteed static ID; use a combination of GameKey and Team"
Unique ID of the score/game
FanDuel fantasy points allowed to opposing offensive players in the game. Note: positions include: QB; RB; WR; TE
FanDuel fantasy points allowed by the team to opposing quarterbacks in the game
FanDuel fantasy points allowed by the team to opposing running backs in the game
FanDuel fantasy points allowed by the team to opposing wide receivers in the game
FanDuel fantasy points allowed by the team to opposing tight ends in the game
FanDuel fantasy points allowed by the team to opposing kickers in the game
DraftKings fantasy points allowed to opposing offensive players in the game. Note: positions include: QB; RB; WR; TE
DraftKings fantasy points allowed by the team to opponent quarterbacks in the game
DraftKings fantasy points allowed by the team to opponent running backs in the game
DraftKings fantasy points allowed by the team to opponent wide receivers in the game
DraftKings fantasy points allowed by the team to opponent tight ends in the game
DraftKings fantasy points allowed to opposing kickers
Total Yahoo fantasy points allowed to opposing offensive players by the team in the game. Note: Offensive players include: QB, RB, WR, & TE
Total Yahoo fantasy points allowed to opposing quarterbacks by the team in the game
Total Yahoo fantasy points allowed to opposing running backs by the team in the game
Total Yahoo fantasy points allowed to opposing wide receivers by the team in the game
Total Yahoo fantasy points allowed to opposing tight ends by the team in the game
Total Yahoo fantasy points allowed to opposing kickers by the team in the game
Fantasy points based on FantasyDraft's scoring system by the team in the game
FantasyDraft fantasy points allowed to opposing offensive players in the game. Note: positions include: QB; RB; WR; TE
FantasyDraft fantasy points allowed by the team to opposing quarterbacks in the game
FantasyDraft fantasy points allowed by the team to opposing running backs in the game
FantasyDraft fantasy points allowed by the team to opposing wide receivers in the game
FantasyDraft fantasy points allowed by the team to opposing tight ends in the game
FantasyDraft fantasy points allowed by the team to opposing kickers in the game
Changes
No recorded changes to this operation across all 2 revisions of this API.