SpreadTrends Data API

<back to all web services

PlayByPlay

Fetches NFL play by play information for a specific game.

The following routes are available for this service:
GET/api/nfl/playbyplay/{GameId}
Parameters:
NameParameterData TypeRequiredDescription
GameIdpathintYesThe unique identifier to fetch play by play information 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/PlayByPlay HTTP/1.1 
Host: www.spreadtrends.com 
Content-Type: text/csv
Content-Length: length

GameId,OffensiveTeam,DefensiveTeam,Type,Detail,DriveSeq,TimeLen,Q,Min,Sec,OffensePts,DefensePts,OffenseTOR,DefenseTOR,Down,YdsToGo,YdsFromOwnGoal,FieldZone,YdsGained,Success,FirstDown,Shotgun,NoHuddle,Pts,Knee,Direction,Comp,Spike,Location,Penalties,IntRetYds,Fumble,Safety,Blocked,FGXP,Distance,Good,PuntGrossYds,PuntNetYds,PuntTouchback,PuntRetYds,FairCatch,KickGrossYds,KickNetYds,KickTouchback,KickRetYds
0,String,String,String,String,0,0,0,0,0,0,0,0,0,0,0,0,0,0,String,String,String,String,0,String,String,String,String,String,0,0,String,String,String,String,0,String,0,0,String,0,String,0,0,String,0