SpreadTrends Data API

<back to all web services

Games

Fetches NFL game information by identifier, season, or the week within a season.

The following routes are available for this service:
GET/api/nfl/games
GET/api/nfl/games/{Season}
GET/api/nfl/game/{GameId}
GET/api/nfl/games/{Season}/{Week}
Parameters:
NameParameterData TypeRequiredDescription
GameIdpathintNoThe unique identifier to fetch games by.
SeasonpathintNoThe season to fetch games by. Default is the current season.
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/Games HTTP/1.1 
Host: www.spreadtrends.com 
Content-Type: text/csv
Content-Length: length

GameId,Date,Season,Week,Type,Visitor,Home,VisitorScore,HomeScore,Overtime,PointSpread,OverUnder,Stadium,Surface,Notes,Observed,Temperature,WindSpeed,WindGustSpeed,WindDirection,Conditions,Precipitation
0,0001-01-01,0,0,String,String,String,0,0,String,0,0,String,String,String,String,0,0,0,String,String,String