NAV
shell

Stattleship API

Everything to get you started using the Stattleship API – The Sports Data Platform you’ve always wanted!

Easy to remember, friendly slugs like “nfl-tom-brady” and “passes-touchdowns”.

Consistent patterns means that a call to get touchdowns looks like the endpoint to get free throws, home our power-play goals.

Use natural language dates like “last sunday” or “1 week ago” to query stats.

But most of all, you shouldn’t need to spend hours writing custom code for each sport, league or set of stats you want to visualize, analyze, or present.

Activate Your Token

When you sign up, there is a 5-trial.

The Stattleship API is donation-ware for non-commercial purposes.

Please visit our Patreon site and give what you can. Every contribution helps keep the API up and running.

Donate and we’ll activate your key! Woohoo!

Developer-Friendly.

Sure, we can just give you raw data. But data should be fun and purposeful.

We’ve categorized and quantified player and teams performances into feats that can quickly be compared or contrasted and put into context.

Instantly know if a stat is a commonplace occurrence or a record-tying achievement.

Data Scientists and Hobbyists Rejoice!

From the moment you sign up, you’ll realize we’ve done a lot of hard work for you.

That’s right, we didn’t make this data available to you so you could stare at it. Go forth and conquer.

Get Started with a Token

Visit api.stattleship.com to Get Your API Token and enjoy!.

What We Ask

Since we launched the Stattleship API earlier this year, we’ve made it easy for well over one thousand developers, data scientists, and hobbyists to fetch sports data.

We are so fortunate to have fans like you!

Our Purpose

Our goal has always been to empower you with the data you need to build apps, data visualizations, learn R, make better fantasy lineups, and more.

As you well know, sports data is tough to get elsewhere, super expensive, and a bear to implement.

We have ideas for new data, endpoints, and products that you could use in so many ways. Your support means the world to us!

Please Donate

The Stattleship API is donation-ware for non-commercial purposes.

Please visit our Patreon site and give what you can. Every contribution helps keep the API up and running.

If you plan to use the API for commerical purposes, please contact us.

Updates

Latest updates as of 02/05/2017.

SDKs

Rails developer? Data science guru? Py guy? We got your SDK!

Authentication

To authorize, use this code:

# With shell, you can just pass the correct headers with each request
curl -X "GET" "api_endpoint_here"
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

Make sure to replace YOUR_ACCESS_TOKEN with your API key.

Stattleship uses API keys to allow access to the API. You can register a new Stattleship API key at our developer portal.

Stattleship expects for the API key to be included in all API requests to the server in a header that looks like the following:

Authorization: Token token=YOUR_ACCESS_TOKEN

Content-Type header that looks like the following:

Content-Type: application/json

Accept header that looks like the following:

Accept: application/vnd.stattleship.com; version=1

Interval Types

It is important when using Stattleship API to set the proper interval_type parameter when making certain requests that involve games.

Each game has an “interval_type” like “regularseason”, “preseason”, “week”, or “allstar” that categories it. This is really helpful of you are doing milestones or totals because you can consider (or partition) across these intervals.

When making a call for games or game logs, the Stattleship API will the use most currently active interval for the season and league by default.

When the schedule enters the playoffs,if you want to fetch regular season data, you must now explicitly include: interval_type=regularseason.

This also means that as the schedule advances to the next round, if you want the prior round information, you’ll also have to specify the interval_type you want.

Baseball Interval Types

For the MLB regular season and playoffs, the interval_type values are:

Basketball Interval Types

For the NBA regular season and playoffs, the interval_type values are:

Hockey Interval Types

For the NHL regular season and playoffs, the interval_type values are:

Football Interval Types

For the NFL regular season and playoffs, the interval_type values are:

Player and Team Rankings Options

Baseball Player and Team Rankings

Available rankings for the Ranking endpoint:

Basketball Player and Team Rankings

Available rankings for the Ranking endpoint:

Basketball Play by Play Event Types

Hockey Play by Play Event Types

Hockey Player and Team Rankings

Available rankings for the Ranking endpoint:

Football Play Play Types

Feats

Baseball Feats

curl -X "GET" "https://api.stattleship.com/baseball/mlb/feats" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

{
  "games": [
    {
      "id": "26424e14-660b-41d1-ade9-c526e4c6e12c",
      "created_at": "2016-03-18T21:04:31-04:00",
      "updated_at": "2016-03-19T11:02:46-04:00",
      "at_neutral_site": false,
      "attendance": 12615,
      "away_team_outcome": "win",
      "away_team_score": 8,
      "daytime": false,
      "duration": 12660,
      "ended_at": "2015-05-12T21:43:36-04:00",
      "home_team_outcome": "loss",
      "home_team_score": 3,
      "interval": "Regular Season",
      "interval_number": "",
      "interval_type": "regularseason",
      "label": "Cardinals vs Indians",
      "name": "Cardinals vs Indians May 12, 2015 at  6:10pm",
      "on": "on May 12, 2015",
      "score": "8-3",
      "score_differential": 5,
      "scoreline": "Cardinals 8 - Indians 3",
      "slug": "mlb-2015-stl-cle-2015-05-12-1810",
      "started_at": "2015-05-12T18:10:00-04:00",
      "status": "ended",
      "temperature": 57,
      "temperature_unit": "f",
      "timestamp": 1431468600,
      "title": "Cardinals vs Indians",
      "weather_conditions": "cloudy",
      "wind_direction": "Left to Right",
      "wind_speed": 20,
      "wind_speed_unit": "mph",
      "home_team_id": "c5fefa38-a256-43fe-8147-008c0f8c2f15",
      "away_team_id": "26345a1d-a856-48be-a53b-262367b5437e",
      "winning_team_id": "26345a1d-a856-48be-a53b-262367b5437e",
      "season_id": "e46014e6-f9e9-41c3-9deb-cd11ee879d75",
      "venue_id": "5b7a95f0-90c5-4758-a407-5d37e0b68587"
    },
    {
      "id": "384cfac2-48f7-470c-8a4a-b968bb3b3fd7",
      "created_at": "2016-03-18T21:05:00-04:00",
      "updated_at": "2016-03-19T03:36:59-04:00",
      "at_neutral_site": false,
      "attendance": 28942,
      "away_team_outcome": "win",
      "away_team_score": 7,
      "daytime": false,
      "duration": 9360,
      "ended_at": "2015-06-18T15:19:53-07:00",
      "home_team_outcome": "loss",
      "home_team_score": 1,
      "interval": "Regular Season",
      "interval_number": "",
      "interval_type": "regularseason",
      "label": "Angels vs Diamondbacks",
      "name": "Angels vs Diamondbacks June 18, 2015 at 12:40pm",
      "on": "on June 18, 2015",
      "score": "7-1",
      "score_differential": 6,
      "scoreline": "Angels 7 - Diamondbacks 1",
      "slug": "mlb-2015-laa-ari-2015-06-18-1240",
      "started_at": "2015-06-18T12:40:00-07:00",
      "status": "ended",
      "temperature": null,
      "temperature_unit": null,
      "timestamp": 1434656400,
      "title": "Angels vs Diamondbacks",
      "weather_conditions": "indoors",
      "wind_direction": null,
      "wind_speed": null,
      "wind_speed_unit": null,
      "home_team_id": "09dc1f54-cf05-4486-8135-80bb0090fde1",
      "away_team_id": "e21a2701-cd76-4589-ac85-6a71e7c53252",
      "winning_team_id": "e21a2701-cd76-4589-ac85-6a71e7c53252",
      "season_id": "e46014e6-f9e9-41c3-9deb-cd11ee879d75",
      "venue_id": "dc097fcf-a1ce-48dc-a563-18f5bb142444"
    },
    {
      "id": "0b72acb4-811d-4dd5-bc12-43fd31424bc6",
      "created_at": "2016-03-18T21:04:56-04:00",
      "updated_at": "2016-03-19T03:35:43-04:00",
      "at_neutral_site": false,
      "attendance": 34964,
      "away_team_outcome": "win",
      "away_team_score": 4,
      "daytime": false,
      "duration": 10740,
      "ended_at": "2015-06-14T16:16:38-05:00",
      "home_team_outcome": "loss",
      "home_team_score": 0,
      "interval": "Regular Season",
      "interval_number": "",
      "interval_type": "regularseason",
      "label": "Nationals vs Brewers",
      "name": "Nationals vs Brewers June 14, 2015 at  1:10pm",
      "on": "on June 14, 2015",
      "score": "4-0",
      "score_differential": 4,
      "scoreline": "Nationals 4 - Brewers 0",
      "slug": "mlb-2015-was-mil-2015-06-14-1310",
      "started_at": "2015-06-14T13:10:00-05:00",
      "status": "ended",
      "temperature": 74,
      "temperature_unit": "f",
      "timestamp": 1434305400,
      "title": "Nationals vs Brewers",
      "weather_conditions": "cloudy",
      "wind_direction": "Out to Center",
      "wind_speed": 3,
      "wind_speed_unit": "mph",
      "home_team_id": "d6c517b0-78de-4834-8d36-b6e63b3224ee",
      "away_team_id": "9ebc3cf3-9559-4b74-b8ad-f15f2c5eae71",
      "winning_team_id": "9ebc3cf3-9559-4b74-b8ad-f15f2c5eae71",
      "season_id": "e46014e6-f9e9-41c3-9deb-cd11ee879d75",
      "venue_id": "1929adfd-bbeb-4d8a-9377-1da0f2837073"
    },
    {
      "id": "c4af4426-65d9-4c01-bc89-4c25c5ad7765",
      "created_at": "2016-03-18T21:05:03-04:00",
      "updated_at": "2016-03-19T03:33:58-04:00",
      "at_neutral_site": false,
      "attendance": 30268,
      "away_team_outcome": "loss",
      "away_team_score": 0,
      "daytime": false,
      "duration": 8760,
      "ended_at": "2015-06-21T19:39:17-04:00",
      "home_team_outcome": "win",
      "home_team_score": 1,
      "interval": "Regular Season",
      "interval_number": "",
      "interval_type": "regularseason",
      "label": "Mets vs Braves",
      "name": "Mets vs Braves June 21, 2015 at  5:05pm",
      "on": "on June 21, 2015",
      "score": "0-1",
      "score_differential": 1,
      "scoreline": "Mets 0 - Braves 1",
      "slug": "mlb-2015-nym-atl-2015-06-21-1705",
      "started_at": "2015-06-21T17:05:00-04:00",
      "status": "ended",
      "temperature": 93,
      "temperature_unit": "f",
      "timestamp": 1434920700,
      "title": "Mets vs Braves",
      "weather_conditions": "cloudy",
      "wind_direction": "Left to Right",
      "wind_speed": 8,
      "wind_speed_unit": "mph",
      "home_team_id": "e0aa8528-46d5-41a4-95fe-50f0a2e3a761",
      "away_team_id": "fb65f6d2-6de5-4596-981b-6d9bcb5d9e7d",
      "winning_team_id": "e0aa8528-46d5-41a4-95fe-50f0a2e3a761",
      "season_id": "e46014e6-f9e9-41c3-9deb-cd11ee879d75",
      "venue_id": "bfbb4850-7975-473c-ba00-0253e816beb7"
    },
    {
      "id": "a4cc0fb6-5d3e-47e3-ada8-b283b3b76c13",
      "created_at": "2016-03-18T21:05:03-04:00",
      "updated_at": "2016-03-19T03:33:49-04:00",
      "at_neutral_site": false,
      "attendance": 40273,
      "away_team_outcome": "win",
      "away_team_score": 8,
      "daytime": false,
      "duration": 10740,
      "ended_at": "2015-06-21T16:14:08-05:00",
      "home_team_outcome": "loss",
      "home_team_score": 0,
      "interval": "Regular Season",
      "interval_number": "",
      "interval_type": "regularseason",
      "label": "Cubs vs Twins",
      "name": "Cubs vs Twins June 21, 2015 at  1:10pm",
      "on": "on June 21, 2015",
      "score": "8-0",
      "score_differential": 8,
      "scoreline": "Cubs 8 - Twins 0",
      "slug": "mlb-2015-chc-min-2015-06-21-1310",
      "started_at": "2015-06-21T13:10:00-05:00",
      "status": "ended",
      "temperature": 81,
      "temperature_unit": "f",
      "timestamp": 1434910200,
      "title": "Cubs vs Twins",
      "weather_conditions": "cloudy",
      "wind_direction": "Out to Center",
      "wind_speed": 3,
      "wind_speed_unit": "mph",
      "home_team_id": "8256c5cd-476c-4af3-8c26-059b0fd8ddcf",
      "away_team_id": "fdbaa7e1-bfd6-4b94-a0b2-323884d54a11",
      "winning_team_id": "fdbaa7e1-bfd6-4b94-a0b2-323884d54a11",
      "season_id": "e46014e6-f9e9-41c3-9deb-cd11ee879d75",
      "venue_id": "f78e4b66-1278-430d-a6a8-b82b93a45de4"
    }
  ],
  "home_teams": [
    {
      "id": "c5fefa38-a256-43fe-8147-008c0f8c2f15",
      "created_at": "2016-03-18T20:56:44-04:00",
      "updated_at": "2016-03-21T17:54:33-04:00",
      "color": "E31937",
      "colors": [
        "E31937",
        "002B5C"
      ],
      "hashtag": "Indians",
      "hashtags": [
        "Indians"
      ],
      "location": "Cleveland",
      "name": "Cleveland",
      "nickname": "Indians",
      "latitude": 41.49932,
      "longitude": -81.6943605,
      "slug": "mlb-cle",
      "division_id": "ca580e37-ee8b-44d3-94ac-6eb2bf35d094",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    },
    {
      "id": "09dc1f54-cf05-4486-8135-80bb0090fde1",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T17:54:54-04:00",
      "color": "A71930",
      "colors": [
        "A71930",
        "000000",
        "E3D4AD"
      ],
      "hashtag": "DBacks",
      "hashtags": [
        "DBacks",
        "Diamondbacks"
      ],
      "location": "Arizona",
      "name": "Arizona",
      "nickname": "Diamondbacks",
      "latitude": 33.4463502,
      "longitude": -112.0746942,
      "slug": "mlb-ari",
      "division_id": "ca26ef7a-9025-4848-93ce-237c79aa2079",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    },
    {
      "id": "d6c517b0-78de-4834-8d36-b6e63b3224ee",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T17:55:16-04:00",
      "color": "0A2351",
      "colors": [
        "0A2351",
        "B6922E"
      ],
      "hashtag": "Brewers",
      "hashtags": [
        "Brewers"
      ],
      "location": "Milwaukee",
      "name": "Milwaukee",
      "nickname": "Brewers",
      "latitude": 43.0205692,
      "longitude": -87.97012,
      "slug": "mlb-mil",
      "division_id": "920b37d3-9fd8-45c6-a1fb-047748240732",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    },
    {
      "id": "e0aa8528-46d5-41a4-95fe-50f0a2e3a761",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T17:55:10-04:00",
      "color": "CE1141",
      "colors": [
        "CE1141",
        "13274F"
      ],
      "hashtag": "Braves",
      "hashtags": [
        "Braves"
      ],
      "location": "Atlanta",
      "name": "Atlanta",
      "nickname": "Braves",
      "latitude": 33.7005971,
      "longitude": -84.354916,
      "slug": "mlb-atl",
      "division_id": "cbf6f7d2-4f6f-4fe9-b838-cf35bf9385b2",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    },
    {
      "id": "8256c5cd-476c-4af3-8c26-059b0fd8ddcf",
      "created_at": "2016-03-18T20:56:44-04:00",
      "updated_at": "2016-03-21T17:54:36-04:00",
      "color": "002B5C",
      "colors": [
        "002B5C",
        "D31145"
      ],
      "hashtag": "Twins",
      "hashtags": [
        "Twins",
        "MNTwins"
      ],
      "location": "Minnesota",
      "name": "Minnesota",
      "nickname": "Twins",
      "latitude": 44.983318,
      "longitude": -93.277016,
      "slug": "mlb-min",
      "division_id": "ca580e37-ee8b-44d3-94ac-6eb2bf35d094",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    }
  ],
  "leagues": [
    {
      "id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f",
      "created_at": "2016-03-18T20:56:43-04:00",
      "updated_at": "2016-03-18T20:56:43-04:00",
      "abbreviation": "MLB",
      "color": null,
      "minutes_per_period": null,
      "name": "Major League Baseball",
      "periods": null,
      "slug": "mlb",
      "sport": "baseball"
    }
  ],
  "away_teams": [
    {
      "id": "26345a1d-a856-48be-a53b-262367b5437e",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T18:23:11-04:00",
      "color": "C41E3A",
      "colors": [
        "C41E3A",
        "000066",
        "FEDB00"
      ],
      "hashtag": "STLCards",
      "hashtags": [
        "STLCards",
        "Cardinals"
      ],
      "location": "St. Louis",
      "name": "St. Louis",
      "nickname": "Cardinals",
      "latitude": 38.6270025,
      "longitude": -90.1994042,
      "slug": "mlb-stl",
      "division_id": "920b37d3-9fd8-45c6-a1fb-047748240732",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    },
    {
      "id": "e21a2701-cd76-4589-ac85-6a71e7c53252",
      "created_at": "2016-03-18T20:56:44-04:00",
      "updated_at": "2016-03-21T18:23:10-04:00",
      "color": "BA0021",
      "colors": [
        "BA0021",
        "003263"
      ],
      "hashtag": "Angels",
      "hashtags": [
        "Angels"
      ],
      "location": "Los Angeles",
      "name": "LA Angels",
      "nickname": "Angels",
      "latitude": 33.8352932,
      "longitude": -117.9145036,
      "slug": "mlb-laa",
      "division_id": "558ecbdd-2a71-4c60-a1bd-28dfcd3ab496",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    },
    {
      "id": "9ebc3cf3-9559-4b74-b8ad-f15f2c5eae71",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T17:54:57-04:00",
      "color": "AB0003",
      "colors": [
        "AB0003",
        "11225B"
      ],
      "hashtag": "Nats",
      "hashtags": [
        "Nats",
        "Nationals"
      ],
      "location": "Washington",
      "name": "Washington",
      "nickname": "Nationals",
      "latitude": 38.8787421,
      "longitude": -77.0074421,
      "slug": "mlb-was",
      "division_id": "cbf6f7d2-4f6f-4fe9-b838-cf35bf9385b2",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    },
    {
      "id": "fb65f6d2-6de5-4596-981b-6d9bcb5d9e7d",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T17:55:04-04:00",
      "color": "FF5910",
      "colors": [
        "FF5910",
        "002D72"
      ],
      "hashtag": "Mets",
      "hashtags": [
        "Mets"
      ],
      "location": "New York",
      "name": "NY Mets",
      "nickname": "Mets",
      "latitude": 40.7573032,
      "longitude": -73.8501765,
      "slug": "mlb-nym",
      "division_id": "cbf6f7d2-4f6f-4fe9-b838-cf35bf9385b2",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    },
    {
      "id": "fdbaa7e1-bfd6-4b94-a0b2-323884d54a11",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T17:55:25-04:00",
      "color": "CC3433",
      "colors": [
        "CC3433",
        "0E3386"
      ],
      "hashtag": "Cubs",
      "hashtags": [
        "Cubs"
      ],
      "location": "Chicago",
      "name": "Chi. Cubs",
      "nickname": "Cubs",
      "latitude": 41.8781136,
      "longitude": -87.6297982,
      "slug": "mlb-chc",
      "division_id": "920b37d3-9fd8-45c6-a1fb-047748240732",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    }
  ],
  "winning_teams": [
    {
      "id": "26345a1d-a856-48be-a53b-262367b5437e",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T18:23:11-04:00",
      "color": "C41E3A",
      "colors": [
        "C41E3A",
        "000066",
        "FEDB00"
      ],
      "hashtag": "STLCards",
      "hashtags": [
        "STLCards",
        "Cardinals"
      ],
      "location": "St. Louis",
      "name": "St. Louis",
      "nickname": "Cardinals",
      "latitude": 38.6270025,
      "longitude": -90.1994042,
      "slug": "mlb-stl",
      "division_id": "920b37d3-9fd8-45c6-a1fb-047748240732",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    },
    {
      "id": "e21a2701-cd76-4589-ac85-6a71e7c53252",
      "created_at": "2016-03-18T20:56:44-04:00",
      "updated_at": "2016-03-21T18:23:10-04:00",
      "color": "BA0021",
      "colors": [
        "BA0021",
        "003263"
      ],
      "hashtag": "Angels",
      "hashtags": [
        "Angels"
      ],
      "location": "Los Angeles",
      "name": "LA Angels",
      "nickname": "Angels",
      "latitude": 33.8352932,
      "longitude": -117.9145036,
      "slug": "mlb-laa",
      "division_id": "558ecbdd-2a71-4c60-a1bd-28dfcd3ab496",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    },
    {
      "id": "9ebc3cf3-9559-4b74-b8ad-f15f2c5eae71",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T17:54:57-04:00",
      "color": "AB0003",
      "colors": [
        "AB0003",
        "11225B"
      ],
      "hashtag": "Nats",
      "hashtags": [
        "Nats",
        "Nationals"
      ],
      "location": "Washington",
      "name": "Washington",
      "nickname": "Nationals",
      "latitude": 38.8787421,
      "longitude": -77.0074421,
      "slug": "mlb-was",
      "division_id": "cbf6f7d2-4f6f-4fe9-b838-cf35bf9385b2",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    },
    {
      "id": "e0aa8528-46d5-41a4-95fe-50f0a2e3a761",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T17:55:10-04:00",
      "color": "CE1141",
      "colors": [
        "CE1141",
        "13274F"
      ],
      "hashtag": "Braves",
      "hashtags": [
        "Braves"
      ],
      "location": "Atlanta",
      "name": "Atlanta",
      "nickname": "Braves",
      "latitude": 33.7005971,
      "longitude": -84.354916,
      "slug": "mlb-atl",
      "division_id": "cbf6f7d2-4f6f-4fe9-b838-cf35bf9385b2",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    },
    {
      "id": "fdbaa7e1-bfd6-4b94-a0b2-323884d54a11",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T17:55:25-04:00",
      "color": "CC3433",
      "colors": [
        "CC3433",
        "0E3386"
      ],
      "hashtag": "Cubs",
      "hashtags": [
        "Cubs"
      ],
      "location": "Chicago",
      "name": "Chi. Cubs",
      "nickname": "Cubs",
      "latitude": 41.8781136,
      "longitude": -87.6297982,
      "slug": "mlb-chc",
      "division_id": "920b37d3-9fd8-45c6-a1fb-047748240732",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    }
  ],
  "seasons": [
    {
      "id": "e46014e6-f9e9-41c3-9deb-cd11ee879d75",
      "created_at": "2016-03-18T21:03:28-04:00",
      "updated_at": "2016-03-18T21:03:28-04:00",
      "name": "2015",
      "current_interval_type": "regularseason",
      "starts_on": "2015-02-01",
      "ends_on": "2015-11-30",
      "slug": "mlb-2015",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    }
  ],
  "venues": [
    {
      "id": "5b7a95f0-90c5-4758-a407-5d37e0b68587",
      "created_at": "2016-03-18T21:04:07-04:00",
      "updated_at": "2016-03-21T18:11:16-04:00",
      "abbreviation": "JF",
      "capacity": 45274,
      "city": "Cleveland",
      "country": "USA",
      "field_type": "Grass",
      "name": "Progressive Field",
      "slug": "progressive-field",
      "state": "Ohio",
      "time_zone": "US/Eastern",
      "latitude": 41.49932,
      "longitude": -81.6943605
    },
    {
      "id": "dc097fcf-a1ce-48dc-a563-18f5bb142444",
      "created_at": "2016-03-18T21:04:00-04:00",
      "updated_at": "2016-03-21T18:13:13-04:00",
      "abbreviation": "CHASE",
      "capacity": 49707,
      "city": "Phoenix",
      "country": "USA",
      "field_type": "Grass",
      "name": "Chase Field",
      "slug": "chase-field",
      "state": "Arizona",
      "time_zone": "US/Arizona",
      "latitude": 33.4463502,
      "longitude": -112.0746942
    },
    {
      "id": "1929adfd-bbeb-4d8a-9377-1da0f2837073",
      "created_at": "2016-03-18T21:04:04-04:00",
      "updated_at": "2016-03-21T18:10:30-04:00",
      "abbreviation": "MP",
      "capacity": 45808,
      "city": "Milwaukee",
      "country": "USA",
      "field_type": "Grass",
      "name": "Miller Park",
      "slug": "miller-park",
      "state": "Wisconsin",
      "time_zone": "US/Central",
      "latitude": 43.0205692,
      "longitude": -87.97012
    },
    {
      "id": "bfbb4850-7975-473c-ba00-0253e816beb7",
      "created_at": "2016-03-18T21:04:08-04:00",
      "updated_at": "2016-03-21T18:12:36-04:00",
      "abbreviation": "TF",
      "capacity": 54357,
      "city": "Atlanta",
      "country": "USA",
      "field_type": "Grass",
      "name": "Turner Field",
      "slug": "turner-field",
      "state": "Georgia",
      "time_zone": "US/Eastern",
      "latitude": 33.7005971,
      "longitude": -84.354916
    },
    {
      "id": "f78e4b66-1278-430d-a6a8-b82b93a45de4",
      "created_at": "2016-03-18T21:04:10-04:00",
      "updated_at": "2016-03-21T18:14:08-04:00",
      "abbreviation": "Targe",
      "capacity": 42035,
      "city": "Minneapolis",
      "country": "USA",
      "field_type": "Grass",
      "name": "Target Field",
      "slug": "target-field",
      "state": "Minnesota",
      "time_zone": "US/Central",
      "latitude": 44.983318,
      "longitude": -93.277016
    }
  ],
  "players": [
    {
      "id": "9e5a519e-48f9-4f23-bdee-a1558df717bd",
      "created_at": "2016-03-18T21:11:18-04:00",
      "updated_at": "2016-03-21T17:53:38-04:00",
      "active": true,
      "birth_date": "1987-05-12",
      "defensive": false,
      "first_name": "Lance",
      "handedness": "right",
      "bats": "bats_right",
      "height": 77,
      "unit_of_height": "inches",
      "last_name": "Lynn",
      "name": "Lance Lynn",
      "offensive": true,
      "position_abbreviation": "SP",
      "position_name": "Starter",
      "salary": 7500000,
      "humanized_salary": "7,500,000",
      "salary_currency": "USD",
      "school": "Mississippi",
      "slug": "mlb-lance-lynn",
      "sport": "baseball",
      "weight": 240,
      "unit_of_weight": "pounds",
      "years_of_experience": 4,
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f",
      "playing_position_id": "738ffd4a-154d-4ccf-9f9a-5ee32466c4d6",
      "team_id": "26345a1d-a856-48be-a53b-262367b5437e"
    },
    {
      "id": "e73c7b63-e77b-4a74-93d0-9386680ca5bc",
      "created_at": "2016-03-18T21:12:47-04:00",
      "updated_at": "2016-03-21T15:35:08-04:00",
      "active": true,
      "birth_date": "1980-11-18",
      "defensive": false,
      "first_name": "C.J.",
      "handedness": "left",
      "bats": "bats_left",
      "height": 73,
      "unit_of_height": "inches",
      "last_name": "Wilson",
      "name": "C.J. Wilson",
      "offensive": true,
      "position_abbreviation": "SP",
      "position_name": "Starter",
      "salary": 20500000,
      "humanized_salary": "20,500,000",
      "salary_currency": "USD",
      "school": "Loyola Marymount",
      "slug": "mlb-c-j-wilson",
      "sport": "baseball",
      "weight": 210,
      "unit_of_weight": "pounds",
      "years_of_experience": 10,
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f",
      "playing_position_id": "738ffd4a-154d-4ccf-9f9a-5ee32466c4d6",
      "team_id": "e21a2701-cd76-4589-ac85-6a71e7c53252"
    },
    {
      "id": "df01aafa-4ae4-4006-8200-2c522ad24e50",
      "created_at": "2016-03-18T21:10:04-04:00",
      "updated_at": "2016-03-21T16:10:28-04:00",
      "active": true,
      "birth_date": "1984-07-27",
      "defensive": false,
      "first_name": "Max",
      "handedness": "right",
      "bats": "bats_right",
      "height": 75,
      "unit_of_height": "inches",
      "last_name": "Scherzer",
      "name": "Max Scherzer",
      "offensive": true,
      "position_abbreviation": "SP",
      "position_name": "Starter",
      "salary": 22142857,
      "humanized_salary": "22,142,857",
      "salary_currency": "USD",
      "school": "Missouri",
      "slug": "mlb-max-scherzer",
      "sport": "baseball",
      "weight": 215,
      "unit_of_weight": "pounds",
      "years_of_experience": 7,
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f",
      "playing_position_id": "738ffd4a-154d-4ccf-9f9a-5ee32466c4d6",
      "team_id": "9ebc3cf3-9559-4b74-b8ad-f15f2c5eae71"
    },
    {
      "id": "114a6024-518f-434b-a406-3b74e760018a",
      "created_at": "2016-03-18T21:12:04-04:00",
      "updated_at": "2016-03-21T17:53:20-04:00",
      "active": true,
      "birth_date": "1989-03-27",
      "defensive": false,
      "first_name": "Matt",
      "handedness": "right",
      "bats": "bats_right",
      "height": 76,
      "unit_of_height": "inches",
      "last_name": "Harvey",
      "name": "Matt Harvey",
      "offensive": true,
      "position_abbreviation": "SP",
      "position_name": "Starter",
      "salary": 4325000,
      "humanized_salary": "4,325,000",
      "salary_currency": "USD",
      "school": "North Carolina",
      "slug": "mlb-matt-harvey",
      "sport": "baseball",
      "weight": 215,
      "unit_of_weight": "pounds",
      "years_of_experience": 2,
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f",
      "playing_position_id": "738ffd4a-154d-4ccf-9f9a-5ee32466c4d6",
      "team_id": "fb65f6d2-6de5-4596-981b-6d9bcb5d9e7d"
    },
    {
      "id": "fc5b5704-35a0-40bc-aec0-c7efa56643c6",
      "created_at": "2016-03-18T21:12:28-04:00",
      "updated_at": "2016-03-21T07:43:11-04:00",
      "active": true,
      "birth_date": "1986-03-06",
      "defensive": false,
      "first_name": "Jake",
      "handedness": "right",
      "bats": "bats_right",
      "height": 76,
      "unit_of_height": "inches",
      "last_name": "Arrieta",
      "name": "Jake Arrieta",
      "offensive": true,
      "position_abbreviation": "SP",
      "position_name": "Starter",
      "salary": 10700000,
      "humanized_salary": "10,700,000",
      "salary_currency": "USD",
      "school": "Texas Christian",
      "slug": "mlb-jake-arrieta",
      "sport": "baseball",
      "weight": 225,
      "unit_of_weight": "pounds",
      "years_of_experience": 6,
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f",
      "playing_position_id": "738ffd4a-154d-4ccf-9f9a-5ee32466c4d6",
      "team_id": "fdbaa7e1-bfd6-4b94-a0b2-323884d54a11"
    }
  ],
  "teams": [
    {
      "id": "26345a1d-a856-48be-a53b-262367b5437e",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T18:23:11-04:00",
      "color": "C41E3A",
      "colors": [
        "C41E3A",
        "000066",
        "FEDB00"
      ],
      "hashtag": "STLCards",
      "hashtags": [
        "STLCards",
        "Cardinals"
      ],
      "location": "St. Louis",
      "name": "St. Louis",
      "nickname": "Cardinals",
      "latitude": 38.6270025,
      "longitude": -90.1994042,
      "slug": "mlb-stl",
      "division_id": "920b37d3-9fd8-45c6-a1fb-047748240732",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    },
    {
      "id": "e21a2701-cd76-4589-ac85-6a71e7c53252",
      "created_at": "2016-03-18T20:56:44-04:00",
      "updated_at": "2016-03-21T18:23:10-04:00",
      "color": "BA0021",
      "colors": [
        "BA0021",
        "003263"
      ],
      "hashtag": "Angels",
      "hashtags": [
        "Angels"
      ],
      "location": "Los Angeles",
      "name": "LA Angels",
      "nickname": "Angels",
      "latitude": 33.8352932,
      "longitude": -117.9145036,
      "slug": "mlb-laa",
      "division_id": "558ecbdd-2a71-4c60-a1bd-28dfcd3ab496",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    },
    {
      "id": "9ebc3cf3-9559-4b74-b8ad-f15f2c5eae71",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T17:54:57-04:00",
      "color": "AB0003",
      "colors": [
        "AB0003",
        "11225B"
      ],
      "hashtag": "Nats",
      "hashtags": [
        "Nats",
        "Nationals"
      ],
      "location": "Washington",
      "name": "Washington",
      "nickname": "Nationals",
      "latitude": 38.8787421,
      "longitude": -77.0074421,
      "slug": "mlb-was",
      "division_id": "cbf6f7d2-4f6f-4fe9-b838-cf35bf9385b2",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    },
    {
      "id": "fb65f6d2-6de5-4596-981b-6d9bcb5d9e7d",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T17:55:04-04:00",
      "color": "FF5910",
      "colors": [
        "FF5910",
        "002D72"
      ],
      "hashtag": "Mets",
      "hashtags": [
        "Mets"
      ],
      "location": "New York",
      "name": "NY Mets",
      "nickname": "Mets",
      "latitude": 40.7573032,
      "longitude": -73.8501765,
      "slug": "mlb-nym",
      "division_id": "cbf6f7d2-4f6f-4fe9-b838-cf35bf9385b2",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    },
    {
      "id": "fdbaa7e1-bfd6-4b94-a0b2-323884d54a11",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T17:55:25-04:00",
      "color": "CC3433",
      "colors": [
        "CC3433",
        "0E3386"
      ],
      "hashtag": "Cubs",
      "hashtags": [
        "Cubs"
      ],
      "location": "Chicago",
      "name": "Chi. Cubs",
      "nickname": "Cubs",
      "latitude": 41.8781136,
      "longitude": -87.6297982,
      "slug": "mlb-chc",
      "division_id": "920b37d3-9fd8-45c6-a1fb-047748240732",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    }
  ],
  "feats": [
    {
      "id": "75155ae6-6542-423d-9ac4-03958dad4305",
      "created_at": "2016-03-19T11:04:08-04:00",
      "updated_at": "2016-03-19T11:04:08-04:00",
      "accomplished_vs": "had 118 pitches thrown vs. the Indians",
      "accomplishment": "had 118 pitches thrown",
      "actual": "118.0",
      "category": "single",
      "description": "vs. the Indians on Tuesday May 12, 2015 at  6:10pm",
      "game_id": "26424e14-660b-41d1-ade9-c526e4c6e12c",
      "game_slug": "mlb-2015-stl-cle-2015-05-12-1810",
      "humanized_stat_type": "pitches thrown",
      "level": "rare",
      "level_numeric": 3,
      "name": "pitches_thrown",
      "on": "Tuesday May 12, 2015 at  6:10pm",
      "opponent_abbrev": "CLE",
      "opponent_location": "Cleveland",
      "opponent_name": "Cleveland",
      "opponent_nickname": "Indians",
      "opponent_slug": "mlb-cle",
      "player_id": "9e5a519e-48f9-4f23-bdee-a1558df717bd",
      "player_slug": "mlb-lance-lynn",
      "sentence": "Lance Lynn had 118 pitches thrown",
      "sentence_on": "Lance Lynn had 118 pitches thrown on Tuesday May 12, 2015 at  6:10pm",
      "sentence_vs": "Lance Lynn had 118 pitches thrown vs. the Indians",
      "sentence_vs_on": "Lance Lynn had 118 pitches thrown vs. the Indians on Tuesday May 12, 2015 at  6:10pm",
      "subject_id": "9e5a519e-48f9-4f23-bdee-a1558df717bd",
      "subject_name": "Lance Lynn",
      "subject_team_name": "St. Louis",
      "subject_team_abbrev": "STL",
      "subject_team_location": "St. Louis",
      "subject_team_nickname": "Cardinals",
      "subject_team_slug": "mlb-stl",
      "subject_type": "Player",
      "subject_slug": "mlb-lance-lynn",
      "team_id": "26345a1d-a856-48be-a53b-262367b5437e",
      "team_slug": "mlb-stl",
      "title": "Lance Lynn had 118 pitches thrown",
      "verb": "had 118 pitches thrown",
      "vs": "vs. the Indians",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f",
      "season_id": "e46014e6-f9e9-41c3-9deb-cd11ee879d75",
      "subject": {
        "type": "player",
        "id": "9e5a519e-48f9-4f23-bdee-a1558df717bd"
      }
    },
    {
      "id": "2893c561-315e-400d-8697-bab295a8c9a9",
      "created_at": "2016-03-19T07:18:36-04:00",
      "updated_at": "2016-03-19T07:18:36-04:00",
      "accomplished_vs": "had 115 pitches thrown vs. the Diamondbacks",
      "accomplishment": "had 115 pitches thrown",
      "actual": "115.0",
      "category": "single",
      "description": "vs. the Diamondbacks on Thursday June 18, 2015 at 12:40pm",
      "game_id": "384cfac2-48f7-470c-8a4a-b968bb3b3fd7",
      "game_slug": "mlb-2015-laa-ari-2015-06-18-1240",
      "humanized_stat_type": "pitches thrown",
      "level": "rare",
      "level_numeric": 3,
      "name": "pitches_thrown",
      "on": "Thursday June 18, 2015 at 12:40pm",
      "opponent_abbrev": "ARI",
      "opponent_location": "Arizona",
      "opponent_name": "Arizona",
      "opponent_nickname": "Diamondbacks",
      "opponent_slug": "mlb-ari",
      "player_id": "e73c7b63-e77b-4a74-93d0-9386680ca5bc",
      "player_slug": "mlb-c-j-wilson",
      "sentence": "C.J. Wilson had 115 pitches thrown",
      "sentence_on": "C.J. Wilson had 115 pitches thrown on Thursday June 18, 2015 at 12:40pm",
      "sentence_vs": "C.J. Wilson had 115 pitches thrown vs. the Diamondbacks",
      "sentence_vs_on": "C.J. Wilson had 115 pitches thrown vs. the Diamondbacks on Thursday June 18, 2015 at 12:40pm",
      "subject_id": "e73c7b63-e77b-4a74-93d0-9386680ca5bc",
      "subject_name": "C.J. Wilson",
      "subject_team_name": "LA Angels",
      "subject_team_abbrev": "LAA",
      "subject_team_location": "Los Angeles",
      "subject_team_nickname": "Angels",
      "subject_team_slug": "mlb-laa",
      "subject_type": "Player",
      "subject_slug": "mlb-c-j-wilson",
      "team_id": "e21a2701-cd76-4589-ac85-6a71e7c53252",
      "team_slug": "mlb-laa",
      "title": "C.J. Wilson had 115 pitches thrown",
      "verb": "had 115 pitches thrown",
      "vs": "vs. the Diamondbacks",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f",
      "season_id": "e46014e6-f9e9-41c3-9deb-cd11ee879d75",
      "subject": {
        "type": "player",
        "id": "e73c7b63-e77b-4a74-93d0-9386680ca5bc"
      }
    },
    {
      "id": "1e40b734-0199-45a9-aa37-cb1947907eec",
      "created_at": "2016-03-19T07:14:07-04:00",
      "updated_at": "2016-03-19T07:14:08-04:00",
      "accomplished_vs": "had 119 pitches thrown vs. the Brewers",
      "accomplishment": "had 119 pitches thrown",
      "actual": "119.0",
      "category": "single",
      "description": "vs. the Brewers on Sunday June 14, 2015 at  1:10pm",
      "game_id": "0b72acb4-811d-4dd5-bc12-43fd31424bc6",
      "game_slug": "mlb-2015-was-mil-2015-06-14-1310",
      "humanized_stat_type": "pitches thrown",
      "level": "rare",
      "level_numeric": 3,
      "name": "pitches_thrown",
      "on": "Sunday June 14, 2015 at  1:10pm",
      "opponent_abbrev": "MIL",
      "opponent_location": "Milwaukee",
      "opponent_name": "Milwaukee",
      "opponent_nickname": "Brewers",
      "opponent_slug": "mlb-mil",
      "player_id": "df01aafa-4ae4-4006-8200-2c522ad24e50",
      "player_slug": "mlb-max-scherzer",
      "sentence": "Max Scherzer had 119 pitches thrown",
      "sentence_on": "Max Scherzer had 119 pitches thrown on Sunday June 14, 2015 at  1:10pm",
      "sentence_vs": "Max Scherzer had 119 pitches thrown vs. the Brewers",
      "sentence_vs_on": "Max Scherzer had 119 pitches thrown vs. the Brewers on Sunday June 14, 2015 at  1:10pm",
      "subject_id": "df01aafa-4ae4-4006-8200-2c522ad24e50",
      "subject_name": "Max Scherzer",
      "subject_team_name": "Washington",
      "subject_team_abbrev": "WAS",
      "subject_team_location": "Washington",
      "subject_team_nickname": "Nationals",
      "subject_team_slug": "mlb-was",
      "subject_type": "Player",
      "subject_slug": "mlb-max-scherzer",
      "team_id": "9ebc3cf3-9559-4b74-b8ad-f15f2c5eae71",
      "team_slug": "mlb-was",
      "title": "Max Scherzer had 119 pitches thrown",
      "verb": "had 119 pitches thrown",
      "vs": "vs. the Brewers",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f",
      "season_id": "e46014e6-f9e9-41c3-9deb-cd11ee879d75",
      "subject": {
        "type": "player",
        "id": "df01aafa-4ae4-4006-8200-2c522ad24e50"
      }
    },
    {
      "id": "1c6ca881-bf71-4767-a635-3a81d7f2b37b",
      "created_at": "2016-03-19T07:05:53-04:00",
      "updated_at": "2016-03-19T07:05:53-04:00",
      "accomplished_vs": "had 115 pitches thrown vs. the Braves",
      "accomplishment": "had 115 pitches thrown",
      "actual": "115.0",
      "category": "single",
      "description": "vs. the Braves on Sunday June 21, 2015 at  5:05pm",
      "game_id": "c4af4426-65d9-4c01-bc89-4c25c5ad7765",
      "game_slug": "mlb-2015-nym-atl-2015-06-21-1705",
      "humanized_stat_type": "pitches thrown",
      "level": "rare",
      "level_numeric": 3,
      "name": "pitches_thrown",
      "on": "Sunday June 21, 2015 at  5:05pm",
      "opponent_abbrev": "ATL",
      "opponent_location": "Atlanta",
      "opponent_name": "Atlanta",
      "opponent_nickname": "Braves",
      "opponent_slug": "mlb-atl",
      "player_id": "114a6024-518f-434b-a406-3b74e760018a",
      "player_slug": "mlb-matt-harvey",
      "sentence": "Matt Harvey had 115 pitches thrown",
      "sentence_on": "Matt Harvey had 115 pitches thrown on Sunday June 21, 2015 at  5:05pm",
      "sentence_vs": "Matt Harvey had 115 pitches thrown vs. the Braves",
      "sentence_vs_on": "Matt Harvey had 115 pitches thrown vs. the Braves on Sunday June 21, 2015 at  5:05pm",
      "subject_id": "114a6024-518f-434b-a406-3b74e760018a",
      "subject_name": "Matt Harvey",
      "subject_team_name": "NY Mets",
      "subject_team_abbrev": "NYM",
      "subject_team_location": "New York",
      "subject_team_nickname": "Mets",
      "subject_team_slug": "mlb-nym",
      "subject_type": "Player",
      "subject_slug": "mlb-matt-harvey",
      "team_id": "fb65f6d2-6de5-4596-981b-6d9bcb5d9e7d",
      "team_slug": "mlb-nym",
      "title": "Matt Harvey had 115 pitches thrown",
      "verb": "had 115 pitches thrown",
      "vs": "vs. the Braves",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f",
      "season_id": "e46014e6-f9e9-41c3-9deb-cd11ee879d75",
      "subject": {
        "type": "player",
        "id": "114a6024-518f-434b-a406-3b74e760018a"
      }
    },
    {
      "id": "16a877ed-3fe6-450c-8828-b4fb2514be98",
      "created_at": "2016-03-19T07:05:22-04:00",
      "updated_at": "2016-03-19T07:05:23-04:00",
      "accomplished_vs": "had 122 pitches thrown vs. the Twins",
      "accomplishment": "had 122 pitches thrown",
      "actual": "122.0",
      "category": "single",
      "description": "vs. the Twins on Sunday June 21, 2015 at  1:10pm",
      "game_id": "a4cc0fb6-5d3e-47e3-ada8-b283b3b76c13",
      "game_slug": "mlb-2015-chc-min-2015-06-21-1310",
      "humanized_stat_type": "pitches thrown",
      "level": "rare",
      "level_numeric": 3,
      "name": "pitches_thrown",
      "on": "Sunday June 21, 2015 at  1:10pm",
      "opponent_abbrev": "MIN",
      "opponent_location": "Minnesota",
      "opponent_name": "Minnesota",
      "opponent_nickname": "Twins",
      "opponent_slug": "mlb-min",
      "player_id": "fc5b5704-35a0-40bc-aec0-c7efa56643c6",
      "player_slug": "mlb-jake-arrieta",
      "sentence": "Jake Arrieta had 122 pitches thrown",
      "sentence_on": "Jake Arrieta had 122 pitches thrown on Sunday June 21, 2015 at  1:10pm",
      "sentence_vs": "Jake Arrieta had 122 pitches thrown vs. the Twins",
      "sentence_vs_on": "Jake Arrieta had 122 pitches thrown vs. the Twins on Sunday June 21, 2015 at  1:10pm",
      "subject_id": "fc5b5704-35a0-40bc-aec0-c7efa56643c6",
      "subject_name": "Jake Arrieta",
      "subject_team_name": "Chi. Cubs",
      "subject_team_abbrev": "CHC",
      "subject_team_location": "Chicago",
      "subject_team_nickname": "Cubs",
      "subject_team_slug": "mlb-chc",
      "subject_type": "Player",
      "subject_slug": "mlb-jake-arrieta",
      "team_id": "fdbaa7e1-bfd6-4b94-a0b2-323884d54a11",
      "team_slug": "mlb-chc",
      "title": "Jake Arrieta had 122 pitches thrown",
      "verb": "had 122 pitches thrown",
      "vs": "vs. the Twins",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f",
      "season_id": "e46014e6-f9e9-41c3-9deb-cd11ee879d75",
      "subject": {
        "type": "player",
        "id": "fc5b5704-35a0-40bc-aec0-c7efa56643c6"
      }
    }
  ]
}

