---
title: "Betting Metadata"
method: GET
path: "/v3/nhl/odds/{format}/Bettingmetadata"
tags: ["NHL v3 Odds"]
---

# Betting Metadata

`GET /v3/nhl/odds/{format}/Bettingmetadata`

## Request

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

Returns the list of MarketTypes, BetTypes, PeriodTypes, OutcomeTypes, and ResultTypes to map the IDs to descriptive names. Also includes a list of the MarketType, BetType & PeriodType combinations which we will have resulting for.

## Path parameters

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

## Response `200`

Success

- BettingEntityMetadataCollection
  - `BettingBetTypes` BettingEntityMetadata[]: The list of the bet types that can be found within a market
    - `RecordId` integer: The unique ID of this record. Unique only within the same entity type (i.e. BettingMarketTypeIDs overlap with BettingBetTypeIDs)
    - `Name` string, nullable: A text value for the record (e.g. Moneyline; Player Prop; 3rd Quarter)
    - `Active` boolean, nullable: Whether or not this market is currently is use
  - `BettingMarketTypes` BettingEntityMetadata[]: A list of the possible market types within a Betting Event (e.g. Game Line, Team Prop, Player Future, etc.)
    - `RecordId` integer: The unique ID of this record. Unique only within the same entity type (i.e. BettingMarketTypeIDs overlap with BettingBetTypeIDs)
    - `Name` string, nullable: A text value for the record (e.g. Moneyline; Player Prop; 3rd Quarter)
    - `Active` boolean, nullable: Whether or not this market is currently is use
  - `BettingPeriodTypes` BettingEntityMetadata[]: A list of the possible BettingPeriodTypes (e.g. Full Game; Regulation; 1st Period)
    - `RecordId` integer: The unique ID of this record. Unique only within the same entity type (i.e. BettingMarketTypeIDs overlap with BettingBetTypeIDs)
    - `Name` string, nullable: A text value for the record (e.g. Moneyline; Player Prop; 3rd Quarter)
    - `Active` boolean, nullable: Whether or not this market is currently is use
  - `BettingEventTypes` BettingEntityMetadata[]: A list of the possible BettingEventTypes (e.g. Game, Future)
    - `RecordId` integer: The unique ID of this record. Unique only within the same entity type (i.e. BettingMarketTypeIDs overlap with BettingBetTypeIDs)
    - `Name` string, nullable: A text value for the record (e.g. Moneyline; Player Prop; 3rd Quarter)
    - `Active` boolean, nullable: Whether or not this market is currently is use
  - `BettingOutcomeTypes` BettingEntityMetadata[]: A list of the possible BettingOutcomeTypes (e.g. Home; Away; Under; Over)
    - `RecordId` integer: The unique ID of this record. Unique only within the same entity type (i.e. BettingMarketTypeIDs overlap with BettingBetTypeIDs)
    - `Name` string, nullable: A text value for the record (e.g. Moneyline; Player Prop; 3rd Quarter)
    - `Active` boolean, nullable: Whether or not this market is currently is use
  - `ResultedMarketMetaData` BettingResultingMetadata[]: A list of the combinations of MarketType, BetType, & PeriodType which we willl provide automated resulting for
    - `BettingMarketTypeId` integer: The ID associated with the name of the market type within a market
    - `BettingBetTypeId` integer: The ID associated with the name of the bet type within a market
    - `BettingPeriodTypeId` integer: The ID associated with the betting period type which we can result
  - `BettingResultTypes` BettingEntityMetadata[]: A list of the possible BettingResultTypes (e.g. Win; Loss; Push; Not Resulted; Incomplete)
    - `RecordId` integer: The unique ID of this record. Unique only within the same entity type (i.e. BettingMarketTypeIDs overlap with BettingBetTypeIDs)
    - `Name` string, nullable: A text value for the record (e.g. Moneyline; Player Prop; 3rd Quarter)
    - `Active` boolean, nullable: Whether or not this market is currently is use

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