Field Hockey v1

API API Version
Field Hockey v1
Note: Authentication is required for all API calls.
## Field Hockey API Map To best utilize the Field 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 home team win probability for a game: >
  1. Call the Daily Schedule and find the match id for the game in question
  2. Call the Sport Event Probabilities using the match id
  3. Find the outcome element with the probability attribute
>The home team win probability is displayed. >
    >To find the standings for a specific tournament: >
    1. Call the Daily Results, or Daily Schedule and find tournament id the tournament you want
    2. Call the Tournament Standings using the tournament id
    3. Find the Team Standings element
    >The standings are displayed. The primary feeds provide match, tournament, and competitor ids for the event, tournament, and competitor feeds. Player and Venue ids can be found from match specific feeds. ## Competitor Profile
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Id
    Category Name
    Sport Id

    Sport Name

    Competitor Info Data Points: Competitor Abbreviation
    Competitor Country
    Competitor Country Code
    Competitor Id
    Competitor Name
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/hockey-t1/field/en/competitors/sr:competitor:24469/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/field/en/competitors/sr:competitor:24469/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.com/hockey-t1/field/en/competitors/sr:competitor:24469/profile.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Competitor Profile. https://api.sportradar.com/hockey-`{access_level}{version}`/field/`{language_code}`/competitors/`{competitor_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 | | `competitor_id` | Id of a given competitor. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for the Competitor Profile use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/standard/competitor_profile.xsd Return to API map ## Competitor Results
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: 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 Number
    Tournament Round Type
    Competitor Info Data Points: Competitor Abbreviation
    Competitor Country
    Competitor Country Code
    Competitor Id
    Competitor Name
    Competitor Qualifier
    Sport Event Info Data Points: Period Away Score
    Period Home Score
    Period Score Number
    Period Score Type
    Sport Event Id
    Sport Event Scheduled Date/Time
    Sport Event Status
    Sport Event Status Away Score
    Sport Event Status Home Score
    Sport Event Status Winner Id
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/hockey-t1/field/en/competitors/sr:competitor:24469/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/field/en/competitors/sr:competitor:24469/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.com/hockey-t1/field/en/competitors/sr:competitor:24469/results.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Competitor Results. https://api.sportradar.com/hockey-`{access_level}{version}`/field/`{language_code}`/competitors/`{competitor_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 | | `competitor_id` | Id of a given competitor. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for the Competitor Results use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/standard/competitor_results.xsd Return to API map ## Competitor Schedule
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: 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 Number
    Tournament Round Type
    Competitor Info Data Points: Competitor Abbreviation
    Competitor Country
    Competitor Country Code
    Competitor Id
    Competitor Name
    Competitor Qualifier
    Sport Event Info Data Points: Sport Event Id

    Sport Event Scheduled Date/Time

    Sport Event Status
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/hockey-t1/field/en/competitors/sr:competitor:24469/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/field/en/competitors/sr:competitor:24469/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.com/hockey-t1/field/en/competitors/sr:competitor:24469/schedule.xml?api_key={your_api_key}" ``` This endpoint retrieves the Competitor Schedule. https://api.sportradar.com/hockey-`{access_level}{version}`/field/`{language_code}`/competitors/`{competitor_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 | | `competitor_id` | Id of a given competitor. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for the Competitor Schedule use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/standard/competitor_schedule.xsd Return to API map ## Daily Results
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: 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 Number
    Tournament Round Type
    Competitor Info Data Points: Competitor Abbreviation
    Competitor Country
    Competitor Country Code
    Competitor Id
    Competitor Name
    Competitor Qualifier
    Sport Event Info Data Points: Period Away Score
    Period Home Score
    Period Score Number
    Period Score Type
    Sport Event Id
    Sport Event Scheduled Date/Time
    Sport Event Status
    Sport Event Status Away Score
    Sport Event Status Home Score
    Sport Event Status Winner Id
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/hockey-t1/field/en/schedules/2016-08-12/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/field/en/schedules/2016-08-12/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.com/hockey-t1/field/en/schedules/2016-08-12/results.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Daily Results. https://api.sportradar.com/hockey-`{access_level}{version}`/field/`{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/standard/results.xsd Return to API map ## Daily Schedule
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: 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 Number
    Tournament Round Type
    Competitor Info Data Points: Competitor Abbreviation
    Competitor Country
    Competitor Country Code
    Competitor Id
    Competitor Name

    Sport Event Info Data Points: Sport Event Id

    Sport Event Scheduled Date/Time

    Sport Event Status
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/hockey-t1/field/en/schedules/2016-08-12/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/field/en/schedules/2016-08-12/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.com/hockey-t1/field/en/schedules/2016-08-12/schedule.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Daily Schedule. https://api.sportradar.com/hockey-`{access_level}{version}`/field/`{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). | | `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/standard/schedule.xsd Return to API map ## Head To Head
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: 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 Match Number
    Tournament Round Matches
    Tournament Round Name
    Tournament Round Type
    Competitor Info Data Points: Competitor Abbreviation
    Competitor Country
    Competitor Country Code
    Competitor Id
    Competitor Name
    Competitor Qualifier
    Sport Event Info Data Points: Period Away Score
    Period Home Score
    Period Score Number
    Period Score Type
    Sport Event Id
    Sport Event Scheduled Date/Time
    Sport Event Status
    Sport Event Status Away Score
    Sport Event Status Home Score
    Sport Event Status Winner Id
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/hockey-t1/field/en/competitors/sr:competitor:24469/versus/sr:competitor:24463/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/field/en/competitors/sr:competitor:24469/versus/sr:competitor:24463/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.com/hockey-t1/field/en/competitors/sr:competitor:24469/versus/sr:competitor:24463/matches.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Head To Head. https://api.sportradar.com/hockey-`{access_level}{version}`/field/`{language_code}`/competitors/`{competitor_id}`/versus/`{competitor_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 | | `competitor_id` | Id of a given competitor. | | `competitor_id2` | Id of a given competitor. | | `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/standard/competitor_versus_matches.xsd Return to API map ## Seasons
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: 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.com/hockey-t1/field/en/tournaments/sr:tournament:549/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/field/en/tournaments/sr:tournament:549/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.com/hockey-t1/field/en/tournaments/sr:tournament:549/seasons.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Seasons. https://api.sportradar.com/hockey-`{access_level}{version}`/field/`{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 Seasons use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/standard/tournament_seasons.xsd Return to API map ## Sport Event Probabilities
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: 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 Number
    Tournament Round Type
    Competitor Info Data Points: Competitor Abbreviation
    Competitor Country
    Competitor Country Code
    Competitor Id
    Competitor Name
    Competitor Qualifier
    Probability Info Data Points: Away Team Win Probability
    Home Team Win Probability
    Market Name

    Outcome Name
    Sport Event Info Data Points: Sport Event Id

    Sport Event Scheduled Date/Time


    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/hockey-t1/field/en/matches/sr:match:9377081/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/field/en/matches/sr:match:9377081/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.com/hockey-t1/field/en/matches/sr:match:9377081/probabilities.xml?api_key={your_api_key}" ``` This endpoint retrieves the Sport Event Probabilities. https://api.sportradar.com/hockey-`{access_level}{version}`/field/`{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 of a given match. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for the Sport Event Probabilities use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/standard/match_probabilities.xsd Return to API map ## Sport Event Timeline
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: 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 Number
    Tournament Round Type
    Competitor Info Data Points: Competitor Abbreviation
    Competitor Country
    Competitor Country Code
    Competitor Id
    Competitor Name
    Competitor Qualifier
    Sport Event Info Data Points: Coverage Info
    Period Away Score
    Period Home Score
    Period Score Number
    Period Score Type
    Sport Event Id
    Sport Event Scheduled Date/Time
    Sport Event Status
    Sport Event Status Away Score
    Sport Event Status Home Score
    Sport Event Status Winner Id
    Timeline Info Data Points: Event Away Score
    Event Home Score
    Event Id
    Event Period Name
    Event Team
    Event Time
    Event Type
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/hockey-t1/field/en/sport_events/sr:match:9377081/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/field/en/sport_events/sr:match:9377081/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.com/hockey-t1/field/en/sport_events/sr:match:9377081/timeline.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Sport Event Timeline. https://api.sportradar.com/hockey-`{access_level}{version}`/field/`{language_code}`/sport_events/`{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 of a given match. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for the Sport Event Timeline use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/standard/sport_event_timeline.xsd Return to API map ## Tournament Info
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: 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 Name
    Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Tournament Round Match Number
    Tournament Round Matches
    Tournament Round Name
    Tournament Round Type
    Competitor Info Data Points: Competitor Abbreviation
    Competitor Country
    Competitor Country Code
    Competitor Id
    Competitor Name

    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/hockey-t1/field/en/tournaments/sr:tournament:549/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/field/en/tournaments/sr:tournament:549/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.com/hockey-t1/field/en/tournaments/sr:tournament:549/info.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Tournament Info. https://api.sportradar.com/hockey-`{access_level}{version}`/field/`{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 the Tournament Info use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/standard/tournament_info.xsd Return to API map ## Tournament List
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: 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.com/hockey-t1/field/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/field/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.com/hockey-t1/field/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.com/hockey-`{access_level}{version}`/field/`{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 the Tournament List use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/standard/tournaments.xsd Return to API map ## Tournament Live Standings
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: 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
    Standings Info Data Points: Change
    Current Outcome
    Draw
    Loss
    Played
    Points
    Rank
    Score Against
    Score Difference
    Score For
    Team Id
    Team Name
    Tie Break Rule
    Type
    Win
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/hockey-t1/field/en/tournaments/sr:tournament:549/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/field/en/tournaments/sr:tournament:549/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.com/hockey-t1/field/en/tournaments/sr:tournament:549/live_standings.xml?api_key={your_api_key}" ``` This endpoint retrieves the Tournament Live Standings. https://api.sportradar.com/hockey-`{access_level}{version}`/field/`{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/standard/tournament_live_standings.xsd Return to API map ## Tournament Results
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: 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 Match Number
    Tournament Round Matches
    Tournament Round Name
    Tournament Round Type
    Competitor Info Data Points: Competitor Abbreviation
    Competitor Country
    Competitor Country Code
    Competitor Id
    Competitor Name
    Competitor Qualifier
    Sport Event Info Data Points: Period Away Score
    Period Home Score
    Period Score Number
    Period Score Type
    Sport Event Id
    Sport Event Scheduled Date/Time
    Sport Event Status
    Sport Event Status Away Score
    Sport Event Status Home Score
    Sport Event Status Winner Id
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/hockey-t1/field/en/tournaments/sr:tournament:549/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/field/en/tournaments/sr:tournament:549/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.com/hockey-t1/field/en/tournaments/sr:tournament:549/results.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Tournament Results. https://api.sportradar.com/hockey-`{access_level}{version}`/field/`{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/standard/tournament_results.xsd Return to API map ## Tournament Schedule
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: 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 Match Number
    Tournament Round Matches
    Tournament Round Name
    Tournament Round Type
    Competitor Info Data Points: Competitor Abbreviation
    Competitor Country
    Competitor Country Code
    Competitor Id
    Competitor Name
    Competitor Qualifier
    Sport Event Info Data Points: Sport Event Id

    Sport Event Scheduled Date/Time

    Sport Event Status

    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/hockey-t1/field/en/tournaments/sr:tournament:549/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/field/en/tournaments/sr:tournament:549/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.com/hockey-t1/field/en/tournaments/sr:tournament:549/schedule.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Tournament Schedule. https://api.sportradar.com/hockey-`{access_level}{version}`/field/`{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 the Tournament Schedule use the following URL. http://schemas.sportradar.com/bsa/v1/endpoints/standard/tournament_schedule.xsd Return to API map ## Tournament Standings
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: 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
    Standings Info Data Points: Change
    Current Outcome
    Draw
    Loss
    Played
    Points
    Rank
    Score Against
    Score Difference
    Score For
    Team Id
    Team Name
    Tie Break Rule
    Type
    Win
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/hockey-t1/field/en/tournaments/sr:tournament:549/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/field/en/tournaments/sr:tournament:549/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.com/hockey-t1/field/en/tournaments/sr:tournament:549/standings.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. This endpoint retrieves the Tournament Standings. https://api.sportradar.com/hockey-`{access_level}{version}`/field/`{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/standard/tournament_standings.xsd Return to API map