Global American Football v1

Frequently Asked Questions
API API Version
Global American Football v1
Note: Authentication is required for all API calls.
## Global American Football API Map To best utilize the Global American Football 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 Probabilties using the match 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 Results, or Daily Schedule and find match id the game you want
    2. Call the Sport Event Timeline using the match id
    3. Find the Venue element and locate the name attribute
    >The venue name is 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 Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Competitor Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Manager Country Code
    Manager Id
    Manager Name
    Manager Nationality
    Player Data Points: Country Code
    Date of Birth
    Height
    Id
    Jersey Number
    Name
    Nationality
    Type
    Weight
    Venue Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/football-t1/american/en/competitors/sr:competitor:4392/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", "/football-t1/american/en/competitors/sr:competitor:4392/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/football-t1/american/en/competitors/sr:competitor:4392/profile.xml?api_key={your_api_key}" ``` This endpoint retrieves the Competitor Profile. http://api.sportradar.com/football-`{access_level}{version}`/american/`{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. | Return to API map ## Competitor Results
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name

    Tournament Info Data Points: Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Tournament Round Name
    Tournament Round Number
    Tournament Round Type
    Competitor Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Sport Event Info Data Points: Period Score Away Score
    Period Score Home Score
    Period Score Number
    Period Score Type Sport Event Id
    Sport Event Scheduled Date/Time
    Sport Event Id
    Sport Event Scheduled Date/Time
    Sport Event Start Time to be Determined
    Sport Event Away Score
    Sport Event Status Home Score
    Sport Event Status Winner Id
    Venue Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/football-t1/american/en/competitors/sr:competitor:4392/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", "/football-t1/american/en/competitors/sr:competitor:4392/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/football-t1/american/en/competitors/sr:competitor:4392/results.xml?api_key={your_api_key}" ``` This endpoint retrieves the Competitor Results. http://api.sportradar.com/football-`{access_level}{version}`/american/`{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. | Return to API map ## Competitor Schedule
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Tournament Round Name
    Tournament Round Number
    Tournament Round Type
    Competitor Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Sport Event Info Data Points: Sport Event Id
    Sport Event Scheduled Date/Time
    Sport Event Start Time to be Determined

    Sport Event Status
    Venue Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/football-t1/american/en/competitors/sr:competitor:4392/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", "/football-t1/american/en/competitors/sr:competitor:4392/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/football-t1/american/en/competitors/sr:competitor:4392/schedule.xml?api_key={your_api_key}" ``` This endpoint retrieves the Competitor Schedule. http://api.sportradar.com/football-`{access_level}{version}`/american/`{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. | Return to API map ## Daily Results
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name

    Tournament Info Data Points: Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Tournament Round Name
    Tournament Round Number
    Tournament Round Type
    Competitor Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Sport Event Info Data Points: Period Score Away Score
    Period Score Home Score
    Period Score Number
    Period Score Type Sport Event Id
    Sport Event Scheduled Date/Time
    Sport Event Id
    Sport Event Scheduled Date/Time
    Sport Event Start Time to be Determined
    Sport Event Away Score
    Sport Event Status Home Score
    Sport Event Status Winner Id
    Venue Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/football-t1/american/en/schedules/2016-12-19/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", "/football-t1/american/en/schedules/2016-12-19/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/football-t1/american/en/schedules/2016-12-19/results.xml?api_key={your_api_key}" ``` This endpoint retrieves the Daily Results. http://api.sportradar.com/football-`{access_level}{version}`/american/`{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. | Return to API map ## Daily Schedule
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Tournament Round Name
    Tournament Round Number
    Tournament Round Type
    Competitor Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Sport Event Info Data Points: Sport Event Id
    Sport Event Scheduled Date/Time
    Sport Event Start Time to be Determined

    Sport Event Status
    Venue Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/football-t1/american/en/schedules/2016-12-19/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", "/football-t1/american/en/schedules/2016-12-19/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/football-t1/american/en/schedules/2016-12-19/schedule.xml?api_key={your_api_key}" ``` This endpoint retrieves the Daily Schedule. http://api.sportradar.com/football-`{access_level}{version}`/american/`{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. | Return to API map ## Head To Head
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name

    Tournament Info Data Points: Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Tournament Round Name
    Tournament Round Number
    Tournament Round Type
    Competitor Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Sport Event Info Data Points: Period Score Away Score
    Period Score Home Score
    Period Score Number
    Period Score Type Sport Event Id
    Sport Event Scheduled Date/Time
    Sport Event Id
    Sport Event Scheduled Date/Time
    Sport Event Start Time to be Determined
    Sport Event Away Score
    Sport Event Status Home Score
    Sport Event Status Winner Id
    Venue Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/football-t1/american/en/competitors/sr:competitor:4392/versus/sr:competitor:4388/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", "/football-t1/american/en/competitors/sr:competitor:4392/versus/sr:competitor:4388/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/football-t1/american/en/competitors/sr:competitor:4392/versus/sr:competitor:4388/matches.xml?api_key={your_api_key}" ``` This endpoint retrieves the Head To Head. http://api.sportradar.com/football-`{access_level}{version}`/american/`{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. | Return to API map ## Player Profile
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Player Data Points: Country Code
    Date of Birth
    Height
    Id
    Name
    Nationality
    Type
    Weight
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/football-t1/american/en/players/sr:player:829491/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", "/football-t1/american/en/players/sr:player:829491/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/football-t1/american/en/players/sr:player:829491/profile.xml?api_key={your_api_key}" ``` This endpoint retrieves the Player Profile. http://api.sportradar.com/football-`{access_level}{version}`/american/`{language_code}`/players/`{player_id}`/profile.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `player_id` | Id of a given player. | | `format` | xml or json. | | `your_api_key` | Your API key. | Return to API map ## Seasons
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name

    Tournament Info Data Points: Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/football-t1/american/en/tournaments/sr:tournament:233/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", "/football-t1/american/en/tournaments/sr:tournament:233/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/football-t1/american/en/tournaments/sr:tournament:233/seasons.xml?api_key={your_api_key}" ``` This endpoint retrieves the Seasons. http://api.sportradar.com/football-`{access_level}{version}`/american/`{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. | Return to API map ## Sport Event Probabilities
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Tournament Round Match Number
    Tournament Round Matches
    Tournament Round Name
    Tournament Round Number
    Tournament 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 to be Determined
    Venue Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/football-t1/american/en/matches/sr:match:10700966/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", "/football-t1/american/en/matches/sr:match:10700966/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/football-t1/american/en/matches/sr:match:10700966/probabilities.xml?api_key={your_api_key}" ``` This endpoint retrieves the Sport Event Probabilities. http://api.sportradar.com/football-`{access_level}{version}`/american/`{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. | Return to API map ## Sport Event Timeline
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Tournament Round Name
    Tournament Round Number
    Tournament Round Type
    Competitor Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Venue Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    Sport Event Info Data Points: Coverage Info
    Period Score Away Score
    Period Score Home Score
    Period Score Number
    Period Score Type
    Sport Event Id
    Sport Event Scheduled Date/Time
    Sport Event Start Time to be Determined
    Sport Event Status
    Sport Event Status Away Score
    Sport Event Status Home Score
    Sport Event Status - Status
    Sport Event Status Winner Id
    Timeline Info Data Points: Event Away Score
    Event Home Score
    Event Id
    Event Period
    Event Period Name
    Event Team
    Event Time
    Event Type
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/football-t1/american/en/sport_events/sr:match:9292525/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", "/football-t1/american/en/sport_events/sr:match:9292525/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/football-t1/american/en/sport_events/sr:match:9292525/timeline.xml?api_key={your_api_key}" ``` This endpoint retrieves the Sport Event Timeline. http://api.sportradar.com/football-`{access_level}{version}`/american/`{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. | Return to API map ## Tournament Info
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name

    Tournament Info Data Points: Current Season End Date
    Current Season Id
    Current Season Name
    Current Season Start Date
    Current Season Year
    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 Number
    Tournament Round Type
    Competitor Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Sport Event Data Points: Coverage Info
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/football-t1/american/en/tournaments/sr:tournament:31/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", "/football-t1/american/en/tournaments/sr:tournament:31/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/football-t1/american/en/tournaments/sr:tournament:31/info.xml?api_key={your_api_key}" ``` This endpoint retrieves the Tournament Info. http://api.sportradar.com/football-`{access_level}{version}`/american/`{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. | Return to API map ## Tournament List
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Current Season End Date
    Current Season Id
    Current Season Name
    Current Season Start Date
    Current Season Year
    Tournament Id
    Tournament Name
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/football-t1/american/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", "/football-t1/american/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/football-t1/american/en/tournaments.xml?api_key={your_api_key}" ``` This endpoint retrieves the Tournament List. http://api.sportradar.com/football-`{access_level}{version}`/american/`{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. | Return to API map ## Tournament Live Standings
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name

    Tournament Info Data Points: Current Season End Date
    Current Season Id
    Current Season Name
    Current Season Start Date
    Current Season Year
    Group Id
    Group Name
    Group Parent
    Group Type
    Tournament Id
    Tournament Name
    Standings Info Data Points: Change
    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/football-t1/american/en/tournaments/sr:tournament:31/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", "/football-t1/american/en/tournaments/sr:tournament:31/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/football-t1/american/en/tournaments/sr:tournament:31/live_standings.xml?api_key={your_api_key}" ``` This endpoint retrieves the Tournament Live Standings. http://api.sportradar.com/football-`{access_level}{version}`/american/`{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. | Return to API map ## Tournament Results
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name

    Tournament Info Data Points: Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Tournament Round Name
    Tournament Round Number
    Tournament Round Type
    Competitor Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Sport Event Info Data Points: Period Score Away Score
    Period Score Home Score
    Period Score Number
    Period Score Type Sport Event Id
    Sport Event Scheduled Date/Time
    Sport Event Id
    Sport Event Scheduled Date/Time
    Sport Event Start Time to be Determined
    Sport Event Away Score
    Sport Event Status Home Score
    Sport Event Status Winner Id
    Venue Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/football-t1/american/en/tournaments/sr:tournament:31/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", "/football-t1/american/en/tournaments/sr:tournament:31/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/football-t1/american/en/tournaments/sr:tournament:31/results.xml?api_key={your_api_key}" ``` This endpoint retrieves the Tournament Results. http://api.sportradar.com/football-`{access_level}{version}`/american/`{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. | Return to API map ## Tournament Schedule
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name
    Tournament Info Data Points: Season End Date
    Season Id
    Season Name
    Season Start Date
    Season Year
    Tournament Id
    Tournament Name
    Tournament Round Name
    Tournament Round Number
    Tournament Round Type
    Competitor Info Data Points: Abbreviation
    Country
    Country Code
    Id
    Name
    Qualifier
    Sport Event Info Data Points: Sport Event Id
    Sport Event Scheduled Date/Time
    Sport Event Start Time to be Determined

    Sport Event Status
    Venue Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/football-t1/american/en/tournaments/sr:tournament:31/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", "/football-t1/american/en/tournaments/sr:tournament:31/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/football-t1/american/en/tournaments/sr:tournament:31/schedule.xml?api_key={your_api_key}" ``` This endpoint retrieves the Tournament Schedule. http://api.sportradar.com/football-`{access_level}{version}`/american/`{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. | Return to API map ## Tournament Standings
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Category & Sport Info Data Points: Category Country Code
    Category Id
    Category Name
    Sport Id
    Sport Name

    Tournament Info Data Points: Current Season End Date
    Current Season Id
    Current Season Name
    Current Season Start Date
    Current Season Year
    Group Id
    Group Name
    Group Parent
    Group Type
    Tournament Id
    Tournament Name
    Standings Info Data Points: Change
    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/football-t1/american/en/tournaments/sr:tournament:31/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", "/football-t1/american/en/tournaments/sr:tournament:31/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/football-t1/american/en/tournaments/sr:tournament:31/standings.xml?api_key={your_api_key}" ``` This endpoint retrieves the Tournament Standings. http://api.sportradar.com/football-`{access_level}{version}`/american/`{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. | Return to API map ## Venues
    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
    Venue Data Points: Capacity
    City
    Country Code
    Country Name
    Id
    Map Coordinates
    Name
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/football-t1/american/en/venues/sr:venue:6650/summary.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/football-t1/american/en/venues/sr:venue:6650/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/football-t1/american/en/venues/sr:venue:6650/summary.xml?api_key={your_api_key}" ``` This endpoint retrieves the Venues. http://api.sportradar.com/football-`{access_level}{version}`/american/`{language_code}`/venues/`{venue_id}`/summary.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (p) or Trial (t). | | `version` | Version number of the API you are accessing (Current Version: 1). | | `language_code` | Supported Locales | | `venue_id` | Id of a given venue. | | `format` | xml or json. | | `your_api_key` | Your API key. | Return to API map ## Frequently Asked Questions

    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 leagues or tournaments do you cover for Global American Football?

    A: We cover the following tournaments:

    • NFL
    • CFL
    • NFL Pro Bowl
    • EFAF European Championship

    Q: What are the valid match 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
    • canceled – The match has been canceled 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 or Tournament Info endpoints. 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: What are the possible outcomes?

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

    • home_team_winner
    • away_team_winner
    Return to top