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

# Betting Splits - by Game

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

## Request

- Base URL: `https://api.sportsdata.io`
- URL: `https://api.sportsdata.io/v3/nhl/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/nhl-api/docs/v3/nhl/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 tied to the BettingSplits Turn on screen reader support
  - `SeasonType` integer: The type of season that this record corresponds to (1=Regular Season; 2=Preseason; 3=Postseason; 5=AllStar; 6=Exhibition).
  - `Season` integer: The end year of season (2021-22 would be 2022)
  - `Day` string, nullable: The date 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 betting markets that have splits included for them in the game
    - `BettingMarketID` integer: The unique ID of the betting market
    - `BettingEventID` integer: The unique ID of the betting event associated with this split
    - `BettingMarketTypeID` integer: The ID associated with the name of the market type within a market
    - `BettingMarketType` string, nullable: The name of the market type within a betting market (e.g. Player Prop, Team Prop, Game Prop, etc.)
    - `BettingBetTypeID` integer: The 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, Puck Line, etc.)
    - `BettingPeriodTypeID` integer: The ID associated with the betting period type which we can result
    - `BettingPeriodType` string, nullable: The name of the period type of a market (e.g. Full Game; 1st Period; Overtime; Regular Season)
    - `TeamID` integer, nullable: The unique ID of the team
    - `TeamKey` string, nullable: The abbreviation [Key] of the team tied to this market split (if applicable)
    - `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 split (if applicable)
    - `BettingSplits` BettingSplit[]: A list of betting splits
      - `BettingMarketSplitID` integer: The unique ID of this betting split insatnce
      - `BettingMarketID` integer: The unique ID of the betting market
      - `BettingOutcomeTypeID` integer, nullable: The ID associated with the betting outcome type
      - `BettingOutcomeType` string, nullable: The name of the betting outcome within a betting market (e.g. Home; Away; Under; Over)
      - `BetPercentage` integer, nullable: Percentage of bets placed on a specific outcome
      - `MoneyPercentage` integer, nullable: The percent of money on this outcome
      - `Created` string, nullable: The date and time when this betting split was created in US Eastern Time
      - `LastSeen` string, nullable: When this split was last updated

## Other responses

- `401`: Unauthorized

---

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