SpreadTrends Data API

<back to all web services

GameStats

Fetches NFL game statistics by game identifier or the 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
Parameters:
NameParameterData TypeRequiredDescription
GameIdpathintNoThe unique game identifier to fetch game statistics by.
SeasonpathintNoThe season to fetch game statistics by.
WeekpathintNoThe week 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,LastName,FirstName,Position,UniformNumber,Opponent,Team,Att,Comp,PassYds,PassTds,Ints,Sacks,SackYds,Rush,RushYds,RushTds,Rec,RecYds,RecTds
0,0,0,String,String,String,0,String,String,0,0,0,0,0,0,0,0,0,0,0,0,0