This endpoint retrieves MLB Feats.

HTTP Request

GET https://api.stattleship.com/baseball/mlb/feats

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
game_id Game slug such as mlb-2015-was-mil-2015-06-14-1310 for Bulls vs Mavericks
player_id Player slug such as mlb-david-ortiz for David Ortiz
team_id Team slug such as mlb-kc for the Kansas City Royals
interval_type current interval See interval_type for sport.
season_id Current season Season slug such as mlb-2016
on Friendly date such as today or tomorrow; or a timestamp; or a date such as 2016-05-22
since Friendly date such as 1 week ago or 4 days ago or last Sunday; or a timestamp such as 1448820000
level Feats have levels 0 to 5 where 0 is typical and 3 is rare and 5 is new record
name The stat name for the feat

Basketball Feats

curl -X "GET" "https://api.stattleship.com/basketball/nba/feats" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

{
  "games": [
    {
      "id": "13791dd8-b3f3-4842-a8d4-109578ae737b",
      "created_at": "2015-12-20T19:45:30-05:00",
      "updated_at": "2015-12-20T22:45:36-05:00",
      "at_neutral_site": false,
      "attendance": 13857,
      "away_team_outcome": "win",
      "away_team_score": 130,
      "daytime": false,
      "duration": 8340,
      "ended_at": "2015-12-20T20:30:51-07:00",
      "home_team_outcome": "loss",
      "home_team_score": 125,
      "interval": "Regular Season",
      "interval_number": "",
      "interval_type": "regularseason",
      "label": "Pelicans vs Nuggets",
      "name": "Pelicans vs Nuggets December 20, 2015 at  6:00pm",
      "on": "on December 20, 2015",
      "score": "130-125",
      "score_differential": 5,
      "scoreline": "Pelicans 130 - Nuggets 125",
      "slug": "nba-2015-2016-no-den-2015-12-20-1800",
      "started_at": "2015-12-20T18:00:00-07:00",
      "temperature": null,
      "temperature_unit": null,
      "timestamp": 1450659600,
      "title": "Pelicans vs Nuggets",
      "weather_conditions": null,
      "wind_direction": null,
      "wind_speed": null,
      "wind_speed_unit": null,
      "home_team_id": "cb0629eb-a7ed-4775-8d2f-3f1929e82311",
      "away_team_id": "c29ace8e-5203-4891-b4e1-92f0a62bbced",
      "winning_team_id": "c29ace8e-5203-4891-b4e1-92f0a62bbced",
      "season_id": "e56321f3-1c81-4f91-9bdf-8dac07129648",
      "venue_id": "7e1484f8-70ca-46a2-ad43-85e0f09a1c64"
    }
  ],
  "home_teams": [
    {
      "id": "cb0629eb-a7ed-4775-8d2f-3f1929e82311",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:48-05:00",
      "location": "Denver",
      "name": "Denver",
      "nickname": "Nuggets",
      "slug": "nba-den",
      "division_id": "99f54b82-4f3e-44f1-b311-f7806d4ba9a9",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    }
  ],
  "leagues": [
    {
      "id": "3c805f57-ef31-407d-b633-54bac8745b9e",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "abbreviation": "NBA",
      "color": null,
      "minutes_per_period": null,
      "name": "National Basketball Association",
      "periods": null,
      "slug": "nba",
      "sport": "basketball"
    }
  ],
  "away_teams": [
    {
      "id": "c29ace8e-5203-4891-b4e1-92f0a62bbced",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:48-05:00",
      "location": "New Orleans",
      "name": "New Orleans",
      "nickname": "Pelicans",
      "slug": "nba-no",
      "division_id": "855ee1c8-446b-4120-96f9-af6b041e9c26",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    }
  ],
  "winning_teams": [
    {
      "id": "c29ace8e-5203-4891-b4e1-92f0a62bbced",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:48-05:00",
      "location": "New Orleans",
      "name": "New Orleans",
      "nickname": "Pelicans",
      "slug": "nba-no",
      "division_id": "855ee1c8-446b-4120-96f9-af6b041e9c26",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    }
  ],
  "seasons": [
    {
      "id": "e56321f3-1c81-4f91-9bdf-8dac07129648",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "name": "2015-2016",
      "starts_on": "2015-10-01",
      "ends_on": "2016-06-30",
      "slug": "nba-2015-2016",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    }
  ],
  "venues": [
    {
      "id": "7e1484f8-70ca-46a2-ad43-85e0f09a1c64",
      "created_at": "2015-12-18T00:47:06-05:00",
      "updated_at": "2015-12-18T00:47:06-05:00",
      "abbreviation": "PC",
      "city": "Denver",
      "country": "USA",
      "field_type": null,
      "name": "Pepsi Center",
      "slug": "pc",
      "state": "Colorado",
      "time_zone": "US/Mountain"
    }
  ],
  "players": [
    {
      "id": "6a938c55-6214-4c2d-8f7b-845825222543",
      "created_at": "2015-12-18T00:46:05-05:00",
      "updated_at": "2015-12-21T05:11:49-05:00",
      "active": true,
      "defensive": false,
      "first_name": "Will",
      "handedness": "unknown",
      "height": 78,
      "unit_of_height": "inches",
      "last_name": "Barton",
      "name": "Will Barton",
      "offensive": true,
      "position_abbreviation": "SG",
      "position_name": "Shooting Guard",
      "salary": 3533333,
      "humanized_salary": "3,533,333",
      "salary_currency": "USD",
      "school": null,
      "slug": "nba-will-barton",
      "sport": "basketball",
      "weight": 175,
      "unit_of_weight": "pounds",
      "years_of_experience": 2,
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e",
      "playing_position_id": "592c8adc-80f7-466d-9850-68de059b3f86",
      "team_id": "cb0629eb-a7ed-4775-8d2f-3f1929e82311"
    }
  ],
  "feats": [
    {
      "id": "ee09acad-6add-429e-a194-1b1dec8b38e2",
      "created_at": "2015-12-20T20:45:46-05:00",
      "updated_at": "2015-12-20T22:15:41-05:00",
      "accomplished_vs": "made 7 three pointers vs. the Pelicans",
      "accomplishment": "made 7 three pointers",
      "actual": "7.0",
      "category": "single",
      "game_id": "13791dd8-b3f3-4842-a8d4-109578ae737b",
      "game_slug": "nba-2015-2016-no-den-2015-12-20-1800",
      "humanized_stat_type": "three_pointers",
      "level": "rare",
      "name": "three_pointers_made",
      "on": "Sunday December 20, 2015 at  6:00pm",
      "opponent_abbrev": "NO",
      "opponent_location": "New Orleans",
      "opponent_name": "New Orleans",
      "opponent_nickname": "Pelicans",
      "opponent_slug": "nba-no",
      "player_id": "6a938c55-6214-4c2d-8f7b-845825222543",
      "player_slug": "nba-will-barton",
      "sentence": "Will Barton made 7 three pointers",
      "sentence_on": "Will Barton made 7 three pointers on Sunday December 20, 2015 at  6:00pm",
      "sentence_vs": "Will Barton made 7 three pointers vs. the Pelicans",
      "sentence_vs_on": "Will Barton made 7 three pointers vs. the Pelicans on Sunday December 20, 2015 at  6:00pm",
      "subject_id": "6a938c55-6214-4c2d-8f7b-845825222543",
      "subject_name": "Will Barton",
      "subject_team_name": "Denver",
      "subject_team_abbrev": "DEN",
      "subject_team_location": "Denver",
      "subject_team_nickname": "Nuggets",
      "subject_team_slug": "nba-den",
      "subject_type": "Player",
      "subject_slug": "nba-will-barton",
      "team_id": null,
      "team_slug": null,
      "verb": "made 7 three pointers",
      "vs": "vs. the Pelicans",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e",
      "season_id": "e56321f3-1c81-4f91-9bdf-8dac07129648",
      "subject": {
        "type": "player",
        "id": "6a938c55-6214-4c2d-8f7b-845825222543"
      }
    }
  ]
}

This endpoint retrieves NBA Feats.

HTTP Request

GET https://api.stattleship.com/basketball/nba/feats

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
game_id Game slug such as nba-2015-2016-chi-dal-2015-12-26-2030 for Bulls vs Mavericks
player_id Player slug such as nba-lebron-james for Lebron James
team_id Team slug such as nba-gs for the Warriors
interval_type current interval See interval_type for sport.
on Friendly date such as today or tomorrow; or a timestamp; or a date such as 2016-05-22
since Friendly date such as 1 week ago or 4 days ago or last Sunday; or a timestamp such as 1448820000
season_id Current season Season slug such as nba-2015-2016
level Feats have levels 0 to 5 where 0 is typical and 3 is rare and 5 is new record
name The stat name for the feat

Football Feats

curl -X "GET" "https://api.stattleship.com/football/nfl/feats" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

{
  "games": [
    {
      "id": "de313f22-715c-4a34-ab00-38ede1b50e43",
      "created_at": "2015-12-18T00:04:10-05:00",
      "updated_at": "2015-12-18T00:04:53-05:00",
      "at_neutral_site": false,
      "attendance": 70970,
      "away_team_outcome": "win",
      "away_team_score": 28,
      "daytime": false,
      "duration": 12420,
      "ended_at": "2015-09-27T16:30:55-04:00",
      "home_team_outcome": "loss",
      "home_team_score": 24,
      "interval": "Week 3",
      "interval_number": "3",
      "interval_type": "week",
      "label": "Bengals vs Ravens",
      "name": "Bengals vs Ravens September 27, 2015 at  1:00pm",
      "on": "on September 27, 2015",
      "score": "28-24",
      "score_differential": 4,
      "scoreline": "Bengals 28 - Ravens 24",
      "slug": "nfl-2015-2016-cin-bal-2015-09-27-1700",
      "started_at": "2015-09-27T13:00:00-04:00",
      "temperature": 70,
      "temperature_unit": "f",
      "timestamp": 1443373200,
      "title": "Bengals vs Ravens",
      "weather_conditions": "cloudy",
      "wind_direction": "northeast",
      "wind_speed": 12,
      "wind_speed_unit": "mph",
      "home_team_id": "15cdbc22-7b1e-4012-a731-987ca52e3c05",
      "away_team_id": "6bb48096-ca08-40e3-8dd2-2d93d96e346e",
      "winning_team_id": "6bb48096-ca08-40e3-8dd2-2d93d96e346e",
      "season_id": "07f6794a-5312-4ce9-b5b0-2010c5975ff2",
      "venue_id": "a3f57ef6-0eea-44e7-aef6-f046fb96d505"
    }
  ],
  "home_teams": [
    {
      "id": "15cdbc22-7b1e-4012-a731-987ca52e3c05",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-20T17:20:55-05:00",
      "location": "Baltimore",
      "name": "Baltimore",
      "nickname": "Ravens",
      "slug": "nfl-bal",
      "division_id": "9cf5e881-62fa-4401-bced-e55fd0fd8fa4",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    }
  ],
  "leagues": [
    {
      "id": "ebb52980-4b25-4384-bb32-26d354568f0c",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "abbreviation": "NFL",
      "color": null,
      "minutes_per_period": null,
      "name": "National Football League",
      "periods": null,
      "slug": "nfl",
      "sport": "football"
    }
  ],
  "away_teams": [
    {
      "id": "6bb48096-ca08-40e3-8dd2-2d93d96e346e",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-20T20:52:37-05:00",
      "location": "Cincinnati",
      "name": "Cincinnati",
      "nickname": "Bengals",
      "slug": "nfl-cin",
      "division_id": "9cf5e881-62fa-4401-bced-e55fd0fd8fa4",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    }
  ],
  "winning_teams": [
    {
      "id": "6bb48096-ca08-40e3-8dd2-2d93d96e346e",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-20T20:52:37-05:00",
      "location": "Cincinnati",
      "name": "Cincinnati",
      "nickname": "Bengals",
      "slug": "nfl-cin",
      "division_id": "9cf5e881-62fa-4401-bced-e55fd0fd8fa4",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    }
  ],
  "seasons": [
    {
      "id": "07f6794a-5312-4ce9-b5b0-2010c5975ff2",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "name": "2015-2016",
      "starts_on": "2015-08-01",
      "ends_on": "2016-02-14",
      "slug": "nfl-2015-2016",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    }
  ],
  "venues": [
    {
      "id": "a3f57ef6-0eea-44e7-aef6-f046fb96d505",
      "created_at": "2015-12-17T23:53:26-05:00",
      "updated_at": "2015-12-17T23:53:26-05:00",
      "abbreviation": "M&T",
      "city": "Baltimore",
      "country": "USA",
      "field_type": "FieldTurf",
      "name": "M&T Bank Stadium",
      "slug": "m-t",
      "state": "Maryland",
      "time_zone": "US/Eastern"
    }
  ],
  "players": [
    {
      "id": "0c67bc13-7d76-46cf-8366-6868ddd12092",
      "created_at": "2015-12-17T23:52:12-05:00",
      "updated_at": "2015-12-20T21:57:50-05:00",
      "active": false,
      "defensive": false,
      "first_name": "A.J.",
      "handedness": "unknown",
      "height": null,
      "unit_of_height": "inches",
      "last_name": "Green",
      "name": "A.J. Green",
      "offensive": true,
      "position_abbreviation": "WR",
      "position_name": "Wide Receiver",
      "salary": null,
      "humanized_salary": "",
      "salary_currency": "USD",
      "school": null,
      "slug": "nfl-a-j-green",
      "sport": "football",
      "weight": null,
      "unit_of_weight": "pounds",
      "years_of_experience": null,
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c",
      "playing_position_id": "47be0cc5-0355-43d7-b16f-6efd436bb81d",
      "team_id": "6bb48096-ca08-40e3-8dd2-2d93d96e346e"
    }
  ],
  "feats": [
    {
      "id": "441c56d3-eeae-4735-9403-c03b87d6bdd5",
      "created_at": "2015-12-18T00:04:27-05:00",
      "updated_at": "2015-12-18T00:04:46-05:00",
      "accomplished_vs": "was thrown to 13 times vs. the Ravens",
      "accomplishment": "was thrown to 13 times",
      "actual": "13.0",
      "category": "single",
      "game_id": "de313f22-715c-4a34-ab00-38ede1b50e43",
      "game_slug": "nfl-2015-2016-cin-bal-2015-09-27-1700",
      "humanized_stat_type": "receptions looks",
      "level": "rare",
      "name": "receptions_looks",
      "on": "Sunday September 27, 2015 at  1:00pm",
      "opponent_abbrev": "BAL",
      "opponent_location": "Baltimore",
      "opponent_name": "Baltimore",
      "opponent_nickname": "Ravens",
      "opponent_slug": "nfl-bal",
      "player_id": "0c67bc13-7d76-46cf-8366-6868ddd12092",
      "player_slug": "nfl-a-j-green",
      "sentence": "A.J. Green was thrown to 13 times",
      "sentence_on": "A.J. Green was thrown to 13 times on Sunday September 27, 2015 at  1:00pm",
      "sentence_vs": "A.J. Green was thrown to 13 times vs. the Ravens",
      "sentence_vs_on": "A.J. Green was thrown to 13 times vs. the Ravens on Sunday September 27, 2015 at  1:00pm",
      "subject_id": "0c67bc13-7d76-46cf-8366-6868ddd12092",
      "subject_name": "A.J. Green",
      "subject_team_name": "Cincinnati",
      "subject_team_abbrev": "CIN",
      "subject_team_location": "Cincinnati",
      "subject_team_nickname": "Bengals",
      "subject_team_slug": "nfl-cin",
      "subject_type": "Player",
      "subject_slug": "nfl-a-j-green",
      "team_id": null,
      "team_slug": null,
      "verb": "was thrown to 13 times",
      "vs": "vs. the Ravens",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c",
      "season_id": "07f6794a-5312-4ce9-b5b0-2010c5975ff2",
      "subject": {
        "type": "player",
        "id": "0c67bc13-7d76-46cf-8366-6868ddd12092"
      }
    }
  ]
}

