We’re excited to announce the initial release of our NFL data API, which allows us to query NFL games from 2009-present.

Anyone can request data using the format api.suredbits.com/sport/version/param/teamId/year/week. Refer to this separate post for API documentation.

Here’s an example of making a cURL request for the Philadelphia Eagles game in week 3 of the 2016 season:



{

"gsisId": "2016092510",

"seasonYear": 2016,

"startTime": "20160925T202500Z",

"timeInserted": "20160907T204104Z",

"dayOfWeek": "Sunday",

"gameKey": "56946",

"finished": true,

"homeTeam": {

"scoreQ3": 21,

"turnovers": 2,

"scoreQ2": 10,

"score": 34,

"team": "PHI",

"scoreQ1": 3,

"scoreQ4": 0

},

"timeUpdate": "20161004T201022Z",

"awayTeam": {

"scoreQ3": 0,

"turnovers": 3,

"scoreQ2": 3,

"score": 3,

"team": "PIT",

"scoreQ1": 0,

"scoreQ4": 0

},

"week": "NflWeek3",

"seasonType": "Regular"

} tom@tom:~$ curl http://api.suredbits.com/nfl/v0/games/PHI/2016/3/ "gsisId": "2016092510","seasonYear": 2016,"startTime": "20160925T202500Z","timeInserted": "20160907T204104Z","dayOfWeek": "Sunday","gameKey": "56946","finished": true,"homeTeam": {"scoreQ3": 21,"turnovers": 2,"scoreQ2": 10,"score": 34,"team": "PHI","scoreQ1": 3,"scoreQ4": 0},"timeUpdate": "20161004T201022Z","awayTeam": {"scoreQ3": 0,"turnovers": 3,"scoreQ2": 3,"score": 3,"team": "PIT","scoreQ1": 0,"scoreQ4": 0},"week": "NflWeek3","seasonType": "Regular"

You can see the Eagles hosted Pittsburgh for a Sunday afternoon game, and won by a score of 34–3. The times are displayed in UTC. This game started at 20:25 UTC, or 4:25PM EST.