---
title: "Fantasy Points - by Date"
method: GET
path: "/v3/mlb/stats/{format}/FantasyGameStatsByDate/{date}"
tags: ["MLB v3 Stats"]
---

# Fantasy Points - by Date

`GET /v3/mlb/stats/{format}/FantasyGameStatsByDate/{date}`

## Request

- Base URL: `https://api.sportsdata.io`
- URL: `https://api.sportsdata.io/v3/mlb/stats/{format}/FantasyGameStatsByDate/{date}`
- Auth: one of:
  - API key in header `Ocp-Apim-Subscription-Key`
  - API key in query parameter `key`
- TypeScript: <https://skmtc.dev/sportsdata/apis/mlb-api/docs/v3/mlb/stats/:format/FantasyGameStatsByDate/:date/get.ts> (a function with typed inputs; its response is checked against the schema)

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

## Path parameters

- `format` 'JSON' | 'XML', required
- `date` string, required

## Response `200`

Success

- FantasyGame[]
  - `GameID` integer: The unique ID of this game
  - `PlayerID` integer: The player's unique PlayerID as assigned by SportsDataIO. Note: this ID will stay with the player throughout their MLB career
  - `SeasonType` integer, nullable: The type of season that this record corresponds to (1=Regular Season; 2=Preseason; 3=Postseason; 4=Offseason; 5=AllStar).
  - `Season` integer, nullable: The MLB season of the game
  - `Day` string, nullable: The date of the game
  - `DateTime` string, nullable: The date and time of the game in US Eastern Time
  - `Team` string, nullable: The abbreviation [Key] of the team
  - `Opponent` string, nullable: The name [Key] of the player's opponent in the game
  - `HomeOrAway` string, nullable: Whether the team is home or away
  - `Jersey` integer, nullable: The player's jersey number.
  - `Name` string, nullable: Player's full name
  - `Position` string, 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
  - `PositionCategory` string, nullable: The player's position category. Possible values: DH; IF; OF; P; PH; PR
  - `Games` integer, nullable: The number of games played by the player. Note: for game feeds this will always = 1
  - `Started` integer, nullable: Whether the player started in the game. Note: started = 1 and not starting = 0
  - `FantasyPoints` number, nullable: Total fantasy points by the player during the game
  - `FantasyPointsBatting` number, nullable: Total batting fantasy points by the player in the game
  - `FantasyPointsPitching` number, nullable: Total pitching fantasy points by the player in the game
  - `IsGameOver` boolean, nullable: Whether or not the game is over (returns ture/false)
  - `FantasyPointsFanDuel` number, nullable: Total FanDuel fantasy points by the player in the game
  - `FantasyPointsYahoo` number, nullable: Total Yahoo fantasy points by the player in the game
  - `FantasyPointsDraftKings` number, nullable: Total DraftKings fantasy points by the player in the game
  - `FanDuelPosition` string, nullable: The player's eligible position in FanDuel's daily fantasy sports platform.
  - `DraftKingsPosition` string, nullable: The player's eligible position in DraftKings' daily fantasy sports platform.
  - `YahooPosition` string, nullable: The player's eligible position in Yahoo's daily fantasy sports platform
  - `OpponentRank` integer, nullable: The ranking of the player's opponent with regards to fantasy points allowed
  - `OppositionPositionRank` integer, nullable: The ranking of the player's opponent by position with regards to fantasy points allowed
  - `GlobalGameID` integer, nullable: A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.
  - `Updated` string, nullable: The date and time of the late update made to this record (in US Eastern Time)

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/sportsdata/apis/mlb-api.md) - [All operations](https://skmtc.dev/sportsdata/apis/mlb-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sportsdata/apis/mlb-api/revisions/60fb38ac37e7?raw)
