Global Ice Hockey v1

Frequently Asked Questions
API API Version
Global Ice Hockey v1
Note: Authentication is required for all API calls.
## Global Ice Hockey API Map To best utilize the Global Ice Hockey API, you will need several parameters to create your API calls. The map below illustrates how you can obtain the parameters you need. >

Examples:

>To find the probability of a home team win for a given game: >
  1. Call the schedule or daily schedule and find the match id for the chosen match
  2. Call the Match probabilities using the Match ID
  3. Find the home team and locate the outcome probability
>The probability of a home team win is displayed. >
    >To find the leader in assists for a given tournament: >
    1. Call the daily schedule, results, or tournament list and find id for the chosen tournament
    2. Call the Tournament Leaders using the Tournament ID
    3. Find the top_assists element and locate the rank attribute
    >The player id and name are displayed. The primary feeds require only a date or human-readable parameters to call the endpoints. Those feeds provide Match Ids, Competitor Ids, or Tournament Ids which can be used to generate the match, team, and tournament feeds.
    Note: Season Ids provided in the feeds can be used interchangeably with Tournament Ids to look at schedules and statistics for the season.
    ## Daily Results
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Tournament Round Group
    Tournament Round Match Number
    Tournament Round Matches
    Tournament Round Name
    Tournament Round Number
    Tournament Round Other Match Id
    Tournament Round Phase
    Tournament Round Type
    Team Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Venue Info Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    Match Info Data Points: Match Id
    Scheduled Date/Time
    Start Time to be Determined
    Sport Event Status Away Score
    Sport Event Status Home Score
    Sport Event Status Match Status
    Sport Event Status Period
    Sport Event Status
    Sport Event Status Winner Id
    Timeline Info Data Points: Away Score
    Home Score
    Period Number Period Type
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/hockey-t1/ice/en/schedules/2016-12-05/results.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/hockey-t1/ice/en/schedules/2016-12-05/results.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/hockey-t1/ice/en/schedules/2016-12-05/results.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Daily Results. https://api.sportradar.us/hockey-`{access_level}{version}`/ice/`{language_code}`/schedules/`{year}`-`{month}`-`{day}`/results.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `year` | Year in 4 digit format (YYYY). | | `month` | Month in 2 digit format (MM). | | `day` | Day in 2 digit format (DD). | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for the Daily Results use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/icehockey/results.xsd Return to API map ## Daily Schedule
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Tournament Round Group
    Tournament Round Match Number
    Tournament Round Matches
    Tournament Round Name
    Tournament Round Number
    Tournament Round Other Match Id
    Tournament Round Phase
    Tournament Round Type
    Team Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Venue Info Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    Match Info Data Points: Match Id
    Start Time to be Determined
    Scheduled Date/Time Sport Event Status
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/hockey-t1/ice/en/schedules/2016-12-05/schedule.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/hockey-t1/ice/en/schedules/2016-12-05/schedule.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/hockey-t1/ice/en/schedules/2016-12-05/schedule.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. To access the Daily Schedule feed use the following URL: https://api.sportradar.us/hockey-`{access_level}{version}`/ice/`{language_code}`/schedules/`{year}`-`{month}`-`{day}`/schedule.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `year` | Year in 4 digit format (YYYY). | | `month` | Month in 2 digit format (MM). | | `day` | Day in 2 digit format (DD). | | `live` | Optional: Replace the date with "live" for a live schedule. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for the Daily Schedule use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/icehockey/schedule.xsd Return to API map ## Head To Head
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Tournament Round Group
    Tournament Round Match Number
    Tournament Round Matches
    Tournament Round Name
    Tournament Round Number
    Tournament Round Other Match Id
    Tournament Round Type
    Team Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Venue Info Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    Match Info Data Points: Match Id
    Scheduled Date/Time
    Start Time to be Determined
    Sport Event Status Away Score
    Sport Event Status Home Score
    Sport Event Status Match Status
    Sport Event Status Period
    Sport Event Status
    Sport Event Status Winner Id
    Timeline Info Data Points: Away Score
    Home Score
    Period Number Period Type
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/hockey-t1/ice/en/teams/sr:competitor:5735/versus/sr:competitor:5739/matches.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/hockey-t1/ice/en/teams/sr:competitor:5735/versus/sr:competitor:5739/matches.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/hockey-t1/ice/en/teams/sr:competitor:5735/versus/sr:competitor:5739/matches.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Head To Head information. https://api.sportradar.us/hockey-`{access_level}{version}`/ice/`{language_code}`/teams/`{team_id}`/versus/`{team_id2}`/matches.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `team_id` | Id of a given team. | | `team_id2` | Id of a given team. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for Head To Head use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/icehockey/team_versus_matches.xsd Return to API map ## Match Lineups
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Tournament Round Group
    Tournament Round Match Number
    Tournament Round Matches
    Tournament Round Name
    Tournament Round Number
    Tournament Round Other Match Id
    Tournament Round Type
    Team Info Data Points: Jersey Base Color
    Jersey Horizontal Stripes
    Jersey Number Color
    Jersey Shirt Type
    Jersey Sleeve Color
    Jersey Split
    Jersey Squares
    Jersey Stripes
    Jersey Type
    Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Player Info Data Points: Id
    Jersey Number
    Name Position
    Venue Info Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    Match Info Data Points: Match Id
    Scheduled Date/Time
    Start Time to be Determined Team Lineup
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/hockey-t1/ice/en/matches/sr:match:9655945/lineups.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/hockey-t1/ice/en/matches/sr:match:9655945/lineups.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/hockey-t1/ice/en/matches/sr:match:9655945/lineups.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Match Lineup information for a specific match. https://api.sportradar.us/hockey-`{access_level}{version}`/ice/`{language_code}`/matches/`{match_id}`/lineups.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `match_id` | ID for a given game. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for the Match Probabilities use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/icehockey/match_lineups.xsd Return to API map ## Match Probabilities
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Tournament Round Group
    Tournament Round Match Number
    Tournament Round Matches
    Tournament Round Name
    Tournament Round Number
    Tournament Round Other Match Id
    Tournament Round Type
    Team Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Venue Info Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    Probability Info Data Points: Away Team Win Probability
    Home Team Win Probability
    Market Name Outcome Name
    Match Info Data Points: Match Id Start Time to be Determined Scheduled Date/Time
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/hockey-t1/ice/en/matches/sr:match:9655945/probabilities.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/hockey-t1/ice/en/matches/sr:match:9655945/probabilities.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/hockey-t1/ice/en/matches/sr:match:9655945/probabilities.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Match Probabilities information for a specific match. https://api.sportradar.us/hockey-`{access_level}{version}`/ice/`{language_code}`/matches/`{match_id}`/probabilities.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `match_id` | ID for a given game. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for the Match Probabilities use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/icehockey/match_probabilities.xsd Return to API map ## Match Summary
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Round Match Number
    Round Matches
    Round Name
    Round Number
    Round Type
    Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Tournament Round Group
    Tournament Round Match Number
    Tournament Round Matches
    Tournament Round Name
    Tournament Round Number
    Tournament Round Other Match Id
    Tournament Round Phase
    Tournament Round Type
    Team Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Player Info Data Points: Id Name
    Venue Info Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    Match Info Data Points: Match Id
    Scheduled Date/Time
    Start Time to be Determined
    Sport Event Status Away Score
    Sport Event Status Home Score
    Sport Event Status Match Status
    Sport Event Status Period
    Sport Event Status
    Sport Event Status Winner Id
    Timeline Data Points: Away Score
    Goal Scorer Id
    Goal Scorer Name
    Home Score
    Period Number
    Period Type
    Team Match Statistics Data Points: Goalie Losses
    Goalie Wins
    Goals
    Goals Against Average
    Goals Conceded
    Goals in Power Play
    Goals While Short Handed
    Penalties
    Penalty Minutes
    Power Plays
    Puck Possessions
    Save Percentage
    Saves
    Shooting Percentage
    Shots on Goal
    Shutouts
    Suspensions Minutes
    Suspensions Number
    Player Match Statistics Data Points: Assists
    First Assist
    Goalie Losses
    Goalie Minutes Played
    Goalie Wins
    Goals
    Goals Against Average
    Goals Allowed
    Penalties
    Penalty Minutes
    Plus Minus
    Points
    Saves
    Second Assist
    Shots on Target
    Shutouts
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/hockey-t1/ice/en/matches/sr:match:8323422/summary.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/hockey-t1/ice/en/matches/sr:match:8323422/summary.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/hockey-t1/ice/en/matches/sr:match:8323422/summary.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Match Summary. https://api.sportradar.us/hockey-`{access_level}{version}`/ice/`{language_code}`/matches/`{match_id}`/summary.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `match_id` | ID for a given game. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for the Match Summary use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/icehockey/match_summary.xsd Return to API map ## Match Timeline
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Round Match Number
    Round Matches
    Round Name
    Round Number
    Round Type
    Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Tournament Round Group
    Tournament Round Match Number
    Tournament Round Matches
    Tournament Round Name
    Tournament Round Number
    Tournament Round Other Match Id
    Tournament Round Phase
    Tournament Round Type
    Team Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Player Info Data Points: Id Name
    Venue Info Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    Match Info Data Points: Match Id
    Scheduled Date/Time
    Start Time to be Determined
    Sport Event Status Away Score
    Sport Event Status Home Score
    Sport Event Status Match Status
    Sport Event Status Period
    Sport Event Status
    Sport Event Status Winner Id
    Timeline Info Data Points: Assist Player Id
    Assist Player Name
    Assist Type
    Away Score
    Event Away Score
    Event Home Score
    Event Id
    Event Match Clock
    Event Match Time
    Event Period
    Event Period Name
    Event Suspension Minutes
    Event Team
    Event Time
    Event Type
    Goal Scorer Id
    Goal Scorer Name
    Home Score
    Period Number
    Period Type
    Player In Id
    Player In Name
    Player Out Id
    Player Out Name
    Team Match Statistics Data Points: Goalie Losses
    Goalie Wins
    Goals
    Goals Against Average
    Goals Conceded
    Goals in Power Play
    Goals While Short Handed
    Penalties
    Penalty Minutes
    Power Plays
    Puck Possessions
    Save Percentage
    Saves
    Shooting Percentage
    Shots on Goal
    Shutouts
    Suspensions Minutes
    Suspensions Number
    Player Match Statistics Data Points: Assists
    First Assist
    Goalie Losses
    Goalie Minutes Played
    Goalie Wins
    Goals
    Goals Against Average
    Goals Allowed
    Penalties
    Penalty Minutes
    Plus Minus
    Points
    Saves
    Second Assist
    Shots on Target
    Shutouts
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/hockey-t1/ice/en/matches/sr:match:8323422/timeline.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/hockey-t1/ice/en/matches/sr:match:8323422/timeline.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/hockey-t1/ice/en/matches/sr:match:8323422/timeline.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Match Timeline. https://api.sportradar.us/hockey-`{access_level}{version}`/ice/`{language_code}`/matches/`{match_id}`/timeline.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `match_id` | ID for a given game. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for the Match Timeline use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/icehockey/match_timeline.xsd Return to API map ## Player Profile
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Team Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Player Info Data Points: Country Code
    Date Of Birth
    First Name
    Gender
    Height
    Id
    Last Name
    Nationality
    Name
    Position
    Role Active
    Role End Date
    Role Jersey Number
    Role Start Date
    Role Type
    Weight
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/hockey-t1/ice/en/players/sr:player:995187/profile.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/hockey-t1/ice/en/players/sr:player:995187/profile.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/hockey-t1/ice/en/players/sr:player:995187/profile.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Player Profile. https://api.sportradar.us/hockey-`{access_level}{version}`/ice/`{language_code}`/players/`{player_id}`/profile.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `player_id` | Id of a given player. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for the Player Profile use the following URL. http://schemas.sportradar.com/bsa/icehockey/v1/xml/endpoints/icehockey/player_profile.xsd Return to API map ## Team Profile
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Season Id
    Season Name
    Tournament Id Tournament Name
    Team Info Data Points: Jersey Base Color
    Jersey Horizontal Stripes
    Jersey Number Color
    Jersey Shirt Type
    Jersey Sleeve Color
    Jersey Split
    Jersey Squares
    Jersey Stripes
    Jersey Type
    Manager Country Code
    Manager Id
    Manager Name
    Manager Nationality
    Abbreviation
    Country
    Country Code
    Id
    Name
    Player Info Data Points: Country Code
    Date Of Birth
    Gender
    Height
    Id
    Jersey Number
    Nationality
    Name
    Position
    Weight
    Venue Info Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    Team Seasonal Statistics Data Points: Cup Rank
    Form Away
    Form Home
    Form Total
    Goals Conceded
    Goals Scored
    Group Name
    Group Position
    Matches Drawn
    Matches Lost
    Matches Played
    Matches Won
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/hockey-t1/ice/en/teams/sr:competitor:5736/profile.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/hockey-t1/ice/en/teams/sr:competitor:5736/profile.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/hockey-t1/ice/en/teams/sr:competitor:5736/profile.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Team Profile. https://api.sportradar.us/hockey-`{access_level}{version}`/ice/`{language_code}`/teams/`{team_id}`/profile.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `team_id` | Id of a given team. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for the Team Profile use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/icehockey/team_profile.xsd Return to API map ## Team Results
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Tournament Round Group
    Tournament Round Match Number
    Tournament Round Matches
    Tournament Round Name
    Tournament Round Number
    Tournament Round Other Match Id
    Tournament Round Phase
    Tournament Round Type
    Team Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Venue Info Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    Match Info Data Points: Match Id
    Scheduled Date/Time
    Start Time to be Determined
    Sport Event Status Away Score
    Sport Event Status Home Score
    Sport Event Status Match Status
    Sport Event Status Period
    Sport Event Status
    Sport Event Status Winner Id
    Timeline Info Data Points: Away Score
    Home Score
    Period Number Period Type
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/hockey-t1/ice/en/teams/sr:competitor:5736/results.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/hockey-t1/ice/en/teams/sr:competitor:5736/results.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/hockey-t1/ice/en/teams/sr:competitor:5736/results.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves Team Results. https://api.sportradar.us/hockey-`{access_level}{version}`/ice/`{language_code}`/teams/`{team_id}`/results.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `team_id` | Id of a given team. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for Team Results use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/icehockey/team_results.xsd Return to API map ## Team Schedule
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Tournament Round Group
    Tournament Round Match Number
    Tournament Round Matches
    Tournament Round Name
    Tournament Round Number
    Tournament Round Other Match Id
    Tournament Round Phase
    Tournament Round Type
    Team Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Venue Info Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    Match Info Data Points: Match Id
    Start Time to be Determined
    Scheduled Date/Time Sport Event Status
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/hockey-t1/ice/en/teams/sr:competitor:3802/schedule.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/hockey-t1/ice/en/teams/sr:competitor:3802/schedule.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/hockey-t1/ice/en/teams/sr:competitor:3802/schedule.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Team Schedule. https://api.sportradar.us/hockey-`{access_level}{version}`/ice/`{language_code}`/teams/`{team_id}`/schedule.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `team_id` | Id of a given team. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for Team Schedule use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/icehockey/team_schedule.xsd Return to API map ## Team Statistics
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Current Season End Date
    Current Season Id
    Current Season Name
    Current Season Start Date
    Current Season Year
    Tournament Id
    Tournament Name
    Team Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Player Info Data Points: Id Matches Played Name
    Player Season Statistics Data Points: Assists
    First Assist
    First Goals
    Goalie Losses
    Goalie Wins
    Goals
    Goals Against Average
    Goals Allowed
    Last Goals
    Minutes Played
    Penalties
    Penalty Minutes
    Plus Minus
    Points
    Saves
    Second Assist
    Shots on Target
    Shutouts
    Team Season Statistics Data Points: Form
    Goals
    Goals Allowed
    Matches Lost
    Matches Played
    Matches Won
    Overtime Losses
    Penalties
    Penalty Minutes
    Save Percentage
    Saves
    Shooting Percentage
    Shots
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/hockey-t1/ice/en/tournaments/sr:tournament:3/teams/sr:competitor:5913/statistics.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/hockey-t1/ice/en/tournaments/sr:tournament:3/teams/sr:competitor:5913/statistics.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/hockey-t1/ice/en/tournaments/sr:tournament:3/teams/sr:competitor:5913/statistics.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Team Statistics. https://api.sportradar.us/hockey-`{access_level}{version}`/ice/`{language_code}`/tournaments/`{tournament_id or season_id}`/teams/`{team_id}`/statistics.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `tournament_id or season_id` | Id of a given tournament or season. | | `team_id` | Id of a given team. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for Team Statistics use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/icehockey/tournament_team_statistics.xsd Return to API map ## Tournament Info
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Coverage Includes
    Coverage Information
    Coverage Level Abbreviation
    Coverage Level Name
    Coverage Tournament Name
    Coverage Type Abbreviation
    Coverage Type Name
    Current Season End Date
    Current Season Id
    Current Season Name
    Current Season Start Date
    Current Season Year
    Group - Group Name
    Group Name
    Round Match Number
    Round Matches
    Round Name
    Round Number
    Round Type
    Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Team Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/hockey-t1/ice/en/tournaments/sr:tournament:3/info.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/hockey-t1/ice/en/tournaments/sr:tournament:3/info.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/hockey-t1/ice/en/tournaments/sr:tournament:3/info.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Tournament Info. https://api.sportradar.us/hockey-`{access_level}{version}`/ice/`{language_code}`/tournaments/`{tournament_id or season_id}`/info.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `tournament_id or season_id` | Id of a given tournament or season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for Tournament Info use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/icehockey/tournament_info.xsd Return to API map ## Tournament Leaders
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Current Season End Date
    Current Season Id
    Current Season Name
    Current Season Start Date
    Current Season Year
    Tournament Id
    Tournament Name
    Team Info Data Points: Abbreviation Id Name
    Player Info Data Points: Id Name
    Leaders Info Data Points: Assists
    Assists Rank
    Goals
    Goals Rank
    Points Assists
    Points Goals
    Points Rank
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/hockey-t1/ice/en/tournaments/sr:tournament:3/leaders.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/hockey-t1/ice/en/tournaments/sr:tournament:3/leaders.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/hockey-t1/ice/en/tournaments/sr:tournament:3/leaders.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves Tournament Leaders. https://api.sportradar.us/hockey-`{access_level}{version}`/ice/`{language_code}`/tournaments/`{tournament_id or season_id}`/leaders.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `tournament_id or season_id` | Id of a given tournament or season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for Tournament Leaders use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/icehockey/tournament_leaders.xsd Return to API map ## Tournament List
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Current Season End Date
    Current Season Id
    Current Season Name
    Current Season Start Date
    Current Season Year
    Tournament Id
    Tournament Name
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/hockey-t1/ice/en/tournaments.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/hockey-t1/ice/en/tournaments.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/hockey-t1/ice/en/tournaments.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Tournament List. https://api.sportradar.us/hockey-`{access_level}{version}`/ice/`{language_code}`/tournaments.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for Tournament List use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/icehockey/tournaments.xsd Return to API map ## Tournament Live Standings
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Current Season End Date
    Current Season Id
    Current Season Name
    Current Season Start Date
    Current Season Year
    Group - Group Name
    Group Id
    Group Name
    Tournament Id
    Tournament Name
    Team Info Data Points: Id Name
    Standings Info Data Points: Change
    Current Outcome
    Draw
    Goals Against
    Goals Difference
    Goals For
    Loss Normal Time
    Loss Overtime
    Loss Shootout
    Played
    Points
    Rank
    Tie Break Rule
    Type
    Win Normal Time
    Win Overtime
    Win Shootout
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/hockey-t1/ice/en/tournaments/sr:tournament:3/live_standings.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/hockey-t1/ice/en/tournaments/sr:tournament:3/live_standings.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/hockey-t1/ice/en/tournaments/sr:tournament:3/live_standings.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Tournament Live Standings. https://api.sportradar.us/hockey-`{access_level}{version}`/ice/`{language_code}`/tournaments/`{tournament_id or season_id}`/live_standings.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `tournament_id or season_id` | Id of a given tournament or season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for the Tournament Live Standings use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/icehockey/tournaments.xsd Return to API map ## Tournament Results
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Tournament Round Group
    Tournament Round Match Number
    Tournament Round Matches
    Tournament Round Name
    Tournament Round Number
    Tournament Round Other Match Id
    Tournament Round Phase
    Tournament Round Type
    Team Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Venue Info Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    Match Info Data Points: Match Id
    Scheduled Date/Time
    Start Time to be Determined
    Sport Event Status Away Score
    Sport Event Status Home Score
    Sport Event Status Match Status
    Sport Event Status Period
    Sport Event Status
    Sport Event Status Winner Id
    Timeline Info Data Points: Away Score
    Home Score
    Period Number Period Type
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/hockey-t1/ice/en/tournaments/sr:tournament:3/results.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/hockey-t1/ice/en/tournaments/sr:tournament:3/results.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/hockey-t1/ice/en/tournaments/sr:tournament:3/results.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Tournament Results. https://api.sportradar.us/hockey-`{access_level}{version}`/ice/`{language_code}`/tournaments/`{tournament_id or season_id}`/results.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `tournament_id or season_id` | Id of a given tournament or season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for the Tournament Results use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/icehockey/tournament_results.xsd Return to API map ## Tournament Schedule
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Tournament Round Group
    Tournament Round Match Number
    Tournament Round Matches
    Tournament Round Name
    Tournament Round Number
    Tournament Round Other Match Id
    Tournament Round Phase
    Tournament Round Type
    Team Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Venue Info Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    Match Info Data Points: Match Id
    Start Time to be Determined
    Scheduled Date/Time Sport Event Status
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/hockey-t1/ice/en/tournaments/sr:tournament:3/schedule.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/hockey-t1/ice/en/tournaments/sr:tournament:3/schedule.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/hockey-t1/ice/en/tournaments/sr:tournament:3/schedule.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Tournament Schedule. https://api.sportradar.us/hockey-`{access_level}{version}`/ice/`{language_code}`/tournaments/`{tournament_id or season_id}`/schedule.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `tournament_id or season_id` | Id of a given tournament or season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for Tournament Schedule use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/icehockey/tournament_schedule.xsd Return to API map ## Tournament Seasons
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/hockey-t1/ice/en/tournaments/sr:tournament:3/seasons.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/hockey-t1/ice/en/tournaments/sr:tournament:3/seasons.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/hockey-t1/ice/en/tournaments/sr:tournament:3/seasons.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves Tournament Seasons Information. https://api.sportradar.us/hockey-`{access_level}{version}`/ice/`{language_code}`/tournaments/`{tournament_id or season_id}`/seasons.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `tournament_id or season_id` | Id of a given tournament or season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for Tournament Seasons use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/icehockey/tournament_seasons.xsd Return to API map ## Tournament Standings
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Current Season End Date
    Current Season Id
    Current Season Name
    Current Season Start Date
    Current Season Year
    Group - Group Name
    Group Id
    Group Name
    Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Team Info Data Points: Id Name
    Standings Info Data Points: Change
    Current Outcome
    Draw
    Goals Against
    Goals Difference
    Goals For
    Loss Normal Time
    Loss Overtime
    Loss Shootout
    Played
    Points
    Rank
    Tie Break Rule
    Type
    Win Normal Time
    Win Overtime
    Win Shootout
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/hockey-t1/ice/en/tournaments/sr:tournament:268/standings.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/hockey-t1/ice/en/tournaments/sr:tournament:268/standings.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/hockey-t1/ice/en/tournaments/sr:tournament:268/standings.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Tournament Standings. https://api.sportradar.us/hockey-`{access_level}{version}`/ice/`{language_code}`/tournaments/`{tournament_id or season_id}`/standings.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `tournament_id or season_id` | Id of a given tournament or season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for the Tournament Standings use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/icehockey/tournament_standings.xsd Return to API map ## Frequently Asked Questions

    Q: What leagues or tournaments do you cover for Ice Hockey?

    A: We cover the following tournaments:

    Area Tournament
    International World Championship
    World Championship Div 1
    World Championship Women
    Olympic Tournament
    Olympic Tournament Women
    Euro Hockey Tour
    World Cup of Hockey
    U18 World Championship
    U20 World Championship
    Germany Cup
    Spengler Cup
    Champions Hockey League
    Euro Hockey Challenge
    Friendly Games, Domestic Cups (1)
    Austria EHL
    Inter-National-League
    Young Stars League
    Belarus Extraliga
    Canada OHL
    Czech Republic Extraliga
    Liga
    Denmark Superisligaen
    England Elite League
    Finland SM-liiga
    Mestis
    France Ligue Magnus
    Coupe de France
    Germany DEL
    DEL 2
    DEB-Pokal
    Italy Elite A
    Norway Eliteserien
    1. Divisjon
    Poland Ekstraliga
    Russia KHL
    VHL
    MHL
    KHL All Star Game
    Hope Cup
    Slovakia Extraliga
    1 Liga
    Sweden SHL
    Allsvenskan
    HockeyEttan
    Riksserien Damer
    Switzerland NLA
    NLB
    Cup
    US NHL
    NHL All Star Game
    AHL
    AHL All Star Game

    Q: What format are date fields presented in?

    A: When we present date only values we present these in the ISO 8601 standard format.
    ex: 2013-04-03
    We use these for attributes that have date and no time (such as birthdate). For more information: https://en.wikipedia.org/wiki/ISO_8601

    Q: What format are the date/time fields presented in?

    A: All of our Date/Time attributes are in UTC, presented in the ISO 8601 standard format.
    ex: 2013-04-03T18:15:00+00:00
    For more information: https://en.wikipedia.org/wiki/ISO_8601

    Q: What are the valid sport event status (sport_event_status – status) values?

    A: Here are the valid sport event status values and their definitions:

    • not_started – The match is scheduled to be played
    • live – The match is currently in progress
    • postponed – The match has been postponed to a future date
    • delayed – The match has been temporarily delayed and will be continued
    • canceled – The match has been canceled and will not be played
    • ended – The match is over
    • closed – The match results have been confirmed.

    Q: What are the valid match status (sport_event_status – match_status) values?

    A: Here are the valid sport event status values and their definitions:

    • not_started – The match is scheduled to be played
    • live – The match is currently in progress
    • 1st_period – The match is in the first period
    • 2nd_period – The match is in the second period
    • 3rd_period – The match is in the third period
    • overtime – The match is in overtime
    • 1st_extra – The match is in the first extra period
    • 2nd_extra – The match is in the second extra period
    • 3rd_extra – The match is in the third extra period
    • awaiting_penalties – Waiting for announcement of penalties
    • penalties – Penalties are ongoing
    • pause – The match is paused
    • awaiting_extra_time – Waiting on referee to announce extra time
    • interrupted – The match has been interrupted
    • abandoned – The match has been abandoned
    • postponed – The match has been postponed to a future date
    • delayed – The match has been temporarily delayed and will be continued
    • cancelled – The match has been cancelled and will not be played
    • ended – The match is over
    • aet – The match is after extra time
    • ap – The match is in after penalties

    Q: How do I access past seasons’ result and stats?

    A: TournamentID and SeasonID are interchangeable. To access a previous season, first interrogate the tournaments/[tournamentID]/seasons endpoint to ascertain the required seasonID, then use that seasonID in place of the tournamentID for any of the following endpoints:

    • Tournaments/seasonID/results
    • Tournaments/seasonID/schedule
    • Tournaments/seasonID/teams/teamID/statistics
    • Tournaments/seasonID/standings

    Q: What are the valid outcomes for probabilities?

    A: Here are the valid outcome probabilities:

    • home_team_winner
    • away_team_winner

    Q: How do I find out the coverage for a particular match?

    A: Find the node called: coverage_info. The attribute live_coverage reports whether Sportradar has live coverage of the match or not. At a tournament level, the coverage is described in the tournament_info endpoint

    Q: Why do different groups have coverage information for a tournament?

    A: The notion of “groups” is versatile and is used to distinguish between playoffs, and our tournaments structures and is therefore necessary to describe coverage at a group level for consistency. Generally, however, within a tournament in Ice Hockey, there will be no difference between tournament coverage between conferences.

    Q: What are the possible event types logged?

    A: Here are all of the possible event types we log:

    • Match started
    • Period started
    • Score change (Goal scorer, Primary Assist, Secondary Assist)
    • Suspension
    • Break start
    • Match ended

    Q: What are the valid tournament types?

    A: Here are the valid tournament types:

    • group
    • playoff
    • cup

    Q: What are markets and what are the different markets?

    A: Markets is something you can bet on that we provide probabilities for. Over time we intend to provide more and more markets in the API. Currently the only market we provide is 3-way (will the home team win? Or the away team? Or will it be a draw?)

    Q: What are the possible outcomes?

    A: Different markets have different outcomes. The available markets are currently:

    • home_team_winner
    • away_team_winner
    • draw

    Q: Why are the “shots_on_target” incorrect for Finland Liiga?

    A: At this time, the league does not provide shots on target instead (for Finland Liiga only) we provide this data point as a total number of shots.

    Return to top

    Docs Navigation