This endpoint retrieves NFL Feats.

HTTP Request

GET https://api.stattleship.com/football/nfl/feats

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
game_id Game slug such as nfl-2015-2016-nyg-min-2015-12-27-2030 for Giants vs Vikings
player_id Player slug such as nfl-tom-brady
team_id Team slug such as nfl-ne for the Patriots
interval_type Either Seeinterval_type` for sport.
season_id Current season Season slug such as nfl-2015-2016
on Friendly date such as today or tomorrow; or a timestamp; or a date such as 2016-05-22
since Friendly date such as 1 week ago or 4 days ago or last Sunday; or a timestamp such as 1448820000
week For NFL its week number such as 6
level Feats have levels 0 to 5 where 0 is typical and 3 is rare and 5 is new record
name The stat name for the feat

Hockey Feats

curl -X "GET" "https://api.stattleship.com/hockey/nhl/feats" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

{
  "games": [
    {
      "id": "a497ffac-1027-4830-9ce8-de89af6db6f2",
      "created_at": "2015-12-18T01:21:48-05:00",
      "updated_at": "2015-12-18T20:52:34-05:00",
      "at_neutral_site": false,
      "attendance": 17270,
      "away_team_outcome": "win",
      "away_team_score": 4,
      "daytime": false,
      "duration": 8940,
      "ended_at": "2015-10-24T21:47:06-04:00",
      "home_team_outcome": "loss",
      "home_team_score": 1,
      "interval": "Regular Season",
      "interval_number": "",
      "interval_type": "regularseason",
      "label": "Coyotes vs Senators",
      "name": "Coyotes vs Senators October 24, 2015 at  7:00pm",
      "on": "on October 24, 2015",
      "score": "4-1",
      "score_differential": 3,
      "scoreline": "Coyotes 4 - Senators 1",
      "slug": "nhl-2015-2016-ari-ott-2015-10-24-2300",
      "started_at": "2015-10-24T19:00:00-04:00",
      "temperature": null,
      "temperature_unit": null,
      "timestamp": 1445727600,
      "title": "Coyotes vs Senators",
      "weather_conditions": null,
      "wind_direction": null,
      "wind_speed": null,
      "wind_speed_unit": null,
      "home_team_id": "42add1c3-7eed-4356-bd0b-cc3aa88693e8",
      "away_team_id": "06bab022-21a6-4999-b7a1-fe569971c68a",
      "winning_team_id": "06bab022-21a6-4999-b7a1-fe569971c68a",
      "season_id": "301759de-976d-4daa-a194-cacea1dc02ca",
      "venue_id": "9b3edc28-887a-4e69-bb77-352a453c63bd"
    }
  ],
  "home_teams": [
    {
      "id": "42add1c3-7eed-4356-bd0b-cc3aa88693e8",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:47-05:00",
      "location": "Ottawa",
      "name": "Ottawa",
      "nickname": "Senators",
      "slug": "nhl-ott",
      "division_id": "15ca4e46-2b49-4f37-84ea-befb62de28c5",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    }
  ],
  "leagues": [
    {
      "id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "abbreviation": "NHL",
      "color": null,
      "minutes_per_period": null,
      "name": "National Hockey League",
      "periods": null,
      "slug": "nhl",
      "sport": "hockey"
    }
  ],
  "away_teams": [
    {
      "id": "06bab022-21a6-4999-b7a1-fe569971c68a",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:47-05:00",
      "location": "Arizona",
      "name": "Arizona",
      "nickname": "Coyotes",
      "slug": "nhl-ari",
      "division_id": "11740eea-c575-44e9-b4f5-a80805703ad0",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    }
  ],
  "winning_teams": [
    {
      "id": "06bab022-21a6-4999-b7a1-fe569971c68a",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:47-05:00",
      "location": "Arizona",
      "name": "Arizona",
      "nickname": "Coyotes",
      "slug": "nhl-ari",
      "division_id": "11740eea-c575-44e9-b4f5-a80805703ad0",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    }
  ],
  "seasons": [
    {
      "id": "301759de-976d-4daa-a194-cacea1dc02ca",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "name": "2015-2016",
      "starts_on": "2015-09-01",
      "ends_on": "2016-06-30",
      "slug": "nhl-2015-2016",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    }
  ],
  "venues": [
    {
      "id": "9b3edc28-887a-4e69-bb77-352a453c63bd",
      "created_at": "2015-12-18T01:14:47-05:00",
      "updated_at": "2015-12-18T01:14:47-05:00",
      "abbreviation": "CTC",
      "city": "Ottawa",
      "country": "CAN",
      "field_type": null,
      "name": "Canadian Tire Centre",
      "slug": "ctc",
      "state": "Ontario",
      "time_zone": "Canada/Eastern"
    }
  ],
  "players": [
    {
      "id": "e3bf2ac6-a7f2-414b-9153-325ecf71c246",
      "created_at": "2015-12-18T01:13:23-05:00",
      "updated_at": "2015-12-21T13:12:28-05:00",
      "active": true,
      "defensive": false,
      "first_name": "Mikkel",
      "handedness": "left",
      "height": 72,
      "unit_of_height": "inches",
      "last_name": "Boedker",
      "name": "Mikkel Boedker",
      "offensive": true,
      "position_abbreviation": "LW",
      "position_name": "Left Wing",
      "salary": 3750000,
      "humanized_salary": "3,750,000",
      "salary_currency": "USD",
      "school": null,
      "slug": "nhl-mikkel-boedker",
      "sport": "hockey",
      "weight": 211,
      "unit_of_weight": "pounds",
      "years_of_experience": 8,
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9",
      "playing_position_id": "97279158-d3fb-4c6d-97f5-d8ce36fee674",
      "team_id": "06bab022-21a6-4999-b7a1-fe569971c68a"
    }
  ],
  "feats": [
    {
      "id": "4e321a82-699a-49ad-98ae-5accafc51e43",
      "created_at": "2015-12-18T01:22:04-05:00",
      "updated_at": "2015-12-18T01:22:04-05:00",
      "accomplished_vs": "had 3 hat trick goals vs. the Senators",
      "accomplishment": "had 3 hat trick goals",
      "actual": "3.0",
      "category": "single",
      "game_id": "a497ffac-1027-4830-9ce8-de89af6db6f2",
      "game_slug": "nhl-2015-2016-ari-ott-2015-10-24-2300",
      "humanized_stat_type": "hat trick goals",
      "level": "rare",
      "name": "hat_trick_goals",
      "on": "Saturday October 24, 2015 at  7:00pm",
      "opponent_abbrev": "OTT",
      "opponent_location": "Ottawa",
      "opponent_name": "Ottawa",
      "opponent_nickname": "Senators",
      "opponent_slug": "nhl-ott",
      "player_id": "e3bf2ac6-a7f2-414b-9153-325ecf71c246",
      "player_slug": "nhl-mikkel-boedker",
      "sentence": "Mikkel Boedker had 3 hat trick goals",
      "sentence_on": "Mikkel Boedker had 3 hat trick goals on Saturday October 24, 2015 at  7:00pm",
      "sentence_vs": "Mikkel Boedker had 3 hat trick goals vs. the Senators",
      "sentence_vs_on": "Mikkel Boedker had 3 hat trick goals vs. the Senators on Saturday October 24, 2015 at  7:00pm",
      "subject_id": "e3bf2ac6-a7f2-414b-9153-325ecf71c246",
      "subject_name": "Mikkel Boedker",
      "subject_team_name": "Arizona",
      "subject_team_abbrev": "ARI",
      "subject_team_location": "Arizona",
      "subject_team_nickname": "Coyotes",
      "subject_team_slug": "nhl-ari",
      "subject_type": "Player",
      "subject_slug": "nhl-mikkel-boedker",
      "team_id": null,
      "team_slug": null,
      "verb": "had 3 hat trick goals",
      "vs": "vs. the Senators",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9",
      "season_id": "301759de-976d-4daa-a194-cacea1dc02ca",
      "subject": {
        "type": "player",
        "id": "e3bf2ac6-a7f2-414b-9153-325ecf71c246"
      }
    }
  ]
}

This endpoint retrieves NHL Feats.

HTTP Request

GET https://api.stattleship.com/hockey/nhl/feats

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
game_id Game slug such as nhl-2015-2016-det-min-2015-12-28-2000 for Red Wings vs Wild
player_id Player slug such as nhl-tyler-seguin
team_id Team slug such as nhl-bos for the Bruins
interval_type regularseason See interval_type for sport.
season_id Current season Season slug such as nhl-2015-2016
on Friendly date such as today or tomorrow; or a timestamp; or a date such as 2016-05-22
since Friendly date such as 1 week ago or 4 days ago or last Sunday; or a timestamp such as 1448820000
level Feats have levels 0 to 5 where 0 is typical and 3 is rare and 5 is new record
name The stat name for the feat

Game Logs

Baseball Game Logs

curl -X "GET" "https://api.stattleship.com/baseball/mlb/game_logs" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

{
  "games": [
    {
      "id": "ec67ced9-a71e-4144-8a03-1e3fb1d2249c",
      "created_at": "2016-03-18T21:06:27-04:00",
      "updated_at": "2016-03-19T06:36:33-04:00",
      "at_neutral_site": false,
      "attendance": 31441,
      "away_team_outcome": "loss",
      "away_team_score": 0,
      "daytime": false,
      "duration": 8340,
      "ended_at": "2015-10-04T18:27:35-04:00",
      "home_team_outcome": "win",
      "home_team_score": 2,
      "interval": "Regular Season",
      "interval_number": "",
      "interval_type": "regularseason",
      "label": "Cardinals vs Braves",
      "name": "Cardinals vs Braves October  4, 2015 at  4:00pm",
      "on": "on October  4, 2015",
      "score": "0-2",
      "score_differential": 2,
      "scoreline": "Cardinals 0 - Braves 2",
      "slug": "mlb-2015-stl-atl-2015-10-4-1600",
      "started_at": "2015-10-04T16:00:00-04:00",
      "status": "ended",
      "temperature": 69,
      "temperature_unit": "f",
      "timestamp": 1443988800,
      "title": "Cardinals vs Braves",
      "weather_conditions": "cloudy",
      "wind_direction": "In from Center",
      "wind_speed": 11,
      "wind_speed_unit": "mph",
      "home_team_id": "e0aa8528-46d5-41a4-95fe-50f0a2e3a761",
      "away_team_id": "26345a1d-a856-48be-a53b-262367b5437e",
      "winning_team_id": "e0aa8528-46d5-41a4-95fe-50f0a2e3a761",
      "season_id": "e46014e6-f9e9-41c3-9deb-cd11ee879d75",
      "venue_id": "bfbb4850-7975-473c-ba00-0253e816beb7"
    }
  ],
  "home_teams": [
    {
      "id": "e0aa8528-46d5-41a4-95fe-50f0a2e3a761",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T17:55:10-04:00",
      "color": "CE1141",
      "colors": [
        "CE1141",
        "13274F"
      ],
      "hashtag": "Braves",
      "hashtags": [
        "Braves"
      ],
      "location": "Atlanta",
      "name": "Atlanta",
      "nickname": "Braves",
      "latitude": 33.7005971,
      "longitude": -84.354916,
      "slug": "mlb-atl",
      "division_id": "cbf6f7d2-4f6f-4fe9-b838-cf35bf9385b2",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    }
  ],
  "leagues": [
    {
      "id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f",
      "created_at": "2016-03-18T20:56:43-04:00",
      "updated_at": "2016-03-18T20:56:43-04:00",
      "abbreviation": "MLB",
      "color": null,
      "minutes_per_period": null,
      "name": "Major League Baseball",
      "periods": null,
      "slug": "mlb",
      "sport": "baseball"
    }
  ],
  "away_teams": [
    {
      "id": "26345a1d-a856-48be-a53b-262367b5437e",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T18:23:11-04:00",
      "color": "C41E3A",
      "colors": [
        "C41E3A",
        "000066",
        "FEDB00"
      ],
      "hashtag": "STLCards",
      "hashtags": [
        "STLCards",
        "Cardinals"
      ],
      "location": "St. Louis",
      "name": "St. Louis",
      "nickname": "Cardinals",
      "latitude": 38.6270025,
      "longitude": -90.1994042,
      "slug": "mlb-stl",
      "division_id": "920b37d3-9fd8-45c6-a1fb-047748240732",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    }
  ],
  "winning_teams": [
    {
      "id": "e0aa8528-46d5-41a4-95fe-50f0a2e3a761",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T17:55:10-04:00",
      "color": "CE1141",
      "colors": [
        "CE1141",
        "13274F"
      ],
      "hashtag": "Braves",
      "hashtags": [
        "Braves"
      ],
      "location": "Atlanta",
      "name": "Atlanta",
      "nickname": "Braves",
      "latitude": 33.7005971,
      "longitude": -84.354916,
      "slug": "mlb-atl",
      "division_id": "cbf6f7d2-4f6f-4fe9-b838-cf35bf9385b2",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    }
  ],
  "seasons": [
    {
      "id": "e46014e6-f9e9-41c3-9deb-cd11ee879d75",
      "created_at": "2016-03-18T21:03:28-04:00",
      "updated_at": "2016-03-18T21:03:28-04:00",
      "name": "2015",
      "current_interval_type": "regularseason",
      "starts_on": "2015-02-01",
      "ends_on": "2015-11-30",
      "slug": "mlb-2015",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    }
  ],
  "venues": [
    {
      "id": "bfbb4850-7975-473c-ba00-0253e816beb7",
      "created_at": "2016-03-18T21:04:08-04:00",
      "updated_at": "2016-03-21T18:12:36-04:00",
      "abbreviation": "TF",
      "capacity": 54357,
      "city": "Atlanta",
      "country": "USA",
      "field_type": "Grass",
      "name": "Turner Field",
      "slug": "turner-field",
      "state": "Georgia",
      "time_zone": "US/Eastern",
      "latitude": 33.7005971,
      "longitude": -84.354916
    }
  ],
  "players": [
    {
      "id": "7a9b2531-174e-4885-80b3-b67cfc495c73",
      "created_at": "2016-03-18T21:12:01-04:00",
      "updated_at": "2016-03-21T17:53:13-04:00",
      "active": true,
      "birth_date": "1985-04-05",
      "defensive": false,
      "first_name": "Hector",
      "handedness": "right",
      "bats": "bats_right",
      "height": 74,
      "unit_of_height": "inches",
      "last_name": "Olivera",
      "name": "Hector Olivera",
      "offensive": true,
      "position_abbreviation": "2B",
      "position_name": "Second Base",
      "salary": 10416667,
      "humanized_salary": "10,416,667",
      "salary_currency": "USD",
      "school": null,
      "slug": "mlb-hector-olivera",
      "sport": "baseball",
      "weight": 220,
      "unit_of_weight": "pounds",
      "years_of_experience": 1,
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f",
      "playing_position_id": "f300e31e-61fb-48be-a215-6260d7fde49d",
      "team_id": "e0aa8528-46d5-41a4-95fe-50f0a2e3a761"
    },
    {
      "id": "9e5a519e-48f9-4f23-bdee-a1558df717bd",
      "created_at": "2016-03-18T21:11:18-04:00",
      "updated_at": "2016-03-21T17:53:38-04:00",
      "active": true,
      "birth_date": "1987-05-12",
      "defensive": false,
      "first_name": "Lance",
      "handedness": "right",
      "bats": "bats_right",
      "height": 77,
      "unit_of_height": "inches",
      "last_name": "Lynn",
      "name": "Lance Lynn",
      "offensive": true,
      "position_abbreviation": "SP",
      "position_name": "Starter",
      "salary": 7500000,
      "humanized_salary": "7,500,000",
      "salary_currency": "USD",
      "school": "Mississippi",
      "slug": "mlb-lance-lynn",
      "sport": "baseball",
      "weight": 240,
      "unit_of_weight": "pounds",
      "years_of_experience": 4,
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f",
      "playing_position_id": "738ffd4a-154d-4ccf-9f9a-5ee32466c4d6",
      "team_id": "26345a1d-a856-48be-a53b-262367b5437e"
    },
    {
      "id": "3af911e8-2eb4-4ecf-9a7b-1d19b21fb6a4",
      "created_at": "2016-03-18T21:10:17-04:00",
      "updated_at": "2016-03-21T17:53:12-04:00",
      "active": true,
      "birth_date": "1987-08-07",
      "defensive": false,
      "first_name": "Ryan",
      "handedness": "right",
      "bats": "bats_right",
      "height": 76,
      "unit_of_height": "inches",
      "last_name": "Lavarnway",
      "name": "Ryan Lavarnway",
      "offensive": true,
      "position_abbreviation": "C",
      "position_name": "Catcher",
      "salary": 0,
      "humanized_salary": "0",
      "salary_currency": "USD",
      "school": "Yale",
      "slug": "mlb-ryan-lavarnway",
      "sport": "baseball",
      "weight": 240,
      "unit_of_weight": "pounds",
      "years_of_experience": 5,
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f",
      "playing_position_id": "35d2f5d0-7407-48c2-80ca-8e5d25e099d9",
      "team_id": "e0aa8528-46d5-41a4-95fe-50f0a2e3a761"
    },
    {
      "id": "23b2cfb3-6ab7-4398-aabe-ab9fa737d03e",
      "created_at": "2016-03-18T21:10:40-04:00",
      "updated_at": "2016-03-21T18:09:16-04:00",
      "active": true,
      "birth_date": "1987-04-04",
      "defensive": false,
      "first_name": "Cameron",
      "handedness": "right",
      "bats": "bats_right",
      "height": 75,
      "unit_of_height": "inches",
      "last_name": "Maybin",
      "name": "Cameron Maybin",
      "offensive": true,
      "position_abbreviation": "CF",
      "position_name": "Center Outfield",
      "salary": 8100000,
      "humanized_salary": "8,100,000",
      "salary_currency": "USD",
      "school": null,
      "slug": "mlb-cameron-maybin",
      "sport": "baseball",
      "weight": 215,
      "unit_of_weight": "pounds",
      "years_of_experience": 7,
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f",
      "playing_position_id": "e900e850-ab40-4048-aa57-631ea8390519",
      "team_id": "9ab4bef1-ea26-456b-a018-bf2bde1f6599"
    },
    {
      "id": "42a1fe72-6336-4c16-9e60-3202ecb1a689",
      "created_at": "2016-03-18T21:11:19-04:00",
      "updated_at": "2016-03-21T17:53:39-04:00",
      "active": true,
      "birth_date": "1988-03-08",
      "defensive": false,
      "first_name": "Thomas",
      "handedness": "right",
      "bats": "bats_right",
      "height": 73,
      "unit_of_height": "inches",
      "last_name": "Pham",
      "name": "Thomas Pham",
      "offensive": true,
      "position_abbreviation": "CF",
      "position_name": "Center Outfield",
      "salary": 0,
      "humanized_salary": "0",
      "salary_currency": "USD",
      "school": "Durango HS",
      "slug": "mlb-thomas-pham",
      "sport": "baseball",
      "weight": 175,
      "unit_of_weight": "pounds",
      "years_of_experience": 1,
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f",
      "playing_position_id": "e900e850-ab40-4048-aa57-631ea8390519",
      "team_id": "26345a1d-a856-48be-a53b-262367b5437e"
    }
  ],
  "teams": [
    {
      "id": "e0aa8528-46d5-41a4-95fe-50f0a2e3a761",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T17:55:10-04:00",
      "color": "CE1141",
      "colors": [
        "CE1141",
        "13274F"
      ],
      "hashtag": "Braves",
      "hashtags": [
        "Braves"
      ],
      "location": "Atlanta",
      "name": "Atlanta",
      "nickname": "Braves",
      "latitude": 33.7005971,
      "longitude": -84.354916,
      "slug": "mlb-atl",
      "division_id": "cbf6f7d2-4f6f-4fe9-b838-cf35bf9385b2",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    },
    {
      "id": "26345a1d-a856-48be-a53b-262367b5437e",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T18:23:11-04:00",
      "color": "C41E3A",
      "colors": [
        "C41E3A",
        "000066",
        "FEDB00"
      ],
      "hashtag": "STLCards",
      "hashtags": [
        "STLCards",
        "Cardinals"
      ],
      "location": "St. Louis",
      "name": "St. Louis",
      "nickname": "Cardinals",
      "latitude": 38.6270025,
      "longitude": -90.1994042,
      "slug": "mlb-stl",
      "division_id": "920b37d3-9fd8-45c6-a1fb-047748240732",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    },
    {
      "id": "9ab4bef1-ea26-456b-a018-bf2bde1f6599",
      "created_at": "2016-03-18T20:56:44-04:00",
      "updated_at": "2016-03-21T17:54:29-04:00",
      "color": "0C2C56",
      "colors": [
        "0C2C56"
      ],
      "hashtag": "Tigers",
      "hashtags": [
        "Tigers"
      ],
      "location": "Detroit",
      "name": "Detroit",
      "nickname": "Tigers",
      "latitude": 42.3300676,
      "longitude": -83.0449362,
      "slug": "mlb-det",
      "division_id": "ca580e37-ee8b-44d3-94ac-6eb2bf35d094",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    }
  ],
  "opponents": [
    {
      "id": "26345a1d-a856-48be-a53b-262367b5437e",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T18:23:11-04:00",
      "color": "C41E3A",
      "colors": [
        "C41E3A",
        "000066",
        "FEDB00"
      ],
      "hashtag": "STLCards",
      "hashtags": [
        "STLCards",
        "Cardinals"
      ],
      "location": "St. Louis",
      "name": "St. Louis",
      "nickname": "Cardinals",
      "latitude": 38.6270025,
      "longitude": -90.1994042,
      "slug": "mlb-stl",
      "division_id": "920b37d3-9fd8-45c6-a1fb-047748240732",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    },
    {
      "id": "e0aa8528-46d5-41a4-95fe-50f0a2e3a761",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-03-21T17:55:10-04:00",
      "color": "CE1141",
      "colors": [
        "CE1141",
        "13274F"
      ],
      "hashtag": "Braves",
      "hashtags": [
        "Braves"
      ],
      "location": "Atlanta",
      "name": "Atlanta",
      "nickname": "Braves",
      "latitude": 33.7005971,
      "longitude": -84.354916,
      "slug": "mlb-atl",
      "division_id": "cbf6f7d2-4f6f-4fe9-b838-cf35bf9385b2",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    }
  ],
  "game_logs": [
    {
      "id": "ec67ced9-a71e-4144-8a03-1e3fb1d2249c7a9b2531-174e-4885-80b3-b67cfc495c73",
      "created_at": "2016-03-18T21:06:27-04:00",
      "updated_at": "2016-03-19T06:36:33-04:00",
      "game_played": true,
      "game_started": true,
      "home_team_outcome": "win",
      "home_team_score": 2,
      "away_team_outcome": "loss",
      "away_team_score": 0,
      "team_outcome": "win",
      "team_score": 2,
      "catcher_interferences": 0,
      "catcher_stealers_allowed": 0,
      "catcher_stealers_caught": 0,
      "fielding_errors": 0,
      "outfield_assists": 0,
      "passed_balls": 0,
      "at_bats": 3,
      "batting_average": "0.33333334",
      "caught_stealing": 0,
      "doubles": 1,
      "grounded_into_double_plays": 0,
      "hit_by_pitch": 0,
      "hits": 1,
      "home_runs": 0,
      "intentional_walks": 0,
      "intentional_walks_against": 0,
      "left_on_base": 1,
      "on_base_percentage": "0.33333334",
      "on_base_plus_slugging": "1.0000000298023224",
      "rlisp_two_out": 0,
      "runs": 0,
      "runs_batted_in": 0,
      "sacrifice_flys": 0,
      "sacrifice_hits": 0,
      "slugging_percentage": "0.6666667",
      "stolen_bases": 0,
      "strikeouts": 1,
      "total_bases": 2,
      "triples": 0,
      "two_out_rbi": 0,
      "walks": 0,
      "balks": 0,
      "batters_faced": 0,
      "blown_saves": 0,
      "complete_games": 0,
      "earned_run_average": "0.0",
      "pitcher_fielding_errors": 0,
      "fly_ball_outs": 0,
      "ground_ball_outs": 0,
      "holds": 0,
      "inherited_runners": 0,
      "inherited_runners_scored": 0,
      "losses": 0,
      "no_decisions": 0,
      "outs_pitched": 0,
      "pickoffs": 0,
      "pitcher_caught_stealing": 0,
      "pitcher_earned_runs": "0.0",
      "pitcher_games_played": 0,
      "pitcher_games_started": 0,
      "pitcher_hit_by_pitch": 0,
      "pitcher_hits": 0,
      "pitcher_home_runs": 0,
      "pitcher_intentional_walks": 0,
      "pitcher_runs": 0,
      "pitcher_sacrifice_flys": 0,
      "pitcher_sacrifice_hits": 0,
      "pitcher_stolen_bases": 0,
      "pitcher_strikeouts": 0,
      "pitcher_walks": 0,
      "pitches_thrown": 0,
      "quality_starts": 0,
      "saves": 0,
      "shutouts": 0,
      "starting_pitches_thrown": 0,
      "strikes_thrown": 0,
      "whip": "0.0",
      "wild_pitches": 0,
      "wins": 0,
      "game_id": "ec67ced9-a71e-4144-8a03-1e3fb1d2249c",
      "player_id": "7a9b2531-174e-4885-80b3-b67cfc495c73",
      "team_id": "e0aa8528-46d5-41a4-95fe-50f0a2e3a761",
      "opponent_id": "26345a1d-a856-48be-a53b-262367b5437e"
    },
    {
      "id": "ec67ced9-a71e-4144-8a03-1e3fb1d2249c9e5a519e-48f9-4f23-bdee-a1558df717bd",
      "created_at": "2016-03-18T21:06:27-04:00",
      "updated_at": "2016-03-19T06:36:33-04:00",
      "game_played": true,
      "game_started": true,
      "home_team_outcome": "win",
      "home_team_score": 2,
      "away_team_outcome": "loss",
      "away_team_score": 0,
      "team_outcome": "loss",
      "team_score": 0,
      "catcher_interferences": 0,
      "catcher_stealers_allowed": 0,
      "catcher_stealers_caught": 0,
      "fielding_errors": 0,
      "outfield_assists": 0,
      "passed_balls": 0,
      "at_bats": 1,
      "batting_average": "0.0",
      "caught_stealing": 0,
      "doubles": 0,
      "grounded_into_double_plays": 0,
      "hit_by_pitch": 0,
      "hits": 0,
      "home_runs": 0,
      "intentional_walks": 0,
      "intentional_walks_against": 0,
      "left_on_base": 0,
      "on_base_percentage": "0.0",
      "on_base_plus_slugging": "0.0",
      "rlisp_two_out": 0,
      "runs": 0,
      "runs_batted_in": 0,
      "sacrifice_flys": 0,
      "sacrifice_hits": 0,
      "slugging_percentage": "0.0",
      "stolen_bases": 0,
      "strikeouts": 0,
      "total_bases": 0,
      "triples": 0,
      "two_out_rbi": 0,
      "walks": 0,
      "balks": 0,
      "batters_faced": 20,
      "blown_saves": 0,
      "complete_games": 0,
      "earned_run_average": "1.8",
      "pitcher_fielding_errors": 0,
      "fly_ball_outs": 1,
      "ground_ball_outs": 8,
      "holds": 0,
      "inherited_runners": 0,
      "inherited_runners_scored": 0,
      "losses": 1,
      "no_decisions": 0,
      "outs_pitched": 15,
      "pickoffs": 1,
      "pitcher_caught_stealing": 0,
      "pitcher_earned_runs": "1.0",
      "pitcher_games_played": 1,
      "pitcher_games_started": 1,
      "pitcher_hit_by_pitch": 0,
      "pitcher_hits": 7,
      "pitcher_home_runs": 0,
      "pitcher_intentional_walks": 0,
      "pitcher_runs": 1,
      "pitcher_sacrifice_flys": 0,
      "pitcher_sacrifice_hits": 0,
      "pitcher_stolen_bases": 0,
      "pitcher_strikeouts": 2,
      "pitcher_walks": 0,
      "pitches_thrown": 79,
      "quality_starts": 0,
      "saves": 0,
      "shutouts": 0,
      "starting_pitches_thrown": 79,
      "strikes_thrown": 52,
      "whip": "1.4",
      "wild_pitches": 0,
      "wins": 0,
      "game_id": "ec67ced9-a71e-4144-8a03-1e3fb1d2249c",
      "player_id": "9e5a519e-48f9-4f23-bdee-a1558df717bd",
      "team_id": "26345a1d-a856-48be-a53b-262367b5437e",
      "opponent_id": "e0aa8528-46d5-41a4-95fe-50f0a2e3a761"
    },
    {
      "id": "ec67ced9-a71e-4144-8a03-1e3fb1d2249c3af911e8-2eb4-4ecf-9a7b-1d19b21fb6a4",
      "created_at": "2016-03-18T21:06:27-04:00",
      "updated_at": "2016-03-19T06:36:33-04:00",
      "game_played": true,
      "game_started": true,
      "home_team_outcome": "win",
      "home_team_score": 2,
      "away_team_outcome": "loss",
      "away_team_score": 0,
      "team_outcome": "win",
      "team_score": 2,
      "catcher_interferences": 0,
      "catcher_stealers_allowed": 0,
      "catcher_stealers_caught": 0,
      "fielding_errors": 0,
      "outfield_assists": 0,
      "passed_balls": 0,
      "at_bats": 3,
      "batting_average": "0.6666667",
      "caught_stealing": 0,
      "doubles": 1,
      "grounded_into_double_plays": 0,
      "hit_by_pitch": 0,
      "hits": 2,
      "home_runs": 0,
      "intentional_walks": 0,
      "intentional_walks_against": 0,
      "left_on_base": 0,
      "on_base_percentage": "0.6666667",
      "on_base_plus_slugging": "1.6666666865348816",
      "rlisp_two_out": 0,
      "runs": 0,
      "runs_batted_in": 0,
      "sacrifice_flys": 0,
      "sacrifice_hits": 0,
      "slugging_percentage": "1.0",
      "stolen_bases": 0,
      "strikeouts": 0,
      "total_bases": 3,
      "triples": 0,
      "two_out_rbi": 0,
      "walks": 0,
      "balks": 0,
      "batters_faced": 0,
      "blown_saves": 0,
      "complete_games": 0,
      "earned_run_average": "0.0",
      "pitcher_fielding_errors": 0,
      "fly_ball_outs": 0,
      "ground_ball_outs": 0,
      "holds": 0,
      "inherited_runners": 0,
      "inherited_runners_scored": 0,
      "losses": 0,
      "no_decisions": 0,
      "outs_pitched": 0,
      "pickoffs": 0,
      "pitcher_caught_stealing": 0,
      "pitcher_earned_runs": "0.0",
      "pitcher_games_played": 0,
      "pitcher_games_started": 0,
      "pitcher_hit_by_pitch": 0,
      "pitcher_hits": 0,
      "pitcher_home_runs": 0,
      "pitcher_intentional_walks": 0,
      "pitcher_runs": 0,
      "pitcher_sacrifice_flys": 0,
      "pitcher_sacrifice_hits": 0,
      "pitcher_stolen_bases": 0,
      "pitcher_strikeouts": 0,
      "pitcher_walks": 0,
      "pitches_thrown": 0,
      "quality_starts": 0,
      "saves": 0,
      "shutouts": 0,
      "starting_pitches_thrown": 0,
      "strikes_thrown": 0,
      "whip": "0.0",
      "wild_pitches": 0,
      "wins": 0,
      "game_id": "ec67ced9-a71e-4144-8a03-1e3fb1d2249c",
      "player_id": "3af911e8-2eb4-4ecf-9a7b-1d19b21fb6a4",
      "team_id": "e0aa8528-46d5-41a4-95fe-50f0a2e3a761",
      "opponent_id": "26345a1d-a856-48be-a53b-262367b5437e"
    },
    {
      "id": "ec67ced9-a71e-4144-8a03-1e3fb1d2249c23b2cfb3-6ab7-4398-aabe-ab9fa737d03e",
      "created_at": "2016-03-18T21:06:27-04:00",
      "updated_at": "2016-03-19T06:36:33-04:00",
      "game_played": true,
      "game_started": false,
      "home_team_outcome": "win",
      "home_team_score": 2,
      "away_team_outcome": "loss",
      "away_team_score": 0,
      "team_outcome": "win",
      "team_score": 2,
      "catcher_interferences": 0,
      "catcher_stealers_allowed": 0,
      "catcher_stealers_caught": 0,
      "fielding_errors": 0,
      "outfield_assists": 0,
      "passed_balls": 0,
      "at_bats": 0,
      "batting_average": "0.0",
      "caught_stealing": 0,
      "doubles": 0,
      "grounded_into_double_plays": 0,
      "hit_by_pitch": 0,
      "hits": 0,
      "home_runs": 0,
      "intentional_walks": 0,
      "intentional_walks_against": 0,
      "left_on_base": 0,
      "on_base_percentage": "0.0",
      "on_base_plus_slugging": "0.0",
      "rlisp_two_out": 0,
      "runs": 0,
      "runs_batted_in": 0,
      "sacrifice_flys": 0,
      "sacrifice_hits": 0,
      "slugging_percentage": "0.0",
      "stolen_bases": 0,
      "strikeouts": 0,
      "total_bases": 0,
      "triples": 0,
      "two_out_rbi": 0,
      "walks": 0,
      "balks": 0,
      "batters_faced": 0,
      "blown_saves": 0,
      "complete_games": 0,
      "earned_run_average": "0.0",
      "pitcher_fielding_errors": 0,
      "fly_ball_outs": 0,
      "ground_ball_outs": 0,
      "holds": 0,
      "inherited_runners": 0,
      "inherited_runners_scored": 0,
      "losses": 0,
      "no_decisions": 0,
      "outs_pitched": 0,
      "pickoffs": 0,
      "pitcher_caught_stealing": 0,
      "pitcher_earned_runs": "0.0",
      "pitcher_games_played": 0,
      "pitcher_games_started": 0,
      "pitcher_hit_by_pitch": 0,
      "pitcher_hits": 0,
      "pitcher_home_runs": 0,
      "pitcher_intentional_walks": 0,
      "pitcher_runs": 0,
      "pitcher_sacrifice_flys": 0,
      "pitcher_sacrifice_hits": 0,
      "pitcher_stolen_bases": 0,
      "pitcher_strikeouts": 0,
      "pitcher_walks": 0,
      "pitches_thrown": 0,
      "quality_starts": 0,
      "saves": 0,
      "shutouts": 0,
      "starting_pitches_thrown": 0,
      "strikes_thrown": 0,
      "whip": "0.0",
      "wild_pitches": 0,
      "wins": 0,
      "game_id": "ec67ced9-a71e-4144-8a03-1e3fb1d2249c",
      "player_id": "23b2cfb3-6ab7-4398-aabe-ab9fa737d03e",
      "team_id": "e0aa8528-46d5-41a4-95fe-50f0a2e3a761",
      "opponent_id": "26345a1d-a856-48be-a53b-262367b5437e"
    },
    {
      "id": "ec67ced9-a71e-4144-8a03-1e3fb1d2249c42a1fe72-6336-4c16-9e60-3202ecb1a689",
      "created_at": "2016-03-18T21:06:27-04:00",
      "updated_at": "2016-03-19T06:36:33-04:00",
      "game_played": true,
      "game_started": true,
      "home_team_outcome": "win",
      "home_team_score": 2,
      "away_team_outcome": "loss",
      "away_team_score": 0,
      "team_outcome": "loss",
      "team_score": 0,
      "catcher_interferences": 0,
      "catcher_stealers_allowed": 0,
      "catcher_stealers_caught": 0,
      "fielding_errors": 0,
      "outfield_assists": 0,
      "passed_balls": 0,
      "at_bats": 3,
      "batting_average": "0.33333334",
      "caught_stealing": 0,
      "doubles": 0,
      "grounded_into_double_plays": 0,
      "hit_by_pitch": 0,
      "hits": 1,
      "home_runs": 0,
      "intentional_walks": 0,
      "intentional_walks_against": 0,
      "left_on_base": 0,
      "on_base_percentage": "0.5",
      "on_base_plus_slugging": "0.8333333432674408",
      "rlisp_two_out": 0,
      "runs": 0,
      "runs_batted_in": 0,
      "sacrifice_flys": 0,
      "sacrifice_hits": 0,
      "slugging_percentage": "0.33333334",
      "stolen_bases": 0,
      "strikeouts": 0,
      "total_bases": 1,
      "triples": 0,
      "two_out_rbi": 0,
      "walks": 1,
      "balks": 0,
      "batters_faced": 0,
      "blown_saves": 0,
      "complete_games": 0,
      "earned_run_average": "0.0",
      "pitcher_fielding_errors": 0,
      "fly_ball_outs": 0,
      "ground_ball_outs": 0,
      "holds": 0,
      "inherited_runners": 0,
      "inherited_runners_scored": 0,
      "losses": 0,
      "no_decisions": 0,
      "outs_pitched": 0,
      "pickoffs": 0,
      "pitcher_caught_stealing": 0,
      "pitcher_earned_runs": "0.0",
      "pitcher_games_played": 0,
      "pitcher_games_started": 0,
      "pitcher_hit_by_pitch": 0,
      "pitcher_hits": 0,
      "pitcher_home_runs": 0,
      "pitcher_intentional_walks": 0,
      "pitcher_runs": 0,
      "pitcher_sacrifice_flys": 0,
      "pitcher_sacrifice_hits": 0,
      "pitcher_stolen_bases": 0,
      "pitcher_strikeouts": 0,
      "pitcher_walks": 0,
      "pitches_thrown": 0,
      "quality_starts": 0,
      "saves": 0,
      "shutouts": 0,
      "starting_pitches_thrown": 0,
      "strikes_thrown": 0,
      "whip": "0.0",
      "wild_pitches": 0,
      "wins": 0,
      "game_id": "ec67ced9-a71e-4144-8a03-1e3fb1d2249c",
      "player_id": "42a1fe72-6336-4c16-9e60-3202ecb1a689",
      "team_id": "26345a1d-a856-48be-a53b-262367b5437e",
      "opponent_id": "e0aa8528-46d5-41a4-95fe-50f0a2e3a761"
    }
  ]
}

This endpoint retrieves MLB Game Logs.

HTTP Request

GET https://api.stattleship.com/baseball/mlb/game_logs

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
game_id Game slug such as mlb-2015-was-mil-2015-06-14-1310 for Bulls vs Mavericks
player_id Player slug such as mlb-david-ortiz for David Ortiz
team_id Team slug such as mlb-kc for the Kansas City Royals
interval_type current interval See interval_type for sport.
season_id Current season Season slug such as mlb-2016
on Friendly date such as today or tomorrow; or a timestamp; or a date such as 2016-05-22
since Friendly date such as 1 week ago or 4 days ago or last Sunday; or a timestamp such as 1448820000
status Game status of in_progress upcoming or ended

Basketball Game Logs

curl -X "GET" "https://api.stattleship.com/basketball/nba/game_logs" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

{
  "games": [
    {
      "id": "6eaaabf9-bf15-476e-b7db-21e6832ac594",
      "created_at": "2015-12-26T02:20:56-05:00",
      "updated_at": "2015-12-26T03:48:53-05:00",
      "at_neutral_site": false,
      "attendance": 21957,
      "away_team_outcome": "loss",
      "away_team_score": 95,
      "daytime": false,
      "duration": 8520,
      "ended_at": "2015-10-27T19:27:33-07:00",
      "home_team_outcome": "win",
      "home_team_score": 97,
      "interval": "Regular Season",
      "interval_number": "",
      "interval_type": "regularseason",
      "label": "Cavaliers vs Bulls",
      "name": "Cavaliers vs Bulls October 27, 2015 at  5:00pm",
      "on": "on October 27, 2015",
      "score": "95-97",
      "score_differential": 2,
      "scoreline": "Cavaliers 95 - Bulls 97",
      "slug": "nba-2015-2016-cle-chi-2015-10-27-1900",
      "started_at": "2015-10-27T17:00:00-07:00",
      "temperature": null,
      "temperature_unit": null,
      "timestamp": 1445990400,
      "title": "Cavaliers vs Bulls",
      "weather_conditions": null,
      "wind_direction": null,
      "wind_speed": null,
      "wind_speed_unit": null,
      "home_team_id": "7e670063-ef8d-4356-947b-786a802205bd",
      "away_team_id": "a9abb922-3a47-4d37-9250-2e5224a2b58a",
      "winning_team_id": "7e670063-ef8d-4356-947b-786a802205bd",
      "season_id": "e56321f3-1c81-4f91-9bdf-8dac07129648",
      "venue_id": "ca72b825-7e2d-4f55-94e1-208d5f1225a1"
    }
  ],
  "winning_teams": [
    {
      "id": "7e670063-ef8d-4356-947b-786a802205bd",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:48-05:00",
      "location": "Chicago",
      "name": "Chicago",
      "nickname": "Bulls",
      "slug": "nba-chi",
      "division_id": "a0694588-40a0-47e8-9a72-68d118eb68a8",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    }
  ],
  "leagues": [
    {
      "id": "3c805f57-ef31-407d-b633-54bac8745b9e",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "abbreviation": "NBA",
      "color": null,
      "minutes_per_period": null,
      "name": "National Basketball Association",
      "periods": null,
      "slug": "nba",
      "sport": "basketball"
    }
  ],
  "seasons": [
    {
      "id": "e56321f3-1c81-4f91-9bdf-8dac07129648",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "name": "2015-2016",
      "starts_on": "2015-10-01",
      "ends_on": "2016-06-30",
      "slug": "nba-2015-2016",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    }
  ],
  "venues": [
    {
      "id": "ca72b825-7e2d-4f55-94e1-208d5f1225a1",
      "created_at": "2015-12-26T02:21:42-05:00",
      "updated_at": "2015-12-26T02:21:42-05:00",
      "abbreviation": "SC",
      "city": "Los Angeles",
      "country": "USA",
      "field_type": null,
      "name": "Staples Center",
      "slug": "sc",
      "state": "California",
      "time_zone": "US/Pacific"
    }
  ],
  "players": [
    {
      "id": "c9b3ae8a-7ac8-4513-861d-08d3fd438ac5",
      "created_at": "2015-12-26T02:20:59-05:00",
      "updated_at": "2015-12-29T09:21:39-05:00",
      "active": true,
      "defensive": false,
      "first_name": "LeBron",
      "handedness": "unknown",
      "height": 80,
      "unit_of_height": "inches",
      "last_name": "James",
      "name": "LeBron James",
      "offensive": true,
      "position_abbreviation": "SF",
      "position_name": "Small Forward",
      "salary": 22970500,
      "humanized_salary": "22,970,500",
      "salary_currency": "USD",
      "school": null,
      "slug": "nba-lebron-james",
      "sport": "basketball",
      "weight": 250,
      "unit_of_weight": "pounds",
      "years_of_experience": 11,
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e",
      "playing_position_id": "8f22d8a0-6966-46ba-aeb6-89d47a64d2e0",
      "team_id": "a9abb922-3a47-4d37-9250-2e5224a2b58a"
    }
  ],
  "teams": [
    {
      "id": "a9abb922-3a47-4d37-9250-2e5224a2b58a",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:48-05:00",
      "location": "Cleveland",
      "name": "Cleveland",
      "nickname": "Cavaliers",
      "slug": "nba-cle",
      "division_id": "a0694588-40a0-47e8-9a72-68d118eb68a8",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    }
  ],
  "opponents": [
    {
      "id": "7e670063-ef8d-4356-947b-786a802205bd",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:48-05:00",
      "location": "Chicago",
      "name": "Chicago",
      "nickname": "Bulls",
      "slug": "nba-chi",
      "division_id": "a0694588-40a0-47e8-9a72-68d118eb68a8",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    }
  ],
  "game_logs": [
    {
      "id": "6eaaabf9-bf15-476e-b7db-21e6832ac594c9b3ae8a-7ac8-4513-861d-08d3fd438ac5",
      "created_at": "2015-12-26T02:20:56-05:00",
      "updated_at": "2015-12-26T03:48:53-05:00",
      "game_played": true,
      "game_started": true,
      "home_team_outcome": "win",
      "home_team_score": 97,
      "away_team_outcome": "loss",
      "away_team_score": 95,
      "team_outcome": "loss",
      "team_score": 95,
      "assists": 5,
      "field_goals_attempted": 22,
      "field_goals_made": 12,
      "field_goals_pct": "0.545",
      "free_throws_attempted": 3,
      "free_throws_made": null,
      "free_throws_pct": null,
      "points": 25,
      "three_pointers_attempted": 5,
      "three_pointers_made": 1,
      "three_pointers_pct": "0.2",
      "turnovers": 1,
      "steals": 1,
      "blocks": null,
      "personal_fouls": 3,
      "technical_fouls": null,
      "time_played_total": 2164,
      "plus_minus": 1,
      "disqualifications": null,
      "rebounds_defensive": 10,
      "rebounds_offensive": null,
      "rebounds_total": 10,
      "double_double": 1,
      "double_triple_double": null,
      "double_twenty": null,
      "five_by_five": null,
      "five_by_seven": null,
      "five_by_six": null,
      "five_by_steals_blocks": null,
      "quadruple_double": null,
      "quintuple_double": null,
      "thirty_thirty": null,
      "triple_double": null,
      "game_id": "6eaaabf9-bf15-476e-b7db-21e6832ac594",
      "player_id": "c9b3ae8a-7ac8-4513-861d-08d3fd438ac5",
      "team_id": "a9abb922-3a47-4d37-9250-2e5224a2b58a",
      "opponent_id": "7e670063-ef8d-4356-947b-786a802205bd"
    }
  ]
}```

