Australian Rules Football v2

Frequently Asked Questions
API API Version
Aussie Rules Football v2
Note: Authentication is required for all API calls.
## Aussie Rules Football API Map To best utilize the Aussie Rules Football API v2, 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 Summaries and find the sport event id for the game in question
  2. Call the Match Probabilities using the sport event id
  3. Find the outcome element with the probability attribute
>The home team win probability is displayed. >
    >To find the venue name for a specific game: >
    1. Call the Daily Summaries, or Daily Schedule and find sport event id the match you want
    2. Call the Match Summary using the sport event id
    3. Find the Venue element and locate the name attribute
    >The venue name is displayed. The primary feeds provide match, competition, and competitor ids for the event, competition, and competitor feeds. Player and Venue ids can be found from match specific feeds. ## Competitor Profile Provides top-level information for a given team, including the full team roster.
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Competitor Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name

    Player Info Data Points: Country Code
    Date of Birth
    First Name
    Gender
    Height
    Id
    Jersey Number
    Last Name
    Name
    Nationality
    Type
    Weight
    Venue Info Data Points: Capacity
    City Name
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/australianrules/trial/v2/en/competitors/sr:competitor:4456/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.com") conn.request("GET", "/australianrules/trial/v2/en/competitors/sr:competitor:4456/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/australianrules/trial/v2/en/competitors/sr:competitor:4456/profile.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Competitor Profile feed by replacing the parameters in the following URL: http://api.sportradar.com/australianrules/`{access_level}`/`{version}`/`{language_code}`/competitors/`{competitor_id}`/profile.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v2). | | `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/aussierules/v2/xml/endpoints/aussierules/competitor_profile.xsd Return to API map ## Competitor Summaries Provides previous and upcoming match information for a given competitor, including statistics for past matches and scheduling info for upcoming matches.
    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

    Competition Info Data Points: Competition Id
    Competition Name
    Group Id
    Group Name
    Season Competition Id
    Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Stage Level
    Stage Number
    Stage Round Number
    Stage Round Type
    Competitor Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Match Info Data Points: Period Score Away Display Score
    Period Score Away Score
    Period Score Home Display Score
    Period Score Home Score
    Period Score Number
    Period Score Type
    Sport Event Id
    Sport Event Scheduled Date/Time
    Sport Event Start Time Confirmed
    Sport Event Status
    Sport Event Status Away Display Score
    Sport Event Status Away Score
    Sport Event Status Home Display Score
    Sport Event Status Home Score
    Sport Event Status Match Status
    Sport Event Status Status
    Sport Event Status Winner Id
    Competitor Statistics Data Points: Behinds
    Disposals
    Free Kicks
    Frees Against
    Frees For
    Goals
    Handballs
    Hitouts
    Kicks
    Marks
    Marks Inside 50 Seconds
    Tackles
    Venue Info Data Points: Capacity
    Changed
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    Reduced Capacity
    Reduced Capacity Max
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/australianrules/trial/v2/en/competitors/sr:competitor:4456/summaries.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.com") conn.request("GET", "/australianrules/trial/v2/en/competitors/sr:competitor:4456/summaries.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/australianrules/trial/v2/en/competitors/sr:competitor:4456/summaries.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Competitor Summaries feed by replacing the parameters in the following URL: http://api.sportradar.com/australianrules/`{access_level}`/`{version}`/`{language_code}`/competitors/`{competitor_id}`/summaries.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v2). | | `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 Summaries use the following URL. http://schemas.sportradar.com/bsa/aussierules/v2/xml/endpoints/aussierules/competitor_summaries.xsd Return to API map ## Competitor vs Competitor Provides previous and upcoming matches between two teams including scoring information and team match 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

    Competition Info Data Points: Competition Id
    Competition Name
    Group Id
    Group Name
    Season Competition Id
    Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Stage Level
    Stage Number
    Stage Round Number
    Stage Round Type
    Competitor Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Match Info Data Points: Sport Event Id Sport Event Scheduled Date/Time Sport Event Start Time Confirmed
    Venue Info Data Points: Capacity
    Changed
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    Reduced Capacity
    Reduced Capacity Max
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/australianrules/trial/v2/en/competitors/sr:competitor:4443/versus/sr:competitor:4456/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.com") conn.request("GET", "/australianrules/trial/v2/en/competitors/sr:competitor:4443/versus/sr:competitor:4456/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/australianrules/trial/v2/en/competitors/sr:competitor:4443/versus/sr:competitor:4456/matches.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Competitor vs Competitor feed by replacing the parameters in the following URL: http://api.sportradar.com/australianrules/`{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 (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v2). | | `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 Competitor vs Competitor use the following URL. http://schemas.sportradar.com/bsa/aussierules/v2/xml/endpoints/aussierules/competitor_versus_matches.xsd Return to API map ## Current Seasons Provides a complete list of all current season ids to be used as parameters when accessing other endpoints for a specific season.
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Id
    Category Name
    Sport Id
    Sport Name
    Competition Info Data Points: Competition Id
    Competition Name
    Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/australianrules/trial/v2/en/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.com") conn.request("GET", "/australianrules/trial/v2/en/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/australianrules/trial/v2/en/seasons.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Current Seasons feed by replacing the parameters in the following URL: http://api.sportradar.com/australianrules/`{access_level}`/`{version}`/`{language_code}`/seasons.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v2). | | `language_code` | Supported Locales | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for Current Seasons use the following URL. http://schemas.sportradar.com/bsa/aussierules/v2/xml/endpoints/aussierules/seasons.xsd Return to API map ## Daily Summaries Provides match information for a given day, including scoring and team match 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
    Competition Info Data Points: Competition Id
    Competition Name
    Group Id
    Group Name
    Season Competition Id
    Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Stage Level
    Stage Number
    Stage Round Number
    Stage Round Type
    Competitor Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Match Info Data Points: Period Score Away Display Score
    Period Score Away Score
    Period Score Home Display Score
    Period Score Home Score
    Period Score Number
    Period Score Type
    Sport Event Id
    Sport Event Scheduled
    Sport Event Start Time Confirmed
    Sport Event Status
    Sport Event Status Away Display Score
    Sport Event Status Away Score
    Sport Event Status Home Display Score
    Sport Event Status Home Score
    Sport Event Status Match Status
    Sport Event Status Status
    Sport Event Status Winner Id
    Competitor Statistics Data Points: Behinds
    Disposals
    Free Kicks
    Frees Against
    Frees For
    Goals
    Handballs
    Hitouts
    Kicks
    Marks
    Marks Inside 50 Seconds
    Tackles
    Venue Info Data Points: Capacity
    Changed
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    Reduced Capacity
    Reduced Capacity Max
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/australianrules/trial/v2/en/schedules/2018-03-03/summaries.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.com") conn.request("GET", "/australianrules/trial/v2/en/schedules/2018-03-03/summaries.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/australianrules/trial/v2/en/schedules/2018-03-03/summaries.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Daily Summaries feed by replacing the parameters in the following URL: http://api.sportradar.com/australianrules/`{access_level}`/`{version}`/`{language_code}`/schedules/`{year}`-`{month}`-`{day}`/summaries.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v2). | | `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 Summaries use the following URL. http://schemas.sportradar.com/bsa/aussierules/v2/xml/endpoints/aussierules/daily_summaries.xsd ### Optional Query String Parameters >Example including optional query string parameters:
    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("http://api.sportradar.com/australianrules/trial/v2/en/schedules/2018-03-03/summaries.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
    
    import http.client
    
    conn = http.client.HTTPSConnection("api.sportradar.com")
    
    conn.request("GET", "/australianrules/trial/v2/en/schedules/2018-03-03/summaries.xml?api_key={your_api_key}&start=0&limit=75")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -L GET 'api.sportradar.com/australianrules/trial/v2/en/schedules/2018-03-03/summaries.xml?api_key={your_api_key}&start=0&limit=75'
    
    In addition to the URL parameters listed above, you can paginate the response with one or more of the following optional query string parameters.
    Note: Optional query string parameters must be added after your API key with an ampersand (&).
    Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `start` | Number to start the list of results from.
    Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, maximum value is 200.
    Example: limit=200 | Return to API map ## Live Summaries Provides match information for all currently live matches, including scoring and team match statistics. This feed updates in real time as matches are played.
    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
    Competition Info Data Points: Competition Id
    Competition Name
    Group Id
    Group Name
    Season Competition Id
    Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Stage Level
    Stage Number
    Stage Round Number
    Stage Round Type
    Competitor Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Match Info Data Points: Period Score Away Display Score
    Period Score Away Score
    Period Score Home Display Score
    Period Score Home Score
    Period Score Number
    Period Score Type
    Sport Event Id
    Sport Event Scheduled
    Sport Event Start Time Confirmed
    Sport Event Status
    Sport Event Status Away Display Score
    Sport Event Status Away Score
    Sport Event Status Home Display Score
    Sport Event Status Home Score
    Sport Event Status Match Status
    Sport Event Status Status
    Sport Event Status Winner Id
    Competitor Statistics Data Points: Behinds
    Disposals
    Free Kicks
    Frees Against
    Frees For
    Goals
    Handballs
    Hitouts
    Kicks
    Marks
    Marks Inside 50 Seconds
    Tackles
    Venue Info Data Points: Capacity
    Changed
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    Reduced Capacity
    Reduced Capacity Max
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/australianrules/trial/v2/en/schedules/live/summaries.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.com") conn.request("GET", "/australianrules/trial/v2/en/schedules/live/summaries.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/australianrules/trial/v2/en/schedules/live/summaries.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Live Summaries feed by replacing the parameters in the following URL: http://api.sportradar.com/australianrules/`{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 (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v2). | | `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 Live Summaries use the following URL. http://schemas.sportradar.com/bsa/aussierules/v2/xml/endpoints/aussierules/summaries.xsd Return to API map ## Match Probabilities Provides 2-way probabilities (home team win, away team win) for a given match.
    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

    Competition Info Data Points: Competition Id
    Competition Name
    Group Id
    Group Name
    Season Competition Id
    Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Tournament Id
    Season Year
    Stage Level
    Stage Number
    Stage Round Number
    Stage Round Type
    Competitor Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    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

    Sport Event Start Time Confirmed
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/australianrules/trial/v2/en/matches/sr:match:8426658/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.com") conn.request("GET", "/australianrules/trial/v2/en/matches/sr:match:8426658/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/australianrules/trial/v2/en/matches/sr:match:8426658/probabilities.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Match Probabilities feed by replacing the parameters in the following URL: http://api.sportradar.com/australianrules/`{access_level}`/`{version}`/`{language_code}`/matches/`{sport_event_id}`/probabilities.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v2). | | `language_code` | Supported Locales | | `sport_event_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 Match Probabilities use the following URL. http://schemas.sportradar.com/bsa/aussierules/v2/xml/endpoints/aussierules/match_probabilities.xsd Return to API map ## Match Summary Provides real-time match-level statistics for a given match. Please note that data returned is determined by coverage level.
    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
    Competition Info Data Points: Competition Id
    Competition Name
    Group Id
    Group Name
    Season Competition Id
    Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Stage Level
    Stage Number
    Stage Round Number
    Stage Round Type
    Competitor Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Match Info Data Points: Period Score Away Display Score
    Period Score Away Score
    Period Score Home Display Score
    Period Score Home Score
    Period Score Number
    Period Score Type
    Sport Event Id
    Sport Event Scheduled
    Sport Event Start Time Confirmed
    Sport Event Status
    Sport Event Status Away Display Score
    Sport Event Status Away Score
    Sport Event Status Home Display Score
    Sport Event Status Home Score
    Sport Event Status Match Status
    Sport Event Status Status
    Sport Event Status Winner Id
    Competitor Statistics Data Points: Behinds
    Disposals
    Free Kicks
    Frees Against
    Frees For
    Goals
    Handballs
    Hitouts
    Kicks
    Marks
    Marks Inside 50 Seconds
    Tackles
    Venue Info Data Points: Capacity
    Changed
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    Reduced Capacity
    Reduced Capacity Max
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/australianrules/trial/v2/en/match/sr:match:8426658/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.com") conn.request("GET", "/australianrules/trial/v2/en/match/sr:match:8426658/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.com/australianrules/trial/v2/en/match/sr:match:8426658/summary.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Match Summary feed by replacing the parameters in the following URL: http://api.sportradar.com/australianrules/`{access_level}`/`{version}`/`{language_code}`/match/`{sport_event_id}`/summary.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v2). | | `language_code` | Supported Locales | | `sport_event_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 Match Summary use the following URL. http://schemas.sportradar.com/bsa/aussierules/v2/xml/endpoints/aussierules/match_summary.xsd Return to API map ## Match Timeline Provides real-time match-level statistics and a play-by-play event timeline for a given match. Please note that data returned is determined by coverage level.
    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
    Competition Info Data Points: Competition Id
    Competition Name
    Group Id
    Group Name
    Season Competition Id
    Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Stage Level
    Stage Number
    Stage Round Number
    Stage Round Type
    Competitor Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Match Info Data Points: Period Score Away Display Score
    Period Score Away Score
    Period Score Home Display Score
    Period Score Home Score
    Period Score Number
    Period Score Type
    Sport Event Id
    Sport Event Scheduled
    Sport Event Start Time Confirmed
    Sport Event Status
    Sport Event Status Away Display Score
    Sport Event Status Away Score
    Sport Event Status Home Display Score
    Sport Event Status Home Score
    Sport Event Status Match Status
    Sport Event Status Status
    Sport Event Status Winner Id
    Competitor Statistics Data Points: Behinds
    Disposals
    Free Kicks
    Frees Against
    Frees For
    Goals
    Handballs
    Hitouts
    Kicks
    Marks
    Marks Inside 50 Seconds
    Tackles
    Timeline Info Data Points: Away Display Score
    Away Score
    Home Display Score
    Home Score
    Id
    Match Time
    Period
    Period Name
    Team
    Time
    Type
    Venue Info Data Points: Capacity
    Changed
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    Reduced Capacity
    Reduced Capacity Max
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/australianrules/trial/v2/en/match/sr:match:8426658/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.com") conn.request("GET", "/australianrules/trial/v2/en/match/sr:match:8426658/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/australianrules/trial/v2/en/match/sr:match:8426658/timeline.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Match Timeline feed by replacing the parameters in the following URL: http://api.sportradar.com/australianrules/`{access_level}`/`{version}`/`{language_code}`/match/`{sport_event_id}`/timeline.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v2). | | `language_code` | Supported Locales | | `sport_event_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 Match Timeline use the following URL. http://schemas.sportradar.com/bsa/aussierules/v2/xml/endpoints/aussierules/match_timeline.xsd Return to API map ## Player Profile Provides player biographical information, including current and historical team membership 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
    Competitor Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name

    Player Info Data Points: Country Code
    Date of Birth
    First Name
    Gender
    Height
    Id
    Jersey Number
    Last Name
    Name
    Nationality
    Role Active
    Role Jersey Number
    Role Type
    Type
    Weight
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/australianrules/trial/v2/en/players/sr:player:1031691/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.com") conn.request("GET", "/australianrules/trial/v2/en/players/sr:player:1031691/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/australianrules/trial/v2/en/players/sr:player:1031691/profile.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Player Profile feed by replacing the parameters in the following URL: http://api.sportradar.com/australianrules/`{access_level}`/`{version}`/`{language_code}`/player/`{player_id}`/profile.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v2). | | `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/aussierules/v2/xml/endpoints/aussierules/player_profile.xsd Return to API map ## Previous Seasons Provides a complete list of all previous season ids to be used as parameters when accessing other endpoints for a specific season.
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Id
    Category Name
    Sport Id
    Sport Name
    Competition Info Data Points: Competition Id
    Competition Name
    Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/australianrules/trial/v2/en/seasons/sr:season:50007/previous_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.com") conn.request("GET", "/australianrules/trial/v2/en/seasons/sr:season:50007/previous_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/australianrules/trial/v2/en/seasons/sr:season:50007/previous_seasons.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Previous Seasons feed by replacing the parameters in the following URL: http://api.sportradar.com/australianrules/`{access_level}`/`{version}`/`{language_code}`/seasons/`{season_id}`/previous_seasons.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v2). | | `language_code` | Supported Locales | | `season_id` | Id of a given season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for Previous Seasons use the following URL. http://schemas.sportradar.com/bsa/aussierules/v2/xml/endpoints/aussierules/seasons.xsd Return to API map ## Season Info Provides detailed information for a given season, including participating teams and league structure.
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Id
    Category Name
    Sport Id
    Sport Name
    Competition Info Data Points: Competition Id
    Competition Name
    Group Id
    Group Maximum Rounds
    Group Name
    Info Competition Status
    Info Venue Reduced Capacity
    Info Venue Reduced Capacity Max
    Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Stage End Date
    Stage Number
    Stage Start Date
    Stage Type
    Stage Year
    Competitor Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name

    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/australianrules/trial/v2/en/seasons/sr:season:50007/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.com") conn.request("GET", "/australianrules/trial/v2/en/seasons/sr:season:50007/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/australianrules/trial/v2/en/seasons/sr:season:50007/info.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Season Info feed by replacing the parameters in the following URL: http://api.sportradar.com/australianrules/`{access_level}`/`{version}`/`{language_code}`/seasons/`{season_id}`/info.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v2). | | `language_code` | Supported Locales | | `season_id` | Id of a given season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for the Season Info use the following URL. http://schemas.sportradar.com/bsa/aussierules/v2/xml/endpoints/aussierules/season_info.xsd Return to API map ## Season Standings Provides detailed standings info for a given season.
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Competition Info Data Points: Group Id Group Name
    Competitor Info Data Points: Competitor Id Competitor Name
    Standings Info Data Points: Change
    Current Outcome
    Draw
    Loss
    Played
    Points
    Points Against
    Points Differential
    Points For
    Points Percentage
    Rank
    Score Against
    Score Diff
    Score For
    Tie Break Rule
    Type
    Win
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/australianrules/trial/v2/en/seasons/sr:season:50007/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.com") conn.request("GET", "/australianrules/trial/v2/en/seasons/sr:season:50007/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/australianrules/trial/v2/en/seasons/sr:season:50007/standings.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Season Standings feed by replacing the parameters in the following URL: http://api.sportradar.com/australianrules/`{access_level}`/`{version}`/`{language_code}`/seasons/`{season_id}`/standings.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v2). | | `language_code` | Supported Locales | | `season_id` | Id of a given season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for the Season Standings use the following URL. http://schemas.sportradar.com/bsa/aussierules/v2/xml/endpoints/aussierules/season_standings.xsd Return to API map ## Season Summaries Provides a list of full match summaries for all matches for a given season in chronological order regardless of sport event status. Contains details about the match, and 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
    Competition Info Data Points: Competition Id
    Competition Name
    Group Id
    Group Name
    Season Competition Id
    Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Stage Level
    Stage Number
    Stage Round Number
    Stage Round Type
    Competitor Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Match Info Data Points: Period Score Away Display Score
    Period Score Away Score
    Period Score Home Display Score
    Period Score Home Score
    Period Score Number
    Period Score Type
    Sport Event Id
    Sport Event Scheduled
    Sport Event Start Time Confirmed
    Sport Event Status
    Sport Event Status Away Display Score
    Sport Event Status Away Score
    Sport Event Status Home Display Score
    Sport Event Status Home Score
    Sport Event Status Match Status
    Sport Event Status Status
    Sport Event Status Winner Id
    Competitor Statistics Data Points: Behinds
    Disposals
    Free Kicks
    Frees Against
    Frees For
    Goals
    Handballs
    Hitouts
    Kicks
    Marks
    Marks Inside 50 Seconds
    Tackles
    Venue Info Data Points: Capacity
    Changed
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    Reduced Capacity
    Reduced Capacity Max
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/australianrules/trial/v2/en/seasons/sr:season:50007/summaries.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.com") conn.request("GET", "/australianrules/trial/v2/en/seasons/sr:season:50007/summaries.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/australianrules/trial/v2/en/seasons/sr:season:50007/summaries.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Season Summaries feed by replacing the parameters in the following URL: http://api.sportradar.com/australianrules/`{access_level}`/`{version}`/`{language_code}`/seasons/`{season_id}`/summaries.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v2). | | `language_code` | Supported Locales | | `season_id` | Id of a given season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the XML Schema Definition (.XSD) for the Season Summaries use the following URL. http://schemas.sportradar.com/bsa/aussierules/v2/xml/endpoints/aussierules/season_summaries.xsd Return to API map ## Sport Events Deleted Provides ids for sport events that have been removed or deleted. ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/australianrules/trial/v2/en/schedules/deleted_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.com") conn.request("GET", "/football-t1/australianrules/trial/v2/en/schedules/deleted_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/australianrules/trial/v2/en/schedules/deleted_matches.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Deleted Matches feed by replacing the parameters in the following URL: https://api.sportradar.com/australianrules/`{access_level}`/`{version}`/`{language_code}`/schedules/deleted_matches.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v2). | | `language_code` | Supported Locales | | `format` | xml or json. | | `your_api_key` | Your API key. | Return to API map ## Frequently Asked Questions

    Q: What leagues or tournaments do you cover for Aussie Rules Football?

    A: We cover the AFL tournament.

    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 the valid match status values?

    A: Here are the valid match status values:

    • not_started
    • 1st_period
    • 2nd_period
    • 3rd_period
    • 4th_period
    • overtime
    • match_about_to_start
    • pause
    • awaiting_extratime
    • extra_time_halftime
    • postponed
    • start_delayed
    • cancelled
    • interrupted
    • suspended
    • abandoned
    • walkover
    • retired
    • ended

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

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

    Q: What are the possible outcomes?

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

    • home_team_winner
    • away_team_winner

    Q: How far back does the data go?

    A: Only the current season and the previous season will be available in the API

    Q: What are the possible values for next_period?

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

    • 1st_quarter
    • 2nd_quarter
    • 3rd_quarter
    • 4th_quarter
    • extra_time
    • half_time

    Q: How are group IDs delivered in the stage array with the various types?

    A: With the type of "league" they will have a sr:league prefix. With the type of "cup" they will have a sr:cup prefix.

    Return to top

    Docs Navigation