Team Game Stats - by Game [Final]
Returns the box score statistical record team-wide (aggregated from all players) for a given team's game in a given week after the game has concluded.
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 date and time of the game (in US Eastern Time)
The type of season that this team 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). For seasons prior to 2021 there will be 3 preseason weeks
The abbreviation [Key] of the team
The abbreviation [Key] of the opponent team
Whether the team is home or away
The final score of the team in the game
The final score of the opponent team in the game
The total points scored by both teams in the game
Stadium of the event
The playing surface of the stadium
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)
The total points line (over/under) for the team in the game
The oddsmaker point spread at game start from the perspective of the team (negative numbers indicate the HomeTeam is favored; positive numbers indicate the AwayTeam is favored)
Points scored during Quarter 1 for the team in the game
Points scored during Quarter 2 for the team in the game
Points scored during Quarter 3 for the team in the game
Points scored during Quarter 4 for the team in the game
Points scored during overtime for the team in the game
Total time of possession (minutes) by the team in the game
Total time of possession (seconds) by the team in the game
Total time of possession by the team in the game
Total first downs by the team in the game
Total rushing first downs by the team in the game
Total passing first downs by the team in the game
Total first downs by opponent's penalty by the team in the game
Number of offensive plays run by the team in the game
Total offensive yards gained by the team in the game
Average yards gained per offensive play by the team in the game
Total touchdowns scored by the team in the game
Total rushing attempts by the team in the game
Total rushing yards by the team in the game
Total rushing yards per attempt by the team in the game
Total rushing touchdowns by the team in the game
Total passes thrown by the team in the game
Total passes completed by the team in the game
Total passing yards by the team in the game
Total passing touchdowns by the team in the game
Total interceptions thrown by the team in the game
Total average passing yards per attempt by the team in the game
Total average passing yards per completion by the team in the game
The date and time of the game (in US Eastern Time)
The team's passer rating in the game
Total third down attempts by the team in the game
Total percentage of third downs converted by the team in the game
Percentage of third downs converted
Total fourth down attempts by the team in the game
Total fourth down conversions by the team in the game
Percentage of fourth downs converted by the team in the game
Total red zone opportunities by the team in the game
Total red zone opportunities converted into touchdowns by the team in the game
This field is deprecated
This field is deprecated
Total punt and defensive return yards by the team in the game
Total penalties committed by the team in the game
Total penalty yards enforced against the team
Total fumbles by the team in the game
Total fumbles lost by the team in the game
Total number of sacks allowed by the team in the game
Total sack yards allowed by the team in the game
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 defensive safeties scored by the team in the game
Total number of punts by the team in the game
Total punt yards by the team in the game
The average number of yards per punt by the team in the game
Total number of giveaways by the team in the game
Total takeaways by the team in the game
Total turnover differential (takeaways minus giveaways) by the team in the game
Points scored during Quarter 1 for the opponent team in the game
Points scored during Quarter 2 for the opponent team in the game
Points scored during Quarter 3 for the opponent team in the game
Points scored during Quarter 4 for the opponent team in the game
Points scored during overtime for the opponent team in the game
Total time of possession minutes for the opponent team in the game
Total time of possession seconds for the opponent team in the game
Total time of possession for the opponent team in the game
Total first downs converted by the opponent team in the game
Total rushing first downs by the opponent team in the game
Total passing first downs converted by the opponent team in the game
Total first downs by penalty for the opponent team in the game
Total offensive plays by the opponent team in the game
Total offensive yards gained by the opponent team in the game
Average yards gained per offensive play by the opponent team in the game
Total touchdowns scored by the opponent team in the game
Total rushing attempts by the opponent team in the game
Total rushing yards by the opponent team in the game
Average rushing yards gained per attempt by the opponent team in the game
Total rushing touchdowns by the opponent team in the game
Total passes thrown by the opponent team in the game
Total passing completions by the opponent team in the game
Total passing yards by the opponent team in the game
Total passing touchdowns by the opponent team in the game
Total interceptions thrown by the opponent team in the game
Average passing yards gained per attempt by the opponent team in the game
Average passing yards gained per completion by the opponent team in the game
Total completion percentage of the opponent team in the game
Total passer rating by the opponent team in the game
Total third down attempts by the opponent team in the game
Total third down conversions by the opponent team in the game
Total third down percentage by the opponent team in the game
Total fourth downs attempted by the opponent team in the game
Total fourth downs converted by the opponent team in the game
Total fourth down conversion percentage by the opponent team in the game
Total red zone opportunities by the opponent team in the game
Total red zone opportunities converted to touchdowns by the opponent team in the game
This field is deprecated
This field is deprecated
Total punt and defensive return yards by the opponent team in the game
Total penalties enforced against the opponent team in the game
Total penalty yards enforced against the opponent team in the game
Total offensive fumbles by the opponent team in the game
Total fumbles lost by the opponent team in the game
Total sacks allowed by the opponent team in the game
Total yards as a result of a sack allowed by the opponent team in the game
Total quarterback hits by the opponent team in the game
Total tackles for loss by the opponent team in the game
Total safeties recorded by the opponent team in the game
Total punts by the opponent team in the game
Total punt yards by the opponent team in the game
Average number of yards per punt
Total giveaways by the opponent team in the game
Total takeaways by the opponent team in the game
Total turnover differential by the opponent team in the game (takeaways minus giveaways)
Total percentage of red zone opportunities converted into touchdowns by the team in the game
This field is deprecated
The quarterback hits differential of the team in the game. Note: Determined by hits on opposing quarterback minus hits on own quarterback
Total tackles for loss differential by the team in the game
Total sack differential of the team in the game
Total percentage of plays defended that resulted in a tackle for loss by the team in the game
Total percentage of opposing quarterback dropbacks that resulted in a quarterback hit by the team in the game
Total percentage of drop backs that resulted in a sack by the team in the game
Percentage of opponent's red zone opportunities converted into touchdowns in the game
This field is deprecated
Total quarterback hits differential by the opponent team in the game
Total tackles for loss differential by the opponent team in the game
Total quarterback sacks differential by the opponent team in the game
Total percentage of tackles for loss by the opponent team in the game
Total quarterback hits percentage by the opponent team in the game
Total percentage of dropbacks that resulted in a sack allowed by the opponent team in the game
Total number of kickoffs by the team in the game
Total kickoffs that went into the end zone by the team in the game
Total kickoffs that resulted in touchbacks by the team in the game
Total punts by the team that were blocked in the game
The average net yards per punt by the team in the game
Total extra point kick attempts by the team in the game
Total extra point kicks made by the team in the game
Total extra point kick attempts by the team that were blocked in the game
Total two point conversions passing conversions by the team in the game
Total two point conversions passing conversions by the team in the game
Total two point conversion rushing attempts by the team in the game
Total two point conversion rushing conversions in the game
Total field goal attempts by the team in the game
Total field goals made by the team in game
Total field goals by the team that were blocked in the game
Total punt returns by the team in the game
Total punt return yards 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 defensive interception returns by the team in the game
Total defensive interception return yards by the team in the game
Total kickoffs by the opponent team in the game
Total kickoffs that went into the end zone by the opponent team in the game
Total kickoffs that resulted in touchbacks by the opponent team in the game
Total punt yard that were blocked for the opponent team in the game
This field is deprecated
Total extra point kick attempts by the opponent team in the game
Total extra point kicks made by the opponent team in the game
Total extra point kick attempts that were blocked against the opponent team in the game
Total two point conversion passing attempts by the opponent team in the game
Total two point conversion passing conversions by the opponent team in the game
Total two point conversion rushing attempts by the opponent team in the game
Total two point conversion rushing conversions by the opponent team in the game
Total field goal attempts by the opponent team in the game
Total field goals made by the opponent team in the game
Total blocked field goals against the opponent team in the game
Total punt returns by the opponent team in the game
Total punt return yards by the opponent team in the game
Total kickoff returns by the opponent team in the game
Total kickoff return yards by the opponent team in the game
Total defensive interceptions by the opponent team in the game
Total defensive interception return yards by the opponent 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's defense 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 interception return touchdowns by the team in the game
Total blocked kicks by the team in the game. Note: BlockedKicks include Field Goals and Punts but NOT Extra Points
Total punt return touchdowns by the team in the game
The longest punt return 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 yards for the team in the game
Total blocked kick recovery return touchdowns 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 field goal return touchdowns by the team in the game. Note: This field excludes blocked field goals
The net yards of the punts by the team in the game
Total defensive solo tackles by the opponent team in the game
Total defensive assisted tackles by the opponent team in the game
Total defensive sacks by the opponent team in the game
Total defensive sack yards by the opponent team in the game
Total passes defended by the opponent team in the game
Total defensive fumbles forced by the opponent team in the game
Total defensive fumble recoveries by the opponent team in the game
Total defensive fumbles return yards by the opponent team in the game
Total defensive fumbles return touchdowns by the opponent team in the game
Total defensive interception touchdowns by the opponent team in the game
Total blocked kicks against the opponent team in the game
Total punt return touchdowns by the opponent team in the game
Longest punt return by the opponent team in the game
Total kickoff return touchdowns by the opponent team in the game
Longest kick return by the opponent team in the game
Total blocked kick return yards by the opponent team in the game
Total blocked kick return touchdowns by the opponent team in the game
Total field goal return yards by the opponent team in the game. Note: Excludes blocked field goals (only for straight misses that are returned)
Total field goal return touchdowns by the opponent team in the game. Note: Excludes blocked field goals (only for straight misses that are returned)
This field is deprecated
Whether the game is over (true/false)
The full name of the team (e.g. New England Patriots; Los Angeles Chargers)
The day of the week this game was played on (e.g. Sunday; Monday; Thursday)
Total number of times the team dropped back to pass in the game
Total passing dropbacks by the opponent team in the game
Unique ID of this TeamGame record (subject to change; although it very rarely does). For a guaranteed static ID; use a combination of GameKey and Team.
The team's total point differential in the game
The team's percentage of passes that were intercepted by the defense in the game. Note: This refers to the offensive team's passes that were intercepted
The average punt return yardage for the team in the game
Average kick return yards by the team in the game
Team's percentage of extra points made in the game
Team's percentage of field goals made in the game
Percentage of passes that were intercepted against the opponent team in the game
Punt return average of the opponent team in the game
Kick return average of the opponent team in the game
Total extra point percentage by the opponent team in the game
Total field goal percentage by the opponent team in the game
The team's penalty yard differential in the game
Punt return yard differential for the team in the game
Total kick return yard differential by the team in the game
Total successful two point conversion returns by the team in the game
Total two point attempt returns converted by the defense for the opponent team in the game
The unique ID of this team
Total defensive interceptions by the opponent team in the game
The date of the game (in US Eastern Time)
The date 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
Unique ID of the score/game
Changes
No recorded changes to this operation across all 2 revisions of this API.