This endpoint retrieves NBA Game Logs.

HTTP Request

GET https://api.stattleship.com/basketball/nba/game_logs

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
game_id Game slug such as nba-2015-2016-chi-dal-2015-12-26-2030 for Bulls vs Mavericks
player_id Player slug such as nba-lebron-james for Lebron James
team_id Team slug such as nba-gs for the Warriors
interval_type regularseason See interval_type for sport.
on Friendly date such as today or tomorrow; or a timestamp; or a date such as 2016-05-22
since Friendly date such as 1 week ago or 4 days ago or last Sunday; or a timestamp such as 1448820000
season_id Current season Season slug such as nba-2015-2016
status Game status of in_progress upcoming or ended

Football Game Logs

curl -X "GET" "https://api.stattleship.com/football/nfl/game_logs" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

{
  "games": [
    {
      "id": "eca96619-7f23-4619-8126-d4d5459fcad7",
      "created_at": "2016-08-16T03:56:19-04:00",
      "updated_at": "2016-10-24T15:58:07-04:00",
      "at_neutral_site": null,
      "attendance": null,
      "away_team_outcome": "win",
      "away_team_score": 27,
      "broadcast": "CBS",
      "clock": ":00",
      "clock_secs": 0,
      "daytime": true,
      "duration": null,
      "ended_at": "2016-10-23T16:25:00-04:00",
      "home_team_outcome": "loss",
      "home_team_score": 16,
      "humidity": 50,
      "interval": "Week",
      "interval_number": 7,
      "interval_type": "week",
      "label": "Patriots vs Steelers",
      "name": "Patriots vs Steelers October 23, 2016 at  4:25pm",
      "on": "on October 23, 2016",
      "period": 4,
      "period_label": "Quarter",
      "score": "27-16",
      "score_differential": 11,
      "scoreline": "Patriots 27 - Steelers 16",
      "slug": "nfl-2016-2017-ne-pit-2016-10-23-1625",
      "started_at": "2016-10-23T16:25:00-04:00",
      "status": "closed",
      "internet_coverage": null,
      "satellite_coverage": null,
      "television_coverage": "CBS",
      "temperature": 61,
      "temperature_unit": null,
      "timestamp": 1477254300,
      "title": "Patriots vs Steelers",
      "weather_conditions": "Partly cloudy",
      "wind_direction": "W",
      "wind_speed": 14,
      "wind_speed_unit": null,
      "home_team_id": "e5796fc5-4c5e-486d-a76d-5879fd2f5117",
      "away_team_id": "5546974d-27c2-4d93-a63e-d8320952e871",
      "winning_team_id": "5546974d-27c2-4d93-a63e-d8320952e871",
      "season_id": "8e660574-116b-4566-8060-3d83cf07cf80",
      "venue_id": "f60fc6c7-597b-49a6-a287-3616cae54913",
      "official_ids": []
    }
  ],
  "home_teams": [
    {
      "id": "e5796fc5-4c5e-486d-a76d-5879fd2f5117",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2016-08-16T03:55:51-04:00",
      "color": "000000",
      "colors": [
        "000000",
        "FFB612",
        "C60C30",
        "00539B",
        "A5ACAF"
      ],
      "hashtag": "HereWeGo",
      "hashtags": [
        "HereWeGo",
        "SteelersNation"
      ],
      "location": "Pittsburgh",
      "name": "Pittsburgh",
      "nickname": "Steelers",
      "latitude": 40.4955063,
      "longitude": -79.9169964,
      "slug": "nfl-pit",
      "division_id": "9cf5e881-62fa-4401-bced-e55fd0fd8fa4",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    }
  ],
  "leagues": [
    {
      "id": "ebb52980-4b25-4384-bb32-26d354568f0c",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2016-08-16T03:55:49-04:00",
      "abbreviation": "NFL",
      "color": null,
      "minutes_per_period": null,
      "name": "National Football League",
      "periods": null,
      "slug": "nfl",
      "sport": "football"
    }
  ],
  "away_teams": [
    {
      "id": "5546974d-27c2-4d93-a63e-d8320952e871",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2016-08-16T03:55:50-04:00",
      "color": "002244",
      "colors": [
        "002244",
        "C60C30",
        "B0B7BC"
      ],
      "hashtag": "Patriots",
      "hashtags": [
        "Patriots",
        "PatsNation",
        "DoYourJob"
      ],
      "location": "New England",
      "name": "New England",
      "nickname": "Patriots",
      "latitude": null,
      "longitude": null,
      "slug": "nfl-ne",
      "division_id": "7eb2130f-0d1d-4396-9595-649708fe5a6a",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    }
  ],
  "winning_teams": [
    {
      "id": "5546974d-27c2-4d93-a63e-d8320952e871",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2016-08-16T03:55:50-04:00",
      "color": "002244",
      "colors": [
        "002244",
        "C60C30",
        "B0B7BC"
      ],
      "hashtag": "Patriots",
      "hashtags": [
        "Patriots",
        "PatsNation",
        "DoYourJob"
      ],
      "location": "New England",
      "name": "New England",
      "nickname": "Patriots",
      "latitude": null,
      "longitude": null,
      "slug": "nfl-ne",
      "division_id": "7eb2130f-0d1d-4396-9595-649708fe5a6a",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    }
  ],
  "seasons": [
    {
      "id": "8e660574-116b-4566-8060-3d83cf07cf80",
      "created_at": "2016-02-16T18:57:00-05:00",
      "updated_at": "2016-03-21T14:58:18-04:00",
      "name": "2016-2017",
      "current_interval_type": "week",
      "starts_on": "2016-08-01",
      "ends_on": "2017-02-14",
      "slug": "nfl-2016-2017",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    }
  ],
  "venues": [
    {
      "id": "f60fc6c7-597b-49a6-a287-3616cae54913",
      "created_at": "2016-08-16T03:55:51-04:00",
      "updated_at": "2016-08-16T03:55:51-04:00",
      "abbreviation": "Heinz Field",
      "capacity": 65050,
      "city": "Pittsburgh",
      "country": "USA",
      "field_type": "turf",
      "name": "Heinz Field",
      "slug": "heinz-field-heinz-field",
      "state": "PA",
      "stadium_type": "outdoor",
      "time_zone": "America/New_York",
      "latitude": null,
      "longitude": null
    }
  ],
  "officials": [],
  "players": [
    {
      "id": "ffcfbd13-fa68-403b-b38f-3939d2a11888",
      "created_at": "2016-01-06T01:08:21-05:00",
      "updated_at": "2016-10-29T13:16:54-04:00",
      "active": true,
      "birth_date": "1977-08-03",
      "captain": null,
      "city": "San Mateo",
      "country": "USA",
      "draft_season": "2000",
      "draft_round": 6,
      "draft_overall_pick": 199,
      "draft_team_name": "NE",
      "first_name": "Tom",
      "handedness": "unknown",
      "bats": "bats_unknown",
      "height": 76,
      "high_school": "Junipero Serra (CA)",
      "unit_of_height": "inches",
      "last_name": "Brady",
      "name": "Tom Brady",
      "nickname": "T.Brady",
      "position_abbreviation": "QB",
      "position_name": "Quarterback",
      "salary": 14000000,
      "humanized_salary": "14,000,000",
      "salary_currency": "USD",
      "school": "Michigan",
      "slug": "nfl-tom-brady",
      "sport": "football",
      "state": "CA",
      "weight": 225,
      "uniform_number": "12",
      "unit_of_weight": "pounds",
      "years_of_experience": 17,
      "pro_debut": null,
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c",
      "playing_position_id": "bca0ee16-51ba-4a18-9b2b-57412b101677",
      "team_id": "5546974d-27c2-4d93-a63e-d8320952e871"
    }
  ],
  "teams": [
    {
      "id": "5546974d-27c2-4d93-a63e-d8320952e871",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2016-08-16T03:55:50-04:00",
      "color": "002244",
      "colors": [
        "002244",
        "C60C30",
        "B0B7BC"
      ],
      "hashtag": "Patriots",
      "hashtags": [
        "Patriots",
        "PatsNation",
        "DoYourJob"
      ],
      "location": "New England",
      "name": "New England",
      "nickname": "Patriots",
      "latitude": null,
      "longitude": null,
      "slug": "nfl-ne",
      "division_id": "7eb2130f-0d1d-4396-9595-649708fe5a6a",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    }
  ],
  "opponents": [
    {
      "id": "e5796fc5-4c5e-486d-a76d-5879fd2f5117",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2016-08-16T03:55:51-04:00",
      "color": "000000",
      "colors": [
        "000000",
        "FFB612",
        "C60C30",
        "00539B",
        "A5ACAF"
      ],
      "hashtag": "HereWeGo",
      "hashtags": [
        "HereWeGo",
        "SteelersNation"
      ],
      "location": "Pittsburgh",
      "name": "Pittsburgh",
      "nickname": "Steelers",
      "latitude": 40.4955063,
      "longitude": -79.9169964,
      "slug": "nfl-pit",
      "division_id": "9cf5e881-62fa-4401-bced-e55fd0fd8fa4",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    }
  ],
  "game_logs": [
    {
      "id": "eca96619-7f23-4619-8126-d4d5459fcad7ffcfbd13-fa68-403b-b38f-3939d2a11888",
      "created_at": "2016-08-16T03:56:19-04:00",
      "updated_at": "2016-10-24T15:58:07-04:00",
      "game_played": true,
      "game_started": false,
      "home_team_outcome": "loss",
      "home_team_score": 16,
      "away_team_outcome": "win",
      "away_team_score": 27,
      "team_outcome": "win",
      "team_score": 27,
      "opponent_outcome": "loss",
      "opponent_score": 16,
      "is_home_team": false,
      "is_away_team": true,
      "average_yards_per_pass_attempt": 8.538,
      "average_yards_per_pass_completion": 11.684,
      "combined_tackles": 0,
      "defense_fumble_recoveries": 0,
      "defense_misc_assisted_tackles": 0,
      "defense_misc_solo_tackles": 0,
      "defense_miscellaneous_fumble_recoveries": 0,
      "defense_special_teams_assisted_tackles": 0,
      "defense_special_teams_fumble_recoveries": 0,
      "defense_special_teams_kicks_blocked": 0,
      "defense_special_teams_solo_tackles": 0,
      "defense_special_teams_tackles": 0,
      "defense_tackles": 0,
      "defense_tackles_for_loss": 0.0,
      "defense_tackles_for_loss_yards": 0.0,
      "extra_points_attempts": 0,
      "extra_points_made": 0,
      "field_goal_attempts": 0,
      "field_goal_attempts_19": 0,
      "field_goal_attempts_29": 0,
      "field_goal_attempts_39": 0,
      "field_goal_attempts_49": 0,
      "field_goal_attempts_50": 0,
      "field_goals_attempted_against": 0,
      "field_goals_blocked": 0,
      "field_goals_made": 0,
      "field_goals_made_19": 0,
      "field_goals_made_29": 0,
      "field_goals_made_39": 0,
      "field_goals_made_49": 0,
      "field_goals_made_50": 0,
      "field_goals_missed": 0,
      "field_goals_succeeded_against": 0,
      "field_goals_succeeded_longest_yards": 0,
      "field_goals_succeeded_yards": 0,
      "fumbles_committed": 0,
      "fumbles_forced": 0,
      "fumbles_lost": 0,
      "fumbles_opposing_recovered": 0,
      "fumbles_opposing_touchdowns": 0,
      "fumbles_own_recovered": 0,
      "fumbles_own_touchdowns": 0,
      "fumbles_recovered_touchdowns_longest_yards": 0,
      "interception_pct": 0.0,
      "interceptions_longest": 0,
      "interceptions_returned_for_touchdown": 0,
      "interceptions_returned_touchdowns_longest_yards": 0,
      "interceptions_total": 0,
      "interceptions_touchdown": 0,
      "interceptions_yards": 0,
      "kicking_singles": 0,
      "kickoff_longest_yards": 0,
      "kickoff_return_faircatches": 0,
      "kickoff_return_longest_yards": 0,
      "kickoff_return_touchdowns": 0,
      "kickoff_return_touchdowns_longest_yards": 0,
      "kickoff_return_yards": 0,
      "kickoff_returns": 0,
      "kickoff_returns_10_yards_plus": 0,
      "kickoff_returns_20_yards_plus": 0,
      "kickoff_returns_30_yards_plus": 0,
      "kickoff_returns_40_yards_plus": 0,
      "kickoff_returns_50_yards_plus": 0,
      "kickoff_singles": 0,
      "kickoff_yards": 0,
      "kickoffs": 0,
      "misc_assisted_tackles": 0,
      "misc_combined_tackles": 0,
      "misc_tackles": 0,
      "passer_rating": 124.2,
      "passes_10_yards_plus": 7,
      "passes_20_yards_plus": 0,
      "passes_30_yards_plus": 2,
      "passes_40_yards_plus": 0,
      "passes_50_yards_plus": 0,
      "passes_completions": 19,
      "passes_defensed": 0,
      "passes_first_downs": 9,
      "passes_interceptions": 0,
      "passes_longest": 37,
      "passes_percentage": 0.731,
      "passes_touchdowns": 2,
      "passes_yards_gross": 222,
      "passing_2pt_conversions_succeeded": 0,
      "passing_touchdowns_longest_yards": 0,
      "penalty_yards": 0,
      "points": 0,
      "punt_return_faircatches": 0,
      "punt_return_longest_yards": 0,
      "punt_return_touchdowns": 0,
      "punt_return_touchdowns_longest_yards": 0,
      "punt_return_yards": 0,
      "punt_returns": 0,
      "punt_returns_10_yards_plus": 0,
      "punt_returns_20_yards_plus": 0,
      "punt_returns_30_yards_plus": 0,
      "punt_returns_40_yards_plus": 0,
      "punt_returns_50_yards_plus": 0,
      "punting_net_yards": 0,
      "punting_singles": 0,
      "punts_blocked": 0,
      "punts_inside_twenty": 0,
      "punts_longest": 0,
      "punts_total": 0,
      "punts_yards_gross": 0,
      "quarterback_hits": 0,
      "receiving_2pt_conversions_succeeded": 0,
      "receiving_touchdowns_longest_yards": 0,
      "receptions_10_yards_plus": 0,
      "receptions_20_yards_plus": 0,
      "receptions_30_yards_plus": 0,
      "receptions_40_yards_plus": 0,
      "receptions_50_yards_plus": 0,
      "receptions_average_yards_per": 0.0,
      "receptions_first_downs": 0,
      "receptions_fumbles": 0,
      "receptions_longest": 0,
      "receptions_looks": 0,
      "receptions_total": 0,
      "receptions_touchdowns": 0,
      "receptions_yards": 0,
      "red_zone_rush_attempts": 0,
      "red_zone_targets": 0,
      "rushes_10_yards_plus": 0,
      "rushes_20_yards_plus": 0,
      "rushes_30_yards_plus": 0,
      "rushes_40_yards_plus": 0,
      "rushes_50_yards_plus": 0,
      "rushes_attempts": 5,
      "rushes_fumbles": 0,
      "rushes_longest": 5,
      "rushes_touchdowns": 0,
      "rushes_yards": 13,
      "rushing_2pt_conversions_succeeded": 0,
      "rushing_average_yards_per": 2.6,
      "rushing_gross_yards": 0,
      "rushing_lost_yards": 0,
      "rushing_touchdowns_longest_yards": 0,
      "sacks_against_total": 0,
      "sacks_against_yards": 0,
      "sacks_total": 0.0,
      "sacks_yards": 0.0,
      "safeties": 0,
      "tackles_assists": 0,
      "tackles_solo": 0,
      "total_touchdowns": 0,
      "touchbacks_total": 0,
      "touchdown_pct": 7.692,
      "game_id": "eca96619-7f23-4619-8126-d4d5459fcad7",
      "player_id": "ffcfbd13-fa68-403b-b38f-3939d2a11888",
      "team_id": "5546974d-27c2-4d93-a63e-d8320952e871",
      "opponent_id": "e5796fc5-4c5e-486d-a76d-5879fd2f5117"
    }
  ]
}

