SpreadTrends Data API

<back to all web services


Fetches NFL player statistics by name or identifier for a specific season.

The following routes are available for this service:
NameParameterData TypeRequiredDescription
SeasonpathintNoThe season to refine name results by. Default is the all seasons.
PlayerIdpathstringYesThe Id of the player to fetch statistics by.
LastNamepathstringYesThe last name of the player to fetch statistics by.
FirstNamepathstringYesThe first name of the player for which to fetch statistics.

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


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

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

	season: 0,
	week: 0,
	team: String,
	opponent: String,
	player: String,
	playerId: String,
	lastName: String,
	firstName: String,
	position: String,
	att: 0,
	comp: 0,
	compPct: 0,
	passYds: 0,
	passAvg: 0,
	passTds: 0,
	tdPct: 0,
	ints: 0,
	intPct: 0,
	rating: 0,
	sacks: 0,
	sackYds: 0,
	rush: 0,
	rushYds: 0,
	rushAvg: 0,
	rushTds: 0,
	rec: 0,
	recYds: 0,
	recAvg: 0,
	recTds: 0