{
  "opencollection": "1.0.0",
  "info": {
    "name": "MLB MLB v3 Headshots MLB v3 Stats API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Ocp-Apim-Subscription-Key",
      "value": "{{Ocp-Apim-Subscription-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "MLB v3 Stats",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Player Game Stats - by Date [Live & Final]",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sportsdata.io/v3/mlb/stats/:format/PlayerGameStatsByDate/:date",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "path",
                "description": "Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>."
              },
              {
                "name": "date",
                "value": "",
                "type": "path",
                "description": "The date of the game(s).\n<br>Examples: <code>2017-JUL-31</code>, <code>2017-SEP-01</code>."
              }
            ]
          },
          "docs": "Returns the box score statistical record for all involved players across a given date, updated live as the game takes place."
        },
        {
          "info": {
            "name": "Player Season Stats",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sportsdata.io/v3/mlb/stats/:format/PlayerSeasonStats/:season",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "path",
                "description": "Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>."
              },
              {
                "name": "season",
                "value": "",
                "type": "path",
                "description": "Year of the season.\n<br>Examples: <code>2017</code>, <code>2018</code>."
              }
            ]
          },
          "docs": "Returns all season-long stats (i.e. the season total, not each individual game record) for all players for a given season."
        },
        {
          "info": {
            "name": "Player Season Stats - by Team",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sportsdata.io/v3/mlb/stats/:format/PlayerSeasonStatsByTeam/:season/:team",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "path",
                "description": "Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>."
              },
              {
                "name": "season",
                "value": "",
                "type": "path",
                "description": "Year of the season.\n<br>Examples: <code>2017</code>, <code>2018</code>.\n"
              },
              {
                "name": "team",
                "value": "",
                "type": "path",
                "description": "The abbreviation of the requested team.\n<br>Examples: <code>SF</code>, <code>NYY</code>."
              }
            ]
          },
          "docs": "Returns all season-long stats (i.e. the season total, not each individual game record) for a given team's players in a given season."
        },
        {
          "info": {
            "name": "Box Scores - by Date [Live & Final]",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sportsdata.io/v3/mlb/stats/:format/BoxScores/:date",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "path",
                "description": "Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>."
              },
              {
                "name": "date",
                "value": "",
                "type": "path",
                "description": "The date of the game(s).\n<br>Examples: <code>2017-JUL-31</code>, <code>2017-SEP-01</code>."
              }
            ]
          },
          "docs": "Full statistical information for a specified game, down to the team and player stat level, delivered live during the game, called for all games on a given date."
        },
        {
          "info": {
            "name": "Box Score [Live & Final]",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sportsdata.io/v3/mlb/stats/:format/BoxScore/:gameid",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "path",
                "description": "Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>."
              },
              {
                "name": "gameid",
                "value": "",
                "type": "path",
                "description": "The GameID of an MLB game.  GameIDs can be found in the Games API.  Valid entries are <code>14620</code> or <code>16905</code>"
              }
            ]
          },
          "docs": "Full statistical information for a specified game, down to the team and player stat level, delivered live during the game, called per individual game."
        },
        {
          "info": {
            "name": "Box Scores Delta - by Date",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sportsdata.io/v3/mlb/stats/:format/BoxScoresDelta/:date/:minutes",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "path",
                "description": "Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>."
              },
              {
                "name": "date",
                "value": "",
                "type": "path",
                "description": "The date of the game(s).\n<br>Examples: <code>2017-JUL-31</code>, <code>2017-SEP-01</code>."
              },
              {
                "name": "minutes",
                "value": "",
                "type": "path",
                "description": "Only returns player statistics that have changed in the last X minutes.  You specify how many minutes in time to go back. Valid entries are:\n<code>1</code>, <code>2</code> ... <code>all</code>."
              }
            ]
          },
          "docs": "This method returns all box scores for a given date, but only returns player stats that have changed in the last X minutes as specified in your API call. By definition this is a live endpoint, not final."
        },
        {
          "info": {
            "name": "Player Season Split Stats",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sportsdata.io/v3/mlb/stats/:format/PlayerSeasonSplitStats/:season/:split",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "path",
                "description": "Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>."
              },
              {
                "name": "season",
                "value": "",
                "type": "path",
                "description": "Year of the season.\n<br>Examples: <code>2017</code>, <code>2018</code>."
              },
              {
                "name": "split",
                "value": "",
                "type": "path",
                "description": "The desired split of stats. Currently, we support vs. Left/Right/Switch handed pitchers/hitters. Possible values are: <code>L</code>, <code>R</code> and <code>S</code>"
              }
            ]
          },
          "docs": "All players' split stats for the season. Split stats are available for left, right, and switch-handed pitchers and hitters."
        },
        {
          "info": {
            "name": "Batter vs. Pitcher Stats",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sportsdata.io/v3/mlb/stats/:format/HitterVsPitcher/:hitterid/:pitcherid",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "path",
                "description": "Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>."
              },
              {
                "name": "hitterid",
                "value": "",
                "type": "path",
                "description": "Unique FantasyData Player ID.\nExample:<code>10000031</code>."
              },
              {
                "name": "pitcherid",
                "value": "",
                "type": "path",
                "description": "Unique FantasyData Player ID.\nExample:<code>10000618</code>."
              }
            ]
          },
          "docs": "Stat records for a given hitter and a given pitcher, called by PlayerId in both cases."
        },
        {
          "info": {
            "name": "Player Season Stats Split - by Team",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sportsdata.io/v3/mlb/stats/:format/PlayerSeasonStatsSplitByTeam/:season",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "path",
                "description": "Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>."
              },
              {
                "name": "season",
                "value": "",
                "type": "path",
                "description": "Year of the season.\n<br>Examples: <code>2017</code>, <code>2018</code>."
              }
            ]
          },
          "docs": "All a given team's players' split stats for the season. Split stats are available for left, right, and switch-handed pitchers and hitters."
        },
        {
          "info": {
            "name": "Player Season Stats - by Home",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sportsdata.io/v3/mlb/stats/:format/PlayerSeasonHomeStats/:season",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "path",
                "description": "Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>."
              },
              {
                "name": "season",
                "value": "",
                "type": "path",
                "description": "Year of the season.\n<br>Examples: <code>2017</code>, <code>2018</code>."
              }
            ]
          },
          "docs": "All players' stats for the season taken only from their home games."
        },
        {
          "info": {
            "name": "Player Season Stats - by Away",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sportsdata.io/v3/mlb/stats/:format/PlayerSeasonAwayStats/:season",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "path",
                "description": "Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>."
              },
              {
                "name": "season",
                "value": "",
                "type": "path",
                "description": "Year of the season.\n<br>Examples: <code>2017</code>, <code>2018</code>."
              }
            ]
          },
          "docs": "All players' stats for the season taken only from their road games."
        },
        {
          "info": {
            "name": "Team Hitting vs. Starting Pitcher",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sportsdata.io/v3/mlb/stats/:format/TeamHittersVsPitcher/:gameid/:team",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "path",
                "description": "Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>."
              },
              {
                "name": "gameid",
                "value": "",
                "type": "path",
                "description": "The GameID of an MLB game.  GameIDs can be found in the Games API.  Valid entries are <code>14620</code> or <code>16905</code>"
              },
              {
                "name": "team",
                "value": "",
                "type": "path",
                "description": "The abbreviation of the requested team.\n<br>Examples: <code>SF</code>, <code>NYY</code>."
              }
            ]
          },
          "docs": "For a given game, returns a team's hitting record versus the projected or confirmed starting pitcher for the game in question."
        },
        {
          "info": {
            "name": "Player Game Logs - by Season",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sportsdata.io/v3/mlb/stats/:format/PlayerGameStatsBySeason/:season/:playerid/:numberofgames",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "path",
                "description": "Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>."
              },
              {
                "name": "season",
                "value": "",
                "type": "path",
                "description": "Season to get games from. Example <code>2019POST</code>, <code>2020</code>"
              },
              {
                "name": "playerid",
                "value": "",
                "type": "path",
                "description": "Unique SportsDataIO Player ID.\nExample:<code>10001365</code>."
              },
              {
                "name": "numberofgames",
                "value": "",
                "type": "path",
                "description": "How many games to return. Example <code>all</code>, <code>10</code>, <code>25</code>"
              }
            ]
          },
          "docs": "Specify a season, a player, and number of games (either an integer or <code>all</code>) to see all of their box score logs. Refreshed after their most recent game is complete."
        },
        {
          "info": {
            "name": "Player Game Stats - by Date [Final]",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sportsdata.io/v3/mlb/stats/:format/PlayerGameStatsByDateFinal/:date",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "path",
                "description": "Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>."
              },
              {
                "name": "date",
                "value": "",
                "type": "path",
                "description": "The date of the game(s).\n<br>Examples: <code>2017-JUL-31</code>, <code>2017-SEP-01</code>."
              }
            ]
          },
          "docs": "Returns the box score statistical record for all involved players across all teams' games on a given date after each game has concluded."
        },
        {
          "info": {
            "name": "Box Score [Final]",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sportsdata.io/v3/mlb/stats/:format/BoxScoreFinal/:gameid",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "path",
                "description": "Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>."
              },
              {
                "name": "gameid",
                "value": "",
                "type": "path",
                "description": "The GameID of an MLB game.  GameIDs can be found in the Games API.  Valid entries are <code>14620</code> or <code>16905</code>"
              }
            ]
          },
          "docs": "Full statistical information for a specified game, down to the team and player stat level, delivered after the game is complete."
        },
        {
          "info": {
            "name": "Box Scores - by Date [Final]",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sportsdata.io/v3/mlb/stats/:format/BoxScoresFinal/:date",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "path",
                "description": "Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>."
              },
              {
                "name": "date",
                "value": "",
                "type": "path",
                "description": "The date of the game(s).\n<br>Examples: <code>2017-JUL-31</code>, <code>2017-SEP-01</code>."
              }
            ]
          },
          "docs": "Full statistical information for a specified date for each game that took place, down to the team and player stat level, delivered after the game is complete."
        },
        {
          "info": {
            "name": "Fantasy Points - by Date",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sportsdata.io/v3/mlb/stats/:format/FantasyGameStatsByDate/:date",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "path",
                "description": "Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>."
              },
              {
                "name": "date",
                "value": "",
                "type": "path",
                "description": "The date of the game(s).\n<br>Examples: <code>2017-JUL-31</code>, <code>2017-SEP-01</code>."
              }
            ]
          },
          "docs": "Returns a simple list of fantasy points and stats for each player for a given date."
        }
      ]
    }
  ],
  "bundled": true
}