Global Ice Hockey v1

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