SpreadTrends Data API

<back to all web services

TeamStats

Fetches NFL team statistics for a season or the week within a season.

The following routes are available for this service:
GET/api/nfl/team/{Team}/stats
GET/api/nfl/team/{Team}/stats/{Season}
GET/api/nfl/team/{Team}/stats/{Season}/{Week}
Parameters:
NameParameterData TypeRequiredDescription
SeasonpathintNoThe season to fetch team statistics by. Default is the current season.
WeekpathintNoThe week to refine season results by.
TeampathintYesThe team to fetch statistic for.

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/TeamStats HTTP/1.1 
Host: www.spreadtrends.com 
Content-Type: text/csv
Content-Length: length

Season,Week,Team,Games,Points,PPG,Att,AttPerGame,Comp,CompPct,CompPerGame,PassYds,PassYdsPerGame,PassAvg,PassTds,TdPct,Sacks,SackYds,Ints,IntPct,Rating,Rush,RushYds,RushYdsPerGame,RushAvg,RushTds,Rec,RecYds,RecYdsPerGame,RecAvg,RecTds
0,0,String,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0