This endpoint retrieves NFL Game Logs.

HTTP Request

GET https://api.stattleship.com/football/nfl/game_logs

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
game_id Game slug such as nfl-2015-2016-nyg-min-2015-12-27-2030 for Giants vs Vikings
player_id Player slug such as nfl-tom-brady
team_id Team slug such as nfl-ne for the Patriots
interval_type Either Seeinterval_type` for sport.
season_id Current season Season slug such as nfl-2015-2016
on Friendly date such as today or tomorrow; or a timestamp; or a date such as 2016-05-22
since Friendly date such as 1 week ago or 4 days ago or last Sunday; or a timestamp such as 1448820000
week For NFL its week number such as 6
status Game status of in_progress upcoming or ended

Hockey Game Logs

curl -X "GET" "https://api.stattleship.com/hockey/nhl/game_logs" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

{
  "games": [
    {
      "id": "5eeec1a8-37be-4478-8e0f-dd8e0f94c7fa",
      "created_at": "2015-12-26T03:47:19-05:00",
      "updated_at": "2015-12-27T20:26:03-05:00",
      "at_neutral_site": false,
      "attendance": 17565,
      "away_team_outcome": "win",
      "away_team_score": 6,
      "daytime": false,
      "duration": 8820,
      "ended_at": "2015-12-26T20:37:25-06:00",
      "home_team_outcome": "loss",
      "home_team_score": 3,
      "interval": "Regular Season",
      "interval_number": "",
      "interval_type": "regularseason",
      "label": "Sabres vs Bruins",
      "name": "Sabres vs Bruins December 26, 2015 at  6:00pm",
      "on": "on December 26, 2015",
      "score": "6-3",
      "score_differential": 3,
      "scoreline": "Sabres 6 - Bruins 3",
      "slug": "nhl-2015-2016-buf-bos-2015-12-26-1900",
      "started_at": "2015-12-26T18:00:00-06:00",
      "temperature": null,
      "temperature_unit": null,
      "timestamp": 1451174400,
      "title": "Sabres vs Bruins",
      "weather_conditions": null,
      "wind_direction": null,
      "wind_speed": null,
      "wind_speed_unit": null,
      "home_team_id": "e9d7bcb5-6723-4ca9-b1d9-1ccd026be1cb",
      "away_team_id": "1deb863f-6919-4b88-8a38-51753f3f3032",
      "winning_team_id": "1deb863f-6919-4b88-8a38-51753f3f3032",
      "season_id": "301759de-976d-4daa-a194-cacea1dc02ca",
      "venue_id": "bc3c4a36-a540-4879-ba5c-aba20984b125"
    }
  ],
  "winning_teams": [
    {
      "id": "1deb863f-6919-4b88-8a38-51753f3f3032",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:47-05:00",
      "location": "Buffalo",
      "name": "Buffalo",
      "nickname": "Sabres",
      "slug": "nhl-buf",
      "division_id": "15ca4e46-2b49-4f37-84ea-befb62de28c5",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    }
  ],
  "leagues": [
    {
      "id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "abbreviation": "NHL",
      "color": null,
      "minutes_per_period": null,
      "name": "National Hockey League",
      "periods": null,
      "slug": "nhl",
      "sport": "hockey"
    }
  ],
  "seasons": [
    {
      "id": "301759de-976d-4daa-a194-cacea1dc02ca",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "name": "2015-2016",
      "starts_on": "2015-09-01",
      "ends_on": "2016-06-30",
      "slug": "nhl-2015-2016",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    }
  ],
  "venues": [
    {
      "id": "bc3c4a36-a540-4879-ba5c-aba20984b125",
      "created_at": "2015-12-26T02:42:09-05:00",
      "updated_at": "2015-12-26T02:42:09-05:00",
      "abbreviation": "BA",
      "city": "Nashville",
      "country": "USA",
      "field_type": null,
      "name": "Bridgestone Arena",
      "slug": "ba",
      "state": "Tennessee",
      "time_zone": "US/Central"
    }
  ],
  "players": [
    {
      "id": "ed278ba1-bf34-4def-b7d3-536201cbff09",
      "created_at": "2015-12-26T02:41:55-05:00",
      "updated_at": "2015-12-29T05:34:40-05:00",
      "active": true,
      "defensive": false,
      "first_name": "David",
      "handedness": "right",
      "height": 72,
      "unit_of_height": "inches",
      "last_name": "Krejci",
      "name": "David Krejci",
      "offensive": true,
      "position_abbreviation": "C",
      "position_name": "Center",
      "salary": 7250000,
      "humanized_salary": "7,250,000",
      "salary_currency": "USD",
      "school": null,
      "slug": "nhl-david-krejci",
      "sport": "hockey",
      "weight": 188,
      "unit_of_weight": "pounds",
      "years_of_experience": 10,
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9",
      "playing_position_id": "de234539-31b3-4223-ad8c-2958961d2dc4",
      "team_id": "e9d7bcb5-6723-4ca9-b1d9-1ccd026be1cb"
    }
  ],
  "teams": [
    {
      "id": "e9d7bcb5-6723-4ca9-b1d9-1ccd026be1cb",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:48-05:00",
      "location": "Boston",
      "name": "Boston",
      "nickname": "Bruins",
      "slug": "nhl-bos",
      "division_id": "15ca4e46-2b49-4f37-84ea-befb62de28c5",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    }
  ],
  "opponents": [
    {
      "id": "1deb863f-6919-4b88-8a38-51753f3f3032",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:47-05:00",
      "location": "Buffalo",
      "name": "Buffalo",
      "nickname": "Sabres",
      "slug": "nhl-buf",
      "division_id": "15ca4e46-2b49-4f37-84ea-befb62de28c5",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    }
  ],
  "game_logs": [
    {
      "id": "5eeec1a8-37be-4478-8e0f-dd8e0f94c7faed278ba1-bf34-4def-b7d3-536201cbff09",
      "created_at": "2015-12-26T03:47:19-05:00",
      "updated_at": "2015-12-27T20:26:03-05:00",
      "game_played": true,
      "game_started": null,
      "home_team_outcome": "loss",
      "home_team_score": 3,
      "away_team_outcome": "win",
      "away_team_score": 6,
      "team_outcome": "loss",
      "team_score": 3,
      "assists": null,
      "blocked_shots": null,
      "faceoffs_won": 9,
      "faceoffs_lost": 6,
      "faceoff_win_percentage": "0.6",
      "goals": 1,
      "goals_power_play": null,
      "goals_short_handed": null,
      "hits": null,
      "penalty_minutes": null,
      "plus_minus": -1,
      "points": null,
      "points_power_play": null,
      "shifts": 23,
      "shooting_pct": "20.0",
      "shots": 5,
      "takeaways": null,
      "time_on_ice_secs": 1174,
      "game_id": "5eeec1a8-37be-4478-8e0f-dd8e0f94c7fa",
      "player_id": "ed278ba1-bf34-4def-b7d3-536201cbff09",
      "team_id": "e9d7bcb5-6723-4ca9-b1d9-1ccd026be1cb",
      "opponent_id": "1deb863f-6919-4b88-8a38-51753f3f3032"
    }
  ]
}

This endpoint retrieves NHL Game Logs.

HTTP Request

GET https://api.stattleship.com/hockey/nhl/game_logs

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
game_id Game slug such as nhl-2015-2016-det-min-2015-12-28-2000 for Red Wings vs Wild
player_id Player slug such as nhl-tyler-seguin
team_id Team slug such as nhl-bos for the Bruins
interval_type regularseason See interval_type for sport.
season_id Current season Season slug such as nhl-2015-2016
on Friendly date such as today or tomorrow; or a timestamp; or a date such as 2016-05-22
since Friendly date such as 1 week ago or 4 days ago or last Sunday; or a timestamp such as 1448820000
status Game status of in_progress upcoming or ended

Games

Baseball Games

curl -X "GET" "https://api.stattleship.com/baseball/mlb/games" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

This endpoint retrieves MLB Games.

HTTP Request

GET https://api.stattleship.com/baseball/mlb/games

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
player_id Player slug such as mlb-david-ortiz for David Ortiz
team_id Team slug such as mlb-kc for the Kansas City Royals
interval_type current interval See interval_type for sport.
season_id Current season Season slug such as mlb-2016
on Friendly date such as today or tomorrow; or a timestamp; or a date such as 2016-05-22
since Friendly date such as 1 week ago or 4 days ago or last Sunday; or a timestamp such as 1448820000
status Game status of in_progress upcoming or ended
id If you want a single game

Basketball Games

curl -X "GET" "https://api.stattleship.com/basketball/nba/games" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

{
  "home_teams": [
    {
      "id": "5bf2300f-777b-4caa-9ef3-3fda11f17ad1",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:48-05:00",
      "location": "Los Angeles",
      "name": "L.A. Clippers",
      "nickname": "Clippers",
      "slug": "nba-lac",
      "division_id": "0df84c15-1dbc-471e-b9d9-d277eeba9eba",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    },
    {
      "id": "3d25723a-25c7-48b1-9c69-f92ff957a4c8",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:47-05:00",
      "location": "Utah",
      "name": "Utah",
      "nickname": "Jazz",
      "slug": "nba-uta",
      "division_id": "99f54b82-4f3e-44f1-b311-f7806d4ba9a9",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    },
    {
      "id": "ed803cc0-8e6e-4798-b5aa-9eecbc977801",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:48-05:00",
      "location": "San Antonio",
      "name": "San Antonio",
      "nickname": "Spurs",
      "slug": "nba-sa",
      "division_id": "855ee1c8-446b-4120-96f9-af6b041e9c26",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    }
  ],
  "leagues": [
    {
      "id": "3c805f57-ef31-407d-b633-54bac8745b9e",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "abbreviation": "NBA",
      "color": null,
      "minutes_per_period": null,
      "name": "National Basketball Association",
      "periods": null,
      "slug": "nba",
      "sport": "basketball"
    }
  ],
  "away_teams": [
    {
      "id": "18e967b2-07e1-473c-8dda-bac32defc28e",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:47-05:00",
      "location": "Oklahoma City",
      "name": "Oklahoma City",
      "nickname": "Thunder",
      "slug": "nba-okc",
      "division_id": "99f54b82-4f3e-44f1-b311-f7806d4ba9a9",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    },
    {
      "id": "4163a809-e128-41eb-aae1-e5feb3bbd572",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:47-05:00",
      "location": "Phoenix",
      "name": "Phoenix",
      "nickname": "Suns",
      "slug": "nba-pho",
      "division_id": "0df84c15-1dbc-471e-b9d9-d277eeba9eba",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    },
    {
      "id": "88710a85-be5d-429f-b0ba-10a27f1c1d79",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:48-05:00",
      "location": "Indiana",
      "name": "Indiana",
      "nickname": "Pacers",
      "slug": "nba-ind",
      "division_id": "a0694588-40a0-47e8-9a72-68d118eb68a8",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    }
  ],
  "winning_teams": [
    {
      "id": "18e967b2-07e1-473c-8dda-bac32defc28e",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:47-05:00",
      "location": "Oklahoma City",
      "name": "Oklahoma City",
      "nickname": "Thunder",
      "slug": "nba-okc",
      "division_id": "99f54b82-4f3e-44f1-b311-f7806d4ba9a9",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    },
    {
      "id": "3d25723a-25c7-48b1-9c69-f92ff957a4c8",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:47-05:00",
      "location": "Utah",
      "name": "Utah",
      "nickname": "Jazz",
      "slug": "nba-uta",
      "division_id": "99f54b82-4f3e-44f1-b311-f7806d4ba9a9",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    },
    {
      "id": "ed803cc0-8e6e-4798-b5aa-9eecbc977801",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:48-05:00",
      "location": "San Antonio",
      "name": "San Antonio",
      "nickname": "Spurs",
      "slug": "nba-sa",
      "division_id": "855ee1c8-446b-4120-96f9-af6b041e9c26",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    }
  ],
  "seasons": [
    {
      "id": "e56321f3-1c81-4f91-9bdf-8dac07129648",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "name": "2015-2016",
      "starts_on": "2015-10-01",
      "ends_on": "2016-06-30",
      "slug": "nba-2015-2016",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    }
  ],
  "venues": [
    {
      "id": "0da74cd3-2f66-4534-a278-43b7fd9ddcaa",
      "created_at": "2015-12-18T00:46:26-05:00",
      "updated_at": "2015-12-18T00:46:26-05:00",
      "abbreviation": "SC",
      "city": "Los Angeles",
      "country": "USA",
      "field_type": null,
      "name": "Staples Center",
      "slug": "sc",
      "state": "California",
      "time_zone": "US/Pacific"
    },
    {
      "id": "de305341-29eb-4aa5-b43a-1134cf3016a5",
      "created_at": "2015-12-18T00:49:14-05:00",
      "updated_at": "2015-12-18T00:49:14-05:00",
      "abbreviation": "VSHA",
      "city": "Salt Lake City",
      "country": "USA",
      "field_type": null,
      "name": "Vivint Smart Home Arena",
      "slug": "vsha",
      "state": "Utah",
      "time_zone": "US/Mountain"
    },
    {
      "id": "0520b63f-532b-4d63-b6df-6f1fdd2f5b19",
      "created_at": "2015-12-18T00:47:05-05:00",
      "updated_at": "2015-12-18T00:47:05-05:00",
      "abbreviation": "ATTC",
      "city": "San Antonio",
      "country": "USA",
      "field_type": null,
      "name": "AT&T Center",
      "slug": "attc",
      "state": "Texas",
      "time_zone": "US/Central"
    }
  ],
  "games": [
    {
      "id": "72d66f4b-82f4-4f4c-8e54-e126121653c1",
      "created_at": "2015-12-21T22:15:33-05:00",
      "updated_at": "2015-12-22T01:06:13-05:00",
      "at_neutral_site": false,
      "attendance": 19415,
      "away_team_outcome": "win",
      "away_team_score": 100,
      "daytime": false,
      "duration": 7800,
      "ended_at": "2015-12-21T21:52:28-08:00",
      "home_team_outcome": "loss",
      "home_team_score": 99,
      "interval": "Regular Season",
      "interval_number": "",
      "interval_type": "regularseason",
      "label": "Thunder vs Clippers",
      "name": "Thunder vs Clippers December 21, 2015 at  7:30pm",
      "on": "on December 21, 2015",
      "score": "100-99",
      "score_differential": 1,
      "scoreline": "Thunder 100 - Clippers 99",
      "slug": "nba-2015-2016-okc-lac-2015-12-21-1930",
      "started_at": "2015-12-21T19:30:00-08:00",
      "temperature": null,
      "temperature_unit": null,
      "timestamp": 1450755000,
      "title": "Thunder vs Clippers",
      "weather_conditions": null,
      "wind_direction": null,
      "wind_speed": null,
      "wind_speed_unit": null,
      "home_team_id": "5bf2300f-777b-4caa-9ef3-3fda11f17ad1",
      "away_team_id": "18e967b2-07e1-473c-8dda-bac32defc28e",
      "winning_team_id": "18e967b2-07e1-473c-8dda-bac32defc28e",
      "season_id": "e56321f3-1c81-4f91-9bdf-8dac07129648",
      "venue_id": "0da74cd3-2f66-4534-a278-43b7fd9ddcaa"
    },
    {
      "id": "b426d419-6b4b-427e-a450-2b265e9d0164",
      "created_at": "2015-12-21T20:47:19-05:00",
      "updated_at": "2015-12-21T23:35:58-05:00",
      "at_neutral_site": false,
      "attendance": 19911,
      "away_team_outcome": "loss",
      "away_team_score": 89,
      "daytime": false,
      "duration": 7920,
      "ended_at": "2015-12-21T21:25:04-07:00",
      "home_team_outcome": "win",
      "home_team_score": 110,
      "interval": "Regular Season",
      "interval_number": "",
      "interval_type": "regularseason",
      "label": "Suns vs Jazz",
      "name": "Suns vs Jazz December 21, 2015 at  7:00pm",
      "on": "on December 21, 2015",
      "score": "89-110",
      "score_differential": 21,
      "scoreline": "Suns 89 - Jazz 110",
      "slug": "nba-2015-2016-pho-uta-2015-12-21-1900",
      "started_at": "2015-12-21T19:00:00-07:00",
      "temperature": null,
      "temperature_unit": null,
      "timestamp": 1450749600,
      "title": "Suns vs Jazz",
      "weather_conditions": null,
      "wind_direction": null,
      "wind_speed": null,
      "wind_speed_unit": null,
      "home_team_id": "3d25723a-25c7-48b1-9c69-f92ff957a4c8",
      "away_team_id": "4163a809-e128-41eb-aae1-e5feb3bbd572",
      "winning_team_id": "3d25723a-25c7-48b1-9c69-f92ff957a4c8",
      "season_id": "e56321f3-1c81-4f91-9bdf-8dac07129648",
      "venue_id": "de305341-29eb-4aa5-b43a-1134cf3016a5"
    },
    {
      "id": "2c87b088-5254-4248-b08d-1324f66eaf8c",
      "created_at": "2015-12-21T20:17:13-05:00",
      "updated_at": "2015-12-21T22:46:49-05:00",
      "at_neutral_site": false,
      "attendance": 18418,
      "away_team_outcome": "loss",
      "away_team_score": 92,
      "daytime": false,
      "duration": 7020,
      "ended_at": "2015-12-21T21:38:43-06:00",
      "home_team_outcome": "win",
      "home_team_score": 106,
      "interval": "Regular Season",
      "interval_number": "",
      "interval_type": "regularseason",
      "label": "Pacers vs Spurs",
      "name": "Pacers vs Spurs December 21, 2015 at  7:30pm",
      "on": "on December 21, 2015",
      "score": "92-106",
      "score_differential": 14,
      "scoreline": "Pacers 92 - Spurs 106",
      "slug": "nba-2015-2016-ind-sa-2015-12-21-1930",
      "started_at": "2015-12-21T19:30:00-06:00",
      "temperature": null,
      "temperature_unit": null,
      "timestamp": 1450747800,
      "title": "Pacers vs Spurs",
      "weather_conditions": null,
      "wind_direction": null,
      "wind_speed": null,
      "wind_speed_unit": null,
      "home_team_id": "ed803cc0-8e6e-4798-b5aa-9eecbc977801",
      "away_team_id": "88710a85-be5d-429f-b0ba-10a27f1c1d79",
      "winning_team_id": "ed803cc0-8e6e-4798-b5aa-9eecbc977801",
      "season_id": "e56321f3-1c81-4f91-9bdf-8dac07129648",
      "venue_id": "0520b63f-532b-4d63-b6df-6f1fdd2f5b19"
    }
  ]
}

This endpoint retrieves NBA Games.

HTTP Request

GET https://api.stattleship.com/basketball/nba/games

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
player_id Player slug such as nba-lebron-james for Lebron James
team_id Team slug such as nba-gs for the Warriors
interval_type regularseason See interval_type for sport.
season_id Current season Season slug such as nba-2015-2016
on Friendly date such as today or tomorrow; or a timestamp; or a date such as 2016-05-22
since Friendly date such as 1 week ago or 4 days ago or last Sunday; or a timestamp such as 1448820000
status Game status of in_progress upcoming or ended
id If you want a single game

Football Games

curl -X "GET" "https://api.stattleship.com/football/nfl/games" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

{
  "home_teams": [
    {
      "id": "a192531d-e60c-4256-8220-f3538dd8b020",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-22T01:12:50-05:00",
      "location": "New Orleans",
      "name": "New Orleans",
      "nickname": "Saints",
      "slug": "nfl-no",
      "division_id": "b8563ecf-1402-415e-8576-e4dfbda8ae70",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    },
    {
      "id": "9990f062-0d8d-4dbf-82cc-73f3d5dfe532",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-21T00:23:00-05:00",
      "location": "Philadelphia",
      "name": "Philadelphia",
      "nickname": "Eagles",
      "slug": "nfl-phi",
      "division_id": "804da3bf-894a-4066-8f43-61617e7bfcb5",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    },
    {
      "id": "d1f76207-7303-484f-a25f-b00d1eb46ecd",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-20T20:52:40-05:00",
      "location": "San Diego",
      "name": "San Diego",
      "nickname": "Chargers",
      "slug": "nfl-sd",
      "division_id": "f643f66d-3c3f-4665-9367-7a995a9e702e",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    }
  ],
  "leagues": [
    {
      "id": "ebb52980-4b25-4384-bb32-26d354568f0c",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "abbreviation": "NFL",
      "color": null,
      "minutes_per_period": null,
      "name": "National Football League",
      "periods": null,
      "slug": "nfl",
      "sport": "football"
    }
  ],
  "away_teams": [
    {
      "id": "82fedbfa-8c2c-46cc-b02f-ea16abf5ffc9",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-22T01:12:50-05:00",
      "location": "Detroit",
      "name": "Detroit",
      "nickname": "Lions",
      "slug": "nfl-det",
      "division_id": "0e65eafb-0ce0-4b26-b79a-e0ae41991878",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    },
    {
      "id": "77c57737-b688-4bbf-a127-7b7f0ef8bcdd",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-21T00:23:00-05:00",
      "location": "Arizona",
      "name": "Arizona",
      "nickname": "Cardinals",
      "slug": "nfl-ari",
      "division_id": "70c14524-5ddd-432b-8728-9c5f9af9b565",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    },
    {
      "id": "49b7f5ba-da40-4b42-be4b-c68b4f9257e8",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-21T10:27:26-05:00",
      "location": "Miami",
      "name": "Miami",
      "nickname": "Dolphins",
      "slug": "nfl-mia",
      "division_id": "7eb2130f-0d1d-4396-9595-649708fe5a6a",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    }
  ],
  "winning_teams": [
    {
      "id": "82fedbfa-8c2c-46cc-b02f-ea16abf5ffc9",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-22T01:12:50-05:00",
      "location": "Detroit",
      "name": "Detroit",
      "nickname": "Lions",
      "slug": "nfl-det",
      "division_id": "0e65eafb-0ce0-4b26-b79a-e0ae41991878",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    },
    {
      "id": "77c57737-b688-4bbf-a127-7b7f0ef8bcdd",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-21T00:23:00-05:00",
      "location": "Arizona",
      "name": "Arizona",
      "nickname": "Cardinals",
      "slug": "nfl-ari",
      "division_id": "70c14524-5ddd-432b-8728-9c5f9af9b565",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    },
    {
      "id": "d1f76207-7303-484f-a25f-b00d1eb46ecd",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-20T20:52:40-05:00",
      "location": "San Diego",
      "name": "San Diego",
      "nickname": "Chargers",
      "slug": "nfl-sd",
      "division_id": "f643f66d-3c3f-4665-9367-7a995a9e702e",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    }
  ],
  "seasons": [
    {
      "id": "07f6794a-5312-4ce9-b5b0-2010c5975ff2",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "name": "2015-2016",
      "starts_on": "2015-08-01",
      "ends_on": "2016-02-14",
      "slug": "nfl-2015-2016",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    }
  ],
  "venues": [
    {
      "id": "48ba707a-bf96-41b1-8dab-56ac26c1c98b",
      "created_at": "2015-12-17T23:53:23-05:00",
      "updated_at": "2015-12-17T23:53:23-05:00",
      "abbreviation": "MBS",
      "city": "New Orleans",
      "country": "USA",
      "field_type": "FieldTurf",
      "name": "Mercedes-Benz Superdome",
      "slug": "mbs",
      "state": "Louisiana",
      "time_zone": "US/Central"
    },
    {
      "id": "f12f848c-c5b4-46a8-9fde-46c91ae792f9",
      "created_at": "2015-12-18T00:02:57-05:00",
      "updated_at": "2015-12-18T00:02:57-05:00",
      "abbreviation": "LFF",
      "city": "Philadelphia",
      "country": "USA",
      "field_type": "Grass",
      "name": "Lincoln Financial Field",
      "slug": "lff",
      "state": "Pennsylvania",
      "time_zone": "US/Eastern"
    },
    {
      "id": "29c943eb-9d1e-492d-9322-30ffd77f3cdc",
      "created_at": "2015-12-17T23:51:50-05:00",
      "updated_at": "2015-12-17T23:51:50-05:00",
      "abbreviation": "QS",
      "city": "San Diego",
      "country": "USA",
      "field_type": "Grass",
      "name": "Qualcomm Stadium",
      "slug": "qs",
      "state": "California",
      "time_zone": "US/Pacific"
    }
  ],
  "games": [
    {
      "id": "4f2a9604-423b-43d2-b636-7b0a9e146577",
      "created_at": "2015-12-21T20:22:13-05:00",
      "updated_at": "2015-12-22T01:12:50-05:00",
      "at_neutral_site": false,
      "attendance": 73017,
      "away_team_outcome": "win",
      "away_team_score": 35,
      "daytime": false,
      "duration": 11760,
      "ended_at": "2015-12-21T22:46:57-06:00",
      "home_team_outcome": "loss",
      "home_team_score": 27,
      "interval": "Week 15",
      "interval_number": "15",
      "interval_type": "week",
      "label": "Lions vs Saints",
      "name": "Lions vs Saints December 21, 2015 at  7:30pm",
      "on": "on December 21, 2015",
      "score": "35-27",
      "score_differential": 8,
      "scoreline": "Lions 35 - Saints 27",
      "slug": "nfl-2015-2016-det-no-2015-12-21-1930",
      "started_at": "2015-12-21T19:30:00-06:00",
      "temperature": 69,
      "temperature_unit": "f",
      "timestamp": 1450747800,
      "title": "Lions vs Saints",
      "weather_conditions": "light-rain",
      "wind_direction": "southeast",
      "wind_speed": 5,
      "wind_speed_unit": "mph",
      "home_team_id": "a192531d-e60c-4256-8220-f3538dd8b020",
      "away_team_id": "82fedbfa-8c2c-46cc-b02f-ea16abf5ffc9",
      "winning_team_id": "82fedbfa-8c2c-46cc-b02f-ea16abf5ffc9",
      "season_id": "07f6794a-5312-4ce9-b5b0-2010c5975ff2",
      "venue_id": "48ba707a-bf96-41b1-8dab-56ac26c1c98b"
    },
    {
      "id": "bce59f46-41d4-4640-8371-98149ed65ca4",
      "created_at": "2015-12-20T20:22:06-05:00",
      "updated_at": "2015-12-21T20:03:54-05:00",
      "at_neutral_site": false,
      "attendance": 69596,
      "away_team_outcome": "win",
      "away_team_score": 40,
      "daytime": false,
      "duration": 10800,
      "ended_at": "2015-12-20T23:35:10-05:00",
      "home_team_outcome": "loss",
      "home_team_score": 17,
      "interval": "Week 15",
      "interval_number": "15",
      "interval_type": "week",
      "label": "Cardinals vs Eagles",
      "name": "Cardinals vs Eagles December 20, 2015 at  8:30pm",
      "on": "on December 20, 2015",
      "score": "40-17",
      "score_differential": 23,
      "scoreline": "Cardinals 40 - Eagles 17",
      "slug": "nfl-2015-2016-ari-phi-2015-12-20-2030",
      "started_at": "2015-12-20T20:30:00-05:00",
      "temperature": 37,
      "temperature_unit": "f",
      "timestamp": 1450661400,
      "title": "Cardinals vs Eagles",
      "weather_conditions": "partly-cloudy",
      "wind_direction": "south",
      "wind_speed": 4,
      "wind_speed_unit": "mph",
      "home_team_id": "9990f062-0d8d-4dbf-82cc-73f3d5dfe532",
      "away_team_id": "77c57737-b688-4bbf-a127-7b7f0ef8bcdd",
      "winning_team_id": "77c57737-b688-4bbf-a127-7b7f0ef8bcdd",
      "season_id": "07f6794a-5312-4ce9-b5b0-2010c5975ff2",
      "venue_id": "f12f848c-c5b4-46a8-9fde-46c91ae792f9"
    },
    {
      "id": "5ef69dba-1428-4d69-b8ff-6e91fcbc6304",
      "created_at": "2015-12-20T16:13:10-05:00",
      "updated_at": "2015-12-21T06:03:53-05:00",
      "at_neutral_site": false,
      "attendance": 66676,
      "away_team_outcome": "loss",
      "away_team_score": 14,
      "daytime": false,
      "duration": 11760,
      "ended_at": "2015-12-20T16:46:55-08:00",
      "home_team_outcome": "win",
      "home_team_score": 30,
      "interval": "Week 15",
      "interval_number": "15",
      "interval_type": "week",
      "label": "Dolphins vs Chargers",
      "name": "Dolphins vs Chargers December 20, 2015 at  1:25pm",
      "on": "on December 20, 2015",
      "score": "14-30",
      "score_differential": 16,
      "scoreline": "Dolphins 14 - Chargers 30",
      "slug": "nfl-2015-2016-mia-sd-2015-12-20-1325",
      "started_at": "2015-12-20T13:25:00-08:00",
      "temperature": 61,
      "temperature_unit": "f",
      "timestamp": 1450646700,
      "title": "Dolphins vs Chargers",
      "weather_conditions": "partly-cloudy",
      "wind_direction": "west",
      "wind_speed": 11,
      "wind_speed_unit": "mph",
      "home_team_id": "d1f76207-7303-484f-a25f-b00d1eb46ecd",
      "away_team_id": "49b7f5ba-da40-4b42-be4b-c68b4f9257e8",
      "winning_team_id": "d1f76207-7303-484f-a25f-b00d1eb46ecd",
      "season_id": "07f6794a-5312-4ce9-b5b0-2010c5975ff2",
      "venue_id": "29c943eb-9d1e-492d-9322-30ffd77f3cdc"
    }
  ]
}

This endpoint retrieves NFL Games.

HTTP Request

GET https://api.stattleship.com/football/nfl/games

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
player_id Player slug such as nfl-tom-brady
team_id Team slug such as nfl-ne for the Patriots
interval_type Either Seeinterval_type` for sport.
season_id Current season Season slug such as nfl-2015-2016
on Friendly date such as today or tomorrow; or a timestamp; or a date such as 2016-05-22
since Friendly date such as 1 week ago or 4 days ago or last Sunday; or a timestamp such as 1448820000
week For NFL its week number such as 6
status Game status of in_progress upcoming or ended
weather_conditions Conditions like snow light-rain cloudy heavy-rain sunny partly-cloudy dome
id If you want a single game

