SpreadTrends Data API

<back to all web services

Predictions

Fetches projected winners for upcoming NFL games.

The following routes are available for this service:
GET/api/nfl/predictions
GET/api/nfl/predictions/{Season}
GET/api/nfl/predictions/{Season}/{Week}
Parameters:
NameParameterData TypeRequiredDescription
SeasonpathintNoThe season to fetch games by. Default is the current season.
WeekpathintNoThe week to refine season results by. Default is upcoming games.

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/oneway/Predictions HTTP/1.1 
Host: www.spreadtrends.com 
Content-Type: application/json
Content-Length: length

{"date":"\/Date(-62135596800000-0000)\/","season":0,"week":0,"visitor":"String","home":"String","pointSpread":0,"projected":"String","actualWinner":"String","rating":0}