---
title: "Betting Splits - by Game"
method: GET
path: "/v3/nba/odds/{format}/BettingSplitsByGameId/{gameId}"
tags: ["NBA v3 Odds"]
---

# Betting Splits - by Game

`GET /v3/nba/odds/{format}/BettingSplitsByGameId/{gameId}`

## Request

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

List of Money and Bet Percentage splits for each market and their respective outcome types available in this game. This specific endpoint will return current splits for each available market and no line movement.

## Path parameters

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

## Response `200`

Success

- GameBettingSplit
  - `GameID` integer: The unique ID of the game associated with this GameBettingSplit
  - `SeasonType` integer: The type of season that this record corresponds to (1=Regular Season; 2=Preseason; 3=Postseason; 4=Offseason; 5=AllStar; 6=Exhibition)
  - `Season` integer: The NBA season of the game
  - `Day` string, nullable: The day of the game
  - `AwayTeam` string, nullable: The abbreviation [Key] of the away team
  - `HomeTeam` string, nullable: The abbreviation [Key] of the home team
  - `BettingMarketSplits` BettingMarketSplit[]: Shows the BettingMarketSplits included in a given game
    - `BettingMarketID` integer: The unique ID associated with the betting market
    - `BettingEventID` integer: The unique ID of the betting event associated with this split
    - `BettingMarketTypeID` integer: The unique ID that distinguishes the different types of Market Types
    - `BettingMarketType` string, nullable: The name of the market type within a market (e.g. Player Prop, Team Prop, Game Prop, etc.)
    - `BettingBetTypeID` integer: The unique ID associated with the name of the bet type within a market
    - `BettingBetType` string, nullable: The name of the bet type within a market (e.g. Total Points, Moneyline, Spread, etc.)
    - `BettingPeriodTypeID` integer: The BettingPeriodTypeID of this type of market which we can result
    - `BettingPeriodType` string, nullable: The name of the period type of this market (e.g. Full Game; 1st Half; 2nd Quarter; Regular Season)
    - `TeamID` integer, nullable: The unique ID of the team tied to this market split (if applicable)
    - `TeamKey` string, nullable: The abbreviation [Key] of the team associated with this market
    - `PlayerID` integer, nullable: The player's unique PlayerID as assigned by SportsDataIO. Note: this ID will stay with the player throughout their entire career
    - `PlayerName` string, nullable: The name of the player tied to this market (if applicable)
    - `BettingSplits` BettingSplit[]: A list of betting splits for a given game
      - `BettingMarketSplitID` integer: The unique ID assciated with the betting split
      - `BettingMarketID` integer: The unique ID associated with the betting market
      - `BettingOutcomeTypeID` integer, nullable: The BettingOutcomeTypeID of this outcome
      - `BettingOutcomeType` string, nullable: The name of outcome type (e.g. Home; Away; Under; Over)
      - `BetPercentage` integer, nullable: Percentage of bets placed on a specific outcome
      - `MoneyPercentage` integer, nullable: Percent of Money on this Outcome
      - `Created` string, nullable: The date and time when this betting split was first seen (in US Eastern Time)
      - `LastSeen` string, nullable: When this split was last updated

## 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)