Hockey Games

curl -X "GET" "https://api.stattleship.com/hockey/nhl/games" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

{
  "home_teams": [
    {
      "id": "4cab4924-a7f5-43c5-8c16-73276fe5b485",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:47-05:00",
      "location": "Colorado",
      "name": "Colorado",
      "nickname": "Avalanche",
      "slug": "nhl-col",
      "division_id": "8e46750a-615a-4362-8468-26a8541fc713",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    },
    {
      "id": "10c78613-f4e5-4ebf-a259-e3643aa3785a",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:47-05:00",
      "location": "Edmonton",
      "name": "Edmonton",
      "nickname": "Oilers",
      "slug": "nhl-edm",
      "division_id": "11740eea-c575-44e9-b4f5-a80805703ad0",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    },
    {
      "id": "4043825f-90d4-4f0d-8eb6-c734a2eafe9f",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:47-05:00",
      "location": "Minnesota",
      "name": "Minnesota",
      "nickname": "Wild",
      "slug": "nhl-min",
      "division_id": "8e46750a-615a-4362-8468-26a8541fc713",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    }
  ],
  "leagues": [
    {
      "id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "abbreviation": "NHL",
      "color": null,
      "minutes_per_period": null,
      "name": "National Hockey League",
      "periods": null,
      "slug": "nhl",
      "sport": "hockey"
    }
  ],
  "away_teams": [
    {
      "id": "2d8d4fda-a9b9-4978-abcc-31b9dfb47175",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:47-05:00",
      "location": "Toronto",
      "name": "Toronto",
      "nickname": "Maple Leafs",
      "slug": "nhl-tor",
      "division_id": "15ca4e46-2b49-4f37-84ea-befb62de28c5",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    },
    {
      "id": "157c2242-afa5-499d-906d-6a992927e58d",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-15T10:51:26-05:00",
      "location": "Winnipeg",
      "name": "Winnipeg",
      "nickname": "Jets",
      "slug": "nhl-win",
      "division_id": "8e46750a-615a-4362-8468-26a8541fc713",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    },
    {
      "id": "5786217b-24e4-4827-8fb9-b4bcd388b869",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:48-05:00",
      "location": "Dallas",
      "name": "Dallas",
      "nickname": "Stars",
      "slug": "nhl-dal",
      "division_id": "8e46750a-615a-4362-8468-26a8541fc713",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    }
  ],
  "winning_teams": [
    {
      "id": "2d8d4fda-a9b9-4978-abcc-31b9dfb47175",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:47-05:00",
      "location": "Toronto",
      "name": "Toronto",
      "nickname": "Maple Leafs",
      "slug": "nhl-tor",
      "division_id": "15ca4e46-2b49-4f37-84ea-befb62de28c5",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    },
    {
      "id": "10c78613-f4e5-4ebf-a259-e3643aa3785a",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:47-05:00",
      "location": "Edmonton",
      "name": "Edmonton",
      "nickname": "Oilers",
      "slug": "nhl-edm",
      "division_id": "11740eea-c575-44e9-b4f5-a80805703ad0",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    },
    {
      "id": "5786217b-24e4-4827-8fb9-b4bcd388b869",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:48-05:00",
      "location": "Dallas",
      "name": "Dallas",
      "nickname": "Stars",
      "slug": "nhl-dal",
      "division_id": "8e46750a-615a-4362-8468-26a8541fc713",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    }
  ],
  "seasons": [
    {
      "id": "301759de-976d-4daa-a194-cacea1dc02ca",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "name": "2015-2016",
      "starts_on": "2015-09-01",
      "ends_on": "2016-06-30",
      "slug": "nhl-2015-2016",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    }
  ],
  "venues": [
    {
      "id": "528f2e9a-bbdb-465b-b43d-0970e09b315d",
      "created_at": "2015-12-18T01:12:52-05:00",
      "updated_at": "2015-12-18T01:12:52-05:00",
      "abbreviation": "PC",
      "city": "Denver",
      "country": "USA",
      "field_type": null,
      "name": "Pepsi Center",
      "slug": "pepsi-center",
      "state": "Colorado",
      "time_zone": "US/Mountain"
    },
    {
      "id": "7ad85290-fdab-4290-a4d7-7492a7984ded",
      "created_at": "2015-12-18T01:17:00-05:00",
      "updated_at": "2015-12-18T01:17:00-05:00",
      "abbreviation": "RP",
      "city": "Edmonton",
      "country": "CAN",
      "field_type": null,
      "name": "Rexall Place",
      "slug": "rp",
      "state": "Alberta",
      "time_zone": "Canada/Mountain"
    },
    {
      "id": "5fb42b75-2383-4246-a0db-4509a7bf55ca",
      "created_at": "2015-12-18T01:14:10-05:00",
      "updated_at": "2015-12-18T01:14:10-05:00",
      "abbreviation": "XEC",
      "city": "Saint Paul",
      "country": "USA",
      "field_type": null,
      "name": "Xcel Energy Center",
      "slug": "xec",
      "state": "Minnesota",
      "time_zone": "US/Central"
    }
  ],
  "games": [
    {
      "id": "29bd7962-6cdb-4f33-b7cb-ec6b2c5fc871",
      "created_at": "2015-12-21T20:47:04-05:00",
      "updated_at": "2015-12-22T00:08:56-05:00",
      "at_neutral_site": false,
      "attendance": 16084,
      "away_team_outcome": "win",
      "away_team_score": 7,
      "daytime": false,
      "duration": 9300,
      "ended_at": "2015-12-21T21:47:22-07:00",
      "home_team_outcome": "loss",
      "home_team_score": 4,
      "interval": "Regular Season",
      "interval_number": "",
      "interval_type": "regularseason",
      "label": "Maple Leafs vs Avalanche",
      "name": "Maple Leafs vs Avalanche December 21, 2015 at  7:00pm",
      "on": "on December 21, 2015",
      "score": "7-4",
      "score_differential": 3,
      "scoreline": "Maple Leafs 7 - Avalanche 4",
      "slug": "nhl-2015-2016-tor-col-2015-12-21-1900",
      "started_at": "2015-12-21T19:00:00-07:00",
      "temperature": null,
      "temperature_unit": null,
      "timestamp": 1450749600,
      "title": "Maple Leafs vs Avalanche",
      "weather_conditions": null,
      "wind_direction": null,
      "wind_speed": null,
      "wind_speed_unit": null,
      "home_team_id": "4cab4924-a7f5-43c5-8c16-73276fe5b485",
      "away_team_id": "2d8d4fda-a9b9-4978-abcc-31b9dfb47175",
      "winning_team_id": "2d8d4fda-a9b9-4978-abcc-31b9dfb47175",
      "season_id": "301759de-976d-4daa-a194-cacea1dc02ca",
      "venue_id": "528f2e9a-bbdb-465b-b43d-0970e09b315d"
    },
    {
      "id": "6b45cd51-c1b9-4ae1-af36-d24c77607e21",
      "created_at": "2015-12-21T20:48:42-05:00",
      "updated_at": "2015-12-22T00:08:58-05:00",
      "at_neutral_site": false,
      "attendance": 16839,
      "away_team_outcome": "loss",
      "away_team_score": 1,
      "daytime": false,
      "duration": 9420,
      "ended_at": "2015-12-21T21:45:10-07:00",
      "home_team_outcome": "win",
      "home_team_score": 3,
      "interval": "Regular Season",
      "interval_number": "",
      "interval_type": "regularseason",
      "label": "Jets vs Oilers",
      "name": "Jets vs Oilers December 21, 2015 at  7:00pm",
      "on": "on December 21, 2015",
      "score": "1-3",
      "score_differential": 2,
      "scoreline": "Jets 1 - Oilers 3",
      "slug": "nhl-2015-2016-win-edm-2015-12-21-1900",
      "started_at": "2015-12-21T19:00:00-07:00",
      "temperature": null,
      "temperature_unit": null,
      "timestamp": 1450749600,
      "title": "Jets vs Oilers",
      "weather_conditions": null,
      "wind_direction": null,
      "wind_speed": null,
      "wind_speed_unit": null,
      "home_team_id": "10c78613-f4e5-4ebf-a259-e3643aa3785a",
      "away_team_id": "157c2242-afa5-499d-906d-6a992927e58d",
      "winning_team_id": "10c78613-f4e5-4ebf-a259-e3643aa3785a",
      "season_id": "301759de-976d-4daa-a194-cacea1dc02ca",
      "venue_id": "7ad85290-fdab-4290-a4d7-7492a7984ded"
    },
    {
      "id": "be8e5954-2af0-45de-b7bb-1c3cfe5af61e",
      "created_at": "2015-12-21T19:48:45-05:00",
      "updated_at": "2015-12-22T03:29:01-05:00",
      "at_neutral_site": false,
      "attendance": 19047,
      "away_team_outcome": "win",
      "away_team_score": 6,
      "daytime": false,
      "duration": 9660,
      "ended_at": "2015-12-21T21:50:04-06:00",
      "home_team_outcome": "loss",
      "home_team_score": 3,
      "interval": "Regular Season",
      "interval_number": "",
      "interval_type": "regularseason",
      "label": "Stars vs Wild",
      "name": "Stars vs Wild December 21, 2015 at  7:00pm",
      "on": "on December 21, 2015",
      "score": "6-3",
      "score_differential": 3,
      "scoreline": "Stars 6 - Wild 3",
      "slug": "nhl-2015-2016-dal-min-2015-12-21-1900",
      "started_at": "2015-12-21T19:00:00-06:00",
      "temperature": null,
      "temperature_unit": null,
      "timestamp": 1450746000,
      "title": "Stars vs Wild",
      "weather_conditions": null,
      "wind_direction": null,
      "wind_speed": null,
      "wind_speed_unit": null,
      "home_team_id": "4043825f-90d4-4f0d-8eb6-c734a2eafe9f",
      "away_team_id": "5786217b-24e4-4827-8fb9-b4bcd388b869",
      "winning_team_id": "5786217b-24e4-4827-8fb9-b4bcd388b869",
      "season_id": "301759de-976d-4daa-a194-cacea1dc02ca",
      "venue_id": "5fb42b75-2383-4246-a0db-4509a7bf55ca"
    }
  ]
}

This endpoint retrieves NHL Games.

HTTP Request

GET https://api.stattleship.com/hockey/nhl/games

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
player_id Player slug such as nhl-tyler-seguin
team_id Team slug such as nhl-sj for the Sharks
interval_type regularseason See interval_type for sport.
season_id Current season Season slug such as nhl-2015-2016
on Friendly date such as today or tomorrow; or a timestamp; or a date such as 2016-05-22
since Friendly date such as 1 week ago or 4 days ago or last Sunday; or a timestamp such as 1448820000
status Game status of in_progress upcoming or ended
id If you want a single game

Injuries

Baseball Injuries

curl -X "GET" "https://api.stattleship.com/baseball/mlb/injuries" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

This endpoint retrieves MLB Injuries.

HTTP Request

GET https://api.stattleship.com/baseball/mlb/injuries

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
season_id Current season Season slug such as mlb-2016

Basketball Injuries

curl -X "GET" "https://api.stattleship.com/basketball/nba/injuries" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

{
  "players": [
    {
      "id": "b253d4df-a01e-490a-9f07-ceb4e2a82637",
      "created_at": "2015-12-18T00:45:42-05:00",
      "updated_at": "2015-12-19T07:54:42-05:00",
      "active": false,
      "defensive": false,
      "first_name": "Marcus",
      "handedness": "unknown",
      "height": 76,
      "unit_of_height": "inches",
      "last_name": "Smart",
      "name": "Marcus Smart",
      "offensive": true,
      "position_abbreviation": "PG",
      "position_name": "Point Guard",
      "salary": 3431040,
      "humanized_salary": "3,431,040",
      "salary_currency": "USD",
      "school": null,
      "slug": "nba-marcus-smart",
      "sport": "basketball",
      "weight": 220,
      "unit_of_weight": "pounds",
      "years_of_experience": null,
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e",
      "playing_position_id": "fff1b6b8-9e02-4071-8dc6-9356ddd1b292",
      "team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16"
    }
  ],
  "leagues": [
    {
      "id": "3c805f57-ef31-407d-b633-54bac8745b9e",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "abbreviation": "NBA",
      "color": null,
      "minutes_per_period": null,
      "name": "National Basketball Association",
      "periods": null,
      "slug": "nba",
      "sport": "basketball"
    }
  ],
  "teams": [
    {
      "id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:47-05:00",
      "location": "Boston",
      "name": "Boston",
      "nickname": "Celtics",
      "slug": "nba-bos",
      "division_id": "8256a4da-413c-4f03-8438-56963be591c4",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    }
  ],
  "seasons": [
    {
      "id": "e56321f3-1c81-4f91-9bdf-8dac07129648",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "name": "2015-2016",
      "starts_on": "2015-10-01",
      "ends_on": "2016-06-30",
      "slug": "nba-2015-2016",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    }
  ],
  "injuries": [
    {
      "id": "f41d00c4-9a68-47da-bf27-629f6e6fcd59",
      "created_at": "2015-12-18T03:56:01-05:00",
      "updated_at": "2015-12-18T03:56:01-05:00",
      "location_name": "Knee",
      "started_on": "2015-11-21",
      "status_updated_at": "2015-12-09T17:36:03-05:00",
      "note": "Smart has suffered a knee injury and is not expected back until the beginning of January.",
      "status": "out",
      "status_label": "Early Jan",
      "player_id": "b253d4df-a01e-490a-9f07-ceb4e2a82637",
      "season_id": "e56321f3-1c81-4f91-9bdf-8dac07129648",
      "team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16"
    }
  ]
}

This endpoint retrieves NBA Injuries.

HTTP Request

GET https://api.stattleship.com/basketball/nba/injuries

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
season_id Current season Season slug such as nba-2015-2016

Football Injuries

curl -X "GET" "https://api.stattleship.com/football/nfl/injuries" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

{
  "players": [
    {
      "id": "006c47ca-6686-4434-89b7-49baec3e1124",
      "created_at": "2015-12-17T23:53:43-05:00",
      "updated_at": "2015-12-19T13:51:01-05:00",
      "active": false,
      "defensive": false,
      "first_name": "Ryan",
      "handedness": "unknown",
      "height": null,
      "unit_of_height": "inches",
      "last_name": "Griffin",
      "name": "Ryan Griffin",
      "offensive": true,
      "position_abbreviation": "TE",
      "position_name": "Tight End",
      "salary": null,
      "humanized_salary": "",
      "salary_currency": "USD",
      "school": null,
      "slug": "ryan-griffin",
      "sport": "football",
      "weight": null,
      "unit_of_weight": "pounds",
      "years_of_experience": null,
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c",
      "playing_position_id": "5cacb63a-935a-4cda-8df3-4cc8ded7cf87",
      "team_id": "545d6178-62b4-4e6e-a118-60e4f66d257d"
    },
    {
      "id": "406bed87-23c6-4a98-8418-9412ff9d0021",
      "created_at": "2015-12-17T23:53:55-05:00",
      "updated_at": "2015-12-19T13:51:01-05:00",
      "active": false,
      "defensive": false,
      "first_name": "Quintin",
      "handedness": "unknown",
      "height": null,
      "unit_of_height": "inches",
      "last_name": "Demps",
      "name": "Quintin Demps",
      "offensive": true,
      "position_abbreviation": "FS",
      "position_name": "Free Safety",
      "salary": null,
      "humanized_salary": "",
      "salary_currency": "USD",
      "school": null,
      "slug": "nfl-quintin-demps",
      "sport": "football",
      "weight": null,
      "unit_of_weight": "pounds",
      "years_of_experience": null,
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c",
      "playing_position_id": "bad620c5-a790-4d78-8390-dc2c25ef0108",
      "team_id": "545d6178-62b4-4e6e-a118-60e4f66d257d"
    },
    {
      "id": "a33d049f-7a85-4e3f-a28e-80ba56b0b4a9",
      "created_at": "2015-12-17T23:53:42-05:00",
      "updated_at": "2015-12-19T07:54:24-05:00",
      "active": false,
      "defensive": false,
      "first_name": "Brian",
      "handedness": "unknown",
      "height": null,
      "unit_of_height": "inches",
      "last_name": "Cushing",
      "name": "Brian Cushing",
      "offensive": true,
      "position_abbreviation": "MIKE",
      "position_name": "MIKE Linebacker",
      "salary": null,
      "humanized_salary": "",
      "salary_currency": "USD",
      "school": null,
      "slug": "nfl-brian-cushing",
      "sport": "football",
      "weight": null,
      "unit_of_weight": "pounds",
      "years_of_experience": null,
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c",
      "playing_position_id": "6dca3ecb-4253-4cbe-99b1-2ee9d9483f40",
      "team_id": "545d6178-62b4-4e6e-a118-60e4f66d257d"
    }
  ],
  "leagues": [
    {
      "id": "ebb52980-4b25-4384-bb32-26d354568f0c",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "abbreviation": "NFL",
      "color": null,
      "minutes_per_period": null,
      "name": "National Football League",
      "periods": null,
      "slug": "nfl",
      "sport": "football"
    }
  ],
  "teams": [
    {
      "id": "545d6178-62b4-4e6e-a118-60e4f66d257d",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-18T19:48:24-05:00",
      "location": "Houston",
      "name": "Houston",
      "nickname": "Texans",
      "slug": "nfl-hou",
      "division_id": "a83ba728-0bd9-4b46-8a19-64515e176c00",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    }
  ],
  "seasons": [
    {
      "id": "07f6794a-5312-4ce9-b5b0-2010c5975ff2",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "name": "2015-2016",
      "starts_on": "2015-08-01",
      "ends_on": "2016-02-14",
      "slug": "nfl-2015-2016",
      "league_id": "ebb52980-4b25-4384-bb32-26d354568f0c"
    }
  ],
  "injuries": [
    {
      "id": "19fb786f-9110-44c7-b30b-5cd5af2e8ca2",
      "created_at": "2015-12-19T13:51:01-05:00",
      "updated_at": "2015-12-19T13:51:01-05:00",
      "location_name": "Ankle",
      "started_on": "2015-12-19",
      "status_updated_at": "2015-12-19T13:49:56-05:00",
      "note": "Griffin is dealing with an ankle injury but is expected to play Sunday against the Colts.",
      "status": "probable",
      "status_label": "Prob Sun",
      "player_id": "006c47ca-6686-4434-89b7-49baec3e1124",
      "season_id": "07f6794a-5312-4ce9-b5b0-2010c5975ff2",
      "team_id": "545d6178-62b4-4e6e-a118-60e4f66d257d"
    },
    {
      "id": "444f2cd0-2742-4316-9e14-c6dae7a08773",
      "created_at": "2015-12-19T13:51:01-05:00",
      "updated_at": "2015-12-19T13:51:01-05:00",
      "location_name": "Groin",
      "started_on": "2015-12-19",
      "status_updated_at": "2015-12-19T13:49:12-05:00",
      "note": "Demps has a groin injury but is expected to play Sunday against the Colts.",
      "status": "probable",
      "status_label": "Prob Sun",
      "player_id": "406bed87-23c6-4a98-8418-9412ff9d0021",
      "season_id": "07f6794a-5312-4ce9-b5b0-2010c5975ff2",
      "team_id": "545d6178-62b4-4e6e-a118-60e4f66d257d"
    },
    {
      "id": "590864ba-ccc8-4d75-a752-cd0bfad67e49",
      "created_at": "2015-12-18T03:55:45-05:00",
      "updated_at": "2015-12-19T13:51:01-05:00",
      "location_name": "Hip",
      "started_on": "2015-12-17",
      "status_updated_at": "2015-12-19T13:48:31-05:00",
      "note": "Cushing is dealing with a hip injury but is expected to play Sunday against the Colts.",
      "status": "probable",
      "status_label": "Prob Sun",
      "player_id": "a33d049f-7a85-4e3f-a28e-80ba56b0b4a9",
      "season_id": "07f6794a-5312-4ce9-b5b0-2010c5975ff2",
      "team_id": "545d6178-62b4-4e6e-a118-60e4f66d257d"
    }
  ]
}

This endpoint retrieves NFL Injuries.

HTTP Request

GET https://api.stattleship.com/football/nfl/injuries

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
season_id Current season Season slug such as nfl-2015-2016

Hockey Injuries

curl -X "GET" "https://api.stattleship.com/hockey/nhl/injuries" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

