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

# Fantasy Points - by Date

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

## Request

- Base URL: `https://api.sportsdata.io`
- URL: `https://api.sportsdata.io/v3/nba/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/nba-api/docs/v3/nba/stats/:format/FantasyGameStatsByDate/:date/get.ts> (a function with typed inputs; its response is checked against the schema)

A simple list of fantasy points scored for all players who took part in games on a given date.

## Path parameters

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

## Response `200`

Success

- FantasyGame[]
  - `GameID` integer, nullable: The unique ID of this game
  - `PlayerID` integer, nullable: The player's unique PlayerID as assigned by SportsDataIO. Note: this ID will stay with the player throughout their entire career
  - `SeasonType` integer, nullable: The type of season that this record corresponds to (1=Regular Season; 2=Preseason; 3=Postseason; 4=Offseason; 5=AllStar; 6=Exhibition)
  - `Season` integer, nullable: The NBA season of the game
  - `Day` string, nullable: The day 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: Abbreviation [Key] of the opponent team (e.g. LAL; PHI; BOS; CHI; etc.)
  - `HomeOrAway` string, nullable: Whether the team is home or away
  - `Jersey` integer, nullable: The player's jersey number
  - `Name` string, nullable: The player's full name
  - `Position` string, nullable: The player's primary position. Possible values: PG; SG; SF; PF; C
  - `PositionCategory` string, nullable: The player's position category. Possible values: C, F, G
  - `Games` integer, nullable: The number of games played by the player in the game Note: this will be one or zero for single game feeds
  - `Started` integer, nullable: Indicates whether or not the player started the game Note: this will be one or zero for single game feeds
  - `FantasyPoints` number, nullable: Total fantasy points by the player in the game
  - `IsGameOver` boolean: Whether the game is over (true/false)
  - `FantasyPointsFanDuel` number, nullable: Total FanDuel daily fantasy points scored
  - `FantasyPointsYahoo` number, nullable: Total Yahoo daily fantasy points scored
  - `FantasyPointsDraftKings` number, nullable: Total DraftKings daily fantasy points scored
  - `FandDuelPosition` 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.
  - `OpponentPositionRank` 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 timestamp of when this game was last updated (in US Eastern Time)

## Other responses

- `401`: Unauthorized

---

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