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 .jsv suffix or ?format=jsv

HTTP + JSV

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

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

{
	gameId: 0,
	season: 0,
	week: 0,
	lastName: String,
	firstName: String,
	position: String,
	uniformNumber: 0,
	opponent: String,
	team: String,
	att: 0,
	comp: 0,
	passYds: 0,
	passTds: 0,
	ints: 0,
	sacks: 0,
	sackYds: 0,
	rush: 0,
	rushYds: 0,
	rushTds: 0,
	rec: 0,
	recYds: 0,
	recTds: 0
}