MLB v3 Stats

Fantasy Points - by Date

Returns a simple list of fantasy points and stats for each player for a given date.

get/v3/mlb/stats/{format}/FantasyGameStatsByDate/{date}

Request

Path parameters

format'JSON' | 'XML' required

Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>.

datestring required

The date of the game(s). <br>Examples: <code>2017-JUL-31</code>, <code>2017-SEP-01</code>.

Response

Success

GameIDinteger

The unique ID of this game

PlayerIDinteger

The player's unique PlayerID as assigned by SportsDataIO. Note: this ID will stay with the player throughout their MLB career

SeasonTypeinteger nullable

The type of season that this record corresponds to (1=Regular Season; 2=Preseason; 3=Postseason; 4=Offseason; 5=AllStar).

Seasoninteger nullable

The MLB season of the game

Daystring nullable

The date of the game

DateTimestring nullable

The date and time of the game in US Eastern Time

Teamstring nullable

The abbreviation [Key] of the team

Opponentstring nullable

The name [Key] of the player's opponent in the game

HomeOrAwaystring nullable

Whether the team is home or away

Jerseyinteger nullable

The player's jersey number.

Namestring nullable

Player's full name

Positionstring nullable

The player's position associated with the given game or season. Possible values: 1B, 2B, 3B, C, CF, DH, IF, LF, OF, P, PH, PR, RF, RP, SP, SS

PositionCategorystring nullable

The player's position category. Possible values: DH; IF; OF; P; PH; PR

Gamesinteger nullable

The number of games played by the player. Note: for game feeds this will always = 1

Startedinteger nullable

Whether the player started in the game. Note: started = 1 and not starting = 0

FantasyPointsnumber nullable

Total fantasy points by the player during the game

FantasyPointsBattingnumber nullable

Total batting fantasy points by the player in the game

FantasyPointsPitchingnumber nullable

Total pitching fantasy points by the player in the game

IsGameOverboolean nullable

Whether or not the game is over (returns ture/false)

FantasyPointsFanDuelnumber nullable

Total FanDuel fantasy points by the player in the game

FantasyPointsYahoonumber nullable

Total Yahoo fantasy points by the player in the game

FantasyPointsDraftKingsnumber nullable

Total DraftKings fantasy points by the player in the game

FanDuelPositionstring nullable

The player's eligible position in FanDuel's daily fantasy sports platform.

DraftKingsPositionstring nullable

The player's eligible position in DraftKings' daily fantasy sports platform.

YahooPositionstring nullable

The player's eligible position in Yahoo's daily fantasy sports platform

OpponentRankinteger nullable

The ranking of the player's opponent with regards to fantasy points allowed

OppositionPositionRankinteger nullable

The ranking of the player's opponent by position with regards to fantasy points allowed

GlobalGameIDinteger nullable

A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.

Updatedstring nullable

The date and time of the late update made to this record (in US Eastern Time)

Changes

No recorded changes to this operation across all 2 revisions of this API.