{
  "players": [
    {
      "id": "573f2c8d-aa5e-4863-9a86-f1fc33d8266a",
      "created_at": "2015-12-18T01:13:24-05:00",
      "updated_at": "2015-12-19T23:36:18-05:00",
      "active": true,
      "defensive": false,
      "first_name": "Anders",
      "handedness": "left",
      "height": 78,
      "unit_of_height": "inches",
      "last_name": "Lindback",
      "name": "Anders Lindback",
      "offensive": true,
      "position_abbreviation": "G",
      "position_name": "Goaltender",
      "salary": 875000,
      "humanized_salary": "875,000",
      "salary_currency": "USD",
      "school": null,
      "slug": "nhl-anders-lindback",
      "sport": "hockey",
      "weight": 210,
      "unit_of_weight": "pounds",
      "years_of_experience": 6,
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9",
      "playing_position_id": "f9e5f646-5ac0-4560-928f-de8380eb0fa7",
      "team_id": "06bab022-21a6-4999-b7a1-fe569971c68a"
    },
    {
      "id": "cea78dfc-670d-4ef0-b463-cf8b017f3f40",
      "created_at": "2015-12-18T01:12:33-05:00",
      "updated_at": "2015-12-19T23:35:20-05:00",
      "active": true,
      "defensive": false,
      "first_name": "Luke",
      "handedness": "right",
      "height": 74,
      "unit_of_height": "inches",
      "last_name": "Schenn",
      "name": "Luke Schenn",
      "offensive": true,
      "position_abbreviation": "D",
      "position_name": "Defense",
      "salary": 3350000,
      "humanized_salary": "3,350,000",
      "salary_currency": "USD",
      "school": null,
      "slug": "nhl-luke-schenn",
      "sport": "hockey",
      "weight": 229,
      "unit_of_weight": "pounds",
      "years_of_experience": 8,
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9",
      "playing_position_id": "38129638-f898-43f5-8d8f-7f18afd1920e",
      "team_id": "c94be617-bf0c-4516-82b8-782d7aa783ae"
    },
    {
      "id": "e20b33ee-4b1b-48f3-a2a5-1c21e6b469e1",
      "created_at": "2015-12-18T01:12:30-05:00",
      "updated_at": "2015-12-19T07:54:04-05:00",
      "active": false,
      "defensive": false,
      "first_name": "Erik",
      "handedness": "right",
      "height": 72,
      "unit_of_height": "inches",
      "last_name": "Condra",
      "name": "Erik Condra",
      "offensive": true,
      "position_abbreviation": "RW",
      "position_name": "Right Wing",
      "salary": 1000000,
      "humanized_salary": "1,000,000",
      "salary_currency": "USD",
      "school": null,
      "slug": "nhl-erik-condra",
      "sport": "hockey",
      "weight": 189,
      "unit_of_weight": "pounds",
      "years_of_experience": 6,
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9",
      "playing_position_id": "0d13fcf4-862c-4e9e-82ad-6642f18527eb",
      "team_id": "efd97f2d-fe29-4fe8-9f01-cfad8488c0c2"
    }
  ],
  "leagues": [
    {
      "id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "abbreviation": "NHL",
      "color": null,
      "minutes_per_period": null,
      "name": "National Hockey League",
      "periods": null,
      "slug": "nhl",
      "sport": "hockey"
    }
  ],
  "teams": [
    {
      "id": "06bab022-21a6-4999-b7a1-fe569971c68a",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:47-05:00",
      "location": "Arizona",
      "name": "Arizona",
      "nickname": "Coyotes",
      "slug": "nhl-ari",
      "division_id": "11740eea-c575-44e9-b4f5-a80805703ad0",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    },
    {
      "id": "c94be617-bf0c-4516-82b8-782d7aa783ae",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-09T09:15:48-05:00",
      "location": "Philadelphia",
      "name": "Philadelphia",
      "nickname": "Flyers",
      "slug": "nhl-phi",
      "division_id": "2a45d995-a56b-43c8-838d-700e5cf1f922",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    },
    {
      "id": "efd97f2d-fe29-4fe8-9f01-cfad8488c0c2",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-12-15T10:55:04-05:00",
      "location": "Tampa Bay",
      "name": "Tampa Bay",
      "nickname": "Lightning",
      "slug": "nhl-tb",
      "division_id": "15ca4e46-2b49-4f37-84ea-befb62de28c5",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    }
  ],
  "seasons": [
    {
      "id": "301759de-976d-4daa-a194-cacea1dc02ca",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "name": "2015-2016",
      "starts_on": "2015-09-01",
      "ends_on": "2016-06-30",
      "slug": "nhl-2015-2016",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    }
  ],
  "injuries": [
    {
      "id": "83cec138-e705-47fe-900c-59242e55920c",
      "created_at": "2015-12-19T10:30:58-05:00",
      "updated_at": "2015-12-19T10:30:58-05:00",
      "location_name": "Illness",
      "started_on": "2015-12-19",
      "status_updated_at": "2015-12-19T09:59:39-05:00",
      "note": "Lindback is dealing with an illness and is questionable to play Saturday against the Islanders.",
      "status": "questionable",
      "status_label": "Ques Sat",
      "player_id": "573f2c8d-aa5e-4863-9a86-f1fc33d8266a",
      "season_id": "301759de-976d-4daa-a194-cacea1dc02ca",
      "team_id": "06bab022-21a6-4999-b7a1-fe569971c68a"
    },
    {
      "id": "dab5afcd-857b-4fb0-89a2-e6b3629488c6",
      "created_at": "2015-12-18T03:56:22-05:00",
      "updated_at": "2015-12-19T10:31:03-05:00",
      "location_name": "Ankle",
      "started_on": "2015-12-06",
      "status_updated_at": "2015-12-19T09:58:00-05:00",
      "note": "Schenn has an ankle injury and is questionable to play Saturday against the Blue Jackets.",
      "status": "questionable",
      "status_label": "Ques Sat",
      "player_id": "cea78dfc-670d-4ef0-b463-cf8b017f3f40",
      "season_id": "301759de-976d-4daa-a194-cacea1dc02ca",
      "team_id": "c94be617-bf0c-4516-82b8-782d7aa783ae"
    },
    {
      "id": "d68e403f-eae5-4b4e-a2b9-fa3ea89e0886",
      "created_at": "2015-12-18T03:56:23-05:00",
      "updated_at": "2015-12-19T10:31:04-05:00",
      "location_name": "Lower Body",
      "started_on": "2015-12-07",
      "status_updated_at": "2015-12-19T09:57:48-05:00",
      "note": "Condra sustained a lower-body injury last game and is questionable to play Sunday against the Senators.",
      "status": "questionable",
      "status_label": "Ques Sun",
      "player_id": "e20b33ee-4b1b-48f3-a2a5-1c21e6b469e1",
      "season_id": "301759de-976d-4daa-a194-cacea1dc02ca",
      "team_id": "efd97f2d-fe29-4fe8-9f01-cfad8488c0c2"
    }
  ]
}```

This endpoint retrieves NHL Injuries.

HTTP Request

GET https://api.stattleship.com/hockey/nhl/injuries

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
season_id Current season Season slug such as nhl-2015-2016

Penalties

Baseball Penalties

curl -X "GET" "https://api.stattleship.com/baseball/mlb/penalties" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

This endpoint retrieves MLB Penalties.

HTTP Request

GET https://api.stattleship.com/baseball/mlb/penalties

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
Unsupported sport

Basketball Penalties

curl -X "GET" "https://api.stattleship.com/basketball/nba/penalties" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

Not supported

This endpoint retrieves NBA Penalties.

HTTP Request

GET https://api.stattleship.com/basketball/nba/penalties

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
Unsupported sport

Football Penalties

curl -X "GET" "https://api.stattleship.com/football/nfl/penalties" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

Not supported

This endpoint retrieves NFL Penalties.

HTTP Request

GET https://api.stattleship.com/football/nfl/penalties

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
Unsupported sport

Hockey Penalties

curl -X "GET" "https://api.stattleship.com/hockey/nhl/penalties" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

List of Penalty Names

abuse-of-officials
abusive-language
boarding
broken-stick
charging
checking-from-behind
clipping
closing-hand-on-puck
concealing-puck
cross-checking
delay-of-game
delaying-game-smothering-puck
elbowing
embellishment
face-off-violation
fighting
game-misconduct
goaltender-interference
goaltender-leaving-crease
head-butting
high-sticking
high-sticking-double-minor
holding
holding-the-stick
hooking
illegal-check-to-head
illegal-equipment
illegal-stick
illegal-substitution-bench
instigating
instigator-face-shield
instigator-misconduct
interference
kneeing
match-penalty
misconduct
objects-on-ice
roughing
slashing
spearing
throwing-stick
too-many-men-on-ice
tripping
unsportsmanlike-conduct
unsportsmanlike-conduct-coach
{
  "games": [
    {
      "id": "8e250cf4-84ab-459d-86a4-03cc27f7b92f",
      "created_at": "2016-01-06T03:17:31-05:00",
      "updated_at": "2016-01-07T21:45:20-05:00",
      "at_neutral_site": false,
      "attendance": 14261,
      "away_team_outcome": "win",
      "away_team_score": 4,
      "daytime": false,
      "duration": 8520,
      "ended_at": "2016-01-07T21:31:06-05:00",
      "home_team_outcome": "loss",
      "home_team_score": 1,
      "interval": "Regular Season",
      "interval_number": "",
      "interval_type": "regularseason",
      "label": "Capitals vs Islanders",
      "name": "Capitals vs Islanders January  7, 2016 at  7:00pm",
      "on": "on January  7, 2016",
      "score": "4-1",
      "score_differential": 3,
      "scoreline": "Capitals 4 - Islanders 1",
      "slug": "nhl-2015-2016-was-nyi-2016-01-7-1900",
      "started_at": "2016-01-07T19:00:00-05:00",
      "temperature": null,
      "temperature_unit": null,
      "timestamp": 1452211200,
      "title": "Capitals vs Islanders",
      "weather_conditions": null,
      "wind_direction": null,
      "wind_speed": null,
      "wind_speed_unit": null,
      "home_team_id": "1f2dbc61-cced-4d84-9ee9-81bae4c9c70f",
      "away_team_id": "54276c06-42a0-4649-838c-a462451d54c8",
      "winning_team_id": "54276c06-42a0-4649-838c-a462451d54c8",
      "season_id": "301759de-976d-4daa-a194-cacea1dc02ca",
      "venue_id": "0360eff2-f374-4b67-9a5c-4e501b4b49f0"
    },
    {
      "id": "d451f1cd-288a-40bc-ba02-8286c3accb88",
      "created_at": "2016-01-06T01:51:16-05:00",
      "updated_at": "2016-01-06T02:23:27-05:00",
      "at_neutral_site": false,
      "attendance": 18506,
      "away_team_outcome": "loss",
      "away_team_score": 2,
      "daytime": false,
      "duration": 9480,
      "ended_at": "2015-12-30T21:46:39-05:00",
      "home_team_outcome": "win",
      "home_team_score": 5,
      "interval": "Regular Season",
      "interval_number": "",
      "interval_type": "regularseason",
      "label": "Sabres vs Capitals",
      "name": "Sabres vs Capitals December 30, 2015 at  7:00pm",
      "on": "on December 30, 2015",
      "score": "2-5",
      "score_differential": 3,
      "scoreline": "Sabres 2 - Capitals 5",
      "slug": "nhl-2015-2016-buf-was-2015-12-30-1900",
      "started_at": "2015-12-30T19:00:00-05:00",
      "temperature": null,
      "temperature_unit": null,
      "timestamp": 1451520000,
      "title": "Sabres vs Capitals",
      "weather_conditions": null,
      "wind_direction": null,
      "wind_speed": null,
      "wind_speed_unit": null,
      "home_team_id": "54276c06-42a0-4649-838c-a462451d54c8",
      "away_team_id": "1deb863f-6919-4b88-8a38-51753f3f3032",
      "winning_team_id": "54276c06-42a0-4649-838c-a462451d54c8",
      "season_id": "301759de-976d-4daa-a194-cacea1dc02ca",
      "venue_id": "970f0dcb-fd04-4d63-8bd5-e1fc4d2f09e2"
    }
  ],
  "home_teams": [
    {
      "id": "1f2dbc61-cced-4d84-9ee9-81bae4c9c70f",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2016-01-15T10:00:26-05:00",
      "color": "00529B",
      "colors": [
        "00529B",
        "F57D31"
      ],
      "location": "New York",
      "name": "NY Islanders",
      "nickname": "Islanders",
      "slug": "nhl-nyi",
      "division_id": "2a45d995-a56b-43c8-838d-700e5cf1f922",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    },
    {
      "id": "54276c06-42a0-4649-838c-a462451d54c8",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2016-01-15T10:00:26-05:00",
      "color": "CF132B",
      "colors": [
        "CF132B",
        "00214E",
        "000000"
      ],
      "location": "Washington",
      "name": "Washington",
      "nickname": "Capitals",
      "slug": "nhl-was",
      "division_id": "2a45d995-a56b-43c8-838d-700e5cf1f922",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    }
  ],
  "leagues": [
    {
      "id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "abbreviation": "NHL",
      "color": null,
      "minutes_per_period": null,
      "name": "National Hockey League",
      "periods": null,
      "slug": "nhl",
      "sport": "hockey"
    }
  ],
  "away_teams": [
    {
      "id": "54276c06-42a0-4649-838c-a462451d54c8",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2016-01-15T10:00:26-05:00",
      "color": "CF132B",
      "colors": [
        "CF132B",
        "00214E",
        "000000"
      ],
      "location": "Washington",
      "name": "Washington",
      "nickname": "Capitals",
      "slug": "nhl-was",
      "division_id": "2a45d995-a56b-43c8-838d-700e5cf1f922",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    },
    {
      "id": "1deb863f-6919-4b88-8a38-51753f3f3032",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2016-01-15T10:00:26-05:00",
      "color": "002E62",
      "colors": [
        "002E62",
        "FDBB2F",
        "AEB6B9"
      ],
      "location": "Buffalo",
      "name": "Buffalo",
      "nickname": "Sabres",
      "slug": "nhl-buf",
      "division_id": "15ca4e46-2b49-4f37-84ea-befb62de28c5",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    }
  ],
  "winning_teams": [
    {
      "id": "54276c06-42a0-4649-838c-a462451d54c8",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2016-01-15T10:00:26-05:00",
      "color": "CF132B",
      "colors": [
        "CF132B",
        "00214E",
        "000000"
      ],
      "location": "Washington",
      "name": "Washington",
      "nickname": "Capitals",
      "slug": "nhl-was",
      "division_id": "2a45d995-a56b-43c8-838d-700e5cf1f922",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    }
  ],
  "seasons": [
    {
      "id": "301759de-976d-4daa-a194-cacea1dc02ca",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2015-11-28T22:33:56-05:00",
      "name": "2015-2016",
      "starts_on": "2015-09-01",
      "ends_on": "2016-06-30",
      "slug": "nhl-2015-2016",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    }
  ],
  "venues": [
    {
      "id": "0360eff2-f374-4b67-9a5c-4e501b4b49f0",
      "created_at": "2016-01-06T01:32:12-05:00",
      "updated_at": "2016-01-06T01:32:12-05:00",
      "abbreviation": "BARCL",
      "city": "Brooklyn",
      "country": "USA",
      "field_type": null,
      "name": "Barclays Center",
      "slug": "barcl",
      "state": "New York",
      "time_zone": "Canada/Eastern"
    },
    {
      "id": "970f0dcb-fd04-4d63-8bd5-e1fc4d2f09e2",
      "created_at": "2016-01-06T01:32:28-05:00",
      "updated_at": "2016-01-06T01:32:28-05:00",
      "abbreviation": "VC",
      "city": "Washington",
      "country": "USA",
      "field_type": null,
      "name": "Verizon Center",
      "slug": "verizon-center",
      "state": "District Of Columbia",
      "time_zone": "US/Eastern"
    }
  ],
  "opponents": [
    {
      "id": "1f2dbc61-cced-4d84-9ee9-81bae4c9c70f",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2016-01-15T10:00:26-05:00",
      "color": "00529B",
      "colors": [
        "00529B",
        "F57D31"
      ],
      "location": "New York",
      "name": "NY Islanders",
      "nickname": "Islanders",
      "slug": "nhl-nyi",
      "division_id": "2a45d995-a56b-43c8-838d-700e5cf1f922",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    },
    {
      "id": "1deb863f-6919-4b88-8a38-51753f3f3032",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2016-01-15T10:00:26-05:00",
      "color": "002E62",
      "colors": [
        "002E62",
        "FDBB2F",
        "AEB6B9"
      ],
      "location": "Buffalo",
      "name": "Buffalo",
      "nickname": "Sabres",
      "slug": "nhl-buf",
      "division_id": "15ca4e46-2b49-4f37-84ea-befb62de28c5",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    }
  ],
  "players": [
    {
      "id": "ebcdb990-95c4-477d-be54-2c5bcf39d369",
      "created_at": "2016-01-06T01:32:28-05:00",
      "updated_at": "2016-01-26T18:59:47-05:00",
      "active": true,
      "defensive": false,
      "first_name": "Alex",
      "handedness": "right",
      "height": 75,
      "unit_of_height": "inches",
      "last_name": "Ovechkin",
      "name": "Alex Ovechkin",
      "offensive": true,
      "position_abbreviation": "LW",
      "position_name": "Left Wing",
      "salary": 10000000,
      "humanized_salary": "10,000,000",
      "salary_currency": "USD",
      "school": null,
      "slug": "nhl-alex-ovechkin",
      "sport": "hockey",
      "weight": 239,
      "unit_of_weight": "pounds",
      "years_of_experience": 11,
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9",
      "playing_position_id": "4329a9bc-8f07-4c48-8e19-b142678e68c6",
      "team_id": "54276c06-42a0-4649-838c-a462451d54c8"
    }
  ],
  "teams": [
    {
      "id": "54276c06-42a0-4649-838c-a462451d54c8",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2016-01-15T10:00:26-05:00",
      "color": "CF132B",
      "colors": [
        "CF132B",
        "00214E",
        "000000"
      ],
      "location": "Washington",
      "name": "Washington",
      "nickname": "Capitals",
      "slug": "nhl-was",
      "division_id": "2a45d995-a56b-43c8-838d-700e5cf1f922",
      "league_id": "48803e9e-c4ec-414a-a85d-9abfa6e9cfd9"
    }
  ],
  "penalties": [
    {
      "id": "8b52ea07-c574-4d77-b605-255a7fe2f8f4",
      "created_at": "2016-01-25T03:42:37-05:00",
      "updated_at": "2016-01-25T03:42:37-05:00",
      "label": "Unsportsmanlike conduct",
      "minutes": 2,
      "name": "unsportsmanlike-conduct",
      "period_number": 2,
      "period_seconds": 252,
      "seconds": 120,
      "team_penalty": false,
      "time_code": "PT4M12S",
      "game_id": "8e250cf4-84ab-459d-86a4-03cc27f7b92f",
      "opponent_id": "1f2dbc61-cced-4d84-9ee9-81bae4c9c70f",
      "player_id": "ebcdb990-95c4-477d-be54-2c5bcf39d369",
      "team_id": "54276c06-42a0-4649-838c-a462451d54c8"
    },
    {
      "id": "767e566c-0e55-4971-9c05-7a537bf7f254",
      "created_at": "2016-01-25T03:43:10-05:00",
      "updated_at": "2016-01-25T03:43:10-05:00",
      "label": "Roughing",
      "minutes": 2,
      "name": "roughing",
      "period_number": 1,
      "period_seconds": 27,
      "seconds": 120,
      "team_penalty": false,
      "time_code": "PT0M27S",
      "game_id": "d451f1cd-288a-40bc-ba02-8286c3accb88",
      "opponent_id": "1deb863f-6919-4b88-8a38-51753f3f3032",
      "player_id": "ebcdb990-95c4-477d-be54-2c5bcf39d369",
      "team_id": "54276c06-42a0-4649-838c-a462451d54c8"
    },
    {
      "id": "efa4c363-fcb3-43ba-9ad9-70c4a60e7c09",
      "created_at": "2016-01-25T03:43:10-05:00",
      "updated_at": "2016-01-25T03:43:10-05:00",
      "label": "High sticking",
      "minutes": 2,
      "name": "high-sticking",
      "period_number": 3,
      "period_seconds": 315,
      "seconds": 120,
      "team_penalty": false,
      "time_code": "PT5M15S",
      "game_id": "d451f1cd-288a-40bc-ba02-8286c3accb88",
      "opponent_id": "1deb863f-6919-4b88-8a38-51753f3f3032",
      "player_id": "ebcdb990-95c4-477d-be54-2c5bcf39d369",
      "team_id": "54276c06-42a0-4649-838c-a462451d54c8"
    }
  ]
}

This endpoint retrieves NHL Penalties.

HTTP Request

GET https://api.stattleship.com/hockey/nhl/penalties

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
penalty Lowercase name of the penalty such as fighting hooking or too-many-men-on-ice (see list)
game_id Game slug such as nhl-2015-2016-det-min-2015-12-28-2000 for Red Wings vs Wild
player_id Player slug such as nhl-tyler-seguin
team_id Team slug such as nhl-bos for the Bruins
interval_type regularseason See interval_type for sport.
on Friendly date such as today or tomorrow; or a timestamp; or a date such as 2016-05-22
since Friendly date such as 1 week ago or 4 days ago or last Sunday; or a timestamp such as 1448820000
season_id Current season Season slug such as nhl-2015-2016
status Game status of in_progress upcoming or ended

Pitches

Baseball Pitches

curl -X "GET" "https://api.stattleship.com/baseball/mlb/pitches" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

## Hit Types

FB
GB
LD
PU```

## Pitch Types

CH
CT
CU
FA
FO
IB
KN
PI
SC
SI
SL
SP

## Pitch Outcome Types

{
  "pitch_outcome_types": {
    "NA": "NA",
    "aBK": "Balk",
    "aCI": "Catcher Interference",
    "aD": "Double",
    "aDAD3": "Double - Adv 3rd",
    "aDAD4": "Double - Adv Home",
    "aFCAD2": "Fielders Choice - Adv 2nd",
    "aFCAD3": "Fielders Choice - Adv 3rd",
    "aFCAD4": "Fielders Choice - Adv Home",
    "aHBP": "Hit By Pitch",
    "aHR": "Homerun",
    "aKLAD1": "Strike Looking - Adv 1st",
    "aKLAD2": "Strike Looking - Adv 2nd",
    "aKLAD3": "Strike Looking - Adv 3rd",
    "aKLAD4": "Strike Looking - Adv Home",
    "aKSAD1": "Strike Swinging - Adv 1st",
    "aKSAD2": "Strike Swinging - Adv 2nd",
    "aKSAD3": "Strike Swinging - Adv 3rd",
    "aKSAD4": "Strike Swinging - Adv Home",
    "aROE": "Reached On Error",
    "aROEAD2": "Reached On Error - Adv 2nd",
    "aROEAD3": "Reached On Error - Adv 3rd",
    "aROEAD4": "Reached On Error - Adv Home",
    "aS": "Single",
    "aSAD2": "Single - Adv 2nd",
    "aSAD3": "Single - Adv 3rd",
    "aSAD4": "Single - Adv Home",
    "aSBAD1": "Sacrifice Bunt - Adv 1st",
    "aSBAD2": "Sacrifice Bunt - Adv 2nd",
    "aSBAD3": "Sacrifice Bunt - Adv 3rd",
    "aSBAD4": "Sacrifice Bunt - Adv Home",
    "aSFAD1": "Sacrifice Fly - Adv 1st",
    "aSFAD2": "Sacrifice Fly - Adv 2nd",
    "aSFAD3": "Sacrifice Fly - Adv 3rd",
    "aSFAD4": "Sacrifice Fly - Adv Home",
    "aT": "Triple",
    "aTAD4": "Triple - Adv Home",
    "bB": "Ball",
    "bDB": "Dirt Ball",
    "bIB": "iBall",
    "bPO": "Pitchout",
    "kF": "Foul Ball",
    "kFT": "Foul Tip",
    "kKL": "Strike Looking",
    "kKS": "Strike Swinging",
    "oBI": "Batter Interference",
    "oDT3": "Double - Out at 3rd",
    "oDT4": "Double - Out at Home",
    "oFC": "Fielders Choice",
    "oFCT2": "Fielders Choice - Out at 2nd",
    "oFCT3": "Fielders Choice - Out at 3rd",
    "oFCT4": "Fielders Choice - Out at Home",
    "oFO": "Fly Out",
    "oGO": "Ground Out",
    "oKLT1": "Strike Looking - Out at 1st",
    "oKLT2": "Strike Looking - Out at 2nd",
    "oKLT3": "Strike Looking - Out at 3rd",
    "oKLT4": "Strike Looking - Out at Home",
    "oKST1": "Strike Swinging - Out at 1st",
    "oKST2": "Strike Swinging - Out at 2nd",
    "oKST3": "Strike Swinging - Out at 3rd",
    "oKST4": "Strike Swinging - Out at Home",
    "oLO": "Line Out",
    "oOBB": "Out of Batters Box",
    "oOP": "Out on Appeal",
    "oPO": "Pop Out",
    "oROET2": "Reached On Error - Out at 2nd",
    "oROET3": "Reached On Error - Out at 3rd",
    "oROET4": "Reached On Error - Out at Home",
    "oSB": "Sacrifice Bunt",
    "oSBT2": "Sacrifice Bunt - Out at 2nd",
    "oSBT3": "Sacrifice Bunt - Out at 3rd",
    "oSBT4": "Sacrifice Bunt - Out at Home",
    "oSF": "Sacrifice Fly",
    "oSFT2": "Sacrifice Fly - Out at 2nd",
    "oSFT3": "Sacrifice Fly - Out at 3rd",
    "oSFT4": "Sacrifice Fly - Out at Home",
    "oST2": "Single - Out at 2nd",
    "oST3": "Single - Out at 3rd",
    "oST4": "Single - Out at Home",
    "oTT4": "Triple - Out at Home"
  }
}

## Response

{
  "games": [
    {
      "id": "d06e2c4e-2797-49c6-912e-0be171ca83d8",
      "created_at": "2016-10-21T06:00:02-04:00",
      "updated_at": "2016-11-03T06:14:42-04:00",
      "at_neutral_site": null,
      "attendance": 38104,
      "away_team_outcome": "win",
      "away_team_score": 8,
      "broadcast": "FOX",
      "clock": ":30",
      "clock_secs": 0,
      "daytime": false,
      "duration": 16080,
      "ended_at": "2016-11-03T00:28:00-04:00",
      "home_team_outcome": "loss",
      "home_team_score": 7,
      "humidity": null,
      "interval": "WS - 7",
      "interval_number": 7,
      "interval_type": "postseason",
      "label": "Cubs vs Indians",
      "name": "Cubs vs Indians November  2, 2016 at  8:00pm",
      "on": "on November  2, 2016",
      "period": 10,
      "period_label": "Inning",
      "score": "8-7",
      "score_differential": 1,
      "scoreline": "Cubs 8 - Indians 7",
      "slug": "mlb-2016-chc-cle-2016-11-2-0400",
      "started_at": "2016-11-02T20:00:00-04:00",
      "status": "closed",
      "internet_coverage": null,
      "satellite_coverage": null,
      "television_coverage": "FOX",
      "temperature": null,
      "temperature_unit": null,
      "timestamp": 1478131200,
      "title": "Cubs vs Indians",
      "weather_conditions": null,
      "wind_direction": null,
      "wind_speed": null,
      "wind_speed_unit": null,
      "home_team_id": "c5fefa38-a256-43fe-8147-008c0f8c2f15",
      "away_team_id": "fdbaa7e1-bfd6-4b94-a0b2-323884d54a11",
      "winning_team_id": "fdbaa7e1-bfd6-4b94-a0b2-323884d54a11",
      "season_id": "508f7fd8-a4a0-4047-a60d-3e9e7f1eebb0",
      "venue_id": "99b599b5-321f-49bc-b46c-edb90ce94ca0",
      "official_ids": [
        "042430de-a523-49f4-a324-99a2fa30ccb4",
        "109ad720-9190-43d2-a0f5-4e5cc943d5ab",
        "e138d2c8-32de-48f5-afc2-a8eaaedc48f9",
        "e5ac4e68-4b3c-483c-8e7a-93a4902d2623",
        "8d5e63cc-f6be-40b5-bf5b-5bd251147fa1",
        "0556efeb-3bf2-4532-993f-cc8e7ee54a44"
      ]
    }
  ],
  "home_teams": [
    {
      "id": "c5fefa38-a256-43fe-8147-008c0f8c2f15",
      "created_at": "2016-03-18T20:56:44-04:00",
      "updated_at": "2016-07-12T19:34:14-04:00",
      "color": "E31937",
      "colors": [
        "E31937",
        "002B5C"
      ],
      "hashtag": "Indians",
      "hashtags": [
        "Indians"
      ],
      "location": "Cleveland",
      "name": "Cleveland",
      "nickname": "Indians",
      "latitude": 41.49932,
      "longitude": -81.6943605,
      "slug": "mlb-cle",
      "division_id": "ca580e37-ee8b-44d3-94ac-6eb2bf35d094",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    }
  ],
  "leagues": [
    {
      "id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f",
      "created_at": "2016-03-18T20:56:43-04:00",
      "updated_at": "2016-07-12T19:34:12-04:00",
      "abbreviation": "MLB",
      "color": null,
      "minutes_per_period": null,
      "name": "Major League Baseball",
      "periods": null,
      "slug": "mlb",
      "sport": "baseball"
    }
  ],
  "away_teams": [
    {
      "id": "fdbaa7e1-bfd6-4b94-a0b2-323884d54a11",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-07-12T19:34:14-04:00",
      "color": "CC3433",
      "colors": [
        "CC3433",
        "0E3386"
      ],
      "hashtag": "Cubs",
      "hashtags": [
        "Cubs"
      ],
      "location": "Chicago",
      "name": "Chi. Cubs",
      "nickname": "Cubs",
      "latitude": 41.8781136,
      "longitude": -87.6297982,
      "slug": "mlb-chc",
      "division_id": "920b37d3-9fd8-45c6-a1fb-047748240732",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    }
  ],
  "winning_teams": [
    {
      "id": "fdbaa7e1-bfd6-4b94-a0b2-323884d54a11",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-07-12T19:34:14-04:00",
      "color": "CC3433",
      "colors": [
        "CC3433",
        "0E3386"
      ],
      "hashtag": "Cubs",
      "hashtags": [
        "Cubs"
      ],
      "location": "Chicago",
      "name": "Chi. Cubs",
      "nickname": "Cubs",
      "latitude": 41.8781136,
      "longitude": -87.6297982,
      "slug": "mlb-chc",
      "division_id": "920b37d3-9fd8-45c6-a1fb-047748240732",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    }
  ],
  "seasons": [
    {
      "id": "508f7fd8-a4a0-4047-a60d-3e9e7f1eebb0",
      "created_at": "2016-03-18T20:56:43-04:00",
      "updated_at": "2016-03-18T20:57:48-04:00",
      "name": "2016",
      "current_interval_type": "postseason",
      "starts_on": "2016-01-02",
      "ends_on": "2016-11-30",
      "slug": "mlb-2016",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    }
  ],
  "venues": [
    {
      "id": "99b599b5-321f-49bc-b46c-edb90ce94ca0",
      "created_at": "2016-03-18T20:56:44-04:00",
      "updated_at": "2016-07-13T06:37:00-04:00",
      "abbreviation": "Progressive Field",
      "capacity": 38000,
      "city": "Cleveland",
      "country": "USA",
      "field_type": "grass",
      "name": "Progressive Field",
      "slug": "jf",
      "state": "OH",
      "stadium_type": null,
      "time_zone": "US/Eastern",
      "latitude": 41.49932,
      "longitude": -81.6943605
    }
  ],
  "officials": [
    {
      "id": "042430de-a523-49f4-a324-99a2fa30ccb4",
      "created_at": "2016-04-03T02:35:21-04:00",
      "updated_at": "2016-11-02T20:00:23-04:00",
      "first_name": "John",
      "last_name": "Hirschbeck",
      "name": "John Hirschbeck",
      "role": "2B",
      "role_label": "Second Base",
      "uniform_number": "17"
    },
    {
      "id": "109ad720-9190-43d2-a0f5-4e5cc943d5ab",
      "created_at": "2016-04-03T02:35:22-04:00",
      "updated_at": "2016-11-02T20:00:23-04:00",
      "first_name": "Marvin",
      "last_name": "Hudson",
      "name": "Marvin Hudson",
      "role": "3B",
      "role_label": "Third Base",
      "uniform_number": "51"
    },
    {
      "id": "e138d2c8-32de-48f5-afc2-a8eaaedc48f9",
      "created_at": "2016-04-03T02:35:22-04:00",
      "updated_at": "2016-11-02T20:00:22-04:00",
      "first_name": "Tony",
      "last_name": "Randazzo",
      "name": "Tony Randazzo",
      "role": "LF",
      "role_label": "LF",
      "uniform_number": "59"
    },
    {
      "id": "e5ac4e68-4b3c-483c-8e7a-93a4902d2623",
      "created_at": "2016-04-03T02:35:22-04:00",
      "updated_at": "2016-11-02T20:00:24-04:00",
      "first_name": "Sam",
      "last_name": "Holbrook",
      "name": "Sam Holbrook",
      "role": "HP",
      "role_label": "Home",
      "uniform_number": "34"
    },
    {
      "id": "8d5e63cc-f6be-40b5-bf5b-5bd251147fa1",
      "created_at": "2016-04-03T02:35:22-04:00",
      "updated_at": "2016-11-02T20:00:25-04:00",
      "first_name": "Chris",
      "last_name": "Guccione",
      "name": "Chris Guccione",
      "role": "1B",
      "role_label": "First Base",
      "uniform_number": "68"
    },
    {
      "id": "0556efeb-3bf2-4532-993f-cc8e7ee54a44",
      "created_at": "2016-04-03T02:35:23-04:00",
      "updated_at": "2016-11-02T20:00:25-04:00",
      "first_name": "Joe",
      "last_name": "West",
      "name": "Joe West",
      "role": "RF",
      "role_label": "RF",
      "uniform_number": "22"
    }
  ],
  "teams": [
    {
      "id": "fdbaa7e1-bfd6-4b94-a0b2-323884d54a11",
      "created_at": "2016-03-18T20:56:45-04:00",
      "updated_at": "2016-07-12T19:34:14-04:00",
      "color": "CC3433",
      "colors": [
        "CC3433",
        "0E3386"
      ],
      "hashtag": "Cubs",
      "hashtags": [
        "Cubs"
      ],
      "location": "Chicago",
      "name": "Chi. Cubs",
      "nickname": "Cubs",
      "latitude": 41.8781136,
      "longitude": -87.6297982,
      "slug": "mlb-chc",
      "division_id": "920b37d3-9fd8-45c6-a1fb-047748240732",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    },
    {
      "id": "a7768b3c-3700-41a8-b97d-4670e044d036",
      "created_at": "2016-03-18T20:56:44-04:00",
      "updated_at": "2016-07-12T19:34:14-04:00",
      "color": "003087",
      "colors": [
        "003087",
        "E4002B"
      ],
      "hashtag": "Yankees",
      "hashtags": [
        "Yankees"
      ],
      "location": "New York",
      "name": "NY Yankees",
      "nickname": "Yankees",
      "latitude": 40.8260966,
      "longitude": -73.93031,
      "slug": "mlb-nyy",
      "division_id": "d4f9e9e2-18fb-4e61-8bfd-32d0e8502e09",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    },
    {
      "id": "9ccdfc26-a7e7-4bcb-8879-3e77d391d58f",
      "created_at": "2016-03-18T20:56:43-04:00",
      "updated_at": "2016-07-12T19:34:14-04:00",
      "color": "003831",
      "colors": [
        "003831",
        "EFB21E"
      ],
      "hashtag": "Athletics",
      "hashtags": [
        "Athletics"
      ],
      "location": "Oakland",
      "name": "Oakland",
      "nickname": "Athletics",
      "latitude": 37.750277,
      "longitude": -122.2028616,
      "slug": "mlb-oak",
      "division_id": "558ecbdd-2a71-4c60-a1bd-28dfcd3ab496",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    }
  ],
  "pitchers": [
    {
      "id": "9d0fe3c1-feac-47cf-b666-41b0be7f222c",
      "created_at": "2016-03-18T21:09:52-04:00",
      "updated_at": "2017-02-05T04:35:07-05:00",
      "active": true,
      "birth_date": "1988-02-28",
      "captain": null,
      "city": "Holguin",
      "country": "CUB",
      "draft_season": null,
      "draft_round": null,
      "draft_overall_pick": null,
      "draft_team_name": null,
      "first_name": "Albertin",
      "handedness": "left",
      "bats": "bats_left",
      "height": 76,
      "high_school": null,
      "unit_of_height": "inches",
      "last_name": "Chapman",
      "name": "Aroldis Chapman",
      "nickname": "Aroldis",
      "position_abbreviation": "RP",
      "position_name": "Reliever",
      "salary": 11325000,
      "humanized_salary": "11,325,000",
      "salary_currency": "USD",
      "school": null,
      "slug": "mlb-aroldis-chapman",
      "sport": "baseball",
      "state": "",
      "weight": 215,
      "uniform_number": "54",
      "unit_of_weight": "pounds",
      "years_of_experience": 4,
      "pro_debut": "2010-08-31",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f",
      "playing_position_id": "e895b7e6-2178-41d8-8666-bb4c1bedd2ad",
      "team_id": "a7768b3c-3700-41a8-b97d-4670e044d036"
    }
  ],
  "hitters": [
    {
      "id": "68c63acf-2756-42db-a9d1-b2fb5c52c4a5",
      "created_at": "2016-03-18T21:09:42-04:00",
      "updated_at": "2017-02-05T04:35:16-05:00",
      "active": true,
      "birth_date": "1980-10-19",
      "captain": null,
      "city": "Norwich",
      "country": "USA",
      "draft_season": "2001",
      "draft_round": 38,
      "draft_overall_pick": 1134,
      "draft_team_name": null,
      "first_name": "Rajai",
      "handedness": "right",
      "bats": "bats_right",
      "height": 69,
      "high_school": "New London, CT",
      "unit_of_height": "inches",
      "last_name": "Davis",
      "name": "Rajai Davis",
      "nickname": "Rajai",
      "position_abbreviation": "LF",
      "position_name": "Left Outfield",
      "salary": 5250000,
      "humanized_salary": "5,250,000",
      "salary_currency": "USD",
      "school": "Connecticut - Avery Point",
      "slug": "mlb-rajai-davis",
      "sport": "baseball",
      "state": "CT",
      "weight": 195,
      "uniform_number": "11",
      "unit_of_weight": "pounds",
      "years_of_experience": 11,
      "pro_debut": "2006-08-14",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f",
      "playing_position_id": "2d8bfb25-df10-491b-b6b8-e08e173c65e5",
      "team_id": "9ccdfc26-a7e7-4bcb-8879-3e77d391d58f"
    }
  ],
  "hitter_teams": [
    {
      "id": "c5fefa38-a256-43fe-8147-008c0f8c2f15",
      "created_at": "2016-03-18T20:56:44-04:00",
      "updated_at": "2016-07-12T19:34:14-04:00",
      "color": "E31937",
      "colors": [
        "E31937",
        "002B5C"
      ],
      "hashtag": "Indians",
      "hashtags": [
        "Indians"
      ],
      "location": "Cleveland",
      "name": "Cleveland",
      "nickname": "Indians",
      "latitude": 41.49932,
      "longitude": -81.6943605,
      "slug": "mlb-cle",
      "division_id": "ca580e37-ee8b-44d3-94ac-6eb2bf35d094",
      "league_id": "cb399a17-e581-4f1a-9535-ea3bcb09fa1f"
    }
  ],
  "pitches": [
    {
      "id": "f807d8c1-0af0-480b-b2be-52406ee938ca",
      "created_at": "2016-11-02T23:14:02-04:00",
      "updated_at": "2016-11-02T23:14:02-04:00",
      "at_bat_balls": 2,
      "at_bat_outs": 2,
      "at_bat_pitch_count": 7,
      "at_bat_strikes": 2,
      "event_id": "a6460147-608f-4b37-aef4-e2b948a18894",
      "even_count": true,
      "full_count": false,
      "half": "B",
      "hit_location": "1",
      "hit_type": "LD",
      "hitter_pitch_count": "2-2",
      "inning": 8,
      "inning_label": "Bottom of 8th",
      "is_at_bat": true,
      "is_at_bat_over": true,
      "is_bunt": false,
      "is_bunt_shown": false,
      "is_double_play": false,
      "is_hit": true,
      "is_on_base": false,
      "is_passed_ball": false,
      "is_triple_play": false,
      "is_wild_pitch": false,
      "pitch_count": 14,
      "pitch_name": "Fastball",
      "pitch_outcome": "Homerun",
      "pitch_outcome_type": "aHR",
      "pitch_speed": 98.0,
      "pitch_type": "FA",
      "pitch_zone": "8",
      "pitched_at": "2016-11-02T23:13:30-04:00",
      "sequence": 8,
      "game_id": "d06e2c4e-2797-49c6-912e-0be171ca83d8",
      "team_id": "fdbaa7e1-bfd6-4b94-a0b2-323884d54a11",
      "pitcher_id": "9d0fe3c1-feac-47cf-b666-41b0be7f222c",
      "hitter_id": "68c63acf-2756-42db-a9d1-b2fb5c52c4a5",
      "hitter_team_id": "c5fefa38-a256-43fe-8147-008c0f8c2f15"
    }
  ]
}

This endpoint retrieves MLB Pitches.

HTTP Request

GET https://api.stattleship.com/baseball/mlb/pitches

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
season_id Current season Season slug such as mlb-2016
team_id Team slug such as mlb-tor
player_id Player slug such as mlb-aroldis-chapman
interval_type current interval See interval_type for sport.
on Friendly date such as today or tomorrow; or a timestamp; or a date such as 2016-05-22
hit_location Number 1-35.
hit_type FB, GB, LD, PU
hitter_id Slug of the hitter, like mlb-david-ortiz
hitter_team_id Slug of the hitting team, like mlb-bos
inning Number
pitch_outcome_type Fetch using https://api.stattleship.com/baseball/mlb/pitch_outcome_types
pitch_type CH, CT, CU, FA, FO, IB, KN, PI, SC, SI, SL, SP
pitcher_id Slug of the pitcher, like mlb-aroldis-chapman
team_id Slug of the pitching team, like mlb-bos

Basketball Pitches

curl -X "GET" "https://api.stattleship.com/basketball/nba/pitches" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

Not Applicable.

This endpoint retrieves NBA Pitches.

HTTP Request

GET https://api.stattleship.com/basketball/nba/pitches

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
Not Applicable

Football Pitches

curl -X "GET" "https://api.stattleship.com/football/nfl/pitches" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

Not Applicable.

This endpoint retrieves NFL Pitches.

HTTP Request

GET https://api.stattleship.com/football/nfl/pitches

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
Not Applicable

Hockey Pitches

curl -X "GET" "https://api.stattleship.com/hockey/nhl/pitches" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

Not applicable.

This endpoint retrieves NHL Pitches.

HTTP Request

GET https://api.stattleship.com/hockey/nhl/pitches

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
Not Applicable

Play By Play

Baseball Play By Play

curl -X "GET" "https://api.stattleship.com/baseball/mlb/play_by_play" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:

Unsupported. Use Baseball At Bats and Pitches instead.

This endpoint retrieves MLB Play By Play.

HTTP Request

GET https://api.stattleship.com/baseball/mlb/play_by_play

Query Parameters

Parameter Default Description
per_page 20 Items per page with maximum of 40. Teams
page Page of results
Unsupported Use Baseball Pitches and At Bats instead.

Basketball Play By Play

curl -X "GET" "https://api.stattleship.com/basketball/nba/play_by_play" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_ACCESS_TOKEN" \
  -H "Accept: application/vnd.stattleship.com; version=1"

The above command with valid query parameters can return JSON structured like this:


## Important

This endpoint uses the `game_slug` id in the request, as in:

https://api.stattleship.com/basketball/nba/play_by_play/nba-2016-2017-lal-bos-2017-02-3-2000?per_page=5&quarter=2&event_type=threepointmade&team_id=nba-bos&include_stats=1&include_on_court=1

Required: Game Slug.
Note: include_on_court and include_stats are optional and cam be omitted.

## List of Event Types

* `clearpathfoul`
* `defensivethreeseconds`
* `delay`
* `ejection`
* `endperiod`
* `flagrantone`
* `flagranttwo`
* `freethrowmade`
* `freethrowmiss`
* `jumpball`
* `kickball`
* `lineupchange`
* `offensivefoul`
* `officialtimeout`
* `openinbound`
* `opentip`
* `personalfoul`
* `rebound`
* `review`
* `shootingfoul`
* `teamtimeout`
* `technicalfoul`
* `threepointmade`
* `threepointmiss`
* `turnover`
* `tvtimeout`
* `twopointmade`
* `twopointmiss`
{
  "games": [
    {
      "id": "ef58d43b-39cb-47d8-8588-3275cb8735e9",
      "created_at": "2016-10-15T09:27:27-04:00",
      "updated_at": "2017-02-03T22:34:07-05:00",
      "at_neutral_site": null,
      "attendance": 18624,
      "away_team_outcome": "loss",
      "away_team_score": 107,
      "broadcast": "ESPN and 206",
      "clock": "00:00",
      "clock_secs": 0,
      "daytime": false,
      "duration": 8040,
      "ended_at": "2017-02-03T22:14:00-05:00",
      "home_team_outcome": "win",
      "home_team_score": 113,
      "humidity": null,
      "interval": "Regularseason",
      "interval_number": null,
      "interval_type": "regularseason",
      "label": "Lakers vs Celtics",
      "name": "Lakers vs Celtics February  3, 2017 at  8:00pm",
      "on": "on February  3, 2017",
      "period": 4,
      "period_label": "Quarter",
      "score": "107-113",
      "score_differential": 6,
      "scoreline": "Lakers 107 - Celtics 113",
      "slug": "nba-2016-2017-lal-bos-2017-02-3-2000",
      "started_at": "2017-02-03T20:00:00-05:00",
      "status": "closed",
      "internet_coverage": null,
      "satellite_coverage": "206",
      "television_coverage": "ESPN",
      "temperature": null,
      "temperature_unit": null,
      "timestamp": 1486170000,
      "title": "Lakers vs Celtics",
      "weather_conditions": null,
      "wind_direction": null,
      "wind_speed": null,
      "wind_speed_unit": null,
      "home_team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16",
      "away_team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823",
      "winning_team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16",
      "season_id": "b0ce2ee1-61bd-44ea-bd34-450160a10e49",
      "venue_id": "77d29fa4-0496-43cf-8566-2b0f4d3537c2",
      "official_ids": [
        "4d5dd8f4-5d62-488d-9b0a-47dbd4c30680",
        "5519c79f-dcde-4aa6-aecd-ee6e0ac95021",
        "569b54cd-57bb-49f3-9a5f-48681b9f6f3a"
      ]
    }
  ],
  "home_teams": [
    {
      "id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2016-10-15T09:27:06-04:00",
      "color": "008348",
      "colors": [
        "008348",
        "bb9753",
        "a73832",
        "fab383",
        "061922"
      ],
      "hashtag": "Celtics",
      "hashtags": [
        "Celtics"
      ],
      "location": "Boston",
      "name": "Boston",
      "nickname": "Celtics",
      "latitude": 42.3663,
      "longitude": -71.0622,
      "slug": "nba-bos",
      "division_id": "8256a4da-413c-4f03-8438-56963be591c4",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    }
  ],
  "leagues": [
    {
      "id": "3c805f57-ef31-407d-b633-54bac8745b9e",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2016-10-15T09:27:05-04:00",
      "abbreviation": "NBA",
      "color": null,
      "minutes_per_period": null,
      "name": "National Basketball Association",
      "periods": null,
      "slug": "nba",
      "sport": "basketball"
    }
  ],
  "away_teams": [
    {
      "id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2016-10-15T09:27:06-04:00",
      "color": "fdb927",
      "colors": [
        "fdb927",
        "552582",
        "061922",
        "8177b7"
      ],
      "hashtag": "LakeShow",
      "hashtags": [
        "LakeShow",
        "Lakers"
      ],
      "location": "Los Angeles",
      "name": "L.A. Lakers",
      "nickname": "Lakers",
      "latitude": 34.0431,
      "longitude": -118.2672,
      "slug": "nba-lal",
      "division_id": "0df84c15-1dbc-471e-b9d9-d277eeba9eba",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    }
  ],
  "winning_teams": [
    {
      "id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2016-10-15T09:27:06-04:00",
      "color": "008348",
      "colors": [
        "008348",
        "bb9753",
        "a73832",
        "fab383",
        "061922"
      ],
      "hashtag": "Celtics",
      "hashtags": [
        "Celtics"
      ],
      "location": "Boston",
      "name": "Boston",
      "nickname": "Celtics",
      "latitude": 42.3663,
      "longitude": -71.0622,
      "slug": "nba-bos",
      "division_id": "8256a4da-413c-4f03-8438-56963be591c4",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    }
  ],
  "seasons": [
    {
      "id": "b0ce2ee1-61bd-44ea-bd34-450160a10e49",
      "created_at": "2016-06-22T10:05:25-04:00",
      "updated_at": "2016-10-15T09:27:40-04:00",
      "name": "2016-2017",
      "current_interval_type": "regularseason",
      "starts_on": "2016-10-01",
      "ends_on": "2017-06-30",
      "slug": "nba-2016-2017",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    }
  ],
  "venues": [
    {
      "id": "77d29fa4-0496-43cf-8566-2b0f4d3537c2",
      "created_at": "2016-10-15T09:27:06-04:00",
      "updated_at": "2016-10-15T09:27:06-04:00",
      "abbreviation": "TD Garden",
      "capacity": 18624,
      "city": "Boston",
      "country": "USA",
      "field_type": null,
      "name": "TD Garden",
      "slug": "td-garden-td-garden",
      "state": "MA",
      "stadium_type": null,
      "time_zone": "America/New_York",
      "latitude": null,
      "longitude": null
    }
  ],
  "teams": [
    {
      "id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2016-10-15T09:27:06-04:00",
      "color": "008348",
      "colors": [
        "008348",
        "bb9753",
        "a73832",
        "fab383",
        "061922"
      ],
      "hashtag": "Celtics",
      "hashtags": [
        "Celtics"
      ],
      "location": "Boston",
      "name": "Boston",
      "nickname": "Celtics",
      "latitude": 42.3663,
      "longitude": -71.0622,
      "slug": "nba-bos",
      "division_id": "8256a4da-413c-4f03-8438-56963be591c4",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    },
    {
      "id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823",
      "created_at": "2015-11-28T22:33:56-05:00",
      "updated_at": "2016-10-15T09:27:06-04:00",
      "color": "fdb927",
      "colors": [
        "fdb927",
        "552582",
        "061922",
        "8177b7"
      ],
      "hashtag": "LakeShow",
      "hashtags": [
        "LakeShow",
        "Lakers"
      ],
      "location": "Los Angeles",
      "name": "L.A. Lakers",
      "nickname": "Lakers",
      "latitude": 34.0431,
      "longitude": -118.2672,
      "slug": "nba-lal",
      "division_id": "0df84c15-1dbc-471e-b9d9-d277eeba9eba",
      "league_id": "3c805f57-ef31-407d-b633-54bac8745b9e"
    }
  ],
  "basketball_on_court_players": [
    {
      "id": "16387fef-8c3a-457e-99f4-c8c009ff7615",
      "created_at": "2017-02-04T04:10:56-05:00",
      "updated_at": "2017-02-04T04:10:56-05:00",
      "basketball_event_id": "80097c1b-bbd6-4c24-9ccd-0c9d806b37d2",
      "player_id": "7f1e2d39-98cf-4867-b44f-3c9744d7d842",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "94c64fdf-7eb4-43da-94fb-b68d8b476e07",
      "created_at": "2017-02-04T04:10:56-05:00",
      "updated_at": "2017-02-04T04:10:56-05:00",
      "basketball_event_id": "80097c1b-bbd6-4c24-9ccd-0c9d806b37d2",
      "player_id": "db62f552-826c-4419-a525-8037059db307",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "b5cd7466-d210-4fe2-9ebd-ea2b8cdf4823",
      "created_at": "2017-02-04T04:10:56-05:00",
      "updated_at": "2017-02-04T04:10:56-05:00",
      "basketball_event_id": "80097c1b-bbd6-4c24-9ccd-0c9d806b37d2",
      "player_id": "e11e0af2-8363-4f68-b4ba-194253b56dcb",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "193a2bf6-2f7c-4460-81fe-868c1c90a293",
      "created_at": "2017-02-04T04:10:56-05:00",
      "updated_at": "2017-02-04T04:10:56-05:00",
      "basketball_event_id": "80097c1b-bbd6-4c24-9ccd-0c9d806b37d2",
      "player_id": "2131add8-1ad8-413d-8d56-af437482c00a",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "1128d583-3a43-456a-b685-1f3f00701eed",
      "created_at": "2017-02-04T04:10:56-05:00",
      "updated_at": "2017-02-04T04:10:56-05:00",
      "basketball_event_id": "80097c1b-bbd6-4c24-9ccd-0c9d806b37d2",
      "player_id": "94c1c13a-e601-40ab-9bc3-d217a3a8ab51",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "c8620d3c-27f5-42b6-a368-4241e86c42ef",
      "created_at": "2017-02-04T04:10:56-05:00",
      "updated_at": "2017-02-04T04:10:56-05:00",
      "basketball_event_id": "80097c1b-bbd6-4c24-9ccd-0c9d806b37d2",
      "player_id": "8da11b7e-dd3e-4c4e-96cc-8492c859c40e",
      "team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16"
    },
    {
      "id": "6c3ca8c3-8f7b-438d-9456-248bc085389f",
      "created_at": "2017-02-04T04:10:56-05:00",
      "updated_at": "2017-02-04T04:10:56-05:00",
      "basketball_event_id": "80097c1b-bbd6-4c24-9ccd-0c9d806b37d2",
      "player_id": "fdb18288-83af-44a0-a090-35ea09c15e34",
      "team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16"
    },
    {
      "id": "f9df4d52-765b-494a-9d70-bf19ab48c4bf",
      "created_at": "2017-02-04T04:10:56-05:00",
      "updated_at": "2017-02-04T04:10:56-05:00",
      "basketball_event_id": "80097c1b-bbd6-4c24-9ccd-0c9d806b37d2",
      "player_id": "b5728ffb-bf3e-4304-a257-5efacaf22c00",
      "team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16"
    },
    {
      "id": "dc60ff89-702a-4703-a5f9-5cad5ae1f91f",
      "created_at": "2017-02-04T04:10:56-05:00",
      "updated_at": "2017-02-04T04:10:56-05:00",
      "basketball_event_id": "80097c1b-bbd6-4c24-9ccd-0c9d806b37d2",
      "player_id": "344f2d9b-2542-411a-9e36-9cde31ab6fe7",
      "team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16"
    },
    {
      "id": "2e59ea78-2ebc-42f1-a457-b73dd1d7251a",
      "created_at": "2017-02-04T04:10:56-05:00",
      "updated_at": "2017-02-04T04:10:56-05:00",
      "basketball_event_id": "80097c1b-bbd6-4c24-9ccd-0c9d806b37d2",
      "player_id": "7f1e2d39-98cf-4867-b44f-3c9744d7d842",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "97d3bef4-43e2-47b5-a386-93b2296677c9",
      "created_at": "2017-02-04T04:10:56-05:00",
      "updated_at": "2017-02-04T04:10:56-05:00",
      "basketball_event_id": "80097c1b-bbd6-4c24-9ccd-0c9d806b37d2",
      "player_id": "db62f552-826c-4419-a525-8037059db307",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "85bb1b7b-7982-4bcf-89ef-ea1b82d21dd5",
      "created_at": "2017-02-04T04:10:56-05:00",
      "updated_at": "2017-02-04T04:10:56-05:00",
      "basketball_event_id": "80097c1b-bbd6-4c24-9ccd-0c9d806b37d2",
      "player_id": "e11e0af2-8363-4f68-b4ba-194253b56dcb",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "ed60ba70-7220-438c-88dd-fcd6ef481c47",
      "created_at": "2017-02-04T04:10:56-05:00",
      "updated_at": "2017-02-04T04:10:56-05:00",
      "basketball_event_id": "80097c1b-bbd6-4c24-9ccd-0c9d806b37d2",
      "player_id": "2131add8-1ad8-413d-8d56-af437482c00a",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "d7ed2443-a9be-4a04-ab21-f011bdb48e01",
      "created_at": "2017-02-04T04:10:56-05:00",
      "updated_at": "2017-02-04T04:10:56-05:00",
      "basketball_event_id": "80097c1b-bbd6-4c24-9ccd-0c9d806b37d2",
      "player_id": "94c1c13a-e601-40ab-9bc3-d217a3a8ab51",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "841e5610-a47e-47a6-ac51-a9d671a6f766",
      "created_at": "2017-02-04T04:10:56-05:00",
      "updated_at": "2017-02-04T04:10:56-05:00",
      "basketball_event_id": "80097c1b-bbd6-4c24-9ccd-0c9d806b37d2",
      "player_id": "8da11b7e-dd3e-4c4e-96cc-8492c859c40e",
      "team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16"
    },
    {
      "id": "927f2866-a93c-4370-9399-d3105bbcb45b",
      "created_at": "2017-02-04T04:10:56-05:00",
      "updated_at": "2017-02-04T04:10:56-05:00",
      "basketball_event_id": "80097c1b-bbd6-4c24-9ccd-0c9d806b37d2",
      "player_id": "fdb18288-83af-44a0-a090-35ea09c15e34",
      "team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16"
    },
    {
      "id": "8e7d42d8-9d6f-4f93-b6cb-2d95566a06a5",
      "created_at": "2017-02-04T04:10:56-05:00",
      "updated_at": "2017-02-04T04:10:56-05:00",
      "basketball_event_id": "80097c1b-bbd6-4c24-9ccd-0c9d806b37d2",
      "player_id": "344f2d9b-2542-411a-9e36-9cde31ab6fe7",
      "team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16"
    },
    {
      "id": "6b0ce3c4-32bc-4240-99dc-4cc3f22d8c69",
      "created_at": "2017-02-04T04:10:56-05:00",
      "updated_at": "2017-02-04T04:10:56-05:00",
      "basketball_event_id": "80097c1b-bbd6-4c24-9ccd-0c9d806b37d2",
      "player_id": "3e37fa11-8b08-4dbe-a31b-c0749b44c7d9",
      "team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16"
    },
    {
      "id": "66fccb62-ee24-45ca-b59f-edd5576d40e4",
      "created_at": "2017-02-04T04:10:40-05:00",
      "updated_at": "2017-02-04T04:10:40-05:00",
      "basketball_event_id": "d431f29b-37b0-4ccf-a0a9-877c32bff73d",
      "player_id": "db62f552-826c-4419-a525-8037059db307",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "9511f95c-00c2-4f34-b910-7ea6692c2c7b",
      "created_at": "2017-02-04T04:10:40-05:00",
      "updated_at": "2017-02-04T04:10:40-05:00",
      "basketball_event_id": "d431f29b-37b0-4ccf-a0a9-877c32bff73d",
      "player_id": "4b5409ec-81e9-4bbf-9c48-19c0795faabf",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "f2c09746-a32f-4217-89c5-43ad73a394a2",
      "created_at": "2017-02-04T04:10:40-05:00",
      "updated_at": "2017-02-04T04:10:40-05:00",
      "basketball_event_id": "d431f29b-37b0-4ccf-a0a9-877c32bff73d",
      "player_id": "e58d2899-8507-429a-9af5-d9fd6e9b5f7d",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "ea56bd75-235e-48b2-9eb5-838d3e75ac6e",
      "created_at": "2017-02-04T04:10:40-05:00",
      "updated_at": "2017-02-04T04:10:40-05:00",
      "basketball_event_id": "d431f29b-37b0-4ccf-a0a9-877c32bff73d",
      "player_id": "2131add8-1ad8-413d-8d56-af437482c00a",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "9eeb37e1-b155-4a8a-8fe1-0a75b6a5d263",
      "created_at": "2017-02-04T04:10:40-05:00",
      "updated_at": "2017-02-04T04:10:40-05:00",
      "basketball_event_id": "d431f29b-37b0-4ccf-a0a9-877c32bff73d",
      "player_id": "7f1e2d39-98cf-4867-b44f-3c9744d7d842",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "e7e27042-09c6-40c2-a643-77d17c23aca2",
      "created_at": "2017-02-04T04:10:40-05:00",
      "updated_at": "2017-02-04T04:10:40-05:00",
      "basketball_event_id": "d431f29b-37b0-4ccf-a0a9-877c32bff73d",
      "player_id": "2221ed68-04da-4813-ae2c-71debd11c556",
      "team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16"
    },
    {
      "id": "01992511-782e-4bff-a7ec-dde4149f4816",
      "created_at": "2017-02-04T04:10:40-05:00",
      "updated_at": "2017-02-04T04:10:40-05:00",
      "basketball_event_id": "d431f29b-37b0-4ccf-a0a9-877c32bff73d",
      "player_id": "937d1c8d-ef41-4c51-9754-afbc6f1e540e",
      "team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16"
    },
    {
      "id": "cf538ef3-1fd5-4699-9e78-ac388f5c0540",
      "created_at": "2017-02-04T04:10:40-05:00",
      "updated_at": "2017-02-04T04:10:40-05:00",
      "basketball_event_id": "d431f29b-37b0-4ccf-a0a9-877c32bff73d",
      "player_id": "3e37fa11-8b08-4dbe-a31b-c0749b44c7d9",
      "team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16"
    },
    {
      "id": "6785b5c9-f38c-4bce-9b48-ba7bc31d07ce",
      "created_at": "2017-02-04T04:10:40-05:00",
      "updated_at": "2017-02-04T04:10:40-05:00",
      "basketball_event_id": "d431f29b-37b0-4ccf-a0a9-877c32bff73d",
      "player_id": "26aba3e7-c9c4-4049-99c2-1ec31bafc3d6",
      "team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16"
    },
    {
      "id": "6337c4ed-0620-45c1-bffe-1a50db5b8e7f",
      "created_at": "2017-02-04T04:10:40-05:00",
      "updated_at": "2017-02-04T04:10:40-05:00",
      "basketball_event_id": "d431f29b-37b0-4ccf-a0a9-877c32bff73d",
      "player_id": "4b5409ec-81e9-4bbf-9c48-19c0795faabf",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "2d5b95d1-e214-4ba8-829a-310427b8034b",
      "created_at": "2017-02-04T04:10:40-05:00",
      "updated_at": "2017-02-04T04:10:40-05:00",
      "basketball_event_id": "d431f29b-37b0-4ccf-a0a9-877c32bff73d",
      "player_id": "e58d2899-8507-429a-9af5-d9fd6e9b5f7d",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "328a41b7-7426-48dc-be02-4720a2be8902",
      "created_at": "2017-02-04T04:10:40-05:00",
      "updated_at": "2017-02-04T04:10:40-05:00",
      "basketball_event_id": "d431f29b-37b0-4ccf-a0a9-877c32bff73d",
      "player_id": "2131add8-1ad8-413d-8d56-af437482c00a",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "509ea53f-8992-4700-9ee5-26ad864a5b90",
      "created_at": "2017-02-04T04:10:40-05:00",
      "updated_at": "2017-02-04T04:10:40-05:00",
      "basketball_event_id": "d431f29b-37b0-4ccf-a0a9-877c32bff73d",
      "player_id": "7f1e2d39-98cf-4867-b44f-3c9744d7d842",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "acef9be6-038f-4fd1-b8ff-fd64150c2ebd",
      "created_at": "2017-02-04T04:10:40-05:00",
      "updated_at": "2017-02-04T04:10:40-05:00",
      "basketball_event_id": "d431f29b-37b0-4ccf-a0a9-877c32bff73d",
      "player_id": "2221ed68-04da-4813-ae2c-71debd11c556",
      "team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16"
    },
    {
      "id": "714d3763-2144-48b7-880a-57133153da92",
      "created_at": "2017-02-04T04:10:40-05:00",
      "updated_at": "2017-02-04T04:10:40-05:00",
      "basketball_event_id": "d431f29b-37b0-4ccf-a0a9-877c32bff73d",
      "player_id": "ac968d42-7fc8-4e8e-8b42-d9153ad72236",
      "team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16"
    },
    {
      "id": "2b338236-e876-4d65-aeba-907c3c779b6a",
      "created_at": "2017-02-04T04:10:40-05:00",
      "updated_at": "2017-02-04T04:10:40-05:00",
      "basketball_event_id": "d431f29b-37b0-4ccf-a0a9-877c32bff73d",
      "player_id": "937d1c8d-ef41-4c51-9754-afbc6f1e540e",
      "team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16"
    },
    {
      "id": "574d935c-e56d-4aa8-ac06-25cbffb81b19",
      "created_at": "2017-02-04T04:10:40-05:00",
      "updated_at": "2017-02-04T04:10:40-05:00",
      "basketball_event_id": "d431f29b-37b0-4ccf-a0a9-877c32bff73d",
      "player_id": "3e37fa11-8b08-4dbe-a31b-c0749b44c7d9",
      "team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16"
    },
    {
      "id": "294de050-8436-4758-a54b-02ef3c122a57",
      "created_at": "2017-02-04T04:10:40-05:00",
      "updated_at": "2017-02-04T04:10:40-05:00",
      "basketball_event_id": "d431f29b-37b0-4ccf-a0a9-877c32bff73d",
      "player_id": "26aba3e7-c9c4-4049-99c2-1ec31bafc3d6",
      "team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16"
    },
    {
      "id": "133ecf4d-382a-48ba-a9fe-a76e2329d071",
      "created_at": "2017-02-04T04:10:23-05:00",
      "updated_at": "2017-02-04T04:10:23-05:00",
      "basketball_event_id": "29825f90-cf93-4651-8d28-e1b57259f1fb",
      "player_id": "4b5409ec-81e9-4bbf-9c48-19c0795faabf",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "12907852-8080-464b-8fc8-265ecc906221",
      "created_at": "2017-02-04T04:10:23-05:00",
      "updated_at": "2017-02-04T04:10:23-05:00",
      "basketball_event_id": "29825f90-cf93-4651-8d28-e1b57259f1fb",
      "player_id": "e58d2899-8507-429a-9af5-d9fd6e9b5f7d",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "d9f8568a-0acb-4a5a-8390-e0216ccd8b72",
      "created_at": "2017-02-04T04:10:23-05:00",
      "updated_at": "2017-02-04T04:10:23-05:00",
      "basketball_event_id": "29825f90-cf93-4651-8d28-e1b57259f1fb",
      "player_id": "2131add8-1ad8-413d-8d56-af437482c00a",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "09104e17-d8e6-4e5c-a3d9-0900c86b4d2f",
      "created_at": "2017-02-04T04:10:23-05:00",
      "updated_at": "2017-02-04T04:10:23-05:00",
      "basketball_event_id": "29825f90-cf93-4651-8d28-e1b57259f1fb",
      "player_id": "0ec617bb-33ed-417e-90a4-8b18dd5fddb0",
      "team_id": "ed6fc9b7-bfa2-4f04-a78d-f1876b6b4823"
    },
    {
      "id": "b33f6f7a-eec4-49a8-b686-df35701c76cf",
      "created_at": "2017-02-04T04:10:23-05:00",
      "updated_at": "2017-02-04T04:10:23-05:00",
      "basketball_event_id": "29825f90-cf93-4651-8d28-e1b57259f1fb",
      "player_id": "2221ed68-04da-4813-ae2c-71debd11c556",
      "team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16"
    },
    {
      "id": "e9a472d6-c70c-4d13-b7ec-99c1074f07d5",
      "created_at": "2017-02-04T04:10:23-05:00",
      "updated_at": "2017-02-04T04:10:23-05:00",
      "basketball_event_id": "29825f90-cf93-4651-8d28-e1b57259f1fb",
      "player_id": "ac968d42-7fc8-4e8e-8b42-d9153ad72236",
      "team_id": "1c65bbb6-bd10-4ef6-831a-89050d57fe16"
    },
    {
      "id": "d97e2ea6-dd15-4970-8c3d-7fffcd6208c6",
      "created_at": "2017-02-04T04:10:23-05:00",
      "updated_at": "2017-02-04T04:10:23-05:00",
      "basketball_event_id": "29825f90-cf93-4651-8d28-e1b57259f1fb",