Handball v1
API | API Version | XSD Schema |
Handball | v1 | Download |
Note: Authentication is required for all API calls. |
Example:
>To find the probability of a home team win for a given game: >- Call the Daily Schedule for the day the sport event takes place and find the Sport Event Id for the chosen sport event
- Call the Sport Event Probabilities using the Sport Event Id
English is the only fully supported language for this API. Click here for a tabular list of available languages per competition. | | `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. https://schemas.sportradar.com/bsa/v1/endpoints/standard/competitor_profile.xsd Return to API map ## Competitor Results Provides match info and scoring for the past 10 matches for a given team. ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/handball-t1/en/competitors/sr:competitor:26058/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", "/handball-t1/en/competitors/sr:competitor:26058/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/handball-t1/en/competitors/sr:competitor:26058/results.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Competitor Results feed by replacing the parameters in the following URL: https://api.sportradar.com/handball-`{access_level}{version}`/`{language_code}`/competitors/`{competitor_id}`/results.`{format}`?api_key=`{your_api_key}` | 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` | 2 letter code for supported languages
English is the only fully supported language for this API. Click here for a tabular list of available languages per competition. | | `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. https://schemas.sportradar.com/bsa/v1/endpoints/standard/competitor_results.xsd Return to API map ## Competitor Schedule Provides a list of scheduled matches for a given team. ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/handball-t1/en/competitors/sr:competitor:26058/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", "/handball-t1/en/competitors/sr:competitor:26058/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/handball-t1/en/competitors/sr:competitor:26058/schedule.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Competitor Schedule feed by replacing the parameters in the following URL: https://api.sportradar.com/handball-`{access_level}{version}`/`{language_code}`/competitors/`{competitor_id}`/schedule.`{format}`?api_key=`{your_api_key}` | 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` | 2 letter code for supported languages
English is the only fully supported language for this API. Click here for a tabular list of available languages per competition. | | `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. https://schemas.sportradar.com/bsa/v1/endpoints/standard/competitor_schedule.xsd Return to API map ## Daily Results Provides all match results for a given date. ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/handball-t1/en/schedules/2016-03-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", "/handball-t1/en/schedules/2016-03-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/handball-t1/en/schedules/2016-03-12/results.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Daily Results feed by replacing the parameters in the following URL: https://api.sportradar.com/handball-`{access_level}{version}`/`{language_code}`/schedules/`{year}`-`{month}`-`{day}`/results.`{format}`?api_key=`{your_api_key}` | 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` | 2 letter code for supported languages
English is the only fully supported language for this API. Click here for a tabular list of available languages per competition. | | `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. https://schemas.sportradar.com/bsa/v1/endpoints/standard/results.xsd Return to API map ## Daily Schedule Provides a list of all scheduled matches for a given date. ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/handball-t1/en/schedules/2016-03-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", "/handball-t1/en/schedules/2016-03-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/handball-t1/en/schedules/2016-03-12/schedule.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Daily Schedule feed by replacing the parameters in the following URL: https://api.sportradar.com/handball-`{access_level}{version}`/`{language_code}`/schedules/`{year}`-`{month}`-`{day}`/schedule.`{format}`?api_key=`{your_api_key}` | 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` | 2 letter code for supported languages
English is the only fully supported language for this API. Click here for a tabular list of available languages per competition. | | `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. https://schemas.sportradar.com/bsa/v1/endpoints/standard/schedule.xsd Return to API map ## Head To Head Provides previous and upcoming matches between two teams, including match results. ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/handball-t1/en/competitors/sr:competitor:26058/versus/sr:competitor:4131/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", "/handball-t1/en/competitors/sr:competitor:26058/versus/sr:competitor:4131/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/handball-t1/en/competitors/sr:competitor:26058/versus/sr:competitor:4131/matches.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Head To Head feed by replacing the parameters in the following URL: https://api.sportradar.com/handball-`{access_level}{version}`/`{language_code}`/competitors/`{competitor_id}`/versus/`{competitor_id2}`/matches.`{format}`?api_key=`{your_api_key}` | 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` | 2 letter code for supported languages
English is the only fully supported language for this API. Click here for a tabular list of available languages per competition. | | `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. https://schemas.sportradar.com/bsa/v1/endpoints/standard/competitor_versus_matches.xsd Return to API map ## Seasons Provides a list of current and past season IDs for a given tournament. Season IDs can be interchanged with tournament IDs to retrieve historical data. ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/handball-t1/en/tournaments/sr:tournament:1430/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", "/handball-t1/en/tournaments/sr:tournament:1430/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/handball-t1/en/tournaments/sr:tournament:1430/seasons.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Seasons feed by replacing the parameters in the following URL: https://api.sportradar.com/handball-`{access_level}{version}`/`{language_code}`/tournaments/`{tournament_id or season_id}`/seasons.`{format}`?api_key=`{your_api_key}` | 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` | 2 letter code for supported languages
English is the only fully supported language for this API. Click here for a tabular list of available languages per competition. | | `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. https://schemas.sportradar.com/bsa/v1/endpoints/standard/tournament_seasons.xsd Return to API map ## Sport Event Probabilities Provides 3-way probabilities (home team win, away team win, draw) for a given match. ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/handball-t1/en/matches/sr:match:9066351/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", "/handball-t1/en/matches/sr:match:9066351/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/handball-t1/en/matches/sr:match:9066351/probabilities.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Sport Event Probabilities feed by replacing the parameters in the following URL: https://api.sportradar.com/handball-`{access_level}{version}`/`{language_code}`/matches/`{match_id}`/probabilities.`{format}`?api_key=`{your_api_key}` | 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` | 2 letter code for supported languages
English is the only fully supported language for this API. Click here for a tabular list of available languages per competition. | | `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. https://schemas.sportradar.com/bsa/v1/endpoints/standard/match_probabilities.xsd Return to API map ## Sport Event Timeline Provides a scoring timeline for a given match. Please note that data returned is determined by coverage level. ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/handball-t1/en/sport_events/sr:match:9066351/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", "/handball-t1/en/sport_events/sr:match:9066351/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/handball-t1/en/sport_events/sr:match:9066351/timeline.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Sport Event Timeline feed by replacing the parameters in the following URL: https://api.sportradar.com/handball-`{access_level}{version}`/`{language_code}`/sport_events/`{match_id}`/timeline.`{format}`?api_key=`{your_api_key}` | 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` | 2 letter code for supported languages
English is the only fully supported language for this API. Click here for a tabular list of available languages per competition. | | `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. https://schemas.sportradar.com/bsa/v1/endpoints/standard/sport_event_timeline.xsd Return to API map ## Tournament Info Provides information for a given tournament or season, including current season, participating teams, and tournament structure. ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/handball-t1/en/tournaments/sr:tournament:1478/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", "/handball-t1/en/tournaments/sr:tournament:1478/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/handball-t1/en/tournaments/sr:tournament:1478/info.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Tournament Info feed by replacing the parameters in the following URL: https://api.sportradar.com/handball-`{access_level}{version}`/`{language_code}`/tournaments/`{tournament_id or season_id}`/info.`{format}`?api_key=`{your_api_key}` | 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` | 2 letter code for supported languages
English is the only fully supported language for this API. Click here for a tabular list of available languages per competition. | | `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. https://schemas.sportradar.com/bsa/v1/endpoints/standard/tournament_info.xsd Return to API map ## Tournament List Provides a list of all available tournaments in the API. ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/handball-t1/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", "/handball-t1/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/handball-t1/en/tournaments.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Tournament List feed by replacing the parameters in the following URL: https://api.sportradar.com/handball-`{access_level}{version}`/`{language_code}`/tournaments.`{format}`?api_key=`{your_api_key}` | 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` | 2 letter code for supported languages
English is the only fully supported language for this API. Click here for a tabular list of available languages per competition. | | `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. https://schemas.sportradar.com/bsa/v1/endpoints/standard/tournaments.xsd Return to API map ## Tournament Live Standings Provides standings which are updated live according to games currently in progress. Note that not all tournaments or seasons are covered live. ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/handball-t1/en/tournaments/sr:tournament:1478/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", "/handball-t1/en/tournaments/sr:tournament:1478/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/handball-t1/en/tournaments/sr:tournament:1478/live_standings.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Tournament Live Standings feed by replacing the parameters in the following URL: https://api.sportradar.com/handball-`{access_level}{version}`/`{language_code}`/tournaments/`{tournament_id or season_id}`/live_standings.`{format}`?api_key=`{your_api_key}` | 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` | 2 letter code for supported languages
English is the only fully supported language for this API. Click here for a tabular list of available languages per competition. | | `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. https://schemas.sportradar.com/bsa/v1/endpoints/standard/tournament_live_standings.xsd Return to API map ## Tournament Results Provides results for all matches within a given tournament or season. ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/handball-t1/en/tournaments/sr:tournament:1478/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", "/handball-t1/en/tournaments/sr:tournament:1478/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/handball-t1/en/tournaments/sr:tournament:1478/results.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Tournament Results feed by replacing the parameters in the following URL: https://api.sportradar.com/handball-`{access_level}{version}`/`{language_code}`/tournaments/`{tournament_id or season_id}`/results.`{format}`?api_key=`{your_api_key}` | 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` | 2 letter code for supported languages
English is the only fully supported language for this API. Click here for a tabular list of available languages per competition. | | `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. https://schemas.sportradar.com/bsa/v1/endpoints/standard/tournament_results.xsd Return to API map ## Tournament Schedule Provides scheduling information for all matches within a given tournament or season. ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/handball-t1/en/tournaments/sr:tournament:1478/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", "/handball-t1/en/tournaments/sr:tournament:1478/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/handball-t1/en/tournaments/sr:tournament:1478/schedule.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Tournament Schedule feed by replacing the parameters in the following URL: https://api.sportradar.com/handball-`{access_level}{version}`/`{language_code}`/tournaments/`{tournament_id or season_id}`/schedule.`{format}`?api_key=`{your_api_key}` | 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` | 2 letter code for supported languages
English is the only fully supported language for this API. Click here for a tabular list of available languages per competition. | | `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. https://schemas.sportradar.com/bsa/v1/endpoints/standard/tournament_schedule.xsd Return to API map ## Tournament Standings Provides detailed standings info for a given season. ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/handball-t1/en/tournaments/sr:tournament:1478/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", "/handball-t1/en/tournaments/sr:tournament:1478/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/handball-t1/en/tournaments/sr:tournament:1478/standings.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Tournament Standings feed by replacing the parameters in the following URL: https://api.sportradar.com/handball-`{access_level}{version}`/`{language_code}`/tournaments/`{tournament_id or season_id}`/standings.`{format}`?api_key=`{your_api_key}` | 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` | 2 letter code for supported languages
English is the only fully supported language for this API. Click here for a tabular list of available languages per competition. | | `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. https://schemas.sportradar.com/bsa/v1/endpoints/standard/tournament_standings.xsd Return to API map ## Frequently Asked Questions
Q: What leagues or tournaments do you cover for Handball?
A: We cover the following tournaments.
Area | Tournament |
---|---|
International | Champions League |
Champions League, Women | |
EHF Cup | |
EHF Cup, Women | |
EHF Cup Winners | |
EHF Cup Winners, Women | |
European Championship | |
European Championship Quarterfinals | |
European Championship, Women | |
European Championship, Women Quarterfinals | |
World Championship | |
World Championship Qualifiers | |
World Championship, Women | |
World Championship, Women Qualifiers | |
Super Cup | |
Super Globe | |
Club Friendly Games | |
International Friendly Games | |
International Friendly Games, Women | |
Olympic Games | |
Olympic Games Quarterfinals | |
Olympic Games, Women | |
Olympic Games, Women Quarterfinals | |
Bring Cup | |
Tournament Of Champions | |
SEHA League | |
Mobelringen Cup | |
Baltic Handball League | |
U19 World Championship | |
U20 World Championship, Women | |
U21 World Championship | |
WHIL, Women | |
Germany | DHB Pokal |
DHB Pokal, Women | |
Bundesliga | |
Bundesliga, Women | |
Super Cup | |
Super Cup, Women | |
2nd Bundesliga | |
All Star Game | |
Austria | HLA |
Super Cup | |
OHB-Cup | |
WHA GD, Women | |
Denmark | Handboldligaen |
Damehandboldligaen | |
Cup | |
Cup, Women | |
1. Division | |
1. Division, Women | |
France | LNH Division 1 |
Coupe de France | |
Coupe de la Ligue | |
Trophee des Champions | |
Sweden | Elitserien |
Elitserien Women | |
Allsvenskan | |
Switzerland | MNLA |
Norway | Eliteserien |
Eliteserien Women | |
1. Division | |
1. Division, Women | |
Spain | Liga Asobal |
Super Cup | |
Copa del Rey | |
Copa Asobal | |
Division De Honor Female | |
Finland | SM Liiga |
Croatia | Premijer Liga |
1. HRL Women | |
Czech Republic | Extraliga |
Greese | A1 |
Hungary | NB I |
Super Cup | |
Slovenia | 1.liga |
Poland | Superliga |
Superliga, Women | |
Russia | Super League |
Super League, Women | |
Slovakia | Extraliga |
Cup, Women | |
Cup | |
Israel | Division 1 |
Serbia | Superliga |
Super Cup | |
Romania | Liga Nationala |
Liga Nationala, Women | |
Super Cupa | |
Super Cupa, Women | |
Portugal | 1a Divisao |
Supertaca | |
Iceland | Urvalsdeild |
Urvalsdeild, Women |
Q: What format are date fields presented in?
A: When we present date only values we present these in the ISO 8601 standard format.
ex: 2013-04-03
We use these for attributes that have date and no time (such as birthdate). For more information: https://en.wikipedia.org/wiki/ISO_8601
Q: What format are the date/time fields presented in?
A: All of our Date/Time attributes are in UTC, presented in the ISO 8601 standard format.
ex: 2013-04-03T18:15:00+00:00
For more information: https://en.wikipedia.org/wiki/ISO_8601
Q: What are the valid "sport_event_status - status" values?
A: Here are the valid match status values and their definitions:
- not_started – The match is scheduled to be played
- live – The match is currently in progress
- postponed – The match has been postponed to a future date
- delayed – The match has been temporarily delayed and will be continued
- interrupted - The match began, but coverage has stopped for a short time. Note that match scores may not be updated during this period, the last recorded match score will be displayed instead
- cancelled – The match has been cancelled and will not be played
- ended – The match is over
- closed – The match results have been confirmed.
Q: How do I access past seasons’ result and stats?
A: TournamentID and SeasonID are interchangeable. To access a previous season, first interrogate the tournaments/[tournamentID]/seasons endpoint to ascertain the required seasonID, then use that seasonID in place of the tournamentID for any of the following endpoints:
- Tournaments/seasonID/results
- Tournaments/seasonID/schedule
- Tournaments/seasonID/teams/teamID/statistics
- Tournaments/seasonID/standings
Q: What are the valid outcomes for probabilities?
A: Here are the valid outcome probabilities:
- home_team_winner
- away_team_winner
Q: How do I find out the coverage for a particular match?
A: Find the node called “coverage_info” in the Sport Event Timeline endpoint. The attribute live_coverage reports whether Sportradar has live coverage of the match or not.
Q: Why do different groups have coverage information for a tournament?
A: The notion of “groups” is versatile and is used to distinguish between playoffs, and our tournaments structures and is therefore necessary to describe coverage at a group level for consistency.
Q: What are the possible event types logged?
A: Here are all of the possible event types we log:
- Match started
- Score change
- Match ended
Q: What are the valid tournament types?
A: Here are the valid tournament types:
- group
- playoff
Q: What are markets and what are the different markets?
A: Markets is something you can bet on that we provide probabilities for. Over time we intend to provide more and more markets in the API. Currently the only market we provide is 3-way (will the home team win? Or the away team? Or will it be a draw?)
Q: How will a sport event behave when it is not covered with live scores?
A: When a sport_event is not covered live, the status and match_status will remain as not_started until results are entered post-match.
Q: What are the possible outcomes?
A: Different markets have different outcomes. The available markets are currently:
- home_team_winner
- away_team_winner
Docs Navigation
- Documentation
- Football (American Football)
- Football (Soccer)
- Australian Rules Football
- Baseball
- Basketball
- NBA v8
- NBA v7
- NBA v5
- NBA v4
- WNBA v8
- WNBA v7
- WNBA v4
- WNBA v3
- NBA G League v8
- NBA G League v7
- NBA G League v5
- NCAA Men's Basketball v8
- NCAA Men's Basketball v7
- NCAA Men's Basketball v4
- NCAA Men's Basketball v3
- NCAA Women's Basketball v8
- NCAA Women's Basketball v7
- NCAA Women's Basketball v3
- Global Basketball v2
- Global Basketball v1
- Combat Sports
- Cricket
- Editorial Content
- Golf
- Handball
- Hockey
- Images
- Insights
- Insights User Interface
- NBA Insights v2
- NFL Insights v2
- NHL Insights v2
- MLB Insights v2
- NBA Betting Splits v2
- NHL Betting Splits v2
- MLB Betting Splits v2
- NFL Betting Splits v2
- NCAAFB Betting Splits v2
- NCAAMB Betting Splits v2
- NCAAWB Betting Splits v2
- Soccer Betting Splits v2
- NBA Insights v1
- NHL Insights v1
- MLB Insights v1
- NFL Insights v1
- Odds
- Broadcast Graphics
- Racing
- Rugby
- Tennis
- Widgets
- Baseline Sports Coverage
- Badminton v2
- Badminton v1
- Bandy v2
- Bandy v1
- Beach Soccer v2
- Beach Soccer v1
- Curling v2
- Curling v1
- Cycling v2
- Darts v2
- Darts v1
- Field Hockey v2
- Field Hockey v1
- Floorball v2
- Floorball v1
- Futsal v2
- Futsal v1
- Pesapallo v2
- Pesapallo v1
- Snooker v2
- Snooker v1
- Squash v2
- Squash v1
- Table Tennis v2
- Volleyball (Beach) v2
- Volleyball (Beach) v1
- Volleyball (Indoor) v2
- Volleyball (Indoor) v1
- Waterpolo v2
- Waterpolo v1
- Winter Sports v1