SpreadTrends Data API

<back to all web services

GameStats

Fetches NFL game statistics by game identifier or by week of a specific season.

The following routes are available for this service:
GET/api/nfl/game/{GameId}/stats
GET/api/nfl/games/{Season}/{Week}/stats
GET/api/nfl/games/{Season}/stats/{Team}
Parameters:
NameParameterData TypeRequiredDescription
GameIdpathintYesThe unique game identifier to fetch game statistics by.
SeasonpathintYesThe season to fetch game statistics by. Default is the current season.
WeekpathintYesThe week to refine season results by.
TeampathintYesThe team to refine season results by.

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/oneway/GameStats HTTP/1.1 
Host: www.spreadtrends.com 
Content-Type: text/csv
Content-Length: length

GameId,Season,Week,Player,Team,Opponent,Att,Comp,PassYds,PassTds,Ints,Sacks,SackYds,Rush,RushYds,RushTds,Rec,RecYds,RecTds
0,0,0,String,String,String,0,0,0,0,0,0,0,0,0,0,0,0,0