NAV
cURL Ruby Python

Football

Select the desired Football API from the left to view detailed documentation.










NFL Official API v2

Statistics Summary
Documentation
Change Log




API API Version Failover
Official NFL v2 Failover DetailsFailover Summary

NFL API Map

To best utilize the NFL 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 team a player was drafted by:

  1. Call the season or weekly schedule and find a Game Id that they played in
  2. Call the Game Roster using the Game Id to get the Player Id
  3. Call the Player Profile and locate the Player Draft Team Alias.

The Alias maps to the team that drafted the player.

    To find a teams number of defensive sacks:

    1. Call the season or weekly schedule and find the desired Team Id
    2. Call the Seasonal Statistics using the Team Id
    3. Locate the Team Defense Sacks.

    The teams number of defensive sacks is displayed.

    Primary and additional feeds only require dates or human-readable parameters, while other feeds require a global unique identifier (GUID) to identify the game, team, or player that the feed will describe. The primary feeds provide GUIDs for games and teams, while games and teams provide GUIDS for players.

    NFL Official API v2 Simulations

    The live simulations give you the opportunity to test your code against a simulation of live data before the preseason starts or any time! Our simulation system replays select completed games allowing you to view our API feeds as if they were happening live. Below are the details regarding the simulations for our NFL Official API (v2)

    Simulations run every day at the following times (Eastern Time):

    11:00 am - Data is reset for the day’s simulations.
    1:00 pm - PST week 1 games will run – Tennessee at Kansas City, Atlanta at Los Angeles Rams, Buffalo at Jacksonville, and Carolina at New Orleans
    2:00 pm – PST week 2 games will run - Atlanta at Philadelphia, Tennesse at New England, Jacksonville at Pittsburgh, and New Orleans at Minnesota
    3:00 pm – PST week 3 games will run – Jacksonville at New England and Minnesota at Philadelphia
    4:00 pm – PST week 4 games will run – Philadelphia at New England

    By retrieving the Season Schedule feed for the 2017 postseason, you can obtain the game ID for each game listed above.

    All pull-based feeds are available for simulation. Simulations of push delivery are available for the Push Statistics and Push Event feeds, but we are currently unable to provide the Push Clock as a simulation.

    If you have an existing API key, simply replace the access_level (ot or o) in the URL of a feed with sim.

    Daily Change Log

    This feed displays information on teams, players, game statistics, schedules, and standings that have changed after initial posting. If a statistic has been modified, the Daily Change Log will display the Id and Last Modified timestamp. Using the Id for the team, player, game, schedule, or standing you can use another feed to view the change.

    Update Frequency: 5am CST Daily
    Content Type: Raw XML or JSON
    Game Information Data Points: Game Id
    Last Modified
    League Alias
    League Id
    League Name
    League Season Id
    Player Full Name
    Player Id
    Team Alias
    Team Id
    Team Market
    Team Name
    League Information Data Points: Alias
    Id
    Name Season Id
    Player Information Data Points: Full Name Id Last Modified
    Team Information Data Points: Alias
    Id
    Last Modified
    Market
    Name

    To generate the Daily Change Log for 05/24/2016 replace {your_api_key} with your API key:

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/nfl-ot2/league/2016/05/24/changes.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.us")
    
    conn.request("GET", "/nfl-ot2/league/2016/05/24/changes.xml?api_key={your_api_key}")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -X GET "https://api.sportradar.us/nfl-ot2/league/2016/05/24/changes.xml?api_key={your_api_key}"
    

    The above command returns xml structured like this.

    Access the Daily Change Log feed by replacing the parameters in the following URL:

    https://api.sportradar.us/nfl-{access_level}{version}/league/{year}/{month}/{day}/changes.{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 (o), Trial (ot), or Simulation (sim).
    For more information on simulations, see NFL Official API v2 Simulations.
    version Version number of the API you are accessing (current version: 2).
    year Year in 4 digit format (YYYY).
    month Month in 2 digit format (MM).
    day Day of month 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 Change Log, replace the parameters in the following URL.

    https://api.sportradar.us/nfl-{access_level}{version}/schema/changelog-v2.0.xsd?api_key={your_api_key}

    Return to API map

    Game Boxscore

    This feed displays game scoring information for each team, including complete play information for all scoring drives.

    Update Frequency: Real-time
    Content Type: Styled XML or Raw JSON
    Boxscore Information Data Points: Attendance
    Away Team Points for Quarter
    Away Team Timeouts Remaining
    Away Team Timeouts Used
    Away Team Total Points
    Clock
    Clock Offset
    Current Situation Clock
    Current Situation Down
    Current Situation Team Alias
    Current Situation Team Id
    Current Situation Team Market
    Current Team Name
    Current Situation Team Ref
    Current Situation Team Yardline
    Current Situation Possession Team Alias
    Current Situation Possession Team Id
    Current Situation Possession Team Market
    Current Situation Possession Team Name
    Current Situation Possession Team Ref
    Current Situation Yards to First Down
    Home Team Points for Quarter
    Home Team Timeouts Remaining
    Home Team Timeouts Used
    Home Team Total Points
    Last Event Alternate Description
    Last Event Clock
    Last Event Description
    Last Event Id
    Last Event Reference
    Last Event Sequence
    Last Event Type
    Officials Assignment
    Officials Full Name
    Officials Number
    Overtime Id
    Overtime Number
    Overtime Sequence
    Quarter
    Quarter Id
    Quarter Number
    Quarter Sequence
    Game Information Data Points: Away Team Alias
    Away Team Game Reference
    Away Team Id
    Away Team Market
    Away Team Name
    Entry Mode
    Home Team Alias
    Home Team Game Reference
    Home Team Id
    Home Team Market
    Home Team Name
    Game Id
    Game Number
    Game Reference
    Game Scheduled Start Date/Time
    Status
    Weather
    League Information Data Points: Season Id
    Season Name
    Season Type
    Season Year
    Week Id
    Week Sequence
    Week Title
    Play By Play Information Data Points: Detail Category
    Detail Description
    Detail Direction
    Detail End Location - Team Alias
    Detail End Location - Yardline
    Detail No Attempt
    Detail Penalty - Description
    Detail Penalty - Result
    Detail Penalty - Safety
    Detail Penalty - Yards
    Detail Result
    Detail Sequence
    Detail Start Location - Team Alias
    Detail Start Location - Yardline
    Detail Yards
    Drive Duration
    Drive End Reason
    Drive First Downs
    Drive Gain
    Drive Id
    Drive Inside 20 Flag
    Drive Penalty Yards
    Drive Play Count
    Drive Scoring Drive Flag
    Drive Sequence
    Drive Start Reason
    Ending Situation Clock
    Ending Situation Down
    Ending Situation Location - Team Alias
    Ending Situation - Location - Team Id
    Ending Situation - Location - Team Market
    Ending Situation - Location - Team Name
    Ending Situation - Location - Team Reference
    Ending Situation - Location - Team Yardline
    Ending Situation - Possession - Team Alias
    Ending Situation - Possession - Team Id
    Ending Situation - Possession - Team Market
    Ending Situation - Possession - Team Name
    Ending Situation - Possession - Team Reference
    Ending Situation - Yards to First Down
    Event Alternate Description
    Event Clock
    Event Description
    Event Id
    Event Reference
    Event Sequence
    Event Type
    Play Alternate Description
    Play Away Points
    Play Clock
    Play Description
    Play Fake Field Goal
    Play Fake Punt
    Play Home Points
    Play Id
    Play Play Clock
    Play Reference
    Play Scoring Play
    Play Screen Pass
    Play Sequence
    Play Type
    Play Wall Clock
    Points After - Play Id
    Points After - Reference
    Points After - Score Type
    Points After - Sequence
    Scoring - Away Team Score
    Scoring - Clock
    Scoring - Home Team Score
    Scoring - Points
    Scoring - Sequence
    Starting Situation Clock
    Starting Situation Down
    Starting Situation Location - Team Alias
    Starting Situation Location - Team Id
    Starting Situation Location - Team Market
    Starting Situation Location - Team Name
    Starting Situation Location - Team Reference
    Starting Situation Location - Team Yardline
    Starting Situation Possession - Team Alias
    Starting Situation Possession - Team Id
    Starting Situation Possession - Team Market
    Starting Situation Possession - Team Name
    Starting Situation Possession - Team Reference
    Starting Situation Yards to First Down
    Play Statistics Data Points: Conversion Attempt
    Conversion Complete
    Conversion Down
    Defense Assisted Tackles
    Defense Blitz
    Defense Defensive Completion
    Defense Defensive Target
    Defense Hurry
    Defense Interception
    Defense Interception Yards
    Defense Knockdown
    Defense Nullified Play Flag
    Defense Pass Defended
    Defense Primary
    Defense QB Hit
    Defense Sack
    Defense Sack Yards
    Defense Safety
    Defense Tackle for Loss
    Defense Tackle for Loss Yards
    Defense Tackle
    Extra Point Attempt
    Field Goal Attempt
    Field Goal Attempt Yards
    Field Goal Missed
    Field Goal Yards
    First Down Category
    Fumbles Forced
    Fumbles Fumble
    Fumbles Nullified
    Fumbles Out of Bounds
    Kickoffs End Zone
    Kickoffs Gross Yards
    Kickoffs Inside 20
    Kickoffs Kickoff
    Kickoffs Onside Attempt
    Kickoffs Onside Success
    Kickoffs Squib Kick
    Kickoffs Touchback
    Kickoffs Yards
    Passing Attempt
    Passing Attempt Yards
    Passing Blitz
    Passing Completion
    Passing First Down
    Passing Goal to Go
    Passing Hurry
    Passing Inside 20
    Passing Interception
    Passing Knockdown
    Passing Nullified
    Passing Sack
    Passing Sack Yards
    Passing Touchdown
    Passing Yards
    Penalties Penalty
    Penalties Yards
    Punting Attempt
    Punting Downed
    Punting Fair Catch
    Punting Inside 20
    Punting Out of Bounds
    Punting Touchback
    Punting Yards
    Receiving Catchable
    Receiving First Down
    Receiving Goal to Go
    Receiving Inside 20
    Receiving Nullified
    Receiving Reception
    Receiving Target
    Receiving Touchdown
    Receiving Yards
    Receiving Yards After Catch
    Returns Category
    Returns Downed
    Returns Fair Catch
    Returns Out of Bounds
    Returns Return
    Returns Touchback
    Returns Yards
    Rushing Attempt
    Rushing Broken Tackles
    Rushing First Down
    Rushing Goal to Go
    Rushing Inside 20
    Rushing Kneel Down
    Rushing Scramble
    Rushing Tackle for Loss
    Rushing Tackle for Loss Yards
    Rushing Touchdown
    Rushing Yards
    Player Information Data Points: Full Name
    Game Reference
    Id
    Jersey Number
    Position
    Role
    Team Information Data Points: Alias
    Game Reference
    Id
    Market
    Name
    Venue Information Data Points: Address
    Capacity
    City
    Country
    Id
    Name
    Roof Type
    State
    Surface
    Zip

    To generate the Game Boxscore for the Game ID below replace {your_api_key} with your API key:

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/nfl-ot2/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/boxscore.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.us")
    
    conn.request("GET", "/nfl-ot2/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/boxscore.xml?api_key={your_api_key}")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -X GET "https://api.sportradar.us/nfl-ot2/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/boxscore.xml?api_key={your_api_key}"
    

    The above command returns xml structured like this.

    This endpoint retrieves the boxscore information for a specific game.

    https://api.sportradar.us/nfl-{access_level}{version}/games/{game_id}/boxscore.{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 (o), Trial (ot), or Simulation (sim).
    For more information on simulations, see NFL Official API v2 Simulations.
    version Version number of the API you are accessing (current version: 2).
    game_id ID for a given game.
    format xml or json.
    your_api_key Your API key.

    To retrieve the XML Schema Definition (.XSD) for the Game Boxscore, replace the parameters in the following URL.

    https://api.sportradar.us/nfl-{access_level}{version}/schema/boxscore-v4.0.xsd?api_key={your_api_key}

    Return to API map

    Game Roster

    Game roster information for each team as well as player profile data, including NFL related reference ids.

    Update Frequency: As Necessary
    Content Type: Styled XML or JSON
    Boxscore Information Data Points: Attendance
    Clock
    Clock Offset Quarter
    Game Information Data Points: Away Team Alias
    Away Team Game Reference
    Away Team Id
    Away Team Market
    Away Team Name
    Entry Mode
    Home Team Alias
    Home Team Game Reference
    Home Team Id
    Home Team Market
    Home Team Name
    Game Id
    Game Number
    Game Reference
    Game Scheduled Start Date/Time
    Status
    Weather
    League Information Data Points: Season Id
    Season Name
    Season Type
    Season Year
    Week Id
    Week Sequence
    Week Title
    Player Information Data Points: Abbreviated Name
    Age (at time of game)
    Birth Date
    Birth Place
    College
    College Conference
    Draft Number
    Draft Round
    Draft Year
    Draft Team Alias
    Draft Team Id
    Draft Team Market
    Draft Team Name
    First Name
    Full Name
    Height
    High School
    Id
    Jersey Number
    Last Name
    Position
    Preferred Name
    Reference Id
    Reference Origin
    Rookie Year
    Status
    Weight
    Team Information Data Points: Alias
    Id
    Market Name
    Venue Information Data Points: Address
    Capacity
    City
    Country
    Id
    Name
    Roof Type
    State
    Surface
    Zip

    To generate the Game Roster for the Game ID below replace {your_api_key} with your API key:

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/nfl-ot2/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/roster.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.us")
    
    conn.request("GET", "/nfl-ot2/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/roster.xml?api_key={your_api_key}")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -X GET "https://api.sportradar.us/nfl-ot2/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/roster.xml?api_key={your_api_key}"
    

    The above command returns xml structured like this.

    This endpoint retrieves the roster information for a specific game.

    https://api.sportradar.us/nfl-{access_level}{version}/games/{game_id}/roster.{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 (o), Trial (ot), or Simulation (sim).
    For more information on simulations, see NFL Official API v2 Simulations.
    version Version number of the API you are accessing (current version: 2).
    game_id ID for a given game.
    format xml or json.
    your_api_key Your API key.

    To retrieve the XML Schema Definition (.XSD) for the Game Roster, replace the parameters in the following URL.

    https://api.sportradar.us/nfl-{access_level}{version}/schema/roster-v2.0.xsd?api_key={your_api_key}

    Return to API map

    Game Statistics

    Team and player level game statistics for each team.

    Update Frequency: Real-time
    Content Type: Styled XML or Raw JSON
    Boxscore Information Data Points: Attendance
    Away Team Timeouts Remaining
    Away Team Timeouts Used
    Away Team Total Points
    Clock
    Clock Offset
    Home Team Timeouts Remaining
    Home Team Timeouts Used
    Home Team Total Points
    Quarter
    Game Information Data Points: Away Team Alias
    Away Team Game Reference
    Away Team Id
    Away Team Market
    Away Team Name
    Entry Mode
    Home Team Alias
    Home Team Game Reference
    Home Team Id
    Home Team Market
    Home Team Name
    Game Id
    Game Number
    Game Reference
    Game Scheduled Start Date/Time
    Status
    Weather
    Player Game Statistics Data Points: Conversions Attempts
    Conversion Category
    Conversion Successes
    Defense Assisted Tackles
    Defense Assisted Tackles
    Defense Combined Tackles
    Defensive Completions
    Defensive Targets
    Defense Forced Fumbles
    Defense Fumble Recoveries
    Defense Hurries
    Defense Interceptions
    Defense Knockdowns
    Defense Miscellaneous Assisted Tackles
    Defense Miscellaneous Forced Fumbles
    Defense Miscellaneous Fumble Recoveries
    Defense Miscellaneous Tackles
    Defense Missed Tackles
    Defense Passes Defended
    Defense QB Hits
    Defense Sack Yards
    Defense Sacks
    Defense Safeties
    Defense Special Teams Assisted Tackles
    Defense Special Teams Blocks
    Defense Special Teams Forced Fumbles
    Defense Special Teams Fumble Recoveries
    Defense Special Teams Tackles
    Defense Tackles
    Defense Tackles for Loss
    Defense Tackles for Loss Yards
    Extra Points Kicking Attempts
    Extra Points Kicking Blocked
    Extra Points Kicking Made
    Field Goals Attempts
    Field Goals Average Yards
    Field Goals Blocked
    Field Goals Longest
    Field Goals Made
    Field Goal Yards
    Fumbles End Zone Touchdowns
    Fumbles Force Fumbles
    Fumbles Fumbles
    Fumbles Lost Fumbles
    Fumbles Opponent Recovery
    Fumbles Opponent Recovery Touchdowns
    Fumbles Opponent Recovery Yards
    Fumbles Out of Bounds
    Fumbles Own Recovery
    Fumbles Own Recovery Touchdowns
    Fumbles Own Recovery Yards
    Interception Returns Average Yards
    Interception Returns Longest
    Interception Returns Longest Touchdown
    Interception Returns
    Interception Returns Touchdowns
    Interception Returns Yards
    Kick Returns Average Yards
    Kick Returns Fair Catches
    Kick Returns Longest
    Kick Returns Longest Touchdown
    Kick Returns Returns
    Kick Returns Touchdowns
    Kick Returns Yards
    Kickoffs End Zone
    Kickoffs Inside 20
    Kickoffs
    Kickoffs Onside Attempts
    Kickoffs Onside Successes
    Kickoffs Out of Bounds
    Kickoffs Return Yards
    Kickoffs Squib Kicks
    Kickoffs Total Endzone
    Kickoffs Touchbacks
    Kickoffs Yards
    Passing Air Yards
    Passing Attempts
    Passing Average Pocket Time
    Passing Average Yards
    Passing Blitzes
    Passing Completion Percentage
    Passing Completions
    Passing Defended Passes
    Passing Dropped Passes
    Passing Hurries
    Passing Interceptions
    Passing Knockdowns
    Passing Longest
    Passing Longest Touchdown
    Passing Pocket Time
    Passing Poor Throws
    Passing Rating
    Passing Red Zone Attempts
    Passing Sack Yards
    Passing Sacks
    Passing Spikes
    Passing Throw Aways
    Passing Touchdowns
    Passing Yards
    Penalties
    Penalty Yards
    Punt Return Average Yards
    Punt Return Fair Catches
    Punt Return Longest
    Punt Return Longest Touchdown
    Punt Returns
    Punt Return Touchdowns
    Punt Return Yards
    Punts Attempts
    Punts Average Hang Time
    Punts Average Net Yards
    Punts Average Yards
    Punts Blocked
    Punts Hang Time
    Punts Inside 20
    Punts Longest
    Punts Net Yards
    Punts Return Yards
    Punts Touchbacks
    Punts Yards
    Receiving Air Yards
    Receiving Average Yards
    Receiving Broken Tackles
    Receiving Catchable Passes
    Receiving Dropped Passes
    Receiving Longest
    Receiving Longest Touchdown
    Receiving Receptions
    Receiving Red Zone Targets
    Receiving Targets
    Receiving Touchdowns
    Receiving Yards
    Receiving Yards After Catch
    Receiving Yards After Contact
    Rushing Attempts
    Rushing Average Yards
    Rushing Broken Tackles
    Rushing Kneel Downs
    Rushing Longest
    Rushing Longest Touchdown
    Rushing Red Zone Attempts
    Rushing Scrambles
    Rushing Tackle for Loss
    Rushing Tackle for Loss Yards
    Rushing Touchdowns
    Rushing Yards
    Rushing Yards After Contact
    Team Game Statistics Data Points: Conversions Defense Attempts
    Conversions Defense Successes
    Conversions Pass Attempts
    Conversions Pass Successes
    Conversions Rush Attempts
    Conversions Rush Successes
    Conversions Turnover Successes
    Defense Assisted Tackles
    Defense Blitzes
    Defense Combined Tackles
    Defensive Completions
    Defensive Targets
    Defense Forced Fumbles
    Defense Fumble Recoveries
    Defense Hurries
    Defense Interceptions
    Defense Knockdowns
    Defense Miscellaneous Assisted Tackles
    Defense Miscellaneous Forced Fumbles
    Defense Miscellaneous Fumble Recoveries
    Defense Miscellaneous Tackles
    Defense Missed Tackles
    Defense Passes Defended
    Defense QB Hits
    Defense Sack Yards
    Defense Sacks
    Defense Safeties
    Defense Special Teams Assisted Tackles
    Defense Special Teams Blocks
    Defense Special Teams Forced Fumbles
    Defense Special Teams Fumble Recoveries
    Defense Special Teams Tackles
    Defense Tackles
    Defense Tackles for Loss
    Defense Tackles for Loss Yards
    Efficiency 3rd Down Attempts
    Efficiency 3rd Down Conversions
    Efficiency 3rd Down Percentage
    Efficiency 4th Down Attempts
    Efficiency 4th Down Conversions
    Efficiency 4th Down Percentage
    Efficiency Goal to Go Attempts
    Efficiency Goal to Go Conversions
    Efficiency Goal to Go Percentage
    Efficiency Red Zone Attempts
    Efficiency Red Zone Conversions
    Efficiency Red Zone Percentage
    Extra Points Kicking Attempts
    Extra Points Kicking Blocked
    Extra Points Kicking Made
    Field Goals Attempts
    Field Goals Average Yards
    Field Goals Blocked
    Field Goals Longest
    Field Goals Made
    Field Goals Net Attempts
    Field Goals Yards
    First Downs Passing
    First Downs Penalty
    First Downs Rushing
    First Downs Total
    Fumbles End Zone Touchdowns
    Fumbles Force Fumbles
    Fumbles Fumbles
    Fumbles Lost Fumbles
    Fumbles Opponent Recovery
    Fumbles Opponent Recovery Touchdowns
    Fumbles Opponent Recovery Yards
    Fumbles Out of Bounds
    Fumbles Own Recovery
    Fumbles Own Recovery Touchdowns
    Fumbles Own Recovery Yards
    Interception Returns Average Yards
    Interception Returns Longest
    Interception Returns Longest Touchdown
    Interception Returns Returns
    Interception Returns Touchdowns
    Interception Returns Yards
    Interceptions
    Interceptions Return Yards
    Interceptions Returned
    Kick Returns Average Yards
    Kick Returns Fair Catches
    Kick Returns Longest
    Kick Returns Longest Touchdown
    Kick Returns Returns
    Kick Returns Touchdowns
    Kick Returns Yards
    Kickoffs End Zone
    Kickoffs Inside 20
    Kickoffs
    Kickoffs Out of Bounds
    Kickoffs Return Yards
    Kickoffs Total Endzone
    Kickoffs Touchbacks
    Kickoffs Yards
    Misc Returns Blocked Field Goal Touchdowns
    Misc Returns Blocked Punt Touchdowns
    Misc Returns End Zone Recovery Touchdowns
    Misc Returns Field Goal Return Touchdowns
    Misc Returns Returns
    Misc Returns Touchdowns
    Misc Returns Yards
    Passing Air Yards
    Passing Attempts
    Passing Average Yards
    Passing Blitzes
    Passing Completion Percentage
    Passing Completions
    Passing Defended Passes
    Passing Dropped Passes
    Passing Gross Yards
    Passing Hurries
    Passing Interceptions
    Passing Knockdowns
    Passing Longest
    Passing Longest Touchdown
    Passing Net Yards
    Passing Pocket Time
    Passing Rating
    Passing Red Zone Attempts
    Passing Sack Yards
    Passing Sacks
    Passing Spikes
    Passing Throw Aways
    Passing Touchdowns
    Passing Yards
    Penalties
    Penalty Yards
    Punt Returns Average Yards
    Punt Returns Fair Catches
    Punt Returns Longest
    Punt Returns Longest Touchdown
    Punt Returns
    Punt Returns Touchdowns
    Punt Returns Yards
    Punts Attempts
    Punts Average Hang Time
    Punts Average Net Yards
    Punts Average Yards
    Punts Blocked
    Punts Hang Time
    Punts Inside 20
    Punts Longest
    Punts Net Yards
    Punts Return Yards
    Punts Touchbacks
    Punts Yards
    Receiving Air Yards
    Receiving Average Yards
    Receiving Broken Tackles
    Receiving Catachable Passes
    Receiving Dropped Passes
    Receiving Longest
    Receiving Longest Touchdown
    Receiving Receptions
    Receiving Red Zone Targets
    Receiving Targets
    Receiving Touchdowns
    Receiving Yards
    Receiving Yards After Catch
    Receiving Yards After Contact
    Rushing Attempts
    Rushing Average Yards
    Rushing Broken Tackles
    Rushing Kneel Downs
    Rushing Longest
    Rushing Longest Touchdown
    Rushing Red Zone Attempts
    Rushing Scrambles
    Rushing Tackles for Loss
    Rushing Tackles for Loss Yards
    Rushing Touchdowns
    Rushing Yards
    Rushing Yards After Contact
    Touchdowns Fumble Return
    Touchdowns Interception Return
    Touchdowns Kick Return
    Touchdowns Other
    Touchdowns Pass
    Touchdowns Punt Return
    Touchdowns Rush
    Touchdowns Total
    Touchdowns Total Return
    Team Summary Data Points: Average Gain
    Fumbles
    Fumbles Lost
    Penalties
    Penalty Yards
    Play Count
    Possession Time
    Return Yards
    Rushing Plays
    Safeties
    Total Yards
    Turnovers
    League Information Data Points: Season Id
    Season Name
    Season Type
    Season Year
    Week Id
    Week Sequence
    Week Title
    Player Information Data Points: Full Name
    Game Reference
    Id
    Jersey Number
    Position
    Team Information Data Points: Alias
    Game Reference
    Id
    Market
    Name
    Venue Data Points: Address
    Capacity
    City
    Country
    Id
    Name
    Roof Type
    State
    Surface
    Zip

    To generate the Game Statistics for the Game ID below replace {your_api_key} with your API key:

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/nfl-ot2/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/statistics.xml?api_key={your_api_key}")
    
    http = Net::HTTP.new(url.host, url.port)
    http.use_ssl = true
    http.verify_mode = OpenSSL::SSL::VERIFY_NONE
    
    request = Net::HTTP::Get.new(url)
    
    response = http.request(request)
    puts response.read_body
    
    import http.client
    
    conn = http.client.HTTPSConnection("api.sportradar.us")
    
    conn.request("GET", "/nfl-ot2/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/statistics.xml?api_key={your_api_key}")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -X GET "https://api.sportradar.us/nfl-ot2/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/statistics.xml?api_key={your_api_key}"
    

    The above command returns xml structured like this.

    This endpoint retrieves the game statistics for a specific game.

    https://api.sportradar.us/nfl-{access_level}{version}/games/{game_id}/statistics.{format}?api_key={your_api_key}

    Replace placeholders with the following query parameters:

    Parameter Description
    access_level Defines the access level of your API key as Production (o), Trial (ot), or Simulation (sim).
    For more information on simulations, see NFL Official API v2 Simulations.
    version Version number of the API you are accessing (current version: 2).
    game_id ID for a given game.
    format xml or json.
    your_api_key Your API key.

    To retrieve the XML Schema Definition (.XSD) for Game Statistics, replace the parameters in the following URL.

    https://api.sportradar.us/nfl-{access_level}{version}/schema/statistics-v4.0.xsd?api_key={your_api_key}

    Return to API map

    League Hierarchy

    Complete league hierarchy information including team information such as venues and NFL reference ids.

    Update Frequency: As Necessary
    Content Type: Raw XML or JSON
    League Information Data Points: League Alias
    Conference Alias
    Conference Id
    Conference Name
    Division Alias
    Division Id
    Division Name
    League Id
    League Name
    Team Information Data Points: Alias
    Id
    Market
    Name
    Reference Id
    Reference Origin
    Venue Information Data Points: Address
    Capacity
    City
    Country
    Id
    Name
    Roof Type
    State
    Surface
    Zip

    To generate the League Hierarchy replace {your_api_key} with your API key:

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/nfl-ot2/league/hierarchy.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.us")
    
    conn.request("GET", "/nfl-ot2/league/hierarchy.xml?api_key={your_api_key}")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -X GET "https://api.sportradar.us/nfl-ot2/league/hierarchy.xml?api_key={your_api_key}"
    

    The above command returns xml structured like this.

    This endpoint retrieves the League Hierarchy.

    https://api.sportradar.us/nfl-{access_level}{version}/league/hierarchy.{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 (o), Trial (ot), or Simulation (sim).
    For more information on simulations, see NFL Official API v2 Simulations.
    version Version number of the API you are accessing (current version: 2).
    format xml or json.
    your_api_key Your API key.

    To retrieve the XML Schema Definition (.XSD) for the League Hierarchy, replace the parameters in the following URL.

    https://api.sportradar.us/nfl-{access_level}{version}/schema/hierarchy-v2.0.xsd?api_key={your_api_key}

    Return to API map

    Play-By-Play

    Complete play by play narrative including possession and location information as well as team and statistics earned on each play.

    Update Frequency: Real-Time
    Content Type: Raw XML or JSON
    Boxscore Data Points: Attendance
    Away Team Points for Quarter
    Away Team Timeouts Remaining
    Away Team Timeouts Used
    Away Team Total Points
    Clock
    Clock Offset
    Home Team Points for Quarter
    Home Team Timeouts Remaining
    Home Team Timeouts Used
    Home Team Total Points
    Overtime Id
    Overtime Number
    Overtime Sequence
    Quarter
    Quarter Id
    Quarter Number
    Quarter Sequence
    Game Information Data Points: Away Team Alias
    Away Team Game Reference
    Away Team Id
    Away Team Market
    Away Team Name
    Entry Mode
    Home Team Alias
    Home Team Game Reference
    Home Team Id
    Home Team Market
    Home Team Name
    Game Id
    Game Number
    Game Reference
    Game Scheduled Start Date/Time
    Status
    Weather
    League Information Data Points: Season Id
    Season Name
    Season Type
    Season Year
    Week Id
    Week Sequence
    Week Title
    Play By Play Information Data Points: Detail Category
    Detail Description
    Detail Direction
    Detail End Location - Team Alias
    Detail End Location - Yardline
    Detail No Attempt
    Detail Penalty - Description
    Detail Penalty - Result
    Detail Penalty - Safety
    Detail Penalty - Yards
    Detail Result
    Detail Sequence
    Detail Start Location - Team Alias
    Detail Start Location - Yardline
    Detail Yards
    Drive Duration
    Drive End Reason
    Drive First Downs
    Drive Gain
    Drive Id
    Drive Inside 20 Flag
    Drive Penalty Yards
    Drive Play Count
    Drive Scoring Drive Flag
    Drive Sequence
    Drive Start Reason
    Ending Situation Clock
    Ending Situation Down
    Ending Situation Location - Team Alias
    Ending Situation - Location - Team Id
    Ending Situation - Location - Team Market
    Ending Situation - Location - Team Name
    Ending Situation - Location - Team Reference
    Ending Situation - Location - Team Yardline
    Ending Situation - Possession - Team Alias
    Ending Situation - Possession - Team Id
    Ending Situation - Possession - Team Market
    Ending Situation - Possession - Team Name
    Ending Situation - Possession - Team Reference
    Ending Situation - Yards to First Down
    Event Alternate Description
    Event Clock
    Event Description
    Event Id
    Event Reference
    Event Sequence
    Event Type
    Play Alternate Description
    Play Away Points
    Play Clock
    Play Description
    Play Fake Field Goal
    Play Fake Punt
    Play Home Points
    Play Id
    Play Play Clock
    Play Reference
    Play Scoring Play
    Play Screen Pass
    Play Sequence
    Play Type
    Play Wall Clock
    Points After - Play Id
    Points After - Reference
    Points After - Score Type
    Points After - Sequence
    Scoring - Away Team Score
    Scoring - Clock
    Scoring - Home Team Score
    Scoring - Points
    Scoring - Sequence
    Starting Situation Clock
    Starting Situation Down
    Starting Situation Location - Team Alias
    Starting Situation Location - Team Id
    Starting Situation Location - Team Market
    Starting Situation Location - Team Name
    Starting Situation Location - Team Reference
    Starting Situation Location - Team Yardline
    Starting Situation Possession - Team Alias
    Starting Situation Possession - Team Id
    Starting Situation Possession - Team Market
    Starting Situation Possession - Team Name
    Starting Situation Possession - Team Reference
    Starting Situation Yards to First Down
    Play Statistics Data Points: Conversion Attempt
    Conversion Complete
    Conversion Down
    Defense Assisted Tackles
    Defense Blitz
    Defense Defensive Completion
    Defense Defensive Target
    Defense Hurry
    Defense Interception
    Defense Interception Yards
    Defense Knockdown
    Defense Nullified Play Flag
    Defense Pass Defended
    Defense Primary
    Defense QB Hit
    Defense Sack
    Defense Sack Yards
    Defense Safety
    Defense Tackle for Loss
    Defense Tackle for Loss Yards
    Defense Tackle
    Extra Point Attempt
    Field Goal Attempt
    Field Goal Attempt Yards
    Field Goal Missed
    Field Goal Yards
    First Down Category
    Fumbles Forced
    Fumbles Fumble
    Fumbles Nullified
    Fumbles Out of Bounds
    Kickoffs End Zone
    Kickoffs Gross Yards
    Kickoffs Inside 20
    Kickoffs Kickoff
    Kickoffs Onside Attempt
    Kickoffs Onside Success
    Kickoffs Squib Kick
    Kickoffs Touchback
    Kickoffs Yards
    Passing Attempt
    Passing Attempt Yards
    Passing Blitz
    Passing Completion
    Passing First Down
    Passing Goal to Go
    Passing Hurry
    Passing Inside 20
    Passing Interception
    Passing Knockdown
    Passing Nullified
    Passing Sack
    Passing Sack Yards
    Passing Touchdown
    Passing Yards
    Penalties Penalty
    Penalties Yards
    Punting Attempt
    Punting Downed
    Punting Fair Catch
    Punting Inside 20
    Punting Out of Bounds
    Punting Touchback
    Punting Yards
    Receiving Catchable
    Receiving First Down
    Receiving Goal to Go
    Receiving Inside 20
    Receiving Nullified
    Receiving Reception
    Receiving Target
    Receiving Touchdown
    Receiving Yards
    Receiving Yards After Catch
    Returns Category
    Returns Downed
    Returns Fair Catch
    Returns Out of Bounds
    Returns Return
    Returns Touchback
    Returns Yards
    Rushing Attempt
    Rushing Broken Tackles
    Rushing First Down
    Rushing Goal to Go
    Rushing Inside 20
    Rushing Kneel Down
    Rushing Scramble
    Rushing Tackle for Loss
    Rushing Tackle for Loss Yards
    Rushing Touchdown
    Rushing Yards
    Player Information Data Points: Full Name
    Game Reference
    Id
    Jersey Number
    Position
    Role
    Team Information Data Points: Alias
    Game Reference
    Id
    Market
    Name
    Venue Information Data Points: Address
    Capacity
    City
    Country
    Id
    Name
    Roof Type
    State
    Surface
    Zip

    To generate the Play-By-Play for the Game ID below replace {your_api_key} with your API key:

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/nfl-ot2/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/pbp.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.us")
    
    conn.request("GET", "/nfl-ot2/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/pbp.xml?api_key={your_api_key}")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -X GET "https://api.sportradar.us/nfl-ot2/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/pbp.xml?api_key={your_api_key}"
    

    The above command returns xml structured like this.

    This endpoint retrieves the Play-By-Play information for a specific game.

    https://api.sportradar.us/nfl-{access_level}{version}/games/{game_id}/pbp.{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 (o), Trial (ot), or Simulation (sim).
    For more information on simulations, see NFL Official API v2 Simulations.
    version Version number of the API you are accessing (current version: 2).
    game_id ID for a given game.
    format xml or json.
    your_api_key Your API key.

    To retrieve the XML Schema Definition (.XSD) for Play-By-Play, replace the parameters in the following URL.

    https://api.sportradar.us/nfl-{access_level}{version}/schema/pbp-v4.0.xsd?api_key={your_api_key}

    Return to API map

    Player Participation

    Participation Data is complementary data collected by the NFL that indicates all 22 players on the field for every play of every game.

    Update Frequency: Every Friday following a game
    Content Type: XML or JSON
    Boxscore Information Data Points: Attendance
    Clock
    Clock Offset Quarter
    Game Information Data Points: Away Team Alias
    Away Team Game Reference
    Away Team Id
    Away Team Market
    Away Team Name
    Entry Mode
    Home Team Alias
    Home Team Game Reference
    Home Team Id
    Home Team Market
    Home Team Name
    Game Id
    Game Number
    Game Reference
    Game Scheduled Start Date/Time
    Player Snap Count
    Status
    Weather
    League Information Data Points: Season Id
    Season Name
    Season Type
    Season Year
    Week Id
    Week Sequence
    Week Title
    Play By Play Data Points: Play Clock
    Play Description
    Play Id
    Play Reference
    Play Sequence
    Play Type
    Play Wall Clock
    Player Information Data Points: Full Name
    Game Reference
    Id
    Jersey Number
    Position
    Venue Data Points: Address
    Capacity
    City
    Country
    Id
    Name
    Roof Type
    State
    Surface
    Zip

    To generate Participation Data replace {your_api_key} with your API key:

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/nfl-ot2/plays/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/participation.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.us")
    
    conn.request("GET", "/nfl-ot2/plays/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/participation.xml?api_key={your_api_key}")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -X GET "https://api.sportradar.us/nfl-ot2/plays/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/participation.xml?api_key={your_api_key}"
    

    The above command returns xml structured like this.

    Access the Participation feed by replacing the parameters in the following URL:

    https://api.sportradar.us/nfl-{access_level}{version}/plays/{game_id}/participation.{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 (o), Trial (ot), or Simulation (sim).
    For more information on simulations, see NFL Official API v2 Simulations.
    version Version number of the API you are accessing (current version: 2).
    game_id ID of a given game.
    format xml or json.
    your_api_key Your API key.

    Return to API map

    Player Profile

    Player biographical information, NFL related reference ids, draft information, as well as seasonal statistics for the regular and post season.

    Update Frequency: As Necessary
    Content Type: Raw XML or JSON
    League Information Data Points: Season Id
    Season Name
    Season Type Season Year
    Player Information Data Points: Abbreviated Name
    Birth Date
    Birth Place
    College
    College Conference
    Draft Info Number
    Draft Info Round
    Draft Info Year
    Draft Team Alias
    Draft Team Id
    Draft Team Market
    Draft Team Name
    First Name
    Full Name
    Height
    High School
    Id
    Jersey Number
    Last Name
    Position
    Preferred Name
    Reference Id
    Reference Origin
    Rookie Year
    Status
    Weight
    Seasonal Player Statistics Data Points: Conversions Defense Attempts
    Conversions Defense Successes
    Conversions Pass Attempts
    Conversions Pass Successes
    Conversions Receiving Attempts
    Conversions Receiving Successes
    Conversions Rush Attempts
    Conversions Rush Successes
    Defense Assisted Tackles
    Defense Blitzes
    Defense Combined Tackles
    Defensive Completions
    Defensive Targets
    Defense Forced Fumbles
    Defense Fumble Recoveries
    Defense Hurries
    Defense Interceptions
    Defense Knockdowns
    Defense Miscellaneous Assisted Tackles
    Defense Miscellaneous Forced Fumbles
    Defense Miscellaneous Fumble Recoveries
    Defense Miscellaneous Tackles
    Defense Missed Tackles
    Defense Passes Defended
    Defense QB Hits
    Defense Sack Yards
    Defense Sacks
    Defense Safeties
    Defense Special Teams Assisted Tackles
    Defense Special Teams Blocks
    Defense Special Teams Forced Fumbles
    Defense Special Teams Fumble Recoveries
    Defense Special Teams Tackles
    Defense Tackles
    Defense Tackles for Loss
    Defense Tackles for Loss Yards
    Extra Points Kicking Attempts
    Extra Points Kicking Blocked
    Extra Points Kicking Made
    Field Goals Attempts
    Field Goals Average Yards
    Field Goals Blocked
    Field Goals Longest
    Field Goals Made
    Field Goals Yards
    Fumbles End Zone Recovery Touchdowns
    Fumbles Force Fumbles
    Fumbles
    Fumbles Lost
    Fumbles Opponent Recovery
    Fumbles Opponent Recovery Touchdowns
    Fumbles Opponent Recovery Yards
    Fumbles Out of Bounds
    Fumbles Own Recovery
    Fumbles Own Recovery Touchdowns
    Fumbles Own Recovery Yards
    Games Played
    Games Started
    Interception Returns Average Yards
    Interception Returns Longest
    Interception Returns Longest Touchdown
    Interception Returns Returns
    Interception Returns Touchdowns
    Interception Returns Yards
    Kick Returns Average Yards
    Kick Returns Fair Catches
    Kick Returns Longest
    Kick Returns Longest Touchdown
    Kick Returns
    Kick Returns Touchdowns
    Kick Returns Yards
    Kickoffs End Zone
    Kickoffs Inside 20
    Kickoffs
    Kickoffs Onside Attempts
    Kickoffs Onside Successes
    Kickoffs Out of Bounds
    Kickoffs Return Yards
    Kickoffs Squib Kicks
    Kickoffs Touchbacks
    Kickoffs Yards
    Passing Air Yards
    Passing Attempts
    Passing Average Pocket Time
    Passing Average Yards
    Passing Blitzes
    Passing Completion Percentage
    Passing Completions
    Passing Defended Passes
    Passing Dropped Passes
    Passing Gross Yards
    Passing Hurries
    Passing Interceptions
    Passing Knockdowns
    Passing Longest
    Passing Longest Touchdown
    Passing Net Yards
    Passing Pocket Time
    Passing Rating
    Passing Red Zone Attempts
    Passing Sack Yards
    Passing Sacks
    Passing Spikes
    Passing Throw Aways
    Passing Touchdowns
    Passing Yards
    Penalties
    Penalties Yards
    Punt Returns Average Yards
    Punt Returns Fair Catches
    Punt Returns Longest
    Punt Returns Longest Touchdown
    Punt Returns Returns
    Punt Returns Touchdowns
    Punt Returns Yards
    Punts Attempts
    Punts Average Hang Time
    Punts Average Net Yards
    Punts Average Yards
    Punts Blocked
    Punts Hang Time
    Punts Inside 20
    Punts Longest
    Punts Net Yards
    Punts Return Yards
    Punts Touchbacks
    Punts Yards
    Receiving Air Yards
    Receiving Average Yards
    Receiving Broken Tackles
    Receiving Catchable Passes
    Receiving Dropped Passes
    Receiving Longest
    Receiving Longest Touchdown
    Receiving Receptions
    Receiving Red Zone Targets
    Receiving Targets
    Receiving Touchdowns
    Receiving Yards
    Receiving Yards After Catch
    Receiving Yards After Contact
    Rushing Attempts
    Rushing Average Yards
    Rushing Broken Tackles
    Rushing Kneel Downs
    Rushing Longest
    Rushing Longest Touchdown
    Rushing Red Zone Attempts
    Rushing Scrambles
    Rushing Tackles for Loss
    Rushing Tackles for Loss Yards
    Rushing Touchdowns
    Rushing Yards
    Rushing Yards After Contact
    Team Information Data Points: Alias
    Id
    Market Name

    To generate a Player Profile for the Player ID below replace {your_api_key} with your API key:

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/nfl-ot2/players/0acdcd3b-5442-4311-a139-ae7c506faf88/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
    
    import http.client
    
    conn = http.client.HTTPSConnection("api.sportradar.us")
    
    conn.request("GET", "/nfl-ot2/players/0acdcd3b-5442-4311-a139-ae7c506faf88/profile.xml?api_key={your_api_key}")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -X GET "https://api.sportradar.us/nfl-ot2/players/0acdcd3b-5442-4311-a139-ae7c506faf88/profile.xml?api_key={your_api_key}"
    

    The above command returns xml structured like this.

    This endpoint retrieves the Player Profile for a specific player.

    https://api.sportradar.us/nfl-{access_level}{version}/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 (o), Trial (ot), or Simulation (sim).
    For more information on simulations, see NFL Official API v2 Simulations.
    version Version number of the API you are accessing (current version: 2).
    player_id ID for a given player.
    format xml or json.
    your_api_key Your API key.

    To retrieve the XML Schema Definition (.XSD) for the Player Profile, replace the parameters in the following URL.

    https://api.sportradar.us/nfl-{access_level}{version}/schema/profile-v2.0.xsd?api_key={your_api_key}

    Return to API map

    Season Schedule

    Complete schedule information for the entire season, including game, team, and venue information.

    Update Frequency: As Necessary
    Content Type: Raw XML or JSON
    Boxscore Information Data Points: Attendance
    Away Team Overtime Points
    Away Team Points for Quarter
    Away Team Total Points
    Clock Offset
    Home Team Overtime Points
    Home Team Points for Quarter
    Home Team Total Points
    Overtime Id
    Overtime Number
    Overtime Sequence
    Quarter Id
    Quarter Number
    Quarter Sequence
    Game Information Data Points: Away Team Alias
    Away Team Full Name
    Away Team Game Number
    Away Team Id
    Broadcast Internet
    Broadcast Network
    Broadcast Satellite
    Entry Mode
    Home Team Alias
    Home Team Full Name
    Home Team Game Number
    Home Team Id
    Id
    Number
    Reference
    Scheduled Start Date/Time
    Status
    Weather
    League Information Data Points: Season Id
    Season Name
    Season Type
    Season Year
    Week Id
    Week Sequence
    Week Title
    Venue Data Points: Address
    Capacity
    City
    Country
    Id
    Name
    Roof Type
    State
    Surface
    Zip

    To generate the Schedule for the Season and Year below replace {your_api_key} with your API key:

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/nfl-ot2/games/2006/reg/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
    
    import http.client
    
    conn = http.client.HTTPSConnection("api.sportradar.us")
    
    conn.request("GET", "/nfl-ot2/games/2006/reg/schedule.xml?api_key={your_api_key}")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -X GET "https://api.sportradar.us/nfl-ot2/games/2006/reg/schedule.xml?api_key={your_api_key}"
    

    The above command returns xml structured like this.

    This endpoint retrieves the Schedule for a specific season.

    https://api.sportradar.us/nfl-{access_level}{version}/games/{year}/{nfl_season}/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 (o), Trial (ot), or Simulation (sim).
    For more information on simulations, see NFL Official API v2 Simulations.
    version Version number of the API you are accessing (current version: 2).
    year Year in 4 digit format (YYYY).
    nfl_season Preseason (PRE), Regular Season (REG), or Post-Season (PST).
    format xml or json.
    your_api_key Your API key.

    To retrieve the XML Schema Definition (.XSD) for the Schedule, replace the parameters in the following URL.

    https://api.sportradar.us/nfl-{access_level}{version}/schema/schedule-v4.0.xsd?api_key={your_api_key}

    Return to API map

    Seasonal Statistics

    Complete team and player seasonal statistics for the specific season and season type.

    Update Frequency: As Necessary
    Content Type: Raw XML or JSON
    League Information Data Points: Season Id
    Season Name
    Season Type Season Year
    Player Information Data Points: Full Name
    Id
    Jersey Number
    Position
    Reference
    Opponent Seasonal Statistics Data Points: Conversions Defense Attempts
    Conversions Defense Successes
    Conversions Pass Attempts
    Conversions Pass Successes
    Conversions Rush Attempts
    Conversions Rush Successes
    Conversions Turnover Successes
    Defense Assisted Tackles
    Defense Blitzes
    Defense Combined Tackles
    Defensive Completions
    Defensive Targets
    Defense Forced Fumbles
    Defense Fumble Recoveries
    Defense Hurries
    Defense Interceptions
    Defense Knockdowns
    Defense Miscellaneous Assisted Tackles
    Defense Miscellaneous Forced Fumbles
    Defense Miscellaneous Fumble Recoveries
    Defense Miscellaneous Tackles
    Defense Missed Tackles
    Defense Passes Defended
    Defense QB Hits
    Defense Sack Yards
    Defense Sacks
    Defense Safeties
    Defense Special Teams Assisted Tackles
    Defense Special Teams Blocks
    Defense Special Teams Forced Fumbles
    Defense Special Teams Fumble Recoveries
    Defense Special Teams Tackles
    Defense Tackles
    Defense Tackles for Loss
    Defense Tackles for Loss Yards
    Efficiency 3rd Down Attempts
    Efficiency 3rd Down Conversions
    Efficiency 3rd Down Percentage
    Efficiency 4th Down Attempts
    Efficiency 4th Down Conversions
    Efficiency 4th Down Percentage
    Efficiency Goal to Go Attempts
    Efficiency Goal to Go Conversions
    Efficiency Goal to Go Percentage
    Efficiency Red Zone Attempts
    Efficiency Red Zone Conversions
    Efficiency Red Zone Percentage
    Extra Points Kicking Attempts
    Extra Points Kicking Blocked
    Extra Points Kicking Made
    Field Goals Attempts
    Field Goals Average Yards
    Field Goals Blocked
    Field Goals Longest
    Field Goals Made
    Field Goals Yards
    First Downs Passing
    First Downs Penalty
    First Downs Rushing
    First Downs Total
    Fumbles End Zone Recovery Touchdowns
    Fumbles Force Fumbles
    Fumbles
    Fumbles Lost
    Fumbles Opponent Recovery
    Fumbles Opponent Recovery Touchdowns
    Fumbles Opponent Recovery Yards
    Fumbles Out of Bounds
    Fumbles Own Recovery
    Fumbles Own Recovery Touchdowns
    Fumbles Own Recovery Yards
    Games Played
    Interception Returns Average Yards
    Interception Returns Longest
    Interception Returns Longest Touchdown
    Interception Returns Returns
    Interception Returns Touchdowns
    Interception Returns Yards
    Interceptions
    Interceptions Return Yards
    Interceptions Returned
    Kick Returns Average Yards
    Kick Returns Fair Catches
    Kick Returns Longest
    Kick Returns Longest Touchdown
    Kick Returns Returns
    Kick Returns Touchdowns
    Kick Returns Yards
    Kickoffs End Zone
    Kickoffs Inside 20
    Kickoffs
    Kickoffs Onside Attempts
    Onside Successes
    Out of Bounds
    Kickoffs Return Yards
    Kickoffs Returned
    Kickoffs Squib Kicks
    Kickoffs Touchbacks
    Kickoffs Yards
    Passing Air Yards
    Passing Attempts
    Passing Average Yards
    Passing Blitzes
    Passing Completion Percentage
    Passing Completions
    Passing Defended Passes
    Passing Dropped Passes
    Passing Gross Yards
    Passing Hurries
    Passing Interceptions
    Passing Knockdowns
    Passing Longest
    Passing Longest Touchdown
    Passing Net Yards
    Passing Pocket Time
    Passing Rating
    Passing Red Zone Attempts
    Passing Sack Yards
    Passing Sacks
    Passing Spikes
    Passing Throw Aways
    Passing Touchdowns
    Passing Yards
    Punt Returns Average Yards
    Punt Returns Fair Catches
    Punt Returns Longest
    Punt Returns Longest Touchdown
    Punt Returns
    Punt Returns Touchdowns
    Punt Returns Yards
    Punts Attempts
    Punts Average Hang Time
    Punts Average Net Yards
    Punts Average Yards
    Punts Blocked
    Punts Hang Time
    Punts Inside 20
    Punts Longest
    Punts Net Yards
    Punts Return Yards
    Punts Touchbacks
    Punts Yards
    Receiving Air Yards
    Receiving Average Yards
    Receiving Broken Tackles
    Receiving Catchable Passes
    Receiving Dropped Passes
    Receiving Longest
    Receiving Longest Touchdown
    Receiving Receptions
    Receiving Red Zone Targets
    Receiving Targets
    Receiving Touchdowns
    Receiving Yards
    Receiving Yards After Catch
    Receiving Yards After Contact
    Rushing Attempts
    Rushing Average Yards
    Rushing Broken Tackles
    Rushing Kneel Downs
    Rushing Longest
    Rushing Longest Touchdown
    Rushing Red Zone Attempts
    Rushing Scrambles
    Rushing Tackles for Loss
    Rushing Tackles for Loss Yards
    Rushing Touchdowns
    Rushing Yards
    Touchdowns Fumble Return
    Touchdowns Interception Return
    Touchdowns Kick Return
    Touchdowns Other
    Touchdowns Pass
    Touchdowns Punt Return
    Touchdowns Rush
    Touchdowns Total
    Touchdowns Total Return
    Seasonal Player Statistics Data Points: Conversions Defense Attempts
    Conversions Defense Successes
    Conversions Pass Attempts
    Conversions Pass Successes
    Conversions Receiving Attempts
    Conversions Receiving Successes
    Conversions Rush Attempts
    Conversions Rush Successes
    Defense Assisted Tackles
    Defense Blitzes
    Defense Combined Tackles
    Defensive Completions
    Defensive Targets
    Defense Forced Fumbles
    Defense Fumble Recoveries
    Defense Hurries
    Defense Interceptions
    Defense Knockdowns
    Defense Miscellaneous Assisted Tackles
    Defense Miscellaneous Forced Fumbles
    Defense Miscellaneous Fumble Recoveries
    Defense Miscellaneous Tackles
    Defense Missed Tackles
    Defense Passes Defended
    Defense QB Hits
    Defense Sack Yards
    Defense Sacks
    Defense Safeties
    Defense Special Teams Assisted Tackles
    Defense Special Teams Blocks
    Defense Special Teams Forced Fumbles
    Defense Special Teams Fumble Recoveries
    Defense Special Teams Tackles
    Defense Tackles
    Defense Tackles for Loss
    Defense Tackles for Loss Yards
    Extra Points Kicking Attempts
    Extra Points Kicking Blocked
    Extra Points Kicking Made
    Field Goals Attempts
    Field Goals Average Yards
    Field Goals Blocked
    Field Goals Longest
    Field Goals Made
    Field Goals Yards
    Fumbles End Zone Recovery Touchdowns
    Fumbles Force Fumbles
    Fumbles
    Fumbles Lost
    Fumbles Opponent Recovery
    Fumbles Opponent Recovery Touchdowns
    Fumbles Opponent Recovery Yards
    Fumbles Out of Bounds
    Fumbles Own Recovery
    Fumbles Own Recovery Touchdowns
    Fumbles Own Recovery Yards
    Games Played
    Games Started
    Interception Returns Average Yards
    Interception Returns Longest
    Interception Returns Longest Touchdown
    Interception Returns Returns
    Interception Returns Touchdowns
    Interception Returns Yards
    Kick Returns Average Yards
    Kick Returns Fair Catches
    Kick Returns Longest
    Kick Returns Longest Touchdown
    Kick Returns
    Kick Returns Touchdowns
    Kick Returns Yards
    Kickoffs End Zone
    Kickoffs Inside 20
    Kickoffs
    Kickoffs Onside Attempts
    Kickoffs Onside Successes
    Kickoffs Out of Bounds
    Kickoffs Return Yards
    Kickoffs Squib Kicks
    Kickoffs Touchbacks
    Kickoffs Yards
    Passing Air Yards
    Passing Attempts
    Passing Average Pocket Time
    Passing Average Yards
    Passing Blitzes
    Passing Completion Percentage
    Passing Completions
    Passing Defended Passes
    Passing Dropped Passes
    Passing Gross Yards
    Passing Hurries
    Passing Interceptions
    Passing Knockdowns
    Passing Longest
    Passing Longest Touchdown
    Passing Net Yards
    Passing Pocket Time
    Passing Rating
    Passing Red Zone Attempts
    Passing Sack Yards
    Passing Sacks
    Passing Spikes
    Passing Throw Aways
    Passing Touchdowns
    Passing Yards
    Penalties
    Penalties Yards
    Punt Returns Average Yards
    Punt Returns Fair Catches
    Punt Returns Longest
    Punt Returns Longest Touchdown
    Punt Returns Returns
    Punt Returns Touchdowns
    Punt Returns Yards
    Punts Attempts
    Punts Average Hang Time
    Punts Average Net Yards
    Punts Average Yards
    Punts Blocked
    Punts Hang Time
    Punts Inside 20
    Punts Longest
    Punts Net Yards
    Punts Return Yards
    Punts Touchbacks
    Punts Yards
    Receiving Air Yards
    Receiving Average Yards
    Receiving Broken Tackles
    Receiving Catchable Passes
    Receiving Dropped Passes
    Receiving Longest
    Receiving Longest Touchdown
    Receiving Receptions
    Receiving Red Zone Targets
    Receiving Targets
    Receiving Touchdowns
    Receiving Yards
    Receiving Yards After Catch
    Receiving Yards After Contact
    Rushing Attempts
    Rushing Average Yards
    Rushing Broken Tackles
    Rushing Kneel Downs
    Rushing Longest
    Rushing Longest Touchdown
    Rushing Red Zone Attempts
    Rushing Scrambles
    Rushing Tackles for Loss
    Rushing Tackles for Loss Yards
    Rushing Touchdowns
    Rushing Yards
    Rushing Yards After Contact
    Seasonal Team Statistics Data Points: Conversions Defense Attempts
    Conversions Defense Successes
    Conversions Pass Attempts
    Conversions Pass Successes
    Conversions Rush Attempts
    Conversions Rush Successes
    Conversions Turnover Successes
    Defense Assisted Tackles
    Defense Blitzes
    Defense Combined Tackles
    Defense Combined Tackles
    Defensive Completions
    Defensive Targets
    Defense Forced Fumbles
    Defense Fumble Recoveries
    Defense Hurries
    Defense Interceptions
    Defense Knockdowns
    Defense Miscellaneous Assisted Tackles
    Defense Miscellaneous Forced Fumbles
    Defense Miscellaneous Fumble Recoveries
    Defense Miscellaneous Tackles
    Defense Missed Tackles
    Defense Passes Defended
    Defense QB Hits
    Defense Sack Yards
    Defense Sacks
    Defense Safeties
    Defense Special Teams Assisted Tackles
    Defense Special Teams Blocks
    Defense Special Teams Forced Fumbles
    Defense Special Teams Fumble Recoveries
    Defense Special Teams Tackles
    Tackles
    Defense Tackles for Loss
    Defense Tackles for Loss Yards
    Efficiency 3rd Down Attempts
    Efficiency 3rd Down Conversions
    Efficiency 3rd Down Percentage
    Efficiency 4th Down Attempts
    Efficiency 4th Down Conversions
    Efficiency 4th Down Percentage
    Efficiency Goal to Go Attempts
    Efficiency Goal to Go Conversions
    Efficiency Goal to Go Percentage
    Efficiency Red Zone Attempts
    Efficiency Red Zone Conversions
    Efficiency Red Zone Percentage
    Extra Points Kicking Attempts
    Extra Points Kicking Blocked
    Extra Points Kicking Made
    Field Goals Attempts
    Field Goals Average Yards
    Field Goals Blocked
    Field Goals Longest
    Field Goals Made
    Field Goals Yards
    First Downs Passing
    First Downs Penalty
    First Downs Rushing
    First Downs Total
    Fumbles End Zone Recovery Touchdowns
    Fumbles Force Fumbles
    Fumbles
    Fumbles Lost Fumbles
    Fumbles Opponent Recovery
    Fumbles Opponent Recovery Touchdowns
    Fumbles Opponent Recovery Yards
    Fumbles Out of Bounds
    Fumbles Own Recovery
    Fumbles Own Recovery Touchdowns
    Fumbles Own Recovery Yards
    Team Games Played
    Interception Returns Average Yards
    Interception Returns Longest
    Interception Returns Longest Touchdown
    Interception Returns
    Interception Returns Touchdowns
    Interception Returns Yards
    Interceptions
    Interceptions Return Yards
    Interceptions Returned
    Kick Returns Average Yards
    Kick Returns Fair Catches
    Kick Returns Longest
    Kick Returns Longest Touchdown
    Kick Returns
    Kick Returns Touchdowns
    Kick Returns Yards
    Kickoffs End Zone
    Kickoffs Inside 20
    Kickoffs
    Kickoffs Onside Attempts
    Kickoffs Onside Successes
    Kickoffs Out of Bounds
    Kickoffs Return Yards
    Kickoffs Returned
    Kickoffs Squib Kicks
    Kickoffs Touchbacks
    Kickoffs Yards
    Passing Air Yards
    Passing Attempts
    Passing Average Yards
    Passing Blitzes
    Passing Completion Percentage
    Passing Completions
    Passing Defended Passes
    Passing Dropped Passes
    Passing Gross Yards
    Passing Hurries
    Passing Interceptions
    Passing Knockdowns
    Passing Longest
    Passing Longest Touchdown
    Passing Net Yards
    Passing Pocket Time
    Passing Rating
    Passing Red Zone Attempts
    Passing Sack Yards
    Passing Sacks
    Passing Spikes
    Passing Throw Aways
    Passing Touchdowns
    Passing Yards
    Penalties
    Penalty Yards
    Punt Returns Average Yards
    Punt Returns Fair Catches
    Punt Returns Longest
    Punt Returns Longest Touchdown
    Punt Returns
    Punt Returns Touchdowns
    Punt Returns Yards
    Punts Attempts
    Punts Average Hang Time
    Punts Average Net Yards
    Punts Average Yards
    Punts Blocked
    Punts Hang Time
    Punts Inside 20
    Punts Longest
    Punts Net Yards
    Punts Return Yards
    Punts Touchbacks
    Punts Yards
    Receiving Air Yards
    Receiving Average Yards
    Receiving Broken Tackles
    Receiving Catchable Passes
    Receiving Dropped Passes
    Receiving Longest
    Receiving Longest Touchdown
    Receiving Receptions
    Receiving Red Zone Targets
    Receiving Targets
    Receiving Touchdowns
    Receiving Yards
    Receiving Yards After Catch
    Receiving Yards After Contact
    Rushing Attempts
    Rushing Average Yards
    Rushing Broken Tackles
    Rushing Kneel Downs
    Rushing Longest
    Rushing Longest Touchdown
    Rushing Red Zone Attempts
    Rushing Scrambles
    Rushing Tackles for Loss
    Rushing Tackles for Loss Yards
    Rushing Touchdowns
    Rushing Yards
    Touchdowns Fumble Return
    Touchdowns Interception Return
    Touchdowns Kick Return
    Touchdowns Other
    Touchdowns Pass
    Touchdowns Punt Return
    Touchdowns Rush
    Touchdowns Total
    Touchdowns Total Return
    Team Information Data Points: Alias
    Id
    Market Name

    To generate the Seasonal Statistics for the Season, Year, and Game ID below replace {your_api_key} with your API key:

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/nfl-ot2/seasontd/2006/PST/teams/0d855753-ea21-4953-89f9-0e20aff9eb73/statistics.xml?api_key={your_api_key}")
    
    http = Net::HTTP.new(url.host, url.port)
    http.use_ssl = true
    http.verify_mode = OpenSSL::SSL::VERIFY_NONE
    
    request = Net::HTTP::Get.new(url)
    
    response = http.request(request)
    puts response.read_body
    
    import http.client
    
    conn = http.client.HTTPSConnection("api.sportradar.us")
    
    conn.request("GET", "/nfl-ot2/seasontd/2006/PST/teams/0d855753-ea21-4953-89f9-0e20aff9eb73/statistics.xml?api_key={your_api_key}")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -X GET "https://api.sportradar.us/nfl-ot2/seasontd/2006/PST/teams/0d855753-ea21-4953-89f9-0e20aff9eb73/statistics.xml?api_key={your_api_key}"
    

    The above command returns xml structured like this.

    This endpoint retrieves the Seasonal Statistics for a season.

    https://api.sportradar.us/nfl-{access_level}{version}/seasontd/{year}/{nfl_season}/teams/{team_id}/statistics.{format}?api_key={your_api_key}

    Replace placeholders with the following query parameters:

    Parameter Description
    access_level Defines the access level of your API key as Production (o), Trial (ot), or Simulation (sim).
    For more information on simulations, see NFL Official API v2 Simulations.
    version Version number of the API you are accessing (current version: 2).
    year Year in 4 digit format (YYYY).
    nfl_season Preseason (PRE), Regular Season (REG), or Post-Season (PST).
    team_id ID of a given team.
    format xml or json.
    your_api_key Your API key.

    To retrieve the XML Schema Definition (.XSD) for the Seasonal Statistics, replace the parameters in the following URL.

    https://api.sportradar.us/nfl-{access_level}{version}/schema/statistics-v4.0.xsd?api_key={your_api_key}

    Return to API map

    Standings

    Standings information for each team, including strength of schedule and strength of victory information.

    Update Frequency: As Necessary
    Content Type: Raw XML or JSON
    League Information Data Points: Conference Alias
    Conference Id
    Conference Name
    Division Alias
    Division Id
    Division Name
    Season Id
    Season Name
    Season Type
    Season Year
    Week Id
    Week Sequence
    Week Title
    Standings Information Data Points: Category
    Conference Head to Head
    Conference Losses
    Conference Points Against
    Conference Points For
    Conference Points Rank
    Conference Rank
    Conference Ties
    Conference Winning Perc.
    Conference Wins
    Division Losses
    Division Points Against
    Division Points For
    Division Rank
    Division Ties
    Division Winning Perc.
    Division Wins
    Home Losses
    Home Ties
    Home Winning Perc.
    Home Wins
    Overall Losses
    Overall Points Against
    Overall Points For
    Overall Points Rank
    Overall Ties
    Overall Winning Perc.
    Overall Wins
    Points Against
    Points For
    Points Rank
    Recent Streak
    Road Losses
    Road Ties
    Road Winning Perc.
    Road Wins
    Streak Description
    Strength of Schedule Total
    Strength of Schedule SOS
    Strength of Schedule Wins
    Strength of Victory Total
    Strength of Victory SOV
    Strength of Victory Wins
    Touchdown Differential
    Vs AFC Losses
    Vs AFC Ties
    Vs AFC Winning Perc.
    Vs AFC Wins
    Vs NFC Losses
    Vs NFC Ties
    Vs NFC Winning Perc.
    Vs NFC Wins
    Team Information Data Points: Alias
    Id
    Market Name

    To generate the Standings for the Season below replace {your_api_key} with your API key:

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/nfl-ot2/seasontd/2006/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
    
    import http.client
    
    conn = http.client.HTTPSConnection("api.sportradar.us")
    
    conn.request("GET", "/nfl-ot2/seasontd/2006/standings.xml?api_key={your_api_key}")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -X GET "https://api.sportradar.us/nfl-ot2/seasontd/2006/standings.xml?api_key={your_api_key}"
    

    The above command returns xml structured like this.

    This endpoint retrieves the Standings for a season.

    https://api.sportradar.us/nfl-{access_level}{version}/seasontd/{year}/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 (o), Trial (ot), or Simulation (sim).
    For more information on simulations, see NFL Official API v2 Simulations.
    version Version number of the API you are accessing (current version: 2).
    year Year in 4 digit format (YYYY).
    format xml or json.
    your_api_key Your API key.

    To retrieve the XML Schema Definition (.XSD) for the Standings, replace the parameters in the following URL.

    https://api.sportradar.us/nfl-{access_level}{version}/schema/standings-v2.0.xsd?api_key={your_api_key}

    Return to API map

    Team Profile

    Franchise team information, including NFL references, as well as a roster of active players.

    Update Frequency: As Necessary
    Content Type: Raw XML or JSON
    Franchise Information Data Points: Alias
    Id
    Name
    Reference Id
    Reference Origin
    League Information Data Points: Conference Alias
    Conference Id
    Conference Name
    Division Alias
    Division Id
    Division Name
    Player Information Data Points: Abbreviated Name
    Birth Date
    Birth Place
    College
    College Conference
    Draft Info Number
    Draft Info Round
    Draft Info Year
    Draft Team Alias
    Draft Team Id
    Draft Team Market
    Draft Team Name
    First Name
    Full Name
    Height
    High School
    Id
    Jersey Number
    Last Name
    Position
    Preferred Name
    Reference Id
    Reference Origin
    Rookie Year
    Status
    Weight
    Team Information Data Points: Alias
    Coach First Name
    Coach Full Name
    Coach Id
    Coach Last Name
    Coach Position
    Id
    Market
    Name
    Reference Id
    Reference Origin
    Venue Data Points: Address
    Capacity
    City
    Country
    Id
    Name
    Roof Type
    State
    Surface
    Zip

    To generate a team profile for the Team ID below replace {your_api_key} with your API key:

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/nfl-ot2/teams/0d855753-ea21-4953-89f9-0e20aff9eb73/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
    
    import http.client
    
    conn = http.client.HTTPSConnection("api.sportradar.us")
    
    conn.request("GET", "/nfl-ot2/teams/0d855753-ea21-4953-89f9-0e20aff9eb73/profile.xml?api_key={your_api_key}")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -X GET "https://api.sportradar.us/nfl-ot2/teams/0d855753-ea21-4953-89f9-0e20aff9eb73/profile.xml?api_key={your_api_key}"
    

    The above command returns xml structured like this.

    This endpoint retrieves the Team Profile for a team.

    https://api.sportradar.us/nfl-{access_level}{version}/teams/{team_id}/profile.{format}?api_key={your_api_key}

    Replace placeholders with the following query parameters:

    Parameter Description
    access_level Defines the access level of your API key as Production (o), Trial (ot), or Simulation (sim).
    For more information on simulations, see NFL Official API v2 Simulations.
    version Version number of the API you are accessing (current version: 2).
    team_id ID of a given team.
    format xml or json.
    your_api_key Your API key.

    To retrieve the XML Schema Definition (.XSD) for the Team Profile, replace the parameters in the following URL.

    https://api.sportradar.us/nfl-{access_level}{version}/schema/team-v2.0.xsd?api_key={your_api_key}

    Return to API map

    Team Roster

    Franchise team information, including NFL references, as well as the complete roster of players.

    Update Frequency: As Necessary
    Content Type: Raw XML or JSON
    Franchise Information Data Points: Alias
    Id
    Name
    Reference Id
    Reference Origin
    League Information Data Points: Conference Alias
    Conference Id
    Conference Name
    Division Alias
    Division Id
    Division Name
    Player Information Data Points: Abbreviated Name
    Birth Date
    Birth Place
    College
    College Conference
    Draft Info Number
    Draft Info Round
    Draft Info Year
    Draft Team Alias
    Draft Team Id
    Draft Team Market
    Draft Team Name
    First Name
    Full Name
    Height
    High School
    Id
    Jersey Number
    Last Name
    Position
    Preferred Name
    Reference Id
    Reference Origin
    Rookie Year
    Status
    Weight
    Team Information Data Points: Alias
    Coach First Name
    Coach Full Name
    Coach Id
    Coach Last Name
    Coach Position
    Id
    Market
    Name
    Reference Id
    Reference Origin
    Venue Data Points: Address
    Capacity
    City
    Country
    Id
    Name
    Roof Type
    State
    Surface
    Zip

    To generate a team roster for the Team ID below replace {your_api_key} with your API key:

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/nfl-ot2/teams/0d855753-ea21-4953-89f9-0e20aff9eb73/full_roster.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.us")
    
    conn.request("GET", "/nfl-ot2/teams/0d855753-ea21-4953-89f9-0e20aff9eb73/full_roster.xml?api_key={your_api_key}")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -X GET "https://api.sportradar.us/nfl-ot2/teams/0d855753-ea21-4953-89f9-0e20aff9eb73/full_roster.xml?api_key={your_api_key}"
    

    The above command returns xml structured like this.

    This endpoint retrieves the Team Roster for a team.

    https://api.sportradar.us/nfl-{access_level}{version}/teams/{team_id}/full_roster.{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 (o), Trial (ot), or Simulation (sim).
    For more information on simulations, see NFL Official API v2 Simulations.
    version Version number of the API you are accessing (current version: 2).
    team_id ID of a given team.
    format xml or json.
    your_api_key Your API key.

    To retrieve the XML Schema Definition (.XSD) for the Team Roster, replace the parameters in the following URL.

    https://api.sportradar.us/nfl-{access_level}{version}/schema/team-v2.0.xsd?api_key={your_api_key}

    Return to API map

    Weekly Depth Charts

    Obtain depth charts for the NFL for a given week. Pre-Season (PRE) valid weeks 1-4, Regular Season (REG) weeks 1-17, Post-Season (PST) weeks 1-4.

    Update Frequency: Updated shortly before the game, but may be updated during or post game.
    Content Type: Raw XML or JSON
    Depth Chart Data Points: Position Name Depth
    League Information Data Points: Season Id
    Season Name
    Season Type
    Season Year
    Week Id
    Week Sequence
    Week Title
    Player Data Points: Full Name
    Id
    Jersey Number
    Position
    Reference
    Team Data Points: Alias
    Id
    Market Name

    To generate the Weekly Depth Charts enter the Year, Season, Week below, and replace {your_api_key} with your API key:

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/nfl-ot2/seasontd/2015/REG/17/depth_charts.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.us")
    
    conn.request("GET", "/nfl-ot2/seasontd/2015/REG/17/depth_charts.xml?api_key={your_api_key}")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -X GET "https://api.sportradar.us/nfl-ot2/seasontd/2015/REG/17/depth_charts.xml?api_key={your_api_key}"
    

    The above command returns xml structured like this.

    This endpoint retrieves the Weekly Depth Charts.

    https://api.sportradar.us/nfl-{access_level}{version}/seasontd/{year}/{nfl_season}/{nfl_season_week}/depth_charts.{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 (o), Trial (ot), or Simulation (sim).
    For more information on simulations, see NFL Official API v2 Simulations.
    version Version number of the API you are accessing (current version: 2).
    year Year in 4 digit format (YYYY).
    nfl_season Preseason (PRE), Regular Season (REG), or Post-Season (PST).
    nfl_season_week The number of weeks into the season in 2 digit format (WW).
    format xml or json.
    your_api_key Your API key.

    To retrieve the XML Schema Definition (.XSD) for the Weekly Depth Charts, replace the parameters in the following URL.

    https://api.sportradar.us/nfl-{access_level}{version}/schema/depth_charts-v2.0.xsd?api_key={your_api_key}

    Return to API map

    Weekly Injuries

    Obtain injuries for the NFL for a given week. Pre-Season (PRE) valid weeks 1-4, Regular Season (REG) weeks 1-17, Post-Season (PST) weeks 1-4.

    Update Frequency: As Necessary
    Content Type: Raw XML or JSON
    Injury Data Points: Status
    Status Date
    Practice Status Description
    League Information Data Points: Season Id
    Season Name
    Season Type
    Season Year
    Week Id
    Week Sequence
    Week Title
    Player Data Points: Full Name
    Id
    Jersey Number
    Position
    Reference
    Team Data Points: Alias
    Id
    Market Name

    To generate the Weekly Injuries enter the Year, Season, Week below, and replace {your_api_key} with your API key:

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/nfl-ot2/seasontd/2015/PST/4/injuries.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.us")
    
    conn.request("GET", "/nfl-ot2/seasontd/2015/PST/4/injuries.xml?api_key={your_api_key}")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -X GET "https://api.sportradar.us/nfl-ot2/seasontd/2015/PST/4/injuries.xml?api_key={your_api_key}"
    

    The above command returns xml structured like this.

    This endpoint retrieves the Weekly Injuries.

    https://api.sportradar.us/nfl-{access_level}{version}/seasontd/{year}/{nfl_season}/{nfl_season_week}/injuries.{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 (o), Trial (ot), or Simulation (sim).
    For more information on simulations, see NFL Official API v2 Simulations.
    version Version number of the API you are accessing (current version: 2).
    year Year in 4 digit format (YYYY).
    nfl_season Preseason (PRE), Regular Season (REG), or Post-Season (PST).
    nfl_season_week The number of weeks into the season in 2 digit format (WW).
    format xml or json.
    your_api_key Your API key.

    To retrieve the XML Schema Definition (.XSD) for the Weekly Injuries, replace the parameters in the following URL.

    https://api.sportradar.us/nfl-{access_level}{version}/schema/injuries-v2.0.xsd?api_key={your_api_key}

    Return to API map

    Weekly Schedule

    Complete schedule information for the specific week of the NFL season, including game, team, and venue information. Pre-Season (PRE) valid weeks 1-4, Regular Season (REG) weeks 1-17, Post-Season (PST) weeks 1-4.

    Update Frequency: As Necessary
    Content Type: Raw XML or JSON
    Boxscore Information Data Points: Attendance
    Away Team Overtime Points
    Away Team Points for Quarter
    Away Team Total Points
    Clock Offset
    Home Team Overtime Points
    Home Team Points for Quarter
    Home Team Total Points
    Overtime Id
    Overtime Number
    Overtime Sequence
    Quarter Id
    Quarter Number
    Quarter Sequence
    Game Information Data Points: Away Team Alias
    Away Team Full Name
    Away Team Game Number
    Away Team Id
    Broadcast Internet
    Broadcast Network
    Broadcast Satellite
    Entry Mode
    Home Team Alias
    Home Team Full Name
    Home Team Game Number
    Home Team Id
    Id
    Number
    Reference
    Scheduled Start Date/Time
    Status
    Weather
    League Information Data Points: Season Id
    Season Name
    Season Type
    Season Year
    Week Id
    Week Sequence
    Week Title
    Venue Data Points: Address
    Capacity
    City
    Country
    Id
    Name
    Roof Type
    State
    Surface
    Zip

    To generate the Weekly Schedule for the Year, Season, and Week below replace {your_api_key} with your API key:

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/nfl-ot2/games/2006/REG/03/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
    
    import http.client
    
    conn = http.client.HTTPSConnection("api.sportradar.us")
    
    conn.request("GET", "/nfl-ot2/games/2006/REG/03/schedule.xml?api_key={your_api_key}")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -X GET "https://api.sportradar.us/nfl-ot2/games/2006/REG/03/schedule.xml?api_key={your_api_key}"
    

    The above command returns xml structured like this.

    This endpoint retrieves the Weekly Schedule.

    https://api.sportradar.us/nfl-{access_level}{version}/games/{year}/{nfl_season}/{nfl_season_week}/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 (o), Trial (ot), or Simulation (sim).
    For more information on simulations, see NFL Official API v2 Simulations.
    version Version number of the API you are accessing (current version: 2).
    year Year in 4 digit format (YYYY).
    nfl_season Preseason (PRE), Regular Season (REG), or Post-Season (PST).
    nfl_season_week The number of weeks into the season in 2 digit format (WW).
    format xml or json.
    your_api_key Your API key.

    To retrieve the XML Schema Definition (.XSD) for the Weekly Schedule, replace the parameters in the following URL.

    https://api.sportradar.us/nfl-{access_level}{version}/schema/schedule-v4.0.xsd?api_key={your_api_key}

    Return to API map

    Push Feeds

    To best utilize Push feeds, we have included code samples in Ruby and Java which provides an example of a way you can consume the feeds. Using these samples will output the feeds content to STDOUT.
    For Java, we have also provided a Stream Client to assist your integration.

    Note: In the provided Java sample, replace “URL GOES HERE” with the desired Push feed URL.

    require 'httpclient'
    
    module Sportradar
        module HTTP
            module Stream
                class Client
                    attr_reader :url, :logger
    
                    def initialize(url, publisher, logger)
                        @url = url
                        @logger = logger
                        @publisher = publisher
                        @client = ::HTTPClient.new(:agent_name => 'SportsData/1.0')
                    end
    
                    def start
                        @thread ||= Thread.new do
                            logger.debug "Starting loop"
                            @client.get_content(url, :follow_redirect => true) do |chunk|
                                @publisher.publish(::JSON.parse(chunk)) if @publisher
                            end
                            logger.debug "finished loop"
                        end
                    end
    
                    def stop
                        @thread.terminate if @thread
                    end
    
                end
            end
        end
    end
    
    package com.sportradar.http.stream.client;
    
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    public class StreamClientTest {
    
        private StreamClient client;
    
        private static String SERVICE_URL = "<URL GOES HERE>";
    
        @Before
        public void setup() {
            client = new StreamClient();
        }
    
        @After
        public void cleanup() {
            client.terminate();
        }
    
        @Test
        public void testStream() throws Exception {
            Handler handler = new ConsoleHandler();
            client.stream(SERVICE_URL, handler);
            System.out.println("Connecting....");
            Thread.sleep(1 * 60 * 1000);
            System.out.println("Disconnecting....");
        }
    
    }
    

    Some of our APIs include Push feeds that allow you to get updates as soon as they are available. Push API feeds automatically send JSON payload to you via a push service, and can dramatically reduce the number of calls you need to make to our RESTful API feeds. The structure of the Push feeds are similar to the structure of the corresponding RESTful API feed (i.e. Push Clock, Push Events, and Push Statistics). The push service ensures reliable and efficient delivery of the most up to date information.

    Our Push services are based on a HTTP publish/subscribe model. When making a call to the Push APIs, you “subscribe” to various data feeds provided by our service; whenever new content is available on one of those feeds, the server pushes that information out to your client. When no new information is available on the feed, a heartbeat message is sent every 5 seconds to keep the connection active. If you want to filter the results of the feeds, there are several optional query string parameters that can be applied to the API call. If left unfiltered, than all data for the feed is displayed (i.e. all games, events, or statistics).

    For your applications to accept data from our Push feeds, ensure that your application can:

    Our Push service does not provide a “stateful session”, there is no memory of what data has been sent previously. If you are disconnected from the Push session, you can use the RESTful API to catch up or recover from the disconnection.

    Syntax for using our Push feeds and examples of the JSON payloads can be found below.

    Push - Clock

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("http://api.sportradar.us/nfl-ot2/stream/clock/subscribe?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.us")
    
    conn.request("GET", "/nfl-ot2/stream/clock/subscribe?api_key={your_api_key}")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -L GET api.sportradar.us/nfl-ot2/stream/clock/subscribe?api_key={your_api_key}
    

    The above command returns json like this.

    This endpoint retrieves the Clock information via Push.

    http://api.sportradar.us/nfl-{access_level}{version}/stream/clock/subscribe?api_key={your_api_key}

    Replace placeholders with the following query parameters:

    URL Parameters Description
    access_level Defines the access level of your API key as Production (o), Trial (ot), or Simulation (sim).
    For more information on simulations, see NFL Official API v2 Simulations.
    version Version number of the API you are accessing (Current Version: 2).
    your_api_key Your API key.

    Optional Query String Parameters

    Example including optional query string parameters:

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("http://api.sportradar.us/nfl-ot2/stream/clock/subscribe?api_key={your_api_key}&status=inprogress&match=sd:match:673b459c-7506-4c11-9273-1b9502537f1d")
    
    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.us")
    
    conn.request("GET", "/nfl-ot2/stream/clock/subscribe?api_key={your_api_key}&status=inprogress&match=sd:match:673b459c-7506-4c11-9273-1b9502537f1d")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -L GET 'api.sportradar.us/nfl-ot2/stream/clock/subscribe?api_key={your_api_key}&status=inprogress&match=sd:match:673b459c-7506-4c11-9273-1b9502537f1d'
    

    In addition to the URL parameters listed above, you can filter the Clock information with one or more of the following optional query string parameters.

    Replace placeholders with the following query parameters:

    Parameters Description
    match Match id expressed as: sd:match:{match_id}.
    Example: sd:match:4d1c4eb9-69d4-46fc-a42b-12be98227964

    Return to API map

    Push - Events

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("http://api.sportradar.us/nfl-ot2/stream/events/subscribe?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.us")
    
    conn.request("GET", "/nfl-ot2/stream/events/subscribe?api_key={your_api_key}")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -L GET api.sportradar.us/nfl-ot2/stream/events/subscribe?api_key={your_api_key}
    

    The above command returns json like this.

    This endpoint retrieves the Events information via Push.

    http://api.sportradar.us/nfl-{access_level}{version}/stream/events/subscribe?api_key={your_api_key}

    Replace placeholders with the following query parameters:

    URL Parameters Description
    access_level Defines the access level of your API key as Production (o), Trial (ot), or Simulation (sim).
    For more information on simulations, see NFL Official API v2 Simulations.
    version Version number of the API you are accessing (Current Version: 2).
    your_api_key Your API key.

    Optional Query String Parameters

    Example including optional query string parameters:

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("http://api.sportradar.us/nfl-ot2/stream/events/subscribe?api_key={your_api_key}&status=inprogress&match=sd:match:673b459c-7506-4c11-9273-1b9502537f1d")
    
    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.us")
    
    conn.request("GET", "/nfl-ot2/stream/events/subscribe?api_key={your_api_key}&status=inprogress&match=sd:match:673b459c-7506-4c11-9273-1b9502537f1d")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -L GET 'api.sportradar.us/nfl-ot2/stream/events/subscribe?api_key={your_api_key}&status=inprogress&match=sd:match:673b459c-7506-4c11-9273-1b9502537f1d'
    

    In addition to the URL parameters listed above, you can filter the Events information with one or more of the following optional query string parameters.

    Replace placeholders with the following query parameters:

    Parameters Description
    event_category Event category expressed as: {event_category}.
    Example: event_category=shot
    event_type Event type expressed as: {event_type}.
    Example: event_type=stoppage
    match Match id expressed as: sd:match:{match_id}.
    Example: sd:match:673b459c-7506-4c11-9273-1b9502537f1d
    status Status type expressed as: inprogress or created.
    Example: status=inprogress
    team Team id expressed as: sd:team:{team_id}.
    Example: sd:team:4415b0a7-0f24-11e2-8525-18a905767e44

    Return to API map

    Push - Statistics

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("http://api.sportradar.us/nfl-ot2/stream/statistics/subscribe?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.us")
    
    conn.request("GET", "/nfl-ot2/stream/statistics/subscribe?api_key={your_api_key}")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -L GET api.sportradar.us/nfl-ot2/stream/statistics/subscribe?api_key={your_api_key}
    

    The above command returns json like this.

    This endpoint retrieves the Statistics information via Push.

    http://api.sportradar.us/nfl-{access_level}{version}/stream/statistics/subscribe?api_key={your_api_key}

    Replace placeholders with the following query parameters:

    URL Parameters Description
    access_level Defines the access level of your API key as Production (o), Trial (ot), or Simulation (sim).
    For more information on simulations, see NFL Official API v2 Simulations.
    version Version number of the API you are accessing (Current Version: 2).
    your_api_key Your API key.

    Optional Query String Parameters

    Example including optional query string parameters:

    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("http://api.sportradar.us/nfl-ot2/stream/statistics/subscribe?api_key={your_api_key}&status=inprogress&match=sd:match:673b459c-7506-4c11-9273-1b9502537f1d")
    
    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.us")
    
    conn.request("GET", "/nfl-ot2/stream/statistics/subscribe?api_key={your_api_key}&status=inprogress&match=sd:match:673b459c-7506-4c11-9273-1b9502537f1d")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -L GET 'api.sportradar.us/nfl-ot2/stream/statistics/subscribe?api_key={your_api_key}&status=inprogress&match=sd:match:673b459c-7506-4c11-9273-1b9502537f1d'
    

    In addition to the URL parameters listed above, you can filter the Statistics information with one or more of the following optional query string parameters.

    Replace placeholders with the following query parameters:

    Parameters Description
    match Match id expressed as: sd:match:{match_id}.
    Example: sd:match:4d1c4eb9-69d4-46fc-a42b-12be98227964
    participant Team or player id expressed as: sd:team:{team_id} or sd:player:{player_id} Examples: sd:team:82cf9565-6eb9-4f01-bdbd-5aa0d472fcd9 or sd:player:e3181493-6a2a-4e95-aa6f-3fc1ddeb7512
    status Status type expressed as: inprogress or created.
    Example: status=inprogress

    Return to API map

    NFL Official API v1

    Statistics Summary
    Documentation
    Change Log




    API API Version Failover
    Official NFL v1 Failover DetailsFailover Summary

    NFL API Map

    To best utilize the NFL 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 team a player was drafted by:

    1. Call the season or weekly schedule and find a Game Id that they played in
    2. Call the Game Roster using the Game Id to get the Player Id
    3. Call the Player Profile and locate the Player Draft Team Alias.

    The Alias maps to the team that drafted the player.

      To find a teams number of defensive sacks:

      1. Call the season or weekly schedule and find the desired Team Id
      2. Call the Seasonal Statistics using the Team Id
      3. Locate the Team Defense Sacks.

      The teams number of defensive sacks is displayed.

      Primary and additional feeds only require dates or human-readable parameters, while other feeds require a global unique identifier (GUID) to identify the game, team, or player that the feed will discribe. The primary feeds provide GUIDs for games and teams, while games and teams provide GUIDS for players.

      Daily Change Log

      This feed displays information on teams, players, game statistics, schedules, and standings that have changed after initial posting. If a statistic has been modified, the Daily Change Log will display the Id and Last Modified timestamp. Using the Id for the team, player, game, schedule, or standing you can use another feed to view the change.

      Update Frequency: 5am CST Daily
      Content Type: Raw XML or JSON
      Data Points: Game Id
      League Alias
      League Id
      League Name
      League Season Id
      Player Full Name
      Player Id
      Team Alias
      Team Id
      Team Market
      Team Name

      To generate the Daily Change Log for 05/24/2016 replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ot1/league/2016/05/24/changes.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.us")
      
      conn.request("GET", "/nfl-ot1/league/2016/05/24/changes.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ot1/league/2016/05/24/changes.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      Access the Daily Change Log feed by replacing the parameters in the following URL:

      https://api.sportradar.us/nfl-{access_level}{version}/league/{year}/{month}/{day}/changes.{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 (o), Trial (ot).
      version Version number of the API you are accessing (current version: 1).
      year Year in 4 digit format (YYYY).
      month Month in 2 digit format (MM).
      day Day of month 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 Change Log, replace the parameters in the following URL.

      https://api.sportradar.us/nfl-{access_level}{version}/schema/changelog-v2.0.xsd?api_key={your_api_key}

      Return to API map

      Game Boxscore

      This feed displays game scoring information for each team, including complete play information for all scoring drives.

      Update Frequency: Real-time
      Content Type: Styled XML or Raw JSON
      Data Points: Attendance
      Away Team Points for Quarter
      Away Team Timeouts Remaining
      Away Team Timeouts Used
      Away Team Total Points
      Clock
      Current Situation Clock
      Current Situation Down
      Current Situation Team Alias
      Current Situation Team Id
      Current Situation Team Market
      Current Team Name
      Current Situation Team Ref
      Current Situation Team Yardline
      Current Situation Possession Team Alias
      Current Situation Possession Team Id
      Current Situation Possession Team Market
      Current Situation Possession Team Name
      Current Situation Possession Team Ref
      Current Situation Yards to First Down
      Home Team Points for Quarter
      Home Team Timeouts Remaining
      Home Team Timeouts Used
      Home Team Total Points
      Last Event Alternate Description
      Last Event Clock
      Last Event Description
      Last Event Id
      Last Event Reference
      Last Event Sequence
      Last Event Type
      Officials Assignment
      Officials Full Name
      Officials Number
      Quarter
      Quarter Id
      Quarter Number
      Quarter Sequence

      To generate the Game Boxscore for the Game ID below replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ot1/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/boxscore.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.us")
      
      conn.request("GET", "/nfl-ot1/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/boxscore.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ot1/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/boxscore.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the boxscore information for a specific game.

      https://api.sportradar.us/nfl-{access_level}{version}/games/{game_id}/boxscore.{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 (o), Trial (ot).
      version Version number of the API you are accessing (current version: 1).
      game_id ID for a given game.
      format xml or json.
      your_api_key Your API key.

      To retrieve the XML Schema Definition (.XSD) for the Game Boxscore, replace the parameters in the following URL.

      https://api.sportradar.us/nfl-{access_level}{version}/schema/boxscore-v2.0.xsd?api_key={your_api_key}

      Return to API map

      Game Roster

      Game roster information for each team as well as player profile data, including NFL related reference ids.

      Update Frequency: As Necessary
      Content Type: Styled XML or JSON
      Data Points: Boxscore Attendance
      Boxscore Clock
      Boxscore Quarter
      Game Away Team Alias
      Game Away Team Game Reference
      Game Away Team Id
      Game Away Team Market
      Game Away Team Name
      Game Home Team Alias
      Game Home Team Game Reference
      Game Home Team Id
      Game Home Team Market
      Game Home Team Name
      Game Id
      Game Number
      Game Reference
      Game Scheduled Start Date/Time
      Game Status
      Game Weather
      League Season Id
      League Season Name
      League Season Type
      League Season Year
      League Week Id
      League Week Sequence
      League Week Title
      Player Abbreviated Name
      Player Age (at time of game)
      Player Birth Date
      Player Birth Place
      Player College
      Player College Conference
      Player Draft Number
      Player Draft Round
      Player Draft Year
      Player First Name
      Player Full Name
      Player Height
      Player High School
      Player Id
      Player Jersey Number
      Player Last Name
      Player Position
      Player Preferred Name
      Player Reference Id
      Player Reference Origin
      Player Rookie Year
      Player Status
      Player Weight
      Team Alias
      Team Id
      Team Market
      Team Name
      Venue Address
      Venue Capacity
      Venue City
      Venue Country
      Venue Id
      Venue Name
      Venue Roof Type
      Venue State
      Venue Surface
      Venue Zip

      To generate the Game Roster for the Game ID below replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ot1/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/roster.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.us")
      
      conn.request("GET", "/nfl-ot1/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/roster.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ot1/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/roster.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the roster information for a specific game.

      https://api.sportradar.us/nfl-{access_level}{version}/games/{game_id}/roster.{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 (o), Trial (ot).
      version Version number of the API you are accessing (current version: 1).
      game_id ID for a given game.
      format xml or json.
      your_api_key Your API key.

      To retrieve the XML Schema Definition (.XSD) for the Game Roster, replace the parameters in the following URL.

      https://api.sportradar.us/nfl-{access_level}{version}/schema/roster-v2.0.xsd?api_key={your_api_key}

      Return to API map

      Game Statistics

      Team and player level game statistics for each team.

      Update Frequency: Real-time
      Content Type: Styled XML or Raw JSON
      Boxscore Data Points: Attendance
      Away Team Timeouts Remaining
      Away Team Timeouts Used
      Away Team Total Points
      Clock
      Home Team Timeouts Remaining
      Home Team Timeouts Used
      Home Team Total Points
      Quarter
      Game Info Data Points: Away Team Alias
      Away Team Game Reference
      Away Team Id
      Away Team Market
      Away Team Name
      Home Team Alias
      Home Team Game Reference
      Home Team Id
      Home Team Market
      Home Team Name
      Id
      Number
      Reference
      Scheduled Start Date/Time
      Status
      Weather
      Player Data Points: Conversions Attempts
      Conversion Category
      Conversion Successes
      Defense Assisted Tackles
      Defense Combined Tackles
      Defense Forced Fumbles
      Defense Fumble Recoveries
      Defense Interceptions
      Defense Miscellaneous Assisted Tackles
      Defense Miscellaneous Forced Fumbles
      Defense Miscellaneous Fumble Recoveries
      Defense Miscellaneous Tackles
      Defense Passes Defended
      Defense QB Hits
      Defense Sack Yards
      Defense Sacks
      Defense Safeties
      Defense Special Teams Assisted Tackles
      Defense Special Teams Blocks
      Defense Special Teams Forced Fumbles
      Defense Special Teams Fumble Recoveries
      Defense Special Teams Tackles
      Defense Tackles
      Defense Tackles for Loss
      Defense Tackles for Loss Yards
      Extra Points Kicking Attempts
      Extra Points Kicking Blocked
      Extra Points Kicking Made
      Field Goals Attempts
      Field Goals Average Yards
      Field Goals Blocked
      Field Goals Longest
      Field Goals Made
      Field Goal Yards
      Fumbles End Zone Touchdowns
      Fumbles Force Fumbles
      Fumbles Fumbles
      Fumbles Lost Fumbles
      Fumbles Opponent Recovery
      Fumbles Opponent Recovery Touchdowns
      Fumbles Opponent Recovery Yards
      Fumbles Out of Bounds
      Fumbles Own Recovery
      Fumbles Own Recovery Touchdowns
      Fumbles Own Recovery Yards
      Interception Returns Average Yards
      Interception Returns Longest
      Interception Returns Longest Touchdown
      Interception Returns
      Interception Returns Touchdowns
      Interception Returns Yards
      Kick Returns Average Yards
      Kick Returns Fair Catches
      Kick Returns Longest
      Kick Returns Longest Touchdown
      Kick Returns Returns
      Kick Returns Touchdowns
      Kick Returns Yards
      Kickoffs End Zone
      Kickoffs Inside 20
      Kickoffs
      Kickoffs Out of Bounds
      Kickoffs Return Yards
      Kickoffs Touchbacks
      Kickoffs Yards
      Passing Air Yards
      Passing Attempts
      Passing Average Yards
      Passing Completion Percentage
      Passing Completions
      Passing Interceptions
      Passing Longest
      Passing Longest Touchdown
      Passing Rating
      Passing Red Zone Attempts
      Passing Sack Yards
      Passing Sacks
      Passing Touchdowns
      Passing Yards
      Punt Return Average Yards
      Punt Return Fair Catches
      Punt Return Longest
      Punt Return Longest Touchdown
      Punt Returns
      Punt Return Touchdowns
      Punt Return Yards
      Punts Attempts
      Punts Average Net Yards
      Punts Average Yards
      Punts Blocked
      Punts Inside 20
      Punts Longest
      Punts Net Yards
      Punts Return Yards
      Punts Touchbacks
      Punts Yards
      Receiving Air Yards
      Receiving Average Yards
      Receiving Longest
      Receiving Longest Touchdown
      Receiving Receptions
      Receiving Red Zone Targets
      Receiving Targets
      Receiving Touchdowns
      Receiving Yards
      Receiving Yards After Catch
      Rushing Attempts
      Rushing Average Yards
      Rushing Longest
      Rushing Longest Touchdown
      Rushing Red Zone Attempts
      Rushing Touchdowns
      Rushing Yards
      Team Data Points: Conversions Defense Attempts
      Conversions Defense Successes
      Conversions Pass Attempts
      Conversions Pass Successes
      Conversions Rush Attempts
      Conversions Rush Successes
      Conversions Turnover Successes
      Defense Assisted Tackles
      Defense Combined Tackles
      Defense Forced Fumbles
      Defense Fumble Recoveries
      Defense Interceptions
      Defense Miscellaneous Assisted Tackles
      Defense Miscellaneous Forced Fumbles
      Defense Miscellaneous Fumble Recoveries
      Defense Miscellaneous Tackles
      Defense Passes Defended
      Defense QB Hits
      Defense Sack Yards
      Defense Sacks
      Defense Safeties
      Defense Special Teams Assisted Tackles
      Defense Special Teams Blocks
      Defense Special Teams Forced Fumbles
      Defense Special Teams Fumble Recoveries
      Defense Special Teams Tackles
      Defense Tackles
      Defense Tackles for Loss
      Defense Tackles for Loss Yards
      Efficiency 3rd Down Attempts
      Efficiency 3rd Down Conversions
      Efficiency 3rd Down Percentage
      Efficiency 4th Down Attempts
      Efficiency 4th Down Conversions
      Efficiency 4th Down Percentage
      Efficiency Goal to Go Attempts
      Efficiency Goal to Go Conversions
      Efficiency Goal to Go Percentage
      Efficiency Red Zone Attempts
      Efficiency Red Zone Conversions
      Efficiency Red Zone Percentage
      Extra Points Kicking Attempts
      Extra Points Kicking Blocked
      Extra Points Kicking Made
      Field Goals Attempts
      Field Goals Average Yards
      Field Goals Blocked
      Field Goals Longest
      Field Goals Made
      Field Goals Net Attempts
      Field Goals Yards
      First Downs Passing
      First Downs Penalty
      First Downs Rushing
      First Downs Total
      Fumbles End Zone Touchdowns
      Fumbles Force Fumbles
      Fumbles Fumbles
      Fumbles Lost Fumbles
      Fumbles Opponent Recovery
      Fumbles Opponent Recovery Touchdowns
      Fumbles Opponent Recovery Yards
      Fumbles Out of Bounds
      Fumbles Own Recovery
      Fumbles Own Recovery Touchdowns
      Fumbles Own Recovery Yards
      Interception Returns Average Yards
      Interception Returns Longest
      Interception Returns Longest Touchdown
      Interception Returns Returns
      Interception Returns Touchdowns
      Interception Returns Yards
      Interceptions
      Interceptions Return Yards
      Interceptions Returned
      Kick Returns Average Yards
      Kick Returns Fair Catches
      Kick Returns Longest
      Kick Returns Longest Touchdown
      Kick Returns Returns
      Kick Returns Touchdowns
      Kick Returns Yards
      Kickoffs End Zone
      Kickoffs Inside 20
      Kickoffs
      Kickoffs Out of Bounds
      Kickoffs Return Yards
      Kickoffs Touchbacks
      Kickoffs Yards
      Misc Returns Blocked Field Goal Touchdowns
      Misc Returns Blocked Punt Touchdowns
      Misc Returns End Zone Recovery Touchdowns
      Misc Returns Field Goal Return Touchdowns
      Misc Returns Returns
      Misc Returns Touchdowns
      Misc Returns Yards
      Passing Air Yards
      Passing Attempts
      Passing Average Yards
      Passing Completion Percentage
      Passing Completions
      Passing Gross Yards
      Passing Interceptions
      Passing Longest
      Passing Longest Touchdown
      Passing Rating
      Passing Red Zone Attempts
      Passing Sack Yards
      Passing Sacks
      Passing Touchdowns
      Passing Yards
      Punt Returns Average Yards
      Punt Returns Fair Catches
      Punt Returns Longest
      Punt Returns Longest Touchdown
      Punt Returns
      Punt Returns Touchdowns
      Punt Returns Yards
      Punts Attempts
      Punts Average Net Yards
      Punts Average Yards
      Punts Blocked
      Punts Inside 20
      Punts Longest
      Punts Net Yards
      Punts Return Yards
      Punts Touchbacks
      Punts Yards
      Receiving Air Yards
      Receiving Average Yards
      Receiving Longest
      Receiving Longest Touchdown
      Receiving Receptions
      Receiving Red Zone Targets
      Receiving Targets
      Receiving Touchdowns
      Receiving Yards
      Receiving Yards After Catch
      Rushing Attempts
      Rushing Average Yards
      Rushing Longest
      Rushing Longest Touchdown
      Rushing Red Zone Attempts
      Rushing Tackles for Loss
      Rushing Tackles for Loss Yards
      Rushing Touchdowns
      Rushing Yards
      Touchdowns Fumble Return
      Touchdowns Interception Return
      Touchdowns Kick Return
      Touchdowns Other
      Touchdowns Pass
      Touchdowns Punt Return
      Touchdowns Rush
      Touchdowns Total
      Touchdowns Total Return
      Team Summary Data Points: Average Gain
      Fumbles
      Fumbles Lost
      Penalties
      Penalty Yards
      Play Count
      Possession Time
      Return Yards
      Rushing Plays
      Safeties
      Total Yards
      Turnovers
      League Information Data Points: Season Id
      Season Name
      Season Type
      Season Year
      Week Id
      Week Sequence
      Week Title
      Player Information Data Points: Full Name
      Game Reference
      Id
      Jersey Number
      Position
      Team Information Data Points: Alias
      Game Reference
      Id
      Market
      Name
      Venue Data Points: Address
      Capacity
      City
      Country
      Id
      Name
      Roof Type
      State
      Surface
      Zip

      To generate the Game Statistics for the Game ID below replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ot1/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/statistics.xml?api_key={your_api_key}")
      
      http = Net::HTTP.new(url.host, url.port)
      http.use_ssl = true
      http.verify_mode = OpenSSL::SSL::VERIFY_NONE
      
      request = Net::HTTP::Get.new(url)
      
      response = http.request(request)
      puts response.read_body
      
      import http.client
      
      conn = http.client.HTTPSConnection("api.sportradar.us")
      
      conn.request("GET", "/nfl-ot1/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/statistics.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ot1/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/statistics.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the game statistics for a specific game.

      https://api.sportradar.us/nfl-{access_level}{version}/games/{game_id}/statistics.{format}?api_key={your_api_key}

      Replace placeholders with the following query parameters:

      Parameter Description
      access_level Defines the access level of your API key as Production (o), Trial (ot).
      version Version number of the API you are accessing (current version: 1).
      game_id ID for a given game.
      format xml or json.
      your_api_key Your API key.

      To retrieve the XML Schema Definition (.XSD) for Game Statistics, replace the parameters in the following URL.

      https://api.sportradar.us/nfl-{access_level}{version}/schema/statistics-v2.0.xsd?api_key={your_api_key}

      Return to API map

      League Hierarchy

      Complete league hierarchy information including team information such as venues and NFL reference ids.

      Update Frequency: As Necessary
      Content Type: Raw XML or JSON
      Data Points: League Alias
      League Conference Alias
      League Conference Id
      League Conference Name
      League Division Alias
      League Division Id
      League Division Name
      League Id
      League Name
      Team Alias
      Team Id
      Team Market
      Team Name
      Team Reference Id
      Team Reference Origin
      Venue Address
      Venue Capacity
      Venue City
      Venue Country
      Venue Id
      Venue Name
      Venue Roof Type
      Venue State
      Venue Surface
      Venue Zip

      To generate the League Hierarchy replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ot1/league/hierarchy.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.us")
      
      conn.request("GET", "/nfl-ot1/league/hierarchy.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ot1/league/hierarchy.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the League Hierarchy.

      https://api.sportradar.us/nfl-{access_level}{version}/league/hierarchy.{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 (o), Trial (ot).
      version Version number of the API you are accessing (current version: 1).
      format xml or json.
      your_api_key Your API key.

      To retrieve the XML Schema Definition (.XSD) for the League Hierarchy, replace the parameters in the following URL.

      https://api.sportradar.us/nfl-{access_level}{version}/schema/hierarchy-v2.0.xsd?api_key={your_api_key}

      Return to API map

      Play-By-Play

      Complete play by play narrative including possession and location information as well as team and statistics earned on each play.

      Update Frequency: Real-Time
      Content Type: Raw XML or JSON
      Boxscore Data Points: Attendance
      Away Team Points for Quarter
      Away Team Timeouts Remaining
      Away Team Timeouts Used
      Away Team Total Points
      Clock
      Home Team Points for Quarter
      Home Team Timeouts Remaining
      Home Team Timeouts Used
      Home Team Total Points
      Quarter
      Quarter Id
      Quarter Number
      Quarter Sequence
      Game Information Data Points: Away Team Alias
      Away Team Game Reference
      Away Team Id
      Away Team Market
      Away Team Name
      Home Team Alias
      Home Team Game Reference
      Home Team Id
      Home Team Market
      Home Team Name
      Id
      Number
      Reference
      Scheduled Start Date/Time
      Status
      Weather
      League Information Data Points: Season Id
      Season Name
      Season Type
      Season Year
      Week Id
      Week Sequence
      Week Title
      Play-By-Play Data Points: Drive Duration
      Drive End Reason
      Drive First Downs
      Drive Gain
      Drive Id
      Drive Inside 20 Flag
      Drive Penalty Yards
      Drive Play Count
      Drive Scoring Drive Flag
      Drive Sequence
      Drive Start Reason
      Ending Situation Clock
      Ending Situation Down
      Ending Situation Location Team Alias
      Ending Situation Location Team Id
      Ending Situation Location Team Market
      Ending Situation Location Team Name
      Ending Situation Location Team Reference
      Ending Situation Location Team Yardline
      Ending Situation Possession Team Alias
      Ending Situation Possession Team Id
      Ending Situation Possession Team Market
      Ending Situation Possession Team Name
      Ending Situation Possession Team Reference
      Ending Situation Yards to First Down
      Event Alternate Description
      Event Clock
      Event Description
      Event Id
      Event Reference
      Event Sequence
      Event Type
      Play Alternate Description
      Play Away Points
      Play Clock
      Play Description
      Play Home Points
      Play Id
      Play Clock
      Play Reference
      Play Sequence
      Play Type
      Play Wall Clock
      Points After Play Id
      Points After Reference
      Points After Score Type
      Points After Sequence
      Scoring Away Team Score
      Scoring Clock
      Scoring Home Team Score
      Scoring Points
      Scoring Sequence
      Starting Situation Clock
      Starting Situation Down
      Starting Situation Location Team Alias
      Starting Situation Location Team Id
      Starting Situation Location Team Market
      Starting Situation Location Team Name
      Starting Situation Location Team Reference
      Starting Situation Location Team Yardline
      Starting Situation Possession Team Alias
      Starting Situation Possession Team Id
      Starting Situation Possession Team Market
      Starting Situation Possession Team Name
      Starting Situation Possession Team Reference
      Starting Situation Yards to First Down
      Play Statistics Data Points: Conversion Attempts
      Conversions Complete
      Conversions Down
      Defense Assisted Tackles
      Defense Interception
      Defense Interception Yards
      Defense Nullified Play Flag
      Defense Pass Defended
      Defense Primary
      Defense QB Hit
      Defense Sack
      Defense Sack Yards
      Defense Tackle for Loss
      Defense Tackle for Loss Yards
      Defense Tackles
      Extra Points Attempt
      Field Goals Attempt
      Field Goals Attempt Yards
      Field Goals Missed
      Field Goals Yards
      First Down Category
      Kickoffs End Zone
      Kickoffs Gross Yards
      Kickoffs Inside 20
      Kickoffs
      Kickoffs Touchback
      Kickoffs Yards
      Passing Attempt
      Passing Attempt Yards
      Passing Completion
      Passing First Down
      Passing Goal to Go
      Passing Inside 20
      Passing Interception
      Passing Sack
      Passing Sack Yards
      Passing Touchdown
      Passing Yards
      Penalties
      Penalties Yards
      Punting Attempt
      Punting Downed
      Punting Fair Catch
      Punting Inside 20
      Punting Out of Bounds
      Punting Touchback
      Punting Yards
      Receiving First Down
      Receiving Goal to Go
      Receiving Inside 20
      Receiving Reception
      Receiving Target
      Receiving Touchdown
      Receiving Yards
      Receiving Yards After Catch
      Returns Category
      Returns Downed
      Returns Fair Catch
      Returns Out of Bounds
      Returns Return
      Returns Touchback
      Returns Yards
      Rushing Attempt
      Rushing First Down
      Rushing Goal to Go
      Rushing Inside 20
      Rushing Tackle for Loss
      Rushing Tackle for Loss Yards
      Rushing Touchdown
      Rushing Yards
      Player Information Data Points: Full Name
      Game Reference
      Id
      Jersey Number
      Position
      Team Information Data Points: Alias
      Game Reference
      Id
      Market
      Name
      Venue Data Points: Address
      Capacity
      City
      Country
      Id
      Name
      Roof Type
      State
      Surface
      Zip

      To generate the Play-By-Play for the Game ID below replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ot1/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/pbp.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.us")
      
      conn.request("GET", "/nfl-ot1/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/pbp.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ot1/games/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/pbp.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the Play-By-Play information for a specific game.

      https://api.sportradar.us/nfl-{access_level}{version}/games/{game_id}/pbp.{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 (o), Trial (ot).
      version Version number of the API you are accessing (current version: 1).
      game_id ID for a given game.
      format xml or json.
      your_api_key Your API key.

      To retrieve the XML Schema Definition (.XSD) for Play-By-Play, replace the parameters in the following URL.

      https://api.sportradar.us/nfl-{access_level}{version}/schema/pbp-v2.0.xsd?api_key={your_api_key}

      Return to API map

      Player Profile

      Player biographical information, NFL related reference ids, draft information, as well as seasonal statistics for the regular and post season.

      Update Frequency: As Necessary
      Content Type: Raw XML or JSON
      League Information Data Points: Season Id
      Season Name
      Season Type Season Year
      Player Information Data Points: Abbreviated Name
      Birth Date
      Birth Place
      College
      College Conference
      Draft Info Number
      Draft Info Round
      Draft Info Year
      Draft Team Alias
      Draft Team Id
      Draft Team Market
      Draft Team Name
      First Name
      Full Name
      Height
      High School
      Id
      Jersey Number
      Last Name
      Position
      Preferred Name
      Reference Id
      Reference Origin
      Rookie Year
      Status
      Weight
      Seasonal Player Statistics Data Points: Conversions Defense Attempts
      Conversions Defense Successes
      Conversions Pass Attempts
      Conversions Pass Successes
      Conversions Receiving Attempts
      Conversions Receiving Successes
      Conversions Rush Attempts
      Conversions Rush Successes
      Defense Assisted Tackles
      Defense Combined Tackles
      Defense Forced Fumbles
      Defense Fumble Recoveries
      Defense Interceptions
      Defense Miscellaneous Assisted Tackles
      Defense Miscellaneous Forced Fumbles
      Defense Miscellaneous Fumble Recoveries
      Defense Miscellaneous Tackles
      Defense Passes Defended
      Defense QB Hits
      Defense Sack Yards
      Defense Sacks
      Defense Safeties
      Defense Special Teams Assisted Tackles
      Defense Special Teams Blocks
      Defense Special Teams Forced Fumbles
      Defense Special Teams Fumble Recoveries
      Defense Special Teams Tackles
      Defense Tackles
      Defense Tackles for Loss
      Defense Tackles for Loss Yards
      Extra Points Kicking Attempts
      Extra Points Kicking Blocked
      Extra Points Kicking Made
      Field Goals Attempts
      Field Goals Average Yards
      Field Goals Blocked
      Field Goals Longest
      Field Goals Made
      Field Goals Yards
      Fumbles End Zone Recovery Touchdowns
      Fumbles Force Fumbles
      Fumbles
      Fumbles Lost
      Fumbles Opponent Recovery
      Fumbles Opponent Recovery Touchdowns
      Fumbles Opponent Recovery Yards
      Fumbles Out of Bounds
      Fumbles Own Recovery
      Fumbles Own Recovery Touchdowns
      Fumbles Own Recovery Yards
      Games Played
      Games Started
      Interception Returns Average Yards
      Interception Returns Longest
      Interception Returns Longest Touchdown
      Interception Returns Returns
      Interception Returns Touchdowns
      Interception Returns Yards
      Kick Returns Average Yards
      Kick Returns Fair Catches
      Kick Returns Longest
      Kick Returns Longest Touchdown
      Kick Returns
      Kick Returns Touchdowns
      Kick Returns Yards
      Kickoffs End Zone
      Kickoffs Inside 20
      Kickoffs
      Kickoffs Out of Bounds
      Kickoffs Return Yards
      Kickoffs Touchbacks
      Kickoffs Yards
      Passing Air Yards
      Passing Attempts
      Passing Average Yards
      Passing Completion Percentage
      Passing Completions
      Passing Gross Yards
      Passing Interceptions
      Passing Longest
      Passing Longest Touchdown
      Passing Rating
      Passing Red Zone Attempts
      Passing Sack Yards
      Passing Sacks
      Passing Touchdowns
      Passing Yards
      Punt Returns Average Yards
      Punt Returns Fair Catches
      Punt Returns Longest
      Punt Returns Longest Touchdown
      Punt Returns Returns
      Punt Returns Touchdowns
      Punt Returns Yards
      Punts Attempts
      Punts Average Net Yards
      Punts Average Yards
      Punts Blocked
      Punts Inside 20
      Punts Longest
      Punts Net Yards
      Punts Return Yards
      Punts Touchbacks
      Punts Yards
      Receiving Air Yards
      Receiving Average Yards
      Receiving Longest
      Receiving Longest Touchdown
      Receiving Receptions
      Receiving Red Zone Targets
      Receiving Targets
      Receiving Touchdowns
      Receiving Yards
      Receiving Yards After Catch
      Rushing Attempts
      Rushing Average Yards
      Rushing Longest
      Rushing Longest Touchdown
      Rushing Red Zone Attempts
      Rushing Touchdowns
      Rushing Yards
      Team Data Points: Alias
      Id
      Market Name

      To generate a Player Profile for the Player ID below replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ot1/players/0acdcd3b-5442-4311-a139-ae7c506faf88/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
      
      import http.client
      
      conn = http.client.HTTPSConnection("api.sportradar.us")
      
      conn.request("GET", "/nfl-ot1/players/0acdcd3b-5442-4311-a139-ae7c506faf88/profile.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ot1/players/0acdcd3b-5442-4311-a139-ae7c506faf88/profile.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the Player Profile for a specific player.

      https://api.sportradar.us/nfl-{access_level}{version}/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 (o), Trial (ot).
      version Version number of the API you are accessing (current version: 1).
      player_id ID for a given player.
      format xml or json.
      your_api_key Your API key.

      To retrieve the XML Schema Definition (.XSD) for the Player Profile, replace the parameters in the following URL.

      https://api.sportradar.us/nfl-{access_level}{version}/schema/profile-v2.0.xsd?api_key={your_api_key}

      Return to API map

      Season Schedule

      Complete schedule information for the entire season, including game, team, and venue information.

      Update Frequency: As Necessary
      Content Type: Raw XML or JSON
      Boxscore Data Points: Attendance Clock Quarter
      Game Information Data Points: Away Team Alias
      Away Team Full Name
      Away Team Game Number
      Away Team Id
      Broadcast Internet
      Broadcast Network
      Broadcast Satellite
      Home Team Alias
      Home Team Full Name
      Home Team Game Number
      Home Team Id
      Id
      Number
      Reference
      Scheduled Start Date/Time
      Status
      League Information Data Points: Season Id
      Season Name
      Season Type
      Season Year
      Week Id
      Week Sequence
      Week Title
      Venue Data Points: Address
      Capacity
      City
      Country
      Id
      Name
      Roof Type
      State
      Surface
      Zip

      To generate the Schedule for the Season and Year below replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ot1/games/2006/reg/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
      
      import http.client
      
      conn = http.client.HTTPSConnection("api.sportradar.us")
      
      conn.request("GET", "/nfl-ot1/games/2006/reg/schedule.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ot1/games/2006/reg/schedule.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the Schedule for a specific season.

      https://api.sportradar.us/nfl-{access_level}{version}/games/{year}/{nfl_season}/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 (o), Trial (ot).
      version Version number of the API you are accessing (current version: 1).
      year Year in 4 digit format (YYYY).
      nfl_season Preseason (PRE), Regular Season (REG), or Post-Season (PST).
      format xml or json.
      your_api_key Your API key.

      To retrieve the XML Schema Definition (.XSD) for the Schedule, replace the parameters in the following URL.

      https://api.sportradar.us/nfl-{access_level}{version}/schema/schedule-v2.0.xsd?api_key={your_api_key}

      Return to API map

      Seasonal Statistics

      Complete team and player seasonal statistics for the specific season and season type.

      Update Frequency: As Necessary
      Content Type: Raw XML or JSON
      League Information Data Points: Season Id
      Season Name
      Season Type Season Year
      Player Information Data Points: Full Name
      Id
      Jersey Number
      Position
      Reference
      Opponent Seasonal Data Points: Conversions Defense Attempts
      Conversions Defense Successes
      Conversions Pass Attempts
      Conversions Pass Successes
      Conversions Rush Attempts
      Conversions Rush Successes
      Conversions Turnover Successes
      Defense Assisted Tackles
      Defense Combined Tackles
      Defense Forced Fumbles
      Defense Fumble Recoveries
      Defense Interceptions
      Defense Miscellaneous Assisted Tackles
      Defense Miscellaneous Forced Fumbles
      Defense Miscellaneous Fumble Recoveries
      Defense Miscellaneous Tackles
      Defense Passes Defended
      Defense QB Hits
      Defense Sack Yards
      Defense Sacks
      Defense Safeties
      Defense Special Teams Assisted Tackles
      Defense Special Teams Blocks
      Defense Special Teams Forced Fumbles
      Defense Special Teams Fumble Recoveries
      Defense Special Teams Tackles
      Defense Tackles
      Defense Tackles for Loss
      Defense Tackles for Loss Yards
      Efficiency 3rd Down Attempts
      Efficiency 3rd Down Conversions
      Efficiency 3rd Down Percentage
      Efficiency 4th Down Attempts
      Efficiency 4th Down Conversions
      Efficiency 4th Down Percentage
      Efficiency Goal to Go Attempts
      Efficiency Goal to Go Conversions
      Efficiency Goal to Go Percentage
      Efficiency Red Zone Attempts
      Efficiency Red Zone Conversions
      Efficiency Red Zone Percentage
      Extra Points Kicking Attempts
      Extra Points Kicking Blocked
      Extra Points Kicking Made
      Field Goals Attempts
      Field Goals Average Yards
      Field Goals Blocked
      Field Goals Longest
      Field Goals Made
      Field Goals Yards
      First Downs Passing
      First Downs Penalty
      First Downs Rushing
      First Downs Total
      Fumbles End Zone Recovery Touchdowns
      Fumbles Force Fumbles
      Fumbles
      Fumbles Lost
      Fumbles Opponent Recovery
      Fumbles Opponent Recovery Touchdowns
      Fumbles Opponent Recovery Yards
      Fumbles Out of Bounds
      Fumbles Own Recovery
      Fumbles Own Recovery Touchdowns
      Fumbles Own Recovery Yards
      Games Played
      Interception Returns Average Yards
      Interception Returns Longest
      Interception Returns Longest Touchdown
      Interception Returns Returns
      Interception Returns Touchdowns
      Interception Returns Yards
      Interceptions
      Interceptions Return Yards
      Interceptions Returned
      Kick Returns Average Yards
      Kick Returns Fair Catches
      Kick Returns Longest
      Kick Returns Longest Touchdown
      Kick Returns Returns
      Kick Returns Touchdowns
      Kick Returns Yards
      Kickoffs End Zone
      Kickoffs Inside 20
      Kickoffs
      Out of Bounds
      Kickoffs Return Yards
      Kickoffs Returned
      Kickoffs Touchbacks
      Kickoffs Yards
      Passing Air Yards
      Passing Attempts
      Passing Average Yards
      Passing Completion Percentage
      Passing Completions
      Passing Gross Yards
      Passing Interceptions
      Passing Longest
      Passing Longest Touchdown
      Passing Rating
      Passing Red Zone Attempts
      Passing Sack Yards
      Passing Sacks
      Passing Touchdowns
      Passing Yards
      Punt Returns Average Yards
      Punt Returns Fair Catches
      Punt Returns Longest
      Punt Returns Longest Touchdown
      Punt Returns
      Punt Returns Touchdowns
      Punt Returns Yards
      Punts Attempts
      Punts Average Net Yards
      Punts Average Yards
      Punts Blocked
      Punts Inside 20
      Punts Longest
      Punts Net Yards
      Punts Return Yards
      Punts Touchbacks
      Punts Yards
      Receiving Air Yards
      Receiving Average Yards
      Receiving Longest
      Receiving Longest Touchdown
      Receiving Receptions
      Receiving Red Zone Targets
      Receiving Targets
      Receiving Touchdowns
      Receiving Yards
      Receiving Yards After Catch
      Rushing Attempts
      Rushing Average Yards
      Rushing Longest
      Rushing Longest Touchdown
      Rushing Red Zone Attempts
      Rushing Tackles for Loss
      Rushing Tackles for Loss Yards
      Rushing Touchdowns
      Rushing Yards
      Touchdowns Fumble Return
      Touchdowns Interception Return
      Touchdowns Kick Return
      Touchdowns Other
      Touchdowns Pass
      Touchdowns Punt Return
      Touchdowns Rush
      Touchdowns Total
      Touchdowns Total Return
      Player Seasonal Data Points: Conversions Defense Attempts
      Conversions Defense Successes
      Conversions Pass Attempts
      Conversions Pass Successes
      Conversions Receiving Attempts
      Conversions Receiving Successes
      Conversions Rush Attempts
      Conversions Rush Successes
      Defense Assisted Tackles
      Defense Combined Tackles
      Defense Forced Fumbles
      Defense Fumble Recoveries
      Defense Interceptions
      Defense Miscellaneous Assisted Tackles
      Defense Miscellaneous Forced Fumbles
      Defense Miscellaneous Fumble Recoveries
      Defense Miscellaneous Tackles
      Defense Passes Defended
      Defense QB Hits
      Defense Sack Yards
      Defense Sacks
      Defense Safeties
      Defense Special Teams Assisted Tackles
      Defense Special Teams Blocks
      Defense Special Teams Forced Fumbles
      Defense Special Teams Fumble Recoveries
      Defense Special Teams Tackles
      Defense Tackles
      Defense Tackles for Loss
      Defense Tackles for Loss Yards
      Extra Points Kicking Attempts
      Extra Points Kicking Blocked
      Extra Points Kicking Made
      Field Goals Attempts
      Field Goals Average Yards
      Field Goals Blocked
      Field Goals Longest
      Field Goals Made
      Field Goals Yards
      Fumbles End Zone Recovery Touchdowns
      Fumbles Force Fumbles
      Fumbles
      Fumbles Lost
      Fumbles Opponent Recovery
      Fumbles Opponent Recovery Touchdowns
      Fumbles Opponent Recovery Yards
      Fumbles Out of Bounds
      Fumbles Own Recovery
      Fumbles Own Recovery Touchdowns
      Fumbles Own Recovery Yards
      Player Games Played
      Games Started
      Interception Returns Average Yards
      Interception Returns Longest
      Interception Returns Longest Touchdown
      Interception Returns
      Interception Returns Touchdowns
      Interception Returns Yards
      Kick Returns Average Yards
      Kick Returns Fair Catches
      Kick Returns Longest
      Kick Returns Longest Touchdown
      Kick Returns
      Kick Returns Touchdowns
      Kick Returns Yards
      Kickoffs End Zone
      Kickoffs Inside 20
      Kickoffs
      Kickoffs Out of Bounds
      Kickoffs Return Yards
      Kickoffs Touchbacks
      Kickoffs Yards
      Passing Air Yards
      Attempts
      Passing Average Yards
      Passing Completion Percentage
      Passing Completions
      Passing Gross Yards
      Passing Interceptions
      Passing Longest
      Passing Longest Touchdown
      Passing Rating
      Passing Red Zone Attempts
      Passing Sack Yards
      Passing Sacks
      Passing Touchdowns
      Passing Yards
      Punt Returns Average Yards
      Punt Returns Fair Catches
      Punt Returns Longest
      Punt Returns Longest Touchdown
      Punt Returns
      Punt Returns Touchdowns
      Punt Returns Yards
      Punts Attempts
      Punts Average Net Yards
      Punts Average Yards
      Punts Blocked
      Punts Inside 20
      Punts Longest
      Punts Net Yards
      Punts Return Yards
      Punts Touchbacks
      Punts Yards
      Receiving Air Yards
      Receiving Average Yards
      Receiving Longest
      Receiving Longest Touchdown
      Receiving Receptions
      Receiving Red Zone Targets
      Receiving Targets
      Receiving Touchdowns
      Receiving Yards
      Receiving Yards After Catch
      Rushing Attempts
      Rushing Average Yards
      Rushing Longest
      Rushing Longest Touchdown
      Rushing Red Zone Attempts
      Rushing Touchdowns
      Rushing Yards
      Team Seasonal Data Points: Conversions Defense Attempts
      Conversions Defense Successes
      Conversions Pass Attempts
      Conversions Pass Successes
      Conversions Rush Attempts
      Conversions Rush Successes
      Conversions Turnover Successes
      Defense Assisted Tackles
      Defense Combined Tackles
      Defense Forced Fumbles
      Defense Fumble Recoveries
      Defense Interceptions
      Defense Miscellaneous Assisted Tackles
      Defense Miscellaneous Forced Fumbles
      Defense Miscellaneous Fumble Recoveries
      Defense Miscellaneous Tackles
      Defense Passes Defended
      Defense QB Hits
      Defense Sack Yards
      Defense Sacks
      Defense Safeties
      Defense Special Teams Assisted Tackles
      Defense Special Teams Blocks
      Defense Special Teams Forced Fumbles
      Defense Special Teams Fumble Recoveries
      Defense Special Teams Tackles
      Tackles
      Defense Tackles for Loss
      Defense Tackles for Loss Yards
      Efficiency 3rd Down Attempts
      Efficiency 3rd Down Conversions
      Efficiency 3rd Down Percentage
      Efficiency 4th Down Attempts
      Efficiency 4th Down Conversions
      Efficiency 4th Down Percentage
      Efficiency Goal to Go Attempts
      Efficiency Goal to Go Conversions
      Efficiency Goal to Go Percentage
      Efficiency Red Zone Attempts
      Efficiency Red Zone Conversions
      Efficiency Red Zone Percentage
      Extra Points Kicking Attempts
      Extra Points Kicking Blocked
      Extra Points Kicking Made
      Field Goals Attempts
      Field Goals Average Yards
      Field Goals Blocked
      Field Goals Longest
      Field Goals Made
      Field Goals Yards
      First Downs Passing
      First Downs Penalty
      First Downs Rushing
      First Downs Total
      Fumbles End Zone Recovery Touchdowns
      Fumbles Force Fumbles
      Fumbles
      Fumbles Lost Fumbles
      Fumbles Opponent Recovery
      Fumbles Opponent Recovery Touchdowns
      Fumbles Opponent Recovery Yards
      Fumbles Out of Bounds
      Fumbles Own Recovery
      Fumbles Own Recovery Touchdowns
      Fumbles Own Recovery Yards
      Team Games Played
      Interception Returns Average Yards
      Interception Returns Longest
      Interception Returns Longest Touchdown
      Interception Returns
      Interception Returns Touchdowns
      Interception Returns Yards
      Interceptions
      Interceptions Return Yards
      Interceptions Returned
      Kick Returns Average Yards
      Kick Returns Fair Catches
      Kick Returns Longest
      Kick Returns Longest Touchdown
      Kick Returns
      Kick Returns Touchdowns
      Kick Returns Yards
      Kickoffs End Zone
      Kickoffs Inside 20
      Kickoffs
      Kickoffs Out of Bounds
      Kickoffs Return Yards
      Kickoffs Returned
      Kickoffs Touchbacks
      Kickoffs Yards
      Passing Air Yards
      Passing Attempts
      Passing Average Yards
      Passing Completion Percentage
      Passing Completions
      Passing Gross Yards
      Passing Interceptions
      Passing Longest
      Passing Longest Touchdown
      Passing Rating
      Passing Red Zone Attempts
      Passing Sack Yards
      Passing Sacks
      Passing Touchdowns
      Passing Yards
      Punt Returns Average Yards
      Punt Returns Fair Catches
      Punt Returns Longest
      Punt Returns Longest Touchdown
      Punt Returns
      Punt Returns Touchdowns
      Punt Returns Yards
      Punts Attempts
      Punts Average Net Yards
      Punts Average Yards
      Punts Blocked
      Punts Inside 20
      Punts Longest
      Punts Net Yards
      Punts Return Yards
      Punts Touchbacks
      Punts Yards
      Receiving Air Yards
      Receiving Average Yards
      Receiving Longest
      Receiving Longest Touchdown
      Receiving Receptions
      Receiving Red Zone Targets
      Receiving Targets
      Receiving Touchdowns
      Receiving Yards
      Receiving Yards After Catch
      Rushing Attempts
      Rushing Average Yards
      Rushing Longest
      Rushing Longest Touchdown
      Rushing Red Zone Attempts
      Rushing Tackles for Loss
      Rushing Tackles for Loss Yards
      Rushing Touchdowns
      Rushing Yards
      Touchdowns Fumble Return
      Touchdowns Interception Return
      Touchdowns Kick Return
      Touchdowns Other
      Touchdowns Pass
      Touchdowns Punt Return
      Touchdowns Rush
      Touchdowns Total
      Touchdowns Total Return
      Team Information Data Points: Alias
      Id
      Market Name

      To generate the Seasonal Statistics for the Season, Year, and Game ID below replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ot1/seasontd/2006/PST/teams/0d855753-ea21-4953-89f9-0e20aff9eb73/statistics.xml?api_key={your_api_key}")
      
      http = Net::HTTP.new(url.host, url.port)
      http.use_ssl = true
      http.verify_mode = OpenSSL::SSL::VERIFY_NONE
      
      request = Net::HTTP::Get.new(url)
      
      response = http.request(request)
      puts response.read_body
      
      import http.client
      
      conn = http.client.HTTPSConnection("api.sportradar.us")
      
      conn.request("GET", "/nfl-ot1/seasontd/2006/PST/teams/0d855753-ea21-4953-89f9-0e20aff9eb73/statistics.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ot1/seasontd/2006/PST/teams/0d855753-ea21-4953-89f9-0e20aff9eb73/statistics.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the Seasonal Statistics for a season.

      https://api.sportradar.us/nfl-{access_level}{version}/seasontd/{year}/{nfl_season}/teams/{team_id}/statistics.{format}?api_key={your_api_key}

      Replace placeholders with the following query parameters:

      Parameter Description
      access_level Defines the access level of your API key as Production (o), Trial (ot).
      version Version number of the API you are accessing (current version: 1).
      year Year in 4 digit format (YYYY).
      nfl_season Preseason (PRE), Regular Season (REG), or Post-Season (PST).
      team_id ID of a given team.
      format xml or json.
      your_api_key Your API key.

      To retrieve the XML Schema Definition (.XSD) for the Seasonal Statistics, replace the parameters in the following URL.

      https://api.sportradar.us/nfl-{access_level}{version}/schema/statistics-v2.0.xsd?api_key={your_api_key}

      Return to API map

      Standings

      Standings information for each team, including strength of schedule and strength of victory information.

      Update Frequency: As Necessary
      Content Type: Raw XML or JSON
      League Information Data Points: Conference Alias
      Conference Id
      Conference Name
      Division Alias
      Division Id
      Division Name
      Season Id
      Season Name
      Season Type
      Season Year
      Week Id
      Week Sequence
      Week Title
      Standings Information Data Points: Category
      Conference Head to Head
      Conference Losses
      Conference Rank
      Conference Ties
      Conference Winning Perc.
      Conference Wins
      Division Losses
      Division Rank
      Division Ties
      Division Winning Perc.
      Division Wins
      Home Losses
      Home Ties
      Home Winning Perc.
      Home Wins
      Overall Losses
      Overall Points Against
      Overall Points For
      Overall Points Rank
      Overall Ties
      Overall Winning Perc.
      Overall Wins
      Recent Streak
      Road Losses
      Road Ties
      Road Winning Perc.
      Road Wins
      Streak Description
      Strength of Schedule Total
      Strength of Schedule SOS
      Strength of Schedule Wins
      Strength of Victory Total
      Strength of Victory SOV
      Strength of Victory Wins
      Touchdown Differential
      Vs AFC Losses
      Vs AFC Ties
      Vs AFC Winning Perc.
      Vs AFC Wins
      Vs NFC Losses
      Vs NFC Ties
      Vs NFC Winning Perc.
      Vs NFC Wins
      Team Information Data Points: Alias
      Id
      Market Name

      To generate the Standings for the Season below replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ot1/seasontd/2006/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
      
      import http.client
      
      conn = http.client.HTTPSConnection("api.sportradar.us")
      
      conn.request("GET", "/nfl-ot1/seasontd/2006/standings.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ot1/seasontd/2006/standings.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the Standings for a season.

      https://api.sportradar.us/nfl-{access_level}{version}/seasontd/{year}/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 (o), Trial (ot).
      version Version number of the API you are accessing (current version: 1).
      year Year in 4 digit format (YYYY).
      format xml or json.
      your_api_key Your API key.

      To retrieve the XML Schema Definition (.XSD) for the Standings, replace the parameters in the following URL.

      https://api.sportradar.us/nfl-{access_level}{version}/schema/standings-v2.0.xsd?api_key={your_api_key}

      Return to API map

      Team Profile

      Franchise team information, including NFL references, as well as the complete roster of players.

      Update Frequency: As Necessary
      Content Type: Raw XML or JSON
      Franchise Information Data Points: Alias
      Id
      Name
      Reference Id
      Reference Origin
      League Information Data Points: Conference Alias
      Conference Id
      Conference Name
      Division Alias
      Division Id
      Division Name
      Player Information Data Points: Abbreviated Name
      Birth Date
      Birth Place
      College
      College Conference
      Draft Info Number
      Draft Info Round
      Draft Info Year
      Draft Team Alias
      Draft Team Id
      Draft Team Market
      Draft Team Name
      First Name
      Full Name
      Height
      High School
      Id
      Jersey Number
      Last Name
      Position
      Preferred Name
      Reference Id
      Reference Origin
      Rookie Year
      Status
      Weight
      Team Information Data Points: Alias
      Coach First Name
      Coach Full Name
      Coach Id
      Coach Last Name
      Coach Position
      Id
      Market
      Name
      Reference Id
      Reference Origin
      Venue Data Points: Address
      Capacity
      City
      Country
      Id
      Name
      Roof Type
      State
      Surface
      Zip

      To generate a team profile for the Team ID below replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ot1/teams/0d855753-ea21-4953-89f9-0e20aff9eb73/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
      
      import http.client
      
      conn = http.client.HTTPSConnection("api.sportradar.us")
      
      conn.request("GET", "/nfl-ot1/teams/0d855753-ea21-4953-89f9-0e20aff9eb73/profile.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ot1/teams/0d855753-ea21-4953-89f9-0e20aff9eb73/profile.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the Team Profile for a team.

      https://api.sportradar.us/nfl-{access_level}{version}/teams/{team_id}/profile.{format}?api_key={your_api_key}

      Replace placeholders with the following query parameters:

      Parameter Description
      access_level Defines the access level of your API key as Production (o), Trial (ot).
      version Version number of the API you are accessing (current version: 1).
      team_id ID of a given team.
      format xml or json.
      your_api_key Your API key.

      To retrieve the XML Schema Definition (.XSD) for the Team Profile, replace the parameters in the following URL.

      https://api.sportradar.us/nfl-{access_level}{version}/schema/team-v2.0.xsd?api_key={your_api_key}

      Return to API map

      Weekly Schedule

      Complete schedule information for the specific week of the NFL season, including game, team, and venue information. Pre-Season (PRE) valid weeks 1-4, Regular Season (REG) weeks 1-17, Post-Season (PST) weeks 1-4.

      Update Frequency: As Necessary
      Content Type: Raw XML or JSON
      Boxscore Data Points: Attendance Clock Quarter
      Game Information Data Points: Away Team Alias
      Away Team Full Name
      Away Team Game Number
      Away Team Id
      Broadcast Internet
      Broadcast Network
      Broadcast Satellite
      Home Team Alias
      Home Team Full Name
      Home Team Game Number
      Home Team Id
      Id
      Number
      Reference
      Scheduled Start Date/Time
      Status
      League Information Data Points: Season Id
      Season Name
      Season Type
      Season Year
      Week Id
      Week Sequence
      Week Title
      Venue Data Points: Address
      Capacity
      City
      Country
      Id
      Name
      Roof Type
      State
      Surface
      Zip

      To generate the Weekly Schedule for the Year, Season, and Week below replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ot1/games/2006/REG/03/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
      
      import http.client
      
      conn = http.client.HTTPSConnection("api.sportradar.us")
      
      conn.request("GET", "/nfl-ot1/games/2006/REG/03/schedule.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ot1/games/2006/REG/03/schedule.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the Weekly Schedule.

      https://api.sportradar.us/nfl-{access_level}{version}/games/{year}/{nfl_season}/{nfl_season_week}/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 (o), Trial (ot).
      version Version number of the API you are accessing (current version: 1).
      year Year in 4 digit format (YYYY).
      nfl_season Preseason (PRE), Regular Season (REG), or Post-Season (PST).
      nfl_season_week The number of weeks into the season in 2 digit format (WW).
      format xml or json.
      your_api_key Your API key.

      To retrieve the XML Schema Definition (.XSD) for the Weekly Schedule, replace the parameters in the following URL.

      https://api.sportradar.us/nfl-{access_level}{version}/schema/schedule-v2.0.xsd?api_key={your_api_key}

      Return to API map

      Weekly Injuries

      Obtain injuries for the NFL for a given week. Pre-Season (PRE) valid weeks 1-4, Regular Season (REG) weeks 1-17, Post-Season (PST) weeks 1-4.

      Update Frequency: As Necessary
      Content Type: Raw XML or JSON
      Injury Data Points: Status
      Status Date
      Practice Status Description
      Player Data Points: Full Name
      Id
      Jersey Number
      Position
      Reference
      League Information Data Points: Season Id
      Season Name
      Season Type
      Season Year
      Week Id
      Week Sequence
      Week Title
      Team Data Points: Alias
      Id
      Market Name

      To generate the Weekly Injuries enter the Year, Season, Week below, and replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ot1/seasontd/2015/PST/4/injuries.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.us")
      
      conn.request("GET", "/nfl-ot1/seasontd/2015/PST/4/injuries.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ot1/seasontd/2015/PST/4/injuries.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the Weekly Injuries.

      https://api.sportradar.us/nfl-{access_level}{version}/seasontd/{year}/{nfl_season}/{nfl_season_week}/injuries.{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 (o), Trial (ot).
      version Version number of the API you are accessing (current version: 1).
      year Year in 4 digit format (YYYY).
      nfl_season Preseason (PRE), Regular Season (REG), or Post-Season (PST).
      nfl_season_week The number of weeks into the season in 2 digit format (WW).
      format xml or json.
      your_api_key Your API key.

      To retrieve the XML Schema Definition (.XSD) for the Weekly Injuries, replace the parameters in the following URL.

      https://api.sportradar.us/nfl-{access_level}{version}/schema/injuries-v2.0.xsd?api_key={your_api_key}

      Return to API map

      Weekly Depth Charts

      Obtain depth charts for the NFL for a given week. Pre-Season (PRE) valid weeks 1-4, Regular Season (REG) weeks 1-17, Post-Season (PST) weeks 1-4.

      Update Frequency: Updated shortly before the game, but may be updated during or post game.
      Content Type: Raw XML or JSON
      Depth Chart Data Points: Position Name Depth
      Player Data Points: Full Name
      Id
      Jersey Number
      Position
      Reference
      League Information Data Points: Season Id
      Season Name
      Season Type
      Season Year
      Week Id
      Week Sequence
      Week Title
      Team Data Points: Alias
      Id
      Market Name

      To generate the Weekly Depth Charts enter the Year, Season, Week below, and replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ot1/seasontd/2015/REG/17/depth_charts.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.us")
      
      conn.request("GET", "/nfl-ot1/seasontd/2015/REG/17/depth_charts.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ot1/seasontd/2015/REG/17/depth_charts.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the Weekly Depth Charts.

      https://api.sportradar.us/nfl-{access_level}{version}/seasontd/{year}/{nfl_season}/{nfl_season_week}/depth_charts.{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 (o), Trial (ot).
      version Version number of the API you are accessing (current version: 1).
      year Year in 4 digit format (YYYY).
      nfl_season Preseason (PRE), Regular Season (REG), or Post-Season (PST).
      nfl_season_week The number of weeks into the season in 2 digit format (WW).
      format xml or json.
      your_api_key Your API key.

      To retrieve the XML Schema Definition (.XSD) for the Weekly Depth Charts, replace the parameters in the following URL.

      https://api.sportradar.us/nfl-{access_level}{version}/schema/depth_charts-v2.0.xsd?api_key={your_api_key}

      Return to API map

      NFL Next Generation Stats API

      Statistics Summary
      Documentation
      Change Log




      Note: The NFL is not providing NGS tracking data for the Hall of Game between Arizona and Dallas. NGS tracking data will be available for all other preseason games.

      API API Version
      NFL Next Generation Stats v1

      Feed Availability

      We package NGS data feeds into 3 distinct offerings. The content and timeliness of the data varies between packages. Below is a table that illustrates the packages and the feeds available in each. To see the timeliness of the data, see the details for each feed.

      NGS
      NGS Tracking
      NGS Player Participation
      Game Leaders
      x
      Game Play-By-Play
      x
      Game Play-By-Play+
      x
      Game Statistics
      x
      League Leaders
      x
      Play Statistics
      x
      Play Statistics+
      x
      Play Tracking Statistics
      x
      Player Participation
      x
      x
      Player Seasonal Statistics
      x
      Team Leaders
      x
      Team Seasonal Statistics
      x
      Weekly League Leaders
      x

      Game Leaders

      Update Frequency: Real-time
      Content Type: XML or JSON
      Game Leaders Data Points: Leader Description
      Leader Id
      Player Id
      Player Leader Rank
      Player Leader Value
      Players Type (Position)
      Game Info Data Points: Id
      Scheduled Date/Time
      Type
      Week
      Year
      Player Info Data Points: First Name
      Id
      Last Name
      Position
      Position Group
      Team Info Data Points: Alias
      Id
      Name Type
      Play-by-Play Data Points: Play Clock
      Play Description
      Play Down
      Play Id
      Play Possessing Team
      Play Quarter
      Play Type
      Yardline
      Yardline Side
      Yards to 1st Down

      To generate the Game Leaders replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ngs-t1/games/25fde8b4-6e4e-468c-ba0a-a511530a303c/leaders.xml?api_key={your_api_key}")
      
      http = Net::HTTP.new(url.host, url.port)
      http.use_ssl = true
      http.verify_mode = OpenSSL::SSL::VERIFY_NONE
      
      request = Net::HTTP::Get.new(url)
      
      response = http.request(request)
      puts response.read_body
      
      import http.client
      
      conn = http.client.HTTPSConnection("api.sportradar.us")
      
      conn.request("GET", "/nfl-ngs-t1/games/25fde8b4-6e4e-468c-ba0a-a511530a303c/leaders.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ngs-t1/games/25fde8b4-6e4e-468c-ba0a-a511530a303c/leaders.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      Access the Game Leaders feed by replacing the parameters in the following URL:

      https://api.sportradar.us/nfl-ngs-{access_level}{version}/games/{game_id}/leaders.{format}?api_key={your_api_key}

      Replace placeholders with the following query parameters:

      Parameter Description
      access_level Defines the access level of your API key as trial (t), or production (p).
      version Version number of the API you are accessing (current version: 1).
      game_id ID of a given game.
      format xml or json.
      your_api_key Your API key.

      Game Play-By-Play

      Update Frequency: Real-time
      Content Type: XML or JSON
      Game Info Data Points: Away Team Alias
      Away Team Id
      Away Team Name
      Away Team Personnel
      Away Team Side
      Away Team Type
      Home Team Alias
      Home Team Id
      Home Team Name
      Home Team Personnel
      Home Team Side
      Home Team Type
      Id
      Scheduled Date
      Type
      Week
      Year
      League Info Data Points: Season Season Type Week
      Play-By-Play Data Points: Event Play Type
      Event Sequence
      Event Time
      Play Clock
      Play Deleted
      Play Description
      Play Down
      Play Flags Penalty on Play
      Play Flags Quarter Over
      Play Flags Scoring Play
      Play Flags Specials Team Play
      Play Id
      Play Possessing Team
      Play Quarter
      Play Type
      Play Yardline
      Play Yardline Side
      Play Yards to 1st Down
      Play Details Data Points: Distance Covered Jogging
      Distance Covered Receiving
      Distance Covered Running
      Distance Covered Rushing
      Distance Covered Special Teams
      Distance Covered Sprinting
      Distance Covered Total
      Distance Covered Walking
      Dist. Covered (Ball Carrier) - Receiving Plays
      Dist. Covered (Ball Carrier) - Rushing Plays
      Dist. Covered (Ball Carrier) - Special Teams Plays
      Dist. Covered (Ball Carrier) - Total
      Flags Defender in Box
      Flags Is Ball Carrier
      Flags Is Official
      Flags Is On Route
      Flags Is Receiver
      Flags Nearest to QB at Throw
      Flags Participation Official
      Flags Pass Rusher
      Flags Performance Official
      Location Distance to QB at Throw
      Location Lineup Left/Right of Center
      Location Lineup Location Type
      Passer Air Distance
      Passer Dropback Distance
      Passer Dropback Type
      Passer Intended Air Distance
      Passer Pass Location
      Passer Time to Throw
      Receiver Separation at Catch
      Receiver Separation at Pass
      Speed Average
      Speed Maximum
      Player Info Data Points: First Name
      Id
      Last Name
      Position
      Position Group

      To generate the Game Play-By-Play for the Game ID below replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ngs-t1/games/25fde8b4-6e4e-468c-ba0a-a511530a303c/pbp.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.us")
      
      conn.request("GET", "/nfl-ngs-t1/games/25fde8b4-6e4e-468c-ba0a-a511530a303c/pbp.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ngs-t1/games/25fde8b4-6e4e-468c-ba0a-a511530a303c/pbp.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the boxscore information for a specific game.

      https://api.sportradar.us/nfl-ngs-{access_level}{version}/games/{game_id}/pbp.{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 trial (t), or production (p).
      version Version number of the API you are accessing (current version: 1).
      game_id ID for a given game.
      format xml or json.
      your_api_key Your API key.

      Game Play-By-Play+ (plus)

      Update Frequency: Real-time
      Content Type: XML or JSON
      Game Info Data Points: Away Team Alias
      Away Team Id
      Away Team Name
      Away Team Personnel
      Away Team Side
      Away Team Type
      Home Team Alias
      Home Team Id
      Home Team Name
      Home Team Personnel
      Home Team Side
      Home Team Type
      Id
      Scheduled Date
      Type
      Week
      Year
      League Info Data Points: Season Season Type Week
      Play-By-Play Data Points: Event Play Type
      Event Sequence
      Event Time
      Play Clock
      Play Deleted
      Play Description
      Play Down
      Play Flags Penalty on Play
      Play Flags Quarter Over
      Play Flags Scoring Play
      Play Flags Specials Team Play
      Play Id
      Play Possessing Team
      Play Quarter
      Play Type
      Play Yardline
      Play Yardline Side
      Play Yards to 1st Down
      Play Details Data Points: Distance Covered Jogging
      Distance Covered Receiving Plays
      Distance Covered Running
      Distance Covered Rushing Plays
      Distance Covered Special Teams Plays
      Distance Covered Sprinting
      Distance Covered Total
      Distance Covered Walking
      Dist. Covered (Ball Carrier) - Receiving Plays
      Dist. Covered (Ball Carrier) - Rushing Plays
      Dist. Covered (Ball Carrier) - Special Teams Plays
      Dist. Covered (Ball Carrier) - Total
      Flags Defender in Box
      Flags Is Ball Carrier
      Flags Is Official
      Flags Is On Route
      Flags Is Receiver
      Flags Nearest to QB at Throw
      Flags Participation Official
      Flags Pass Rusher
      Flags Performance Official
      Location Distance to QB at Throw
      Location Lineup Left/Right of Center
      Location Lineup Location Type
      Passer Air Distance
      Passer Dropback Distance
      Passer Dropback Type
      Passer Intended Air Distance
      Passer Pass Location
      Passer Time to Throw
      Receiver Separation at Catch
      Receiver Separation at Pass
      Speed Average
      Speed Maximum
      Tracking - Player Id
      Tracking - Player First Name
      Tracking - Player Last Name
      Tracking - Player Position
      Tracking - Player Position Group
      Tracking - Location X Coordinate
      Tracking - Location Y Coordinate
      Player Info Data Points: First Name
      Id
      Last Name
      Position
      Position Group

      To generate the Game Play-By-Play+ for the Game ID below replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ngs-t1/games/25fde8b4-6e4e-468c-ba0a-a511530a303c/tracked_pbp.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.us")
      
      conn.request("GET", "/nfl-ngs-t1/games/25fde8b4-6e4e-468c-ba0a-a511530a303c/tracked_pbp.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ngs-t1/games/25fde8b4-6e4e-468c-ba0a-a511530a303c/tracked_pbp.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the Play-by-Play+ information for a specific game.

      https://api.sportradar.us/nfl-ngs-{access_level}{version}/games/{game_id}/tracked_pbp.{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 trial (t), or production (p).
      version Version number of the API you are accessing (current version: 1).
      game_id ID for a given game.
      format xml or json.
      your_api_key Your API key.

      Game Statistics

      Update Frequency: Real-time
      Content Type: XML or JSON
      Game Info Data Points: Away Team Alias
      Away Team Id
      Away Team Name
      Away Team Type
      Home Team Alias
      Home Team Id
      Home Team Name
      Home Team Type
      Id
      Scheduled Date
      Type
      Week
      Year
      Player Info Data Points: First Name
      Id
      Last Name
      Position
      Position Group
      Player Game Statistics Data Points: Defense High Safety
      Defense Time to Sack
      Defense Defender in Box
      Defense Pass Rusher
      Defense Location Total
      Defense Location Type
      Distance Covered Jogging
      Distance Covered Receiving Plays
      Distance Covered Running
      Distance Covered Rushing Plays
      Distance Covered Special Teams Plays
      Distance Covered Sprinting
      Distance Covered Total
      Distance Covered Walking
      Distance Covered (Ball Carrier) Receiving Plays
      Distance Covered (Ball Carrier) Rushing Plays
      Distance Covered (Ball Carrier) Special Teams Plays
      Distance Covered (Ball Carrier) Total
      Offense Formation Total
      Offense Formation Type
      Offense Location Total
      Offense Location Type
      Offense Receiver
      Offense Receiver on Route
      Passing Air Distance
      Passing Dropback Distance
      Passing Intended Air Distance
      Passing Time to Throw
      Passing Dropback Total
      Passing Dropback Type
      Passing Location Total
      Passing Location Type
      Play Participation Defense
      Play Participation Offense
      Play Participation Receiving Plays
      Play Participation Rushing Plays
      Play Participation Special Teams Plays
      Play Participation Total
      Plays with Ball Receiving Plays
      Plays with Ball Rushing Plays
      Plays with Ball Special Teams Plays
      Plays with Ball Total
      Speed Average
      Speed Maximum
      Touches Receiving
      Touches Rushing
      Touches Special Teams
      Team Game Statistics Data Points: Defense High Safety
      Defense Time to Sack
      Defense Defender in Box
      Defense Pass Rusher
      Defense Location Total
      Defense Location Type
      Defensive Plays Receiving
      Defensive Plays Rushing
      Defensive Plays Total
      Dist. Covered by Position - Average
      Dist. Covered by Position - Position Id
      Dist. Covered by Position - Total
      Distance Covered by Defense - Average
      Distance Covered by Defense - Total
      Distance Covered by Offense - Average
      Distance Covered by Offense - Total
      Offense Formation Total
      Offense Formation Type
      Offense Location Total
      Offense Location Type
      Offense Receiver
      Offense Receiver on Route
      Offensive Plays Receiving
      Offensive Plays Rushing
      Offensive Plays Total
      Passing Air Distance
      Passing Dropback Distance
      Passing Intended Air Distance
      Passing Time to Throw
      Passing Dropback Total
      Passing Dropback Type
      Passing Location Total
      Passing Location Type
      Play Groups - Defense Distance Covered - Average
      Play Groups - Defense Distance Covered - Total
      Play Groups - Defense Play Types - Other
      Play Groups - Defense Play Types - Receiving
      Play Groups - Defense Play Types - Rushing
      Play Groups - Defense Play Types - Total
      Play Groups - Defense Yards Gained - Receiving
      Play Groups - Defense Yards Gained - Rushing
      Play Groups - Defense Yards Gained - Total
      Play Groups - Name
      Play Groups - Offense Distance Covered - Average
      Play Groups - Offense Distance Covered - Total
      Play Groups - Offense Play Types - Other
      Play Groups - Offense Play Types - Receiving
      Play Groups - Offense Play Types - Rushing
      Play Groups - Offense Play Types - Total
      Play Groups - Offense Yards Gained - Receiving
      Play Groups - Offense Yards Gained - Rushing
      Play Groups - Offense Yards Gained - Total

      To generate the Game Statistics for the Game ID below replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ngs-t1/games/25fde8b4-6e4e-468c-ba0a-a511530a303c/statistics.xml?api_key={your_api_key}")
      
      http = Net::HTTP.new(url.host, url.port)
      http.use_ssl = true
      http.verify_mode = OpenSSL::SSL::VERIFY_NONE
      
      request = Net::HTTP::Get.new(url)
      
      response = http.request(request)
      puts response.read_body
      
      import http.client
      
      conn = http.client.HTTPSConnection("api.sportradar.us")
      
      conn.request("GET", "/nfl-ngs-t1/games/25fde8b4-6e4e-468c-ba0a-a511530a303c/statistics.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ngs-t1/games/25fde8b4-6e4e-468c-ba0a-a511530a303c/statistics.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the game statistics for a specific game.

      https://api.sportradar.us/nfl-ngs-{access_level}{version}/games/{game_id}/statistics.{format}?api_key={your_api_key}

      Replace placeholders with the following query parameters:

      Parameter Description
      access_level Defines the access level of your API key as trial (t), or production (p).
      version Version number of the API you are accessing (current version: 1).
      game_id ID for a given game.
      format xml or json.
      your_api_key Your API key.

      League Leaders

      Update Frequency: Post-game
      Content Type: XML or JSON
      League Info Data Points: Season Season Type Week
      League Leaders Data Points: Leader Description
      Leader Id
      Player Id
      Player Leader Rank
      Player Leader Value
      Players Type (Position)
      Game Info Data Points: Id
      Scheduled Date/Time
      Type
      Week
      Year
      Player Info Data Points: First Name
      Id
      Last Name
      Position
      Position Group
      Team Info Data Points: Alias
      Id
      Name Type
      Play-by-Play Data Points: Play Clock
      Play Description
      Play Down
      Play Id
      Play Possessing Team
      Play Quarter
      Play Type
      Yardline
      Yardline Side
      Yards to 1st Down

      To generate the League Leaders for the season below replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ngs-t1/seasontd/2016/reg/leaders.xml?api_key={your_api_key}")
      
      http = Net::HTTP.new(url.host, url.port)
      http.use_ssl = true
      http.verify_mode = OpenSSL::SSL::VERIFY_NONE
      
      request = Net::HTTP::Get.new(url)
      
      response = http.request(request)
      puts response.read_body
      
      import http.client
      
      conn = http.client.HTTPSConnection("api.sportradar.us")
      
      conn.request("GET", "/nfl-ngs-t1/seasontd/2016/reg/leaders.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ngs-t1/seasontd/2016/reg/leaders.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the league leaders for a specific season.

      https://api.sportradar.us/nfl-ngs-{access_level}{version}/seasontd/{year}/{nfl_season}/leaders.{format}?api_key={your_api_key}

      Replace placeholders with the following query parameters:

      Parameter Description
      access_level Defines the access level of your API key as trial (t), or production (p).
      version Version number of the API you are accessing (current version: 1).
      year Year in 4 digit format (YYYY).
      nfl_season Preseason (pre), Regular Season (reg), Postseason (pst).
      format xml or json.
      your_api_key Your API key.

      Play Statistics

      Update Frequency: Real-time
      Content Type: XML or JSON
      Game Info Data Points: Away Team Alias
      Away Team Id
      Away Team Name
      Away Team Personnel
      Away Team Side
      Away Team Type
      Home Team Alias
      Home Team Id
      Home Team Name
      Home Team Personnel
      Home Team Side
      Home Team Type
      Id
      Scheduled Date
      Type
      Week
      Year
      League Info Data Points: Season Season Type Week
      Play-By-Play Info Data Points: Event Play Type
      Event Sequence
      Event Time
      Play Clock
      Play Deleted
      Play Description
      Play Down
      Play Flags Penalty on Play
      Play Flags Quarter Over
      Play Flags Scoring Play
      Play Flags Specials Team Play
      Play Id
      Play Possessing Team
      Play Quarter
      Play Type
      Play Yardline
      Play Yardline Side
      Play Yards to 1st Down
      Play Details Data Points: Distance Covered Jogging
      Distance Covered Receiving
      Distance Covered Running
      Distance Covered Rushing
      Distance Covered Special Teams
      Distance Covered Sprinting
      Distance Covered Total
      Distance Covered Walking
      Dist. Covered (Ball Carrier) - Receiving Plays
      Dist. Covered (Ball Carrier) - Rushing Plays
      Dist. Covered (Ball Carrier) - Special Teams Plays
      Dist. Covered (Ball Carrier) - Total
      Flags Defender in Box
      Flags Is Ball Carrier
      Flags Is Official
      Flags Is On Route
      Flags Is Receiver
      Flags Nearest to QB at Throw
      Flags Participation Official
      Flags Pass Rusher
      Flags Performance Official
      Location Distance to QB at Throw
      Location Lineup Left/Right of Center
      Location Lineup Location Type
      Passer Air Distance
      Passer Dropback Distance
      Passer Dropback Type
      Passer Intended Air Distance
      Passer Pass Location
      Passer Time to Throw
      Receiver Separation at Catch
      Receiver Separation at Pass
      Speed Average
      Speed Maximum
      Player Info Data Points: First Name
      Id
      Last Name
      Position
      Position Group

      To generate Play Statistics replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ngs-t1/plays/83983e8b-bdd9-46bb-b150-7d0808b827aa/statistics.xml?api_key={your_api_key}")
      
      http = Net::HTTP.new(url.host, url.port)
      http.use_ssl = true
      http.verify_mode = OpenSSL::SSL::VERIFY_NONE
      
      request = Net::HTTP::Get.new(url)
      
      response = http.request(request)
      puts response.read_body
      
      import http.client
      
      conn = http.client.HTTPSConnection("api.sportradar.us")
      
      conn.request("GET", "/nfl-ngs-t1/plays/83983e8b-bdd9-46bb-b150-7d0808b827aa/statistics.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ngs-t1/plays/83983e8b-bdd9-46bb-b150-7d0808b827aa/statistics.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves play statistics.

      https://api.sportradar.us/nfl-ngs-{access_level}{version}/plays/{play_id}/statistics.{format}?api_key={your_api_key}

      Replace placeholders with the following query parameters:

      Parameter Description
      access_level Defines the access level of your API key as trial (t), or production (p).
      version Version number of the API you are accessing (current version: 1).
      play_id ID of a given play.
      format xml or json.
      your_api_key Your API key.

      Play Statistics+ (plus)

      Update Frequency: Real-time
      Content Type: XML or JSON
      Game Info Data Points: Away Team Alias
      Away Team Defender in Box
      Away Team Formation
      Away Team High Safety
      Away Team Id
      Away Team Name
      Away Team Pass Rusher
      Away Team Personnel
      Away Team Receiver
      Away Team Receiver on Route
      Away Team Side
      Away Team Type
      Home Team Alias
      Home Team Defender in Box
      Home Team Formation
      Home Team High Safety
      Home Team Id
      Home Team Name
      Home Team Pass Rusher
      Home Team Personnel
      Home Team Receiver
      Home Team Receiver on Route
      Home Team Side
      Home Team Type
      Id
      Scheduled Date
      Type
      Week
      Year
      Play-By-Play Info Data Points: Event Play Type
      Event Sequence
      Event Time
      Play Clock
      Play Deleted
      Play Description
      Play Down
      Play Flags Penalty on Play
      Play Flags Quarter Over
      Play Flags Scoring Play
      Play Flags Specials Team Play
      Play Id
      Play Possessing Team
      Play Quarter
      Play Type
      Play Yardline
      Play Yardline Side
      Play Yards to 1st Down
      Play Details Data Points: Distance Covered Jogging
      Distance Covered Receiving Plays
      Distance Covered Running
      Distance Covered Rushing Plays
      Distance Covered Special Teams Plays
      Distance Covered Sprinting
      Distance Covered Total
      Distance Covered Walking
      Dist. Covered (Ball Carrier) - Receiving Plays
      Dist. Covered (Ball Carrier) - Rushing Plays
      Dist. Covered (Ball Carrier) - Special Teams Plays
      Dist. Covered (Ball Carrier) - Total
      Flags Defender in Box
      Flags Is Ball Carrier
      Flags Is Official
      Flags Is On Route
      Flags Is Receiver
      Flags Nearest to QB at Throw
      Flags Pass Rusher
      Location Distance to QB at Throw
      Location Lineup Left/Right of Center
      Location Lineup Location Type
      Passer Air Distance
      Passer Dropback Distance
      Passer Dropback Type
      Passer Intended Air Distance
      Passer Pass Location
      Passer Time to Throw
      Receiver Separation at Catch
      Receiver Separation at Pass
      Speed Average
      Speed Maximum
      Tracking - Player Id
      Tracking - Player First Name
      Tracking - Player Last Name
      Tracking - Player Position
      Tracking - Player Position Group
      Tracking - Location X Coordinate
      Tracking - Location Y Coordinate
      Player Info Data Points: First Name
      Id
      Last Name
      Position
      Position Group

      To generate Play Statistics+ replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ngs-t1/plays/83983e8b-bdd9-46bb-b150-7d0808b827aa/tracked_statistics.xml?api_key={your_api_key}")
      
      http = Net::HTTP.new(url.host, url.port)
      http.use_ssl = true
      http.verify_mode = OpenSSL::SSL::VERIFY_NONE
      
      request = Net::HTTP::Get.new(url)
      
      response = http.request(request)
      puts response.read_body
      
      import http.client
      
      conn = http.client.HTTPSConnection("api.sportradar.us")
      
      conn.request("GET", "/nfl-ngs-t1/plays/83983e8b-bdd9-46bb-b150-7d0808b827aa/tracked_statistics.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ngs-t1/plays/83983e8b-bdd9-46bb-b150-7d0808b827aa/tracked_statistics.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves play statistics+.

      https://api.sportradar.us/nfl-ngs-{access_level}{version}/plays/{play_id}/tracked_statistics.{format}?api_key={your_api_key}

      Replace placeholders with the following query parameters:

      Parameter Description
      access_level Defines the access level of your API key as trial (t), or production (p).
      version Version number of the API you are accessing (current version: 1).
      play_id ID of a given play.
      format xml or json.
      your_api_key Your API key.

      Play Tracking Statistics

      Update Frequency: Real-time
      Content Type: XML or JSON
      Game Info Data Points: Away Team Alias
      Away Team Defender in Box
      Away Team Formation
      Away Team High Safety
      Away Team Id
      Away Team Name
      Away Team Pass Rusher
      Away Team Personnel
      Away Team Receiver
      Away Team Receiver on Route
      Away Team Side
      Away Team Type
      Home Team Alias
      Home Team Defender in Box
      Home Team Formation
      Home Team High Safety
      Home Team Id
      Home Team Name
      Home Team Pass Rusher
      Home Team Personnel
      Home Team Receiver
      Home Team Receiver on Route
      Home Team Side
      Home Team Type
      Id
      Scheduled Date
      Type
      Week
      Year
      Play-By-Play Info Data Points: Play Clock
      Play Deleted
      Play Description
      Play Down
      Play Flags Penalty on Play
      Play Flags Quarter Over
      Play Flags Scoring Play
      Play Flags Specials Team Play
      Play Id
      Play Possessing Team
      Play Quarter
      Play Type
      Play Yardline
      Play Yardline Side
      Play Yards to 1st Down
      Play Details Data Points: Location Direction
      Location Distance
      Location Speed
      Location Time
      Location Type
      X Coordinate
      Y Coordinate
      Player Info Data Points: First Name
      Id
      Last Name
      Position
      Position Group

      To generate the Play Tracking Statistics for the Play ID below replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ngs-t1/tracking/7f844ff2-bf53-4dd9-b68f-3bff58226978/tracking.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.us")
      
      conn.request("GET", "/nfl-ngs-t1/tracking/7f844ff2-bf53-4dd9-b68f-3bff58226978/tracking.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ngs-t1/tracking/7f844ff2-bf53-4dd9-b68f-3bff58226978/tracking.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the Play Tracking Statistics for a specific play.

      https://api.sportradar.us/nfl-ngs-{access_level}{version}/tracking/{play_id}/tracking.{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 trial (t), or production (p).
      version Version number of the API you are accessing (current version: 1).
      play_id ID of a given play.
      format xml or json.
      your_api_key Your API key.

      Player Participation

      Participation Data is complementary data collected by the NFL that indicates all 22 players on the field for every play of every game.

      Update Frequency: Real-time
      Content Type: XML or JSON
      Game Info Data Points: Away Team Alias
      Away Team Id
      Away Team Name
      Home Team Alias
      Home Team Id
      Home Team Name
      Id
      Status
      League Information Data Points: Season
      Season Name
      Season Type
      Week
      Week Sequence
      Play-By-Play Data Points: Play Clock
      Play Deleted
      Play Description
      Play Id
      Play Type
      Sequence
      Player Information Data Points: Id
      Name
      Position
      Position Group
      Reference
      Venue Data Points: Address
      Capacity
      City
      Country
      Id
      Name
      Roof Type
      State
      Surface
      Zip

      To generate Participation Data replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ngs-t1/participation/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/participation.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.us")
      
      conn.request("GET", "/nfl-ngs-t1/participation/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/participation.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ngs-t1/participation/b7aeb58f-7987-4202-bc41-3ad9a5b83fa4/participation.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      Access the Participation feed by replacing the parameters in the following URL:

      https://api.sportradar.us/nfl-ngs-{access_level}{version}/participation/{game_id}/participation.{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 trial (t), or production (p).
      version Version number of the API you are accessing (current version: 2).
      game_id ID of a given game.
      format xml or json.
      your_api_key Your API key.

      Player Seasonal Statistics

      Update Frequency: Post-game
      Content Type: XML or JSON
      League Info Data Points: Season Season Type
      Player Info Data Points: First Name
      Id
      Last Name
      Position
      Position Group
      Seasonal Player Statistics Data Points: Defense - High Safety
      Defense - Time to Sack
      Defense - Defender in Box
      Defense - Pass Rusher
      Defense - Location Total
      Defense - Location Type
      Distance Covered - Jogging
      Distance Covered - Receiving Plays
      Distance Covered - Running
      Distance Covered - Rushing Plays
      Distance Covered - ST Plays
      Distance Covered - Sprinting
      Distance Covered - Total
      Distance Covered - Walking
      Dist. Covered for Team - Jogging
      Dist. Covered for Team - Receiving Plays
      Dist. Covered for Team - Running
      Dist. Covered for Team - Rushing Plays
      Dist. Covered for Team - ST Plays
      Dist. Covered for Team - Sprinting
      Dist. Covered for Team - Total
      Dist. Covered for Team - Walking
      Dist. Covered (Ball Carrier) - Receiving Plays
      Dist. Covered (Ball Carrier) - Rushing Plays
      Dist. Covered (Ball Carrier) - ST Plays
      Dist. Covered (Ball Carrier) - Total
      Dist. Covered (Ball Carrier) for Team - Receiving Plays
      Dist. Covered (Ball Carrier) for Team - Rushing Plays
      Dist. Covered (Ball Carrier) for Team - ST Plays
      Dist. Covered (Ball Carrier) for Team - Total
      Offense - Formation Total
      Offense - Formation Type
      Offense - Location Total
      Offense - Location Type
      Offense - Receiver
      Offense - Receiver on Route
      Passing - Air Distance
      Passing - Dropback Distance
      Passing - Intended Air Distance
      Passing - Time to Throw
      Passing - Dropback Total
      Passing - Dropback Type
      Passing - Location Total
      Passing - Location Type
      Play Participation - Defense
      Play Participation - Offense
      Play Participation - Receiving Plays
      Play Participation - Rushing Plays
      Play Participation - ST Plays
      Play Participation - Total Def/Off
      Play Participation for Team - Defense
      Play Participation for Team - Offense
      Play Participation for Team - Receiving Plays
      Play Participation for Team - Rushing Plays
      Play Participation for Team - ST Plays
      Play Participation for Team - Total Def/Off
      Plays with Ball - Receiving Plays
      Plays with Ball - Rushing Plays
      Plays with Ball - Special Teams Plays
      Plays with Ball - Total
      Plays with Ball for Team - Receiving Plays
      Plays with Ball for Team - Rushing Plays
      Plays with Ball for Team - Special Teams Plays
      Plays with Ball for Team - Total
      Speed - Average
      Speed - Maximum
      Touches - Receiving Plays
      Touches - Rushing Plays
      Touches - Special Teams Plays
      Seasonal Team Statistics Data Points: Defense - High Safety
      Defense - Time to Sack
      Defense - Defender in Box
      Defense - Pass Rusher
      Defense - Location Total
      Defense - Location Type
      Defensive Plays - Receiving Plays Against
      Defensive Plays - Rushing Plays Against
      Defensive Plays - Total Plays Against
      Dist. Covered - Defense - Average Dist.
      Dist. Covered - Defense - Total Dist.
      Dist. Covered - Offense - Average Dist.
      Dist. Covered - Offense - Total Dist.
      Offense - Formation Total
      Offense - Formation Type
      Offense - Location Total
      Offense - Location Type
      Offense - Receiver
      Offense - Receiver on Route
      Offensive Plays - Receiving Plays
      Offensive Plays - Rushing Plays
      Offensive Plays - Total Plays
      Passing - Air Distance
      Passing - Dropback Distance
      Passing - Intended Air Distance
      Passing - Time to Throw
      Passing - Dropback Total
      Passing - Dropback Type
      Passing - Location Total
      Passing - Location Type
      Speed - Average
      Speed - Maximum
      Touches - Receiving Plays
      Touches - Rushing Plays
      Touches - Special Teams Plays
      Team Info Data Points: Alias
      Id
      Name Type

      To generate a Player Seasonal Statistics for the Player ID below replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ngs-t1/players/2016/reg/91fc931a-acff-46d1-8233-182ce9635740/statistics.xml?api_key={your_api_key}")
      
      http = Net::HTTP.new(url.host, url.port)
      http.use_ssl = true
      http.verify_mode = OpenSSL::SSL::VERIFY_NONE
      
      request = Net::HTTP::Get.new(url)
      
      response = http.request(request)
      puts response.read_body
      
      import http.client
      
      conn = http.client.HTTPSConnection("api.sportradar.us")
      
      conn.request("GET", "/nfl-ngs-t1/players/2016/reg/91fc931a-acff-46d1-8233-182ce9635740/statistics.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ngs-t1/players/2016/reg/91fc931a-acff-46d1-8233-182ce9635740/statistics.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the Player Seasonal Statistics for a specific player.

      https://api.sportradar.us/nfl-ngs-{access_level}{version}/players/{year}/{nfl_season}/{player_id}/statistics.{format}?api_key={your_api_key}

      Replace placeholders with the following query parameters:

      Parameter Description
      access_level Defines the access level of your API key as trial (t), or production (p).
      version Version number of the API you are accessing (current version: 1).
      year Year in 4 digit format (YYYY).
      nfl_season Preseason (pre), Regular Season (reg), Postseason (pst).
      player_id ID for a given player.
      format xml or json.
      your_api_key Your API key.

      Team Leaders

      Update Frequency: Post-game
      Content Type: XML or JSON
      Game Info Data Points: Id
      Scheduled Date/Time
      Type
      Week
      Year
      League Info Data Points: Season Season Type
      Team Leaders Data Points: Leader Description
      Leader Id
      Player Id
      Player Leader Rank
      Player Leader Value
      Players Type (Position)
      Player Info Data Points: First Name
      Id
      Last Name
      Position
      Position Group
      Team Info Data Points: Alias
      Id
      Name Type
      Play-by-Play Data Points: Play Clock
      Play Description
      Play Down
      Play Id
      Play Possessing Team
      Play Quarter
      Play Type
      Yardline
      Yardline Side
      Yards to 1st Down

      To generate the Team Leaders for the Season and Year below replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ngs-t1/seasontd/2016/reg/33405046-04ee-4058-a950-d606f8c30852/leaders.xml?api_key={your_api_key}")
      
      http = Net::HTTP.new(url.host, url.port)
      http.use_ssl = true
      http.verify_mode = OpenSSL::SSL::VERIFY_NONE
      
      request = Net::HTTP::Get.new(url)
      
      response = http.request(request)
      puts response.read_body
      
      import http.client
      
      conn = http.client.HTTPSConnection("api.sportradar.us")
      
      conn.request("GET", "/nfl-ngs-t1/seasontd/2016/reg/33405046-04ee-4058-a950-d606f8c30852/leaders.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ngs-t1/seasontd/2016/reg/33405046-04ee-4058-a950-d606f8c30852/leaders.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the Team Leaders for a team in a specific season.

      https://api.sportradar.us/nfl-ngs-{access_level}{version}/seasontd/{year}/{nfl_season}/{team_id}/leaders.{format}?api_key={your_api_key}

      Replace placeholders with the following query parameters:

      Parameter Description
      access_level Defines the access level of your API key as trial (t), or production (p).
      version Version number of the API you are accessing (current version: 1).
      year Year in 4 digit format (YYYY).
      nfl_season Preseason (PRE), Regular Season (REG) or Post Season (PST).
      team_id ID for a given team.
      format xml or json.
      your_api_key Your API key.

      Team Seasonal Statistics

      Update Frequency: Post-game
      Content Type: XML or JSON
      League Information Data Points: Season Season Type
      Player Info Data Points: First Name
      Id
      Last Name
      Position
      Position Group
      Seasonal Player Statistics Data Points: Defense - High Safety
      Defense - Time to Sack
      Defense - Defender in Box
      Defense - Pass Rusher
      Defense - Location Total
      Defense - Location Type
      Dist. Covered - Jogging
      Dist. Covered - Receiving Plays
      Dist. Covered - Running
      Dist. Covered - Rushing Plays
      Dist. Covered - ST Plays
      Dist. Covered - Sprinting
      Dist. Covered - Total
      Dist. Covered - Walking
      Dist. Covered (Ball Carrier) - Receiving Plays
      Dist. Covered (Ball Carrier) - Rushing Plays
      Dist. Covered (Ball Carrier) - ST Plays
      Dist. Covered (Ball Carrier) - Total
      Offense - Formation Total
      Offense - Formation Type
      Offense - Location Total
      Offense - Location Type
      Offense - Receiver
      Offense - Receiver on Route
      Passing - Air Distance
      Passing - Dropback Distance
      Passing - Intended Air Distance
      Passing - Time to Throw
      Passing - Dropback Total
      Passing - Dropback Type
      Passing - Location Total
      Passing - Location Type
      Play Participation - Defense
      Play Participation - Offense
      Play Participation - Receiving Plays
      Play Participation - Rushing Plays
      Play Participation - ST Plays
      Play Participation - Total Def/Off
      Plays with Ball - Receiving Plays
      Plays with Ball - Rushing Plays
      Plays with Ball - ST Plays
      Plays with Ball - Total
      Speed - Average
      Speed - Maximum
      Touches - Receiving Plays
      Touches - Rushing Plays
      Touches - Special Teams Plays
      Seasonal Team Statistics Data Points: Defense - High Safety
      Defense - Time to Sack
      Defense - Defender in Box
      Defense - Pass Rusher
      Defense - Location Total
      Defense - Location Type
      Defensive Plays - Receiving Plays Against
      Defensive Plays - Rushing Plays Against
      Defensive Plays - Total Plays Against
      Dist. Covered By Position - Average
      Dist. Covered By Position - Position Id
      Dist. Covered By Position - Total
      Dist. Covered - Defense - Average Dist.
      Dist. Covered - Defense - Total Dist.
      Dist. Covered - Offense - Average Dist.
      Dist. Covered - Offense - Total Dist.
      Offense - Formation Total
      Offense - Formation Type
      Offense - Location Total
      Offense - Location Type
      Offense - Receiver
      Offense - Receiver on Route
      Offensive Plays - Receiving Plays
      Offensive Plays - Rushing Plays
      Offensive Plays - Total Plays
      Passing - Air Distance
      Passing - Dropback Distance
      Passing - Intended Air Distance
      Passing - Time to Throw
      Passing - Dropback Total
      Passing - Dropback Type
      Passing - Location Total
      Passing - Location Type
      Play Groups Defense - Dist. Covered - Average Dist. Allowed
      Play Groups Defense - Dist. Covered - Total Dist. Allowed
      Play Groups Defense - Play Types - Other
      Play Groups Defense - Play Types - Receiving Plays
      Play Groups Defense - Play Types - Rushing Plays
      Play Groups Defense - Play Types - Total Plays
      Play Groups Defense - Yrds Gained - Receiving Yards Allowed
      Play Groups Defense - Yrds Gained - Rushing Yards Allowed
      Play Groups Defense - Yrds Gained - Total Yards Allowed
      Play Groups Name
      Play Groups Offense - Dist. Covered - Average Dist.
      Play Groups Offense - Dist. Covered - Total Dist.
      Play Groups Offense - Play Types - Other
      Play Groups Offense - Play Types - Receiving Plays
      Play Groups Offense - Play Types - Rushing Plays
      Play Groups Offense - Play Types - Total Plays
      Play Groups Offense - Yrds Gained - Receiving Yards
      Play Groups Offense - Yrds Gained - Rushing Yards
      Play Groups Offense - Yrds Gained - Total Yards
      Speed - Average
      Speed - Maximum
      Touches - Receiving Plays
      Touches - Rushing Plays
      Touches - Special Teams Plays
      Team Info Data Points: Alias
      Id
      Name Type

      To generate the Team Seasonal Statistics for the Year and Season below replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ngs-t1/teams/2016/reg/33405046-04ee-4058-a950-d606f8c30852/statistics.xml?api_key={your_api_key}")
      
      http = Net::HTTP.new(url.host, url.port)
      http.use_ssl = true
      http.verify_mode = OpenSSL::SSL::VERIFY_NONE
      
      request = Net::HTTP::Get.new(url)
      
      response = http.request(request)
      puts response.read_body
      
      import http.client
      
      conn = http.client.HTTPSConnection("api.sportradar.us")
      
      conn.request("GET", "/nfl-ngs-t1/teams/2016/reg/33405046-04ee-4058-a950-d606f8c30852/statistics.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ngs-t1/teams/2016/reg/33405046-04ee-4058-a950-d606f8c30852/statistics.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the Team Seasonal Statistics for a season.

      https://api.sportradar.us/nfl-ngs-{access_level}{version}/teams/{year}/{nfl_season}/{team_id}/statistics.{format}?api_key={your_api_key}

      Replace placeholders with the following query parameters:

      Parameter Description
      access_level Defines the access level of your API key as trial (t), or production (p).
      version Version number of the API you are accessing (current version: 1).
      year Year in 4 digit format (YYYY).
      nfl_season Preseason (PRE), Regular Season (REG), or Post Season (PST).
      team_id ID of a given team.
      format xml or json.
      your_api_key Your API key.

      Weekly League Leaders

      Update Frequency: Post-game
      Content Type: XML or JSON
      Game Info Data Points: Id
      Scheduled Date/Time
      Type
      Week
      Year
      League Info Data Points: Week Week Type Week Year
      Weekly Leaders Data Points: Leader Description
      Leader Id
      Player Id
      Player Leader Rank
      Player Leader Value
      Players Type (Position)
      Player Info Data Points: First Name
      Id
      Last Name
      Position
      Position Group
      Team Info Data Points: Alias
      Id
      Name Type
      Play-by-Play Data Points: Play Clock
      Play Description
      Play Down
      Play Id
      Play Possessing Team
      Play Quarter
      Play Type
      Yardline
      Yardline Side
      Yards to 1st Down

      To generate the Weekly Leaders for the week below replace {your_api_key} with your API key:

      require 'uri'
      require 'net/http'
      require 'openssl'
      
      url = URI("https://api.sportradar.us/nfl-ngs-t1/seasontd/2016/reg/02/leaders.xml?api_key={your_api_key}")
      
      http = Net::HTTP.new(url.host, url.port)
      http.use_ssl = true
      http.verify_mode = OpenSSL::SSL::VERIFY_NONE
      
      request = Net::HTTP::Get.new(url)
      
      response = http.request(request)
      puts response.read_body
      
      import http.client
      
      conn = http.client.HTTPSConnection("api.sportradar.us")
      
      conn.request("GET", "/nfl-ngs-t1/seasontd/2016/reg/02/leaders.xml?api_key={your_api_key}")
      
      res = conn.getresponse()
      data = res.read()
      
      print(data.decode("utf-8"))
      
      curl -X GET "https://api.sportradar.us/nfl-ngs-t1/seasontd/2016/reg/02/leaders.xml?api_key={your_api_key}"
      

      The above command returns xml structured like this.

      This endpoint retrieves the Weekly Leaders.

      https://api.sportradar.us/nfl-ngs-{access_level}{version}/seasontd/{year}/{nfl_season}/{week}/leaders.{format}?api_key={your_api_key}

      Replace placeholders with the following query parameters:

      Parameter Description
      access_level Defines the access level of your API key as trial (t), or production (p).
      version Version number of the API you are accessing (current version: 1).
      year Year in 4 digit format (YYYY).
      nfl_season Preseason (pre), Regular Season (reg), Postseason (pst).
      week Week in 2 digit format (WW).
      format xml or json.
      your_api_key Your API key.

      Classic NFL API

      Statistics Summary
      Documentation
      Change Log




      API API Version Data Entry Workflow
      Classic NFL v1 Workflow

      Classic NFL API Map

      To best utilize the Classic NFL 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 team rosters for a given game:

      1. Call the season or weekly schedule and find the Team Ids for the given game
      2. Call the Game Roster using the Team Ids

      The rosters for the game are displayed.

        To find the starting situation of a given play:

        1. Call the season or weekly schedule and find the Team Ids for the given game
        2. Call the Play-By-Play using the Team Ids
        3. Locate the Play Id for the play you want
        4. Call the Play Summary and find the starting situation data point

        The starting situation of the play is displayed.

        Primary feeds only require dates or human-readable parameters, while other feeds require identifiers (IDs) to identify the game, team, or play that the feed will discribe. The primary feeds provide IDs for games and teams, while games provide IDS for plays.

        Extended Boxscore

        Top-level team scores by quarter along with team leaders in passing, rushing, and receiving.

        Update Frequency: As Necessary
        Content Type: XML or JSON
        Boxscore Data Points: Away Team Challenges Remaining
        Away Team Points for Quarter
        Away Team Timeouts Remaining
        Away Team Total Points
        Clock
        Home Team Challenges Remaining
        Home Team Points for Quarter
        Home Team Timeouts Remaining
        Home Team Total Points
        Last Event Clock
        Last Event Description
        Last Event Sequence
        Last Event Type
        Last Event Updated
        Quarter
        Possession Down
        Possession Team
        Possession Time
        Possession Side
        Possession Yard Line
        Possession Yards For Down
        Scoring Away Team Points
        Scoring Clock
        Scoring Drive Quarter
        Scoring Drive Sequence
        Scoring Drive Starting Game Clock
        Scoring Drive Team Id
        Scoring Home Team Points
        Scoring Play Description
        Scoring Play Id
        Scoring Play Type
        Scoring Points
        Scoring Quarter
        Scoring Team Id
        Game Info Data Points: Away Team Id
        Away Team Market
        Away Team Name
        Completion Date/Time
        Home Team Id
        Home Team Market
        Home Team Name
        Id
        Scheduled Start Date/Time
        Status
        Player Game Statistics Data Points: Passing 10+ Yards
        Passing 20+ Yards
        Passing 30+ Yards
        Passing 40+ Yards
        Passing 50+ Yards
        Passing Attempts
        Passing Average Yards
        Passing Average Yards per Completion
        Passing Completion Percentage
        Passing Completions
        Passing First Downs
        Passing Interception Percentage
        Passing Interceptions
        Passing Ints Returned for Touchdown
        Passing Longest
        Passing Rating
        Passing Red Zone Attempts
        Passing Sack Yards
        Passing Sacks
        Passing Safeties
        Passing Touchdowns
        Passing Touchdowns Percentage
        Passing Yards
        Receiving 10+ Yards
        Receiving 20+ Yards
        Receiving 30+ Yards
        Receiving 40+ Yards
        Receiving 50+ Yards
        Receiving Average Yards
        Receiving First Downs
        Receiving Fumbles
        Receiving Longest
        Receiving Receptions
        Receiving Red Zone Targets
        Receiving Targets
        Receiving Touchdowns
        Receiving Yards
        Receiving Yards After Catch
        Rushing 10+ Yards
        Rushing 20+ Yards
        Rushing 30+ Yards
        Rushing 40+ Yards
        Rushing 50+ Yards
        Rushing Attempts
        Rushing Average Yards
        Rushing First Down Percentage
        Rushing First Downs
        Rushing Fumbles
        Rushing Longest
        Rushing Red Zone Attempts
        Rushing Safeties
        Rushing Touchdowns
        Rushing Yards

        To generate the Extended Boxscore replace {your_api_key} with your API key:

        require 'uri'
        require 'net/http'
        require 'openssl'
        
        url = URI("https://api.sportradar.us/nfl-t1/2016/reg/1/min/ten/extended-boxscore.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.us")
        
        conn.request("GET", "/nfl-t1/2016/reg/1/min/ten/extended-boxscore.xml?api_key={your_api_key}")
        
        res = conn.getresponse()
        data = res.read()
        
        print(data.decode("utf-8"))
        
        curl -X GET "https://api.sportradar.us/nfl-t1/2016/reg/1/min/ten/extended-boxscore.xml?api_key={your_api_key}"
        

        The above command returns xml structured like this.

        Access the Extended Boxscore feed by replacing the parameters in the following URL:

        https://api.sportradar.us/nfl-{access_level}{version}/{year}/{nfl_season}/{week}/{away_team}/{home_team}/extended-boxscore.{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 Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
        version Version number of the API you are accessing (Current Version: 1).
        year Year in 4 digit format (YYYY).
        nfl_season Preseason (PRE), Regular Season (REG), Postseason (PST).
        week Week of season 1 - 17 (Week 0 of Preseason is Hall of Fame game).
        away_team Abbreviated team name.
        home_team Abbreviated team name.
        format xml or json.
        your_api_key Your API key.

        To retrieve the XML Schema Definition (.XSD) for the Extended Boxscore, replace the parameters in the following URL.

        https://api.sportradar.us/nfl-{access_level}{version}/schema/extended-boxscore-v1.0.xsd?api_key={your_api_key}

        Return to API map

        Game Boxscore

        This feed displays game scoring information for each team, including play information for all scoring drives.

        Update Frequency: As Necessary
        Content Type: XML or JSON
        Boxscore Data Points: Away Team Challenges Remaining
        Away Team Points for Quarter
        Away Team Timeouts Remaining
        Away Team Total Points
        Clock
        Home Team Challenges Remaining
        Home Team Points for Quarter
        Home Team Timeouts Remaining
        Home Team Total Points
        Quarter
        Quarter Number
        Scoring Away Team Points
        Scoring Clock
        Scoring Drive Quarter
        Scoring Drive Sequence
        Scoring Drive Starting Game Clock
        Scoring Drive Team Id
        Scoring Home Team Points
        Scoring Play Description
        Scoring Play Id
        Scoring Play Type
        Scoring Points
        Scoring Quarter
        Scoring Team Id
        Game Info Data Points: Away Team Id
        Away Team Market
        Away Team Name
        Completion Date/Time
        Home Team Id
        Home Team Market
        Home Team Name
        Id
        Scheduled Start Date/Time
        Status

        To generate the Game Boxscore for the Game below replace {your_api_key} with your API key:

        require 'uri'
        require 'net/http'
        require 'openssl'
        
        url = URI("https://api.sportradar.us/nfl-t1/2016/reg/1/min/ten/boxscore.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.us")
        
        conn.request("GET", "/nfl-t1/2016/reg/1/min/ten/boxscore.xml?api_key={your_api_key}")
        
        res = conn.getresponse()
        data = res.read()
        
        print(data.decode("utf-8"))
        
        curl -X GET "https://api.sportradar.us/nfl-t1/2016/reg/1/min/ten/boxscore.xml?api_key={your_api_key}"
        

        The above command returns xml structured like this.

        This endpoint retrieves the boxscore information for a specific game.

        https://api.sportradar.us/nfl-{access_level}{version}/{year}/{nfl_season}/{week}/{away_team}/{home_team}/boxscore.{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 Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
        version Version number of the API you are accessing (Current Version: 1).
        year Year in 4 digit format (YYYY).
        nfl_season Preseason (PRE), Regular Season (REG), Postseason (PST).
        week Week of season 1 - 17 (Week 0 of Preseason is Hall of Fame game).
        away_team Abbreviated team name.
        home_team Abbreviated team name.
        format xml or json.
        your_api_key Your API key.

        To retrieve the XML Schema Definition (.XSD) for the Game Boxscore, replace the parameters in the following URL.

        https://api.sportradar.us/nfl-{access_level}{version}/schema/boxscore-v1.0.xsd?api_key={your_api_key}

        Return to API map

        Game Depth Chart

        Team depth chart rankings for every position in the game.

        Update Frequency: As Necessary
        Content Type: XML or JSON
        Depth Chart Data Points: Depth Chart Position Position Description Position Name
        Game Info Data Points: Away Team Id
        Home Team Id
        Id
        Scheduled Start Date/Time
        Status
        Player Info Data Points: Full Name
        Id
        Jersey Number
        Position
        Status
        Team Info Data Points: Id Market Name

        To generate the Game Depth Chart for the Game below replace {your_api_key} with your API key:

        require 'uri'
        require 'net/http'
        require 'openssl'
        
        url = URI("https://api.sportradar.us/nfl-t1/2016/reg/1/min/ten/depthchart.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.us")
        
        conn.request("GET", "/nfl-t1/2016/reg/1/min/ten/depthchart.xml?api_key={your_api_key}")
        
        res = conn.getresponse()
        data = res.read()
        
        print(data.decode("utf-8"))
        
        curl -X GET "https://api.sportradar.us/nfl-t1/2016/reg/1/min/ten/depthchart.xml?api_key={your_api_key}"
        

        The above command returns xml structured like this.

        This endpoint retrieves the depth chart information for a specific game.

        https://api.sportradar.us/nfl-{access_level}{version}/{year}/{nfl_season}/{week}/{away_team}/{home_team}/depthchart.{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 Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
        version Version number of the API you are accessing (Current Version: 1).
        year Year in 4 digit format (YYYY).
        nfl_season Preseason (PRE), Regular Season (REG), Postseason (PST).
        week Week of season 1 - 17 (Week 0 of Preseason is Hall of Fame game).
        away_team Abbreviated team name.
        home_team Abbreviated team name.
        format xml or json.
        your_api_key Your API key.

        To retrieve the XML Schema Definition (.XSD) for the Game Boxscore, replace the parameters in the following URL.

        https://api.sportradar.us/nfl-{access_level}{version}/schema/depth_chart-v1.0.xsd?api_key={your_api_key}

        Return to API map

        Game Roster

        Player information for each match-up, including height/weight, jersey number, position, and injury status.

        Update Frequency: As Necessary
        Content Type: XML or JSON
        Game Info Data Points: Away Team Id
        Home Team Id
        Id
        Scheduled Start Date/Time
        Status
        Injuries Data Points: Description
        Game Status
        Id
        Practice Status
        Start Date
        Player Info Data Points: Abbreviated Name
        Birth Date
        College
        First Name
        Full Name
        Height
        Id
        Jersey Number
        Last Name
        Played
        Position
        Salary
        Started
        Status
        Weight
        Team Info Data Points: Coach Abbreviated Name
        Coach First Name
        Coach Full Name
        Coach Id
        Coach Last Name
        Coach Position
        Coach Salary
        Coach Status
        Id
        Market
        Name

        To generate the Game Roster for the game below replace {your_api_key} with your API key:

        require 'uri'
        require 'net/http'
        require 'openssl'
        
        url = URI("https://api.sportradar.us/nfl-t1/2016/reg/1/min/ten/roster.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.us")
        
        conn.request("GET", "/nfl-t1/2016/reg/1/min/ten/roster.xml?api_key={your_api_key}")
        
        res = conn.getresponse()
        data = res.read()
        
        print(data.decode("utf-8"))
        
        curl -X GET "https://api.sportradar.us/nfl-t1/2016/reg/1/min/ten/roster.xml?api_key={your_api_key}"
        

        The above command returns xml structured like this.

        This endpoint retrieves the game roster for a specific game.

        https://api.sportradar.us/nfl-{access_level}{version}/{year}/{nfl_season}/{week}/{away_team}/{home_team}/roster.{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 Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
        version Version number of the API you are accessing (Current Version: 1).
        year Year in 4 digit format (YYYY).
        nfl_season Preseason (PRE), Regular Season (REG), Postseason (PST).
        week Week of season 1 - 17 (Week 0 of Preseason is Hall of Fame game).
        away_team Abbreviated team name.
        home_team Abbreviated team name.
        format xml or json.
        your_api_key Your API key.

        To retrieve the XML Schema Definition (.XSD) for Game Roster, replace the parameters in the following URL.

        https://api.sportradar.us/nfl-{access_level}{version}/schema/roster-v1.0.xsd?api_key={your_api_key}

        Return to API map

        Game Statistics

        Detailed game stats at the player and team level, including offense, defense, and special teams breakouts.

        Update Frequency: As Necessary
        Content Type: XML or JSON
        Boxscore Data Points: Away Team Challenges Remaining
        Away Team Timeouts Remaining
        Away Team Total Points
        Home Team Challenges Remaining
        Home Team Timeouts Remaining
        Home Team Total Points
        Game Info Data Points: Away Team Id
        Home Team Id
        Id
        Scheduled Start Date/Time
        Status
        Player Game Statistics Data Points: Blocked Field Goal Return 10+ Yards
        Blocked Field Goal Return 20+ Yards
        Blocked Field Goal Return 30+ Yards
        Blocked Field Goal Return 40+ Yards
        Blocked Field Goal Return 50+ Yards
        Blocked Field Goal Return Average Yards
        Blocked Field Goal Return Fair Catches
        Blocked Field Goal Return Longest
        Blocked Field Goal Return Returns
        Blocked Field Goal Return Touchdowns
        Blocked Field Goal Return Yards
        Conversions Extra Points Attempts
        Conversions Extra Points Blocked
        Conversions Extra Points Made
        Conversions Extra Points Percentage
        Defense 1pt Safeties
        Defense Assisted Tackles
        Defense Blocks
        Defense Combined Tackles
        Defense Conversions Attempts
        Defense Conversions Failed
        Defense Conversions Made
        Defense Fumbles Forced
        Defense Fumbles Recoveries
        Defense Fumbles Touchdowns
        Defense Interceptions
        Defense Interceptions Longest
        Defense Interceptions Touchdowns
        Defense Interceptions Yards
        Defense Miscellaneous Assisted Tackles
        Defense Miscellaneous Combined Tackles
        Defense Miscellaneous Forced Fumbles
        Defense Miscellaneous Fumble Recoveries
        Defense Miscellaneous Tackles
        Defense Passes Defended
        Defense QB Hits
        Defense Sack Yards
        Defense Sacks
        Defense Safeties
        Defense Special Teams Assisted Tackles
        Defense Special Teams Combined Tackles
        Defense Special Teams Forced Fumbles
        Defense Special Teams Fumble Recoveries
        Defense Special Teams Tackles
        Defense Tackles
        Defense Tackles for Loss
        Field Goals Attempts
        Field Goals Attempts 1-19 Yards
        Field Goals Attempts 20-29 Yards
        Field Goals Attempts 30-39 Yards
        Field Goals Attempts 40-49 Yards
        Field Goals Attempts 50+ Yards
        Field Goals Blocked
        Field Goals Longest
        Field Goals Made
        Field Goals Made 1-19 Yards
        Field Goals Made 20-29 Yards
        Field Goals Made 30-39 Yards
        Field Goals Made 40-49 Yards
        Field Goals Made 50+ Yards
        Field Goals Percentage
        First Downs Passing
        First Downs Penalty
        First Downs Rushing
        First Downs Total
        Fumbles Force Fumbles
        Fumbles Fumbles
        Fumbles Lost Fumbles
        Fumbles Opponent Recovery
        Fumbles Opponent Recovery Touchdowns
        Fumbles Opponent Recovery Yards
        Fumbles Out of Bounds
        Fumbles Own Recovery
        Fumbles Own Recovery Touchdowns
        Fumbles Own Recovery Yards
        Kick Returns 10+ Yards
        Kick Returns 20+ Yards
        Kick Returns 30+ Yards
        Kick Returns 40+ Yards
        Kick Returns 50+ Yards
        Kick Returns Average Yards
        Kick Returns Fair Catches
        Kick Returns Longest
        Kick Returns Returns
        Kick Returns Touchdowns
        Kick Returns Yards
        Kickoffs Average Kick
        Kickoffs Average Return
        Kickoffs End Zone
        Kickoffs Insdie 20 Percentage
        Kickoffs Inside 20
        Kickoffs Kickoffs
        Kickoffs Longest
        Kickoffs Net Average
        Kickoffs Net Yards
        Kickoffs Return Yards
        Kickoffs Returns
        Kickoffs Touchback Percentage
        Kickoffs Touchbacks
        Kickoffs Yards
        Passing 10+ Yards
        Passing 20+ Yards
        Passing 30+ Yards
        Passing 40+ Yards
        Passing 50+ Yards
        Passing Attempts
        Passing Average Yards
        Passing Average Yards per Completion
        Passing Completion Percentage
        Passing Completions
        Passing First Downs
        Passing Interception Percentage
        Passing Interceptions
        Passing Ints Returned for Touchdown
        Passing Longest
        Passing Rating
        Passing Red Zone Attempts
        Passing Sack Yards
        Passing Sacks
        Passing Safeties
        Passing Touchdowns
        Passing Touchdowns Percentage
        Passing Yards
        Penalties Penalties
        Penalties Penalty First Downs
        Penalties Penalty Yards
        Punt Returns 10+ Yards
        Punt Returns 20+ Yards
        Punt Returns 30+ Yards
        Punt Returns 40+ Yards
        Punt Returns 50+ Yards
        Punt Returns Average Yards
        Punt Returns Fair Catches
        Punt Returns Longest
        Punt Returns Returns
        Punt Returns Touchdowns
        Punt Returns Yards
        Punts Attempts
        Punts Average Net Yards
        Punts Average Return
        Punts Average Yards
        Punts Blocked
        Punts Inside 20
        Punts Inside 20 Percentage
        Punts Longest
        Punts Net Yards
        Punts Return Yards
        Punts Returns
        Punts Safeties
        Punts Touchback Percentage
        Punts Touchbacks
        Punts Yards
        Receiving 10+ Yards
        Receiving 20+ Yards
        Receiving 30+ Yards
        Receiving 40+ Yards
        Receiving 50+ Yards
        Receiving Average Yards
        Receiving First Downs
        Receiving Fumbles
        Receiving Longest
        Receiving Receptions
        Receiving Red Zone Targets
        Receiving Targets
        Receiving Touchdowns
        Receiving Yards
        Receiving Yards After Catch
        Rushing 10+ Yards
        Rushing 20+ Yards
        Rushing 30+ Yards
        Rushing 40+ Yards
        Rushing 50+ Yards
        Rushing Attempts
        Rushing Average Yards
        Rushing First Down Percentage
        Rushing First Downs
        Rushing Fumbles
        Rushing Longest
        Rushing Red Zone Attempts
        Rushing Safeties
        Rushing Touchdowns
        Rushing Yards
        Touchdowns Field Goal Return
        Touchdowns Fumble Return
        Touchdowns Interception Return
        Touchdowns Kick Return
        Touchdowns Other
        Touchdowns Passing
        Touchdowns Punt Return
        Touchdowns Rushing
        Two Point Conversion Attempted
        Two Point Conversion Passing
        Two Point Conversion Receving
        Two Point Conversion Rushing
        Team Game Statistics Data Points: Blocked Field Goal Return 10+ Yards
        Blocked Field Goal Return 20+ Yards
        Blocked Field Goal Return 30+ Yards
        Blocked Field Goal Return 40+ Yards
        Blocked Field Goal Return 50+ Yards
        Blocked Field Goal Return Average Yards
        Blocked Field Goal Return Fair Catches
        Blocked Field Goal Return Longest
        Blocked Field Goal Return Returns
        Blocked Field Goal Return Touchdowns
        Blocked Field Goal Return Yards
        Conversions Extra Points Attempts
        Conversions Extra Points Blocked
        Conversions Extra Points Made
        Conversions Extra Points Percentage
        Defense 1pt Safeties
        Defense Assisted Tackles
        Defense Blocks
        Defense Combined Tackles
        Defense Conversions Attempts
        Defense Conversions Failed
        Defense Conversions Made
        Defense Fumbles Forced
        Defense Fumbles Recoveries
        Defense Fumbles Touchdowns
        Defense Interceptions
        Defense Interceptions Longest
        Defense Interceptions Touchdowns
        Defense Interceptions Yards
        Defense Miscellaneous Assisted Tackles
        Defense Miscellaneous Combined Tackles
        Defense Miscellaneous Forced Fumbles
        Defense Miscellaneous Fumble Recoveries
        Defense Miscellaneous Tackles
        Defense Passes Defended
        Defense QB Hits
        Defense Sack Yards
        Defense Sacks
        Defense Safeties
        Defense Special Teams Assisted Tackles
        Defense Special Teams Combined Tackles
        Defense Special Teams Forced Fumbles
        Defense Special Teams Fumble Recoveries
        Defense Special Teams Tackles
        Defense Tackles
        Defense Tackles for Loss
        Efficiency 3rd Down Attempts
        Efficiency 3rd Down Conversions
        Efficiency 3rd Down Conversions via Pass
        Efficiency 3rd Down Conversions via Penalty
        Efficiency 3rd Down Conversions via Rush
        Efficiency 3rd Down Percentage
        Efficiency 4th Down Attempts
        Efficiency 4th Down Conversions
        Efficiency 4th Down Conversions via Pass
        Efficiency 4th Down Conversions via Penalty
        Efficiency 4th Down Conversions via Rush
        Efficiency 4th Down Percentage
        Efficiency Goal to Go Attempts
        Efficiency Goal to Go Conversions
        Efficiency Goal to Go Percentage
        Efficiency Red Zone Attempts
        Efficiency Red Zone Conversions
        Efficiency Red Zone Percentage
        Field Goals Attempts
        Field Goals Attempts 1-19 Yards
        Field Goals Attempts 20-29 Yards
        Field Goals Attempts 30-39 Yards
        Field Goals Attempts 40-49 Yards
        Field Goals Attempts 50+ Yards
        Field Goals Longest
        Field Goals Made
        Field Goals Made 1-19 Yards
        Field Goals Made 20-29 Yards
        Field Goals Made 30-39 Yards
        Field Goals Made 40-49 Yards
        Field Goals Made 50+ Yards
        Field Goals Percentage
        First Downs Passing
        First Downs Penalty
        First Downs Rushing
        First Downs Total
        Fumbles Force Fumbles
        Fumbles Fumbles
        Fumbles Lost Fumbles
        Fumbles Opponent Recovery
        Fumbles Opponent Recovery Touchdowns
        Fumbles Opponent Recovery Yards
        Fumbles Out of Bounds
        Fumbles Own Recovery
        Fumbles Own Recovery Touchdowns
        Fumbles Own Recovery Yards
        Kick Returns 10+ Yards
        Kick Returns 20+ Yards
        Kick Returns 30+ Yards
        Kick Returns 40+ Yards
        Kick Returns 50+ Yards
        Kick Returns Average Yards
        Kick Returns Fair Catches
        Kick Returns Longest
        Kick Returns Returns
        Kick Returns Touchdowns
        Kick Returns Yards
        Kickoffs Average Kick
        Kickoffs Average Return
        Kickoffs End Zone
        Kickoffs Inside 20
        Kickoffs Inside 20 Percentage
        Kickoffs Kickoffs
        Kickoffs Longest
        Kickoffs Net Average
        Kickoffs Net Yards
        Kickoffs Return Yards
        Kickoffs Returns
        Kickoffs Touchback Percentage
        Kickoffs Touchbacks
        Kickoffs Yards
        Passing 10+ Yards
        Passing 20+ Yards
        Passing 30+ Yards
        Passing 40+ Yards
        Passing 50+ Yards
        Passing Attempts
        Passing Average Yards
        Passing Average Yards per Completion
        Passing Completion Percentage
        Passing Completions
        Passing First Downs
        Passing Interception Percentage
        Passing Interceptions
        Passing Ints Returned for Touchdown
        Passing Longest
        Passing Rating
        Passing Red Zone Attempts
        Passing Sack Yards
        Passing Sacks
        Passing Safeties
        Passing Touchdowns
        Passing Touchdowns Percentage
        Passing Yards
        Penalties Penalties
        Penalties Penalty First Downs
        Penalties Penalty Yards
        Punt Returns 10+ Yards
        Punt Returns 20+ Yards
        Punt Returns 30+ Yards
        Punt Returns 40+ Yards
        Punt Returns 50+ Yards
        Punt Returns Average Yards
        Punt Returns Fair Catches
        Punt Returns Longest
        Punt Returns Returns
        Punt Returns Touchdowns
        Punt Returns Yards
        Punts Attempts
        Punts Average Net Yards
        Punts Average Return
        Punts Average Yards
        Punts Blocked
        Punts Inside 20
        Punts Inside 20 Percentage
        Punts Longest
        Punts Net Yards
        Punts Return Yards
        Punts Returns
        Punts Safeties
        Punts Touchback Percentage
        Punts Touchbacks
        Punts Yards
        Receiving 10+ Yards
        Receiving 20+ Yards
        Receiving 30+ Yards
        Receiving 40+ Yards
        Receiving 50+ Yards
        Receiving Average Yards
        Receiving First Downs
        Receiving Fumbles
        Receiving Longest
        Receiving Receptions
        Receiving Red Zone Targets
        Receiving Targets
        Receiving Touchdowns
        Receiving Yards
        Receiving Yards After Catch
        Rushing 10+ Yards
        Rushing 20+ Yards
        Rushing 30+ Yards
        Rushing 40+ Yards
        Rushing 50+ Yards
        Rushing Attempts
        Rushing Average Yards
        Rushing First Down Percentage
        Rushing First Downs
        Rushing Fumbles
        Rushing Longest
        Rushing Red Zone Attempts
        Rushing Safeties
        Rushing Touchdowns
        Rushing Yards
        Touchdowns Field Goal Return
        Touchdowns Fumble Return
        Touchdowns Interception Return
        Touchdowns Kick Return
        Touchdowns Other
        Touchdowns Pass
        Touchdowns Punt Return
        Touchdowns Rush
        Two Point Conversions Attempted
        Two Point Conversions Failed
        Two Point Conversions Passing
        Two Point Conversions Receiving
        Two Point Conversions Rushing
        Player Info Data Points: Full Name
        Id
        Jersey Number Position
        Team Info Data Points: Id Market Name

        To generate the Game Statistics replace {your_api_key} with your API key:

        require 'uri'
        require 'net/http'
        require 'openssl'
        
        url = URI("https://api.sportradar.us/nfl-t1/2016/reg/1/min/ten/statistics.xml?api_key={your_api_key}")
        
        http = Net::HTTP.new(url.host, url.port)
        http.use_ssl = true
        http.verify_mode = OpenSSL::SSL::VERIFY_NONE
        
        request = Net::HTTP::Get.new(url)
        
        response = http.request(request)
        puts response.read_body
        
        import http.client
        
        conn = http.client.HTTPSConnection("api.sportradar.us")
        
        conn.request("GET", "/nfl-t1/2016/reg/1/min/ten/statistics.xml?api_key={your_api_key}")
        
        res = conn.getresponse()
        data = res.read()
        
        print(data.decode("utf-8"))
        
        curl -X GET "https://api.sportradar.us/nfl-t1/2016/reg/1/min/ten/statistics.xml?api_key={your_api_key}"
        

        The above command returns xml structured like this.

        This endpoint retrieves the Game Statistics.

        https://api.sportradar.us/nfl-{access_level}{version}/{year}/{nfl_season}/{week}/{away_team}/{home_team}/statistics.{format}?api_key={your_api_key}

        Replace placeholders with the following query parameters:

        Parameter Description
        access_level Defines the access level of your API key as Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
        version Version number of the API you are accessing (Current Version: 1).
        year Year in 4 digit format (YYYY).
        nfl_season Preseason (PRE), Regular Season (REG), Postseason (PST).
        week Week of season 1 - 17 (Week 0 of Preseason is Hall of Fame game).
        away_team Abbreviated team name.
        home_team Abbreviated team name.
        format xml or json.
        your_api_key Your API key.

        To retrieve the XML Schema Definition (.XSD) for the Game Statistics, replace the parameters in the following URL.

        https://api.sportradar.us/nfl-{access_level}{version}/schema/statistics-v1.0.xsd?api_key={your_api_key}

        Return to API map

        Game Summary

        Team comparisons for all major stat categories within a game, as well as deeper insights such as third/fourth down and red zone efficiency.

        Update Frequency: As Necessary
        Content Type: XML or JSON
        Game Info Data Points: Away Team Id
        Home Team Id
        Id
        Scheduled Start Date/Time
        Status
        Team Summary Game Statistics Data Points: 3rd Down Efficiency Attempts
        3rd Down Efficiency Converted
        3rd Down Efficiency Percentage
        3rd Down Efficiency Via Pass
        3rd Down Efficiency Via Penalty
        3rd Down Efficiency Via Rush
        4th Down Efficiency Attempts
        4th Down Efficiency Converted
        4th Down Efficiency Percentage
        4th Down Efficiency Via Pass
        4th Down Efficiency Via Penalty
        4th Down Efficiency Via Rush
        Extra Points 2 Pt Conversion Attempts
        Extra Points 2 Pt Conversion Made
        Extra Points Attempts
        Extra Points Kicking Attempts
        Extra Points Kicking Blocked
        Extra Points Kicking Made
        Extra Points Made
        Field Goals Attempts
        Field Goals Blocked
        Field Goals Made
        Final Score
        First Downs Total
        First Downs Via Pass
        First Downs Via Penalty
        First Downs Via Rush
        Fumbles Lost
        Fumbles Total
        Goal Efficiency Attempts
        Goal Efficiency Percentage
        Goal Efficiency Touchdowns
        Kickoffs End Zone
        Kickoffs Total
        Kickoffs Touchbacks
        Passing Attempts
        Passing Average
        Passing Completions
        Passing Gross Yards
        Passing Interceptions
        Passing Net Yards
        Passing Sack Yards
        Passing Sacks
        Penalties Total
        Penalties Yards
        Punts Average
        Punts Blocked
        Punts Net Average
        Punts Total
        Red Zone Efficiency Attempts
        Red Zone Efficiency Percentage
        Red Zone Efficiency Touchdowns
        Returns Int Return Yards
        Returns Int Returns
        Returns Kick Return Yards
        Returns Kick Returns
        Returns Punt Return Yards
        Returns Punt Returns
        Returns Total Yardage
        Rushing Average
        Rushing Plays
        Rushing Yards
        Safeties
        Time of Possession
        Total Yards Average
        Total Yards Plays
        Total Yards Yards
        Touchdowns Field Goal Return
        Touchdowns Fumble Return
        Touchdowns Interception
        Touchdowns Kickoff Return
        Touchdowns Passing
        Touchdowns Punt Return
        Touchdowns Rushing
        Touchdowns Total
        Turnovers
        Data Points: Id Market Name

        To generate the Game Summary for the game below replace {your_api_key} with your API key:

        require 'uri'
        require 'net/http'
        require 'openssl'
        
        url = URI("https://api.sportradar.us/nfl-t1/2016/reg/1/min/ten/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
        
        import http.client
        
        conn = http.client.HTTPSConnection("api.sportradar.us")
        
        conn.request("GET", "/nfl-t1/2016/reg/1/min/ten/summary.xml?api_key={your_api_key}")
        
        res = conn.getresponse()
        data = res.read()
        
        print(data.decode("utf-8"))
        
        curl -X GET "https://api.sportradar.us/nfl-t1/2016/reg/1/min/ten/summary.xml?api_key={your_api_key}"
        

        The above command returns xml structured like this.

        This endpoint retrieves the Game Summary information for a specific game.

        https://api.sportradar.us/nfl-{access_level}{version}/{year}/{nfl_season}/{week}/{away_team}/{home_team}/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 Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
        version Version number of the API you are accessing (Current Version: 1).
        year Year in 4 digit format (YYYY).
        nfl_season Preseason (PRE), Regular Season (REG), Postseason (PST).
        week Week of season 1 - 17 (Week 0 of Preseason is Hall of Fame game).
        away_team Abbreviated team name.
        home_team Abbreviated team name.
        format xml or json.
        your_api_key Your API key.

        To retrieve the XML Schema Definition (.XSD) for Game Summary, replace the parameters in the following URL.

        https://api.sportradar.us/nfl-{access_level}{version}/schema/summary-v1.0.xsd?api_key={your_api_key}

        Return to API map

        Injuries

        Detailed information on injuries, including the injury type, and the player’s game and practice status.

        Update Frequency: As Necessary
        Content Type: XML or JSON
        Game Info Data Points: Away Team Id
        Home Team Id
        Id
        Scheduled Start Date/Time
        Status
        Injuries Data Points: Description
        Game Status
        Id
        Practice Status
        Start Date
        Player Info Data Points: Full Name
        Id
        Jersey Number
        Position
        Status
        Team Info Data Points: Id Market Name

        To generate the Injuries for the game below replace {your_api_key} with your API key:

        require 'uri'
        require 'net/http'
        require 'openssl'
        
        url = URI("https://api.sportradar.us/nfl-t1/2016/reg/1/min/ten/injuries.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.us")
        
        conn.request("GET", "/nfl-t1/2016/reg/1/min/ten/injuries.xml?api_key={your_api_key}")
        
        res = conn.getresponse()
        data = res.read()
        
        print(data.decode("utf-8"))
        
        curl -X GET "https://api.sportradar.us/nfl-t1/2016/reg/1/min/ten/injuries.xml?api_key={your_api_key}"
        

        The above command returns xml structured like this.

        This endpoint retrieves the Injuries for a specific game.

        https://api.sportradar.us/nfl-{access_level}{version}/{year}/{nfl_season}/{week}/{away_team}/{home_team}/injuries.{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 Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
        version Version number of the API you are accessing (Current Version: 1).
        year Year in 4 digit format (YYYY).
        nfl_season Preseason (PRE), Regular Season (REG), Postseason (PST).
        week Week of season 1 - 17 (Week 0 of Preseason is Hall of Fame game).
        away_team Abbreviated team name.
        home_team Abbreviated team name.
        format xml or json.
        your_api_key Your API key.

        To retrieve the XML Schema Definition (.XSD) for the Injuries, replace the parameters in the following URL.

        https://api.sportradar.us/nfl-{access_level}{version}/schema/roster-v1.0.xsd?api_key={your_api_key}

        Return to API map

        Play-By-Play

        Detailed, real-time information on every team possession and game event.

        Update Frequency: As Necessary
        Content Type: XML or JSON
        Boxscore Data Points: Away Team Challenges Remaining
        Away Team Timeouts Remaining
        Away Team Total Points
        Home Team Challenges Remaining
        Home Team Timeouts Remaining
        Home Team Total Points
        Quarter
        Game Info Data Points: Away Team Id
        Completion Date/Time
        Home Team Id
        Id
        Scheduled Start Date/Time
        Status
        Play-By-Play Data Points: Drive Clock
        Drive Id
        Drive Team
        Event Clock
        Event Outcome
        Event Sequence
        Event Summary
        Event Type
        Event Updated
        Event Winner
        Game Quarter
        Play Clock
        Play Direction
        Play Down
        Play Formation
        Play Id
        Play Sequence
        Play Side
        Play Summary
        Play Type
        Play Yard Line
        Play Yards To First Down
        Play Defensive Action
        Play Defensive Formation
        Play Distance
        Play Official
        Play Overturned
        Play Score Points
        Play Score Type
        Play Scoring Team
        Play Updated Date/Time
        Play Participant Jersey Number
        Play Participant Player Id
        Play Participant Player Name
        Play Participant Position
        Play Participant Team
        Player Info Data Points: Full Name
        Id
        Jersey Number Position

        To generate the Play-By-Play for the game below replace {your_api_key} with your API key:

        require 'uri'
        require 'net/http'
        require 'openssl'
        
        url = URI("https://api.sportradar.us/nfl-t1/2016/reg/1/min/ten/pbp.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.us")
        
        conn.request("GET", "/nfl-t1/2016/reg/1/min/ten/pbp.xml?api_key={your_api_key}")
        
        res = conn.getresponse()
        data = res.read()
        
        print(data.decode("utf-8"))
        
        curl -X GET "https://api.sportradar.us/nfl-t1/2016/reg/1/min/ten/pbp.xml?api_key={your_api_key}"
        

        The above command returns xml structured like this.

        This endpoint retrieves the Play-By-Play for a specific game.

        https://api.sportradar.us/nfl-{access_level}{version}/{year}/{nfl_season}/{week}/{away_team}/{home_team}/pbp.{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 Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
        version Version number of the API you are accessing (Current Version: 1).
        year Year in 4 digit format (YYYY).
        nfl_season Preseason (PRE), Regular Season (REG), Postseason (PST).
        week Week of season 1 - 17 (Week 0 of Preseason is Hall of Fame game).
        away_team Abbreviated team name.
        home_team Abbreviated team name.
        format xml or json.
        your_api_key Your API key.

        To retrieve the XML Schema Definition (.XSD) for the Play-By-Play, replace the parameters in the following URL.

        https://api.sportradar.us/nfl-{access_level}{version}/schema/pbp-v1.0.xsd?api_key={your_api_key}

        Return to API map

        Play Summary

        Real-time play detail for every game play.

        Update Frequency: As Necessary
        Content Type: XML or JSON
        Play Info Data Points: Ending Situation Down
        Ending Situation Side
        Ending Situation Team
        Ending Situation Yard Line
        Ending Situation Yards To First Down
        Play Clock
        Play Direction
        Play Formation
        Play Game Id
        Play Id
        Play Summary
        Play Type
        Play Controller
        Play Defensive Action
        Play Defensive Formation
        Play Distance
        Play Official
        Play Progression From Side
        Play Progression From Yard Line
        Play Progression Sequence
        Play Progression Team Id
        Play Progression To Side
        Play Progression To Yard Line
        Play Quarter
        Play Score Points
        Play Score Type
        Play Scoring Team
        Play Updated Date/Time
        Play Participant Jersey Number
        Play Participant Player Id
        Play Participant Player Name
        Play Participant Position
        Play Participant Team
        Starting Situation Down
        Starting Situation Side
        Starting Situation Team
        Starting Situation Yard Line
        Starting Situation Yards To First Down
        Play Statistics Data Points: Blocked Field Goal Returns Fair Catches
        Blocked Field Goal Returns
        Blocked Field Goal Returns Total Yards
        Blocked Field Goal Returns Touchdowns
        Blocked Punt Returns Fair Catches
        Blocked Punt Returns Returns
        Blocked Punt Returns Total Yards
        Blocked Punt Returns Touchdowns
        Conversions 2pt Attempted
        Conversions 2pt Category
        Conversions 2pt Made
        Conversions Defensive Attempts
        Conversions Defensive Category
        Conversions Defensive Made
        Conversions Extra Points Attempts
        Conversions Extra Points Blocked
        Conversions Extra Points Made
        Defense Assisted Tackles
        Defense Category
        Defense Forced Fumbles
        Defense Interception
        Defense Sack
        Defense Sack Yards
        Defense Safety
        Defense Tackle For Loss
        Defense Tackles
        Field Goal Returns Category
        Field Goal Returns
        Field Goal Returns Total Yards
        Field Goal Returns Touchdowns
        Field Goals Attempt
        Field Goals Attempt Yards
        Field Goals Blocked
        Field Goals Made
        Field Goals Returned
        Field Goals Yards
        Fumble Returns Category
        Fumble Returns Fair Catches
        Fumble Returns Opponent Recovery
        Fumble Returns Own Recovery
        Fumble Returns Returns
        Fumble Returns Touchdowns
        Fumble Returns Yards
        Fumbles Category
        Fumbles Fumbles
        Fumbles Lost
        Fumbles Out Of Bounds
        Kick Returns Fair Catches
        Kick Returns Returns
        Kick Returns Touchdowns
        Kick Returns Yards
        Kickoffs End Zone
        Kickoffs Inside 20
        Kickoffs Kickoffs
        Kickoffs Net Yards
        Kickoffs Returns
        Kickoffs Touchback
        Kickoffs Yards
        Passing Attempt
        Passing Completion
        Passing First Down
        Passing Interception
        Passing Red Zone Attempts
        Passing Sack
        Passing Sack Yards
        Passing Tackled for Safety
        Passing Touchdown
        Passing Yards
        Penalties Code
        Penalties First Downs
        Penalties Yards
        Punt Returns Fair Catches
        Punt Returns Returns
        Punt Returns Touchdowns
        Punt Returns Yards
        Punting Blocked
        Punting Inside 20
        Punting Net Yards
        Punting Punts
        Punting Returns
        Punting Safety
        Punting Touchback
        Punting Yards
        Receiving First Down
        Receiving Fumbles
        Receiving Reception
        Receiving Red Zone Targets
        Receiving Target
        Receiving Touchdown
        Receiving Yards
        Rushing Attempt
        Rushing First Down
        Rushing Fumbles
        Rushing Red Zone Attempts
        Rushing Safeties
        Rushing Touchdown
        Rushing Yards
        Player Info Data Points: Full Name
        Id
        Jersey Number Position
        Team Info Data Points: Id

        To generate the Play Summary for the play below replace {your_api_key} with your API key:

        require 'uri'
        require 'net/http'
        require 'openssl'
        
        url = URI("https://api.sportradar.us/nfl-t1/2016/reg/1/min/ten/plays/0624eef2-d273-4f1b-811c-585f362a7b62.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.us")
        
        conn.request("GET", "/nfl-t1/2016/reg/1/min/ten/plays/0624eef2-d273-4f1b-811c-585f362a7b62.xml?api_key={your_api_key}")
        
        res = conn.getresponse()
        data = res.read()
        
        print(data.decode("utf-8"))
        
        curl -X GET "https://api.sportradar.us/nfl-t1/2016/reg/1/min/ten/plays/0624eef2-d273-4f1b-811c-585f362a7b62.xml?api_key={your_api_key}"
        

        The above command returns xml structured like this.

        This endpoint retrieves the Play Summary.

        https://api.sportradar.us/nfl-{access_level}{version}/{year}/{nfl_season}/{week}/{away_team}/{home_team}/plays/{play_id}.{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 Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
        version Version number of the API you are accessing (Current Version: 1).
        year Year in 4 digit format (YYYY).
        nfl_season Preseason (PRE), Regular Season (REG), Postseason (PST).
        week Week of season 1 - 17 (Week 0 of Preseason is Hall of Fame game).
        away_team Abbreviated team name.
        home_team Abbreviated team name.
        format xml or json.
        your_api_key Your API key.

        To retrieve the XML Schema Definition (.XSD) for the Play Summary, replace the parameters in the following URL.

        https://api.sportradar.us/nfl-{access_level}{version}/schema/extended-play-v1.0.xsd?api_key={your_api_key}

        Return to API map

        Rankings

        Conference and division rank for each team, including post season clinching status.

        Update Frequency: As Necessary
        Content Type: XML or JSON
        League Info Data Points: Conference Id
        Conference Name
        Division Id
        Division Name
        Season Type
        Season Year
        Standings Info Data Points: Clinched Status Conference Rank Division Rank
        Team Info Data Points: Id Market Name

        To generate the Rankings for the year below replace {your_api_key} with your API key:

        require 'uri'
        require 'net/http'
        require 'openssl'
        
        url = URI("https://api.sportradar.us/nfl-t1/teams/2016/rankings.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.us")
        
        conn.request("GET", "/nfl-t1/teams/2016/rankings.xml?api_key={your_api_key}")
        
        res = conn.getresponse()
        data = res.read()
        
        print(data.decode("utf-8"))
        
        curl -X GET "https://api.sportradar.us/nfl-t1/teams/2016/rankings.xml?api_key={your_api_key}"
        

        The above command returns xml structured like this.

        This endpoint retrieves the Rankings for a year.

        https://api.sportradar.us/nfl-{access_level}{version}/teams/{year}/rankings.{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 Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
        version Version number of the API you are accessing (Current Version: 1).
        year Year in 4 digit format (YYYY).
        format xml or json.
        your_api_key Your API key.

        To retrieve the XML Schema Definition (.XSD) for the Rankings, replace the parameters in the following URL.

        https://api.sportradar.us/nfl-{access_level}{version}/schema/rankings-v1.0.xsd?api_key={your_api_key}

        Return to API map

        Season Schedule

        Provides the date, time, location, and other event details for every match-up for the season, as well as links to other feeds.

        Update Frequency: As Necessary
        Content Type: XML or JSON
        Game Info Data Points: Away Team Id
        Away Team Rotation Number
        Broadcast Cable
        Broadcast Internet
        Broadcast Network
        Broadcast Satellite
        Home Team Id
        Home Team Rotation Number
        Id
        Scheduled Start Date/Time
        Status
        Weather Temperature
        Weather Conditions
        Weather Humidity
        Weather Wind Speed
        Weather Wind Direction
        League Info Data Points: Bye Week Team
        Season Type
        Season Year Week Sequence
        Venue Data Points: Address
        Capacity
        City
        Country
        Id
        Name
        State
        Surface
        Type
        Zip

        To generate Season Schedule replace {your_api_key} with your API key:

        require 'uri'
        require 'net/http'
        require 'openssl'
        
        url = URI("https://api.sportradar.us/nfl-t1/2016/reg/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
        
        import http.client
        
        conn = http.client.HTTPSConnection("api.sportradar.us")
        
        conn.request("GET", "/nfl-t1/2016/reg/schedule.xml?api_key={your_api_key}")
        
        res = conn.getresponse()
        data = res.read()
        
        print(data.decode("utf-8"))
        
        curl -X GET "https://api.sportradar.us/nfl-t1/2016/reg/schedule.xml?api_key={your_api_key}"
        

        The above command returns xml structured like this.

        This endpoint retrieves the Season Schedule.

        https://api.sportradar.us/nfl-{access_level}{version}/{year}/{nfl_season}/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 Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
        version Version number of the API you are accessing (Current Version: 1).
        year Year in 4 digit format (YYYY).
        nfl_season Preseason (PRE), Regular Season (REG), Postseason (PST).
        format xml or json.
        your_api_key Your API key.

        To retrieve the XML Schema Definition (.XSD) for the Season Schedule, replace the parameters in the following URL.

        https://api.sportradar.us/nfl-{access_level}{version}/schema/schedule-v1.0.xsd?api_key={your_api_key}

        Return to API map

        Seasonal Statistics

        Detailed season stats at the team and player level, including extensive offense, defense, and special teams breakouts.

        Update Frequency: As Necessary
        Content Type: XML or JSON
        League Info Data Points: Season Type Season Year
        Player Info Data Points: Full Name
        Id
        Jersey Number Position
        Player Seasonal Statistics Data Points: Blocked Field Goal Return 10+ Yards
        Blocked Field Goal Return 20+ Yards
        Blocked Field Goal Return 30+ Yards
        Blocked Field Goal Return 40+ Yards
        Blocked Field Goal Return 50+ Yards
        Blocked Field Goal Return Average Yards
        Blocked Field Goal Return Longest
        Blocked Field Goal Return Returns
        Blocked Field Goal Return Touchdowns
        Blocked Field Goal Return Yards
        Conversions Extra Points Attempts
        Conversions Extra Points Blocked
        Conversions Extra Points Made
        Conversions Extra Points Percentage
        Defense 1pt Safeties
        Defense Assisted Tackles
        Defense Blocks
        Defense Combined Tackles
        Defense Conversions Attempts
        Defense Conversions Failed
        Defense Conversions Made
        Defense Fumbles Forced
        Defense Fumbles Recoveries
        Defense Fumbles Touchdowns
        Defense Interceptions
        Defense Interceptions Longest
        Defense Interceptions Touchdowns
        Defense Interceptions Yards
        Defense Miscellaneous Assisted Tackles
        Defense Miscellaneous Combined Tackles
        Defense Miscellaneous Forced Fumbles
        Defense Miscellaneous Fumble Recoveries
        Defense Miscellaneous Tackles
        Defense Passes Defended
        Defense QB Hits
        Defense Sack Yards
        Defense Sacks
        Defense Safeties
        Defense Special Teams Assisted Tackles
        Defense Special Teams Combined Tackles
        Defense Special Teams Forced Fumbles
        Defense Special Teams Fumble Recoveries
        Defense Special Teams Tackles
        Defense Tackles
        Defense Tackles For Loss
        Efficiency 3rd Down Attempts
        Efficiency 3rd Down Conversions
        Efficiency 3rd Down Conversions Via Pass
        Efficiency 3rd Down Conversions Via Penalty
        Efficiency 3rd Down Conversions Via Rush
        Efficiency 3rd Down Percentage
        Efficiency 4th Down Attempts
        Efficiency 4th Down Conversions
        Efficiency 4th Down Conversions Via Pass
        Efficiency 4th Down Conversions Via Penalty
        Efficiency 4th Down Conversions Via Rush
        Efficiency 4th Down Percentage
        Efficiency Goal To Go Attempts
        Efficiency Goal To Go Conversions
        Efficiency Goal To Go Percentage
        Efficiency Red Zone Attempts
        Efficiency Red Zone Conversions
        Efficiency Red Zone Percentage
        Field Goals Attempts
        Field Goals Attempts 1-19 Yards
        Field Goals Attempts 20-29 Yards
        Field Goals Attempts 30-39 Yards
        Field Goals Attempts 40-49 Yards
        Field Goals Attempts 50+ Yards
        Field Goals Longest
        Field Goals Made
        Field Goals Made 1-19 Yards
        Field Goals Made 20-29 Yards
        Field Goals Made 30-39 Yards
        Field Goals Made 40-49 Yards
        Field Goals Made 50+ Yards
        Field Goals Percentage
        First Downs Passing
        First Downs Penalty
        First Downs Rushing
        First Downs Total
        Fumbles Force Fumbles
        Fumbles
        Fumbles Lost Fumbles
        Fumbles Opponent Recovery
        Fumbles Opponent Recovery Touchdowns
        Fumbles Opponent Recovery Yards
        Fumbles Out of Bounds
        Fumbles Own Recovery
        Fumbles Own Recovery Touchdowns
        Fumbles Own Recovery Yards
        Games Played
        Games Started
        Kick Returns 10+ Yards
        Kick Returns 20+ Yards
        Kick Returns 30+ Yards
        Kick Returns 40+ Yards
        Kick Returns 50+ Yards
        Kick Returns Average Yards
        Kick Returns Fair Catches
        Kick Returns Longest
        Kick Returns Returns
        Kick Returns Touchdowns
        Kick Returns Yards
        Kickoffs Average Kick
        Kickoffs Average Return
        Kickoffs End Zone
        Kickoffs Inside 20
        Kickoffs Inside 20 Percentage
        Kickoffs
        Kickoffs Longest
        Kickoffs Net Average
        Kickoffs Net Yards
        Kickoffs Return Yards
        Kickoffs Returns
        Kickoffs Touchback Percentage
        Kickoffs Touchbacks
        Kickoffs Yards
        Passing 10+ Yards
        Passing 20+ Yards
        Passing 30+ Yards
        Passing 40+ Yards
        Passing 50+ Yards
        Passing Attempts
        Passing Average Yards
        Passing Average Yards Per Completion
        Passing Completion Percentage
        Passing Completions
        Passing First Downs
        Passing Interception Percentage
        Passing Interceptions
        Passing Ints Returned for Touchdown
        Passing Longest
        Passing Rating
        Passing Red Zone Attempts
        Passing Sack Yards
        Passing Sacks
        Passing Safeties
        Passing Touchdowns
        Passing Touchdowns Percentage
        Passing Yards
        Penalties
        Penalties Penalty First Downs
        Penalties Penalty Yards
        Punt Returns 10+ Yards
        Punt Returns 20+ Yards
        Punt Returns 30+ Yards
        Punt Returns 40+ Yards
        Punt Returns 50+ Yards
        Punt Returns Average Yards
        Punt Returns Fair Catches
        Punt Returns Longest
        Punt Returns Returns
        Punt Returns Touchdowns
        Punt Returns Yards
        Punts Attempts
        Punts Average Net Yards
        Punts Average Return
        Punts Average Yards
        Punts Blocked
        Punts Inside 20
        Punts Inside 20 Percentage
        Punts Longest
        Punts Net Yards
        Punts Return Yards
        Punts Returns
        Punts Safeties
        Punts Touchback Percentage
        Punts Touchbacks
        Punts Yards
        Receiving 10+ Yards
        Receiving 20+ Yards
        Receiving 30+ Yards
        Receiving 40+ Yards
        Receiving 50+ Yards
        Receiving Average Yards
        Receiving First Downs
        Receiving Fumbles
        Receiving Longest
        Receiving Receptions
        Receiving Red Zone Targets
        Receiving Targets
        Receiving Touchdowns
        Receiving Yards
        Receiving Yards After Catch
        Rushing 10+ Yards
        Rushing 20+ Yards
        Rushing 30+ Yards
        Rushing 40+ Yards
        Rushing 50+ Yards
        Rushing Attempts
        Rushing Average Yards
        Rushing First Down Percentage
        Rushing First Downs
        Rushing Fumbles
        Rushing Longest
        Rushing Red Zone Attempts
        Rushing Safeties
        Rushing Touchdowns
        Rushing Yards
        Touchdowns Field Goal Return
        Touchdowns Fumble Return
        Touchdowns Interception Return
        Touchdowns Kick Return
        Touchdowns Other
        Touchdowns Pass
        Touchdowns Punt Return
        Touchdowns Rush
        Two Point Conversions Attempted
        Two Point Conversions Made
        Two Point Conversions Passing
        Two Point Conversions Receiving
        Two Point Conversions Rushing
        Team Seasonal Statistics Data Points: Blocked Field Goal Return 10+ Yards
        Blocked Field Goal Return 20+ Yards
        Blocked Field Goal Return 30+ Yards
        Blocked Field Goal Return 40+ Yards
        Blocked Field Goal Return 50+ Yards
        Blocked Field Goal Return Average Yards
        Blocked Field Goal Return Longest
        Blocked Field Goal Return Returns
        Blocked Field Goal Return Touchdowns
        Blocked Field Goal Return Yards
        Conversions Extra Points Attempts
        Conversions Extra Points Blocked
        Conversions Extra Points Made
        Conversions Extra Points Percentage
        Defense 1pt Safeties
        Defense Assisted Tackles
        Defense Blocks
        Defense Combined Tackles
        Defense Conversions Attempts
        Defense Conversions Failed
        Defense Conversions Made
        Defense Fumbles Forced
        Defense Fumbles Recoveries
        Defense Fumbles Touchdowns
        Defense Interceptions
        Defense Interceptions Longest
        Defense Interceptions Touchdowns
        Defense Interceptions Yards
        Defense Miscellaneous Assisted Tackles
        Defense Miscellaneous Combined Tackles
        Defense Miscellaneous Forced Fumbles
        Defense Miscellaneous Fumble Recoveries
        Defense Miscellaneous Tackles
        Defense Passes Defended
        Defense QB Hits
        Defense Sack Yards
        Defense Sacks
        Defense Safeties
        Defense Special Teams Assisted Tackles
        Defense Special Teams Combined Tackles
        Defense Special Teams Forced Fumbles
        Defense Special Teams Fumble Recoveries
        Defense Special Teams Tackles
        Defense Tackles
        Defense Tackles For Loss
        Efficiency 3rd Down Attempts
        Efficiency 3rd Down Conversions
        Efficiency 3rd Down Conversions Via Pass
        Efficiency 3rd Down Conversions Via Penalty
        Efficiency 3rd Down Conversions Via Rush
        Efficiency 3rd Down Percentage
        Efficiency 4th Down Attempts
        Efficiency 4th Down Conversions
        Efficiency 4th Down Conversions Via Pass
        Efficiency 4th Down Conversions Via Penalty
        Efficiency 4th Down Conversions Via Rush
        Efficiency 4th Down Percentage
        Efficiency Goal To Go Attempts
        Efficiency Goal To Go Conversions
        Efficiency Goal To Go Percentage
        Efficiency Red Zone Attempts
        Efficiency Red Zone Conversions
        Efficiency Red Zone Percentage
        Field Goals Attempts
        Field Goals Attempts 1-19 Yards
        Field Goals Attempts 20-29 Yards
        Field Goals Attempts 30-39 Yards
        Field Goals Attempts 40-49 Yards
        Field Goals Attempts 50+ Yards
        Field Goals Longest
        Field Goals Made
        Field Goals Made 1-19 Yards
        Field Goals Made 20-29 Yards
        Field Goals Made 30-39 Yards
        Field Goals Made 40-49 Yards
        Field Goals Made 50+ Yards
        Field Goals Percentage
        First Downs Passing
        First Downs Penalty
        First Downs Rushing
        First Downs Total
        Fumbles Force Fumbles
        Fumbles
        Fumbles Lost Fumbles
        Fumbles Opponent Recovery
        Fumbles Opponent Recovery Touchdowns
        Fumbles Opponent Recovery Yards
        Fumbles Out Of Bounds
        Fumbles Own Recovery
        Fumbles Own Recovery Touchdowns
        Fumbles Own Recovery Yards
        Kick Returns 10+ Yards
        Kick Returns 20+ Yards
        Kick Returns 30+ Yards
        Kick Returns 40+ Yards
        Kick Returns 50+ Yards
        Kick Returns Average Yards
        Kick Returns Fair Catches
        Kick Returns Longest
        Kick Returns
        Kick Returns Touchdowns
        Kick Returns Yards
        Kickoffs Average Kick
        Kickoffs Average Return
        Kickoffs End Zone
        Kickoffs Inside 20
        Kickoffs Inside 20 Percentage
        Kickoffs
        Kickoffs Longest
        Kickoffs Net Average
        Kickoffs Net Yards
        Kickoffs Return Yards
        Kickoffs Returns
        Kickoffs Touchback Percentage
        Kickoffs Touchbacks
        Kickoffs Yards
        Passing 10+ Yards
        Passing 20+ Yards
        Passing 30+ Yards
        Passing 40+ Yards
        Passing 50+ Yards
        Passing Attempts
        Passing Average Yards
        Passing Average Yards Per Completion
        Passing Completion Percentage
        Passing Completions
        Passing First Downs
        Passing Interception Percentage
        Passing Interceptions
        Passing Ints Returned For Touchdown
        Passing Longest
        Passing Rating
        Passing Red Zone Attempts
        Passing Sack Yards
        Passing Sacks
        Passing Safeties
        Passing Touchdowns
        Passing Touchdowns Percentage
        Passing Yards
        Penalties
        Penalties Penalty First Downs
        Penalties Penalty Yards
        Punt Returns 10+ Yards
        Punt Returns 20+ Yards
        Punt Returns 30+ Yards
        Punt Returns 40+ Yards
        Punt Returns 50+ Yards
        Punt Returns Average Yards
        Punt Returns Fair Catches
        Punt Returns Longest
        Punt Returns Returns
        Punt Returns Touchdowns
        Punt Returns Yards
        Punts Attempts
        Punts Average Net Yards
        Punts Average Return
        Punts Average Yards
        Punts Blocked
        Punts Inside 20
        Punts Inside 20 Percentage
        Punts Longest
        Punts Net Yards
        Punts Return Yards
        Punts Returns
        Punts Safeties
        Punts Touchback Percentage
        Punts Touchbacks
        Punts Yards
        Receiving 10+ Yards
        Receiving 20+ Yards
        Receiving 30+ Yards
        Receiving 40+ Yards
        Receiving 50+ Yards
        Receiving Average Yards
        Receiving First Downs
        Receiving Fumbles
        Receiving Longest
        Receiving Receptions
        Receiving Red Zone Targets
        Receiving Targets
        Receiving Touchdowns
        Receiving Yards
        Receiving Yards After Catch
        Rushing 10+ Yards
        Rushing 20+ Yards
        Rushing 30+ Yards
        Rushing 40+ Yards
        Rushing 50+ Yards
        Rushing Attempts
        Rushing Average Yards
        Rushing First Down Percentage
        Rushing First Downs
        Rushing Fumbles
        Rushing Longest
        Rushing Red Zone Attempts
        Rushing Safeties
        Rushing Touchdowns
        Rushing Yards
        Touchdowns Field Goal Return
        Touchdowns Fumble Return
        Touchdowns Interception Return
        Touchdowns Kick Return
        Touchdowns Other
        Touchdowns Pass
        Touchdowns Punt Return
        Touchdowns Rush
        Two Point Conversions Attempted
        Two Point Conversions Made
        Two Point Conversions Passing
        Two Point Conversions Receiving
        Two Point Conversions Rushing
        Team Info Data Points: Id Market Name

        To generate the Seasonal Statistics for the Team, Year, and Season below replace {your_api_key} with your API key:

        require 'uri'
        require 'net/http'
        require 'openssl'
        
        url = URI("https://api.sportradar.us/nfl-t1/teams/min/2015/REG/statistics.xml?api_key={your_api_key}")
        
        http = Net::HTTP.new(url.host, url.port)
        http.use_ssl = true
        http.verify_mode = OpenSSL::SSL::VERIFY_NONE
        
        request = Net::HTTP::Get.new(url)
        
        response = http.request(request)
        puts response.read_body
        
        import http.client
        
        conn = http.client.HTTPSConnection("api.sportradar.us")
        
        conn.request("GET", "/nfl-t1/teams/min/2015/REG/statistics.xml?api_key={your_api_key}")
        
        res = conn.getresponse()
        data = res.read()
        
        print(data.decode("utf-8"))
        
        curl -X GET "https://api.sportradar.us/nfl-t1/teams/min/2015/REG/statistics.xml?api_key={your_api_key}"
        

        The above command returns xml structured like this.

        This endpoint retrieves the Seasonal Statistics.

        https://api.sportradar.us/nfl-{access_level}{version}/teams/{team}/{year}/{nfl_season}/statistics.{format}?api_key={your_api_key}

        Replace placeholders with the following query parameters:

        Parameter Description
        access_level Defines the access level of your API key as Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
        version Version number of the API you are accessing (Current Version: 1).
        team Abbreviated team name.
        year Year in 4 digit format (YYYY).
        nfl_season Preseason (PST) or Regular Season (REG).
        format xml or json.
        your_api_key Your API key.

        To retrieve the XML Schema Definition (.XSD) for the Seasonal Statistics, replace the parameters in the following URL.

        https://api.sportradar.us/nfl-{access_level}{version}/schema/statistics-v1.0.xsd?api_key={your_api_key}

        Return to API map

        Standings

        Detailed information on wins and losses, broken down by conference, division, and various scenarios.

        Update Frequency: As Necessary
        Content Type: XML or JSON
        League Info Data Points: Conference Id
        Conference Name
        Division Id
        Division Name
        Season Type
        Season Year
        Standings Data Points: Away Losses
        Away Ties
        Away Winning Perc
        Away Wins
        Conference Losses
        Conference Ties
        Conference Winning Perc
        Conference Wins
        Decided By 7pts Losses
        Decided By 7pts Ties
        Decided By 7pts Winning Perc
        Decided By 7pts Wins
        Division Losses
        Division Ties
        Division Winning Perc
        Division Wins
        Grass Losses
        Grass Ties
        Grass Winning Perc
        Grass Wins
        Home Losses
        Home Ties
        Home Winning Perc
        Home Wins
        Last 5 Games Losses
        Last 5 Games Ties
        Last 5 Games Winning Perc
        Last 5 Games Wins
        Leading At Half Losses
        Leading At Half Ties
        Leading At Half Winning Perc
        Leading At Half Wins
        Non-Conference Losses
        Non-Conference Ties
        Non-Conference Winning Perc
        Non-Conference Wins
        Overall Losses
        Overall Net Points
        Overall Points Against
        Overall Points For
        Overall Ties
        Overall Winning Perc
        Overall Wins
        Overtime Losses
        Overtime Ties
        Overtime Winning Perc
        Overtime Wins
        Streak Number
        Streak Type
        Touchdowns Against
        Touchdowns For
        Turf Losses
        Turf Ties
        Turf Winning Perc
        Turf Wins
        When Scoring First Losses
        When Scoring First Ties
        When Scoring First Winning Perc
        When Scoring First Wins
        Team Info Data Points: Id Market Name

        To generate the Standings enter the Year and Season below, and replace {your_api_key} with your API key:

        require 'uri'
        require 'net/http'
        require 'openssl'
        
        url = URI("https://api.sportradar.us/nfl-t1/teams/2015/REG/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
        
        import http.client
        
        conn = http.client.HTTPSConnection("api.sportradar.us")
        
        conn.request("GET", "/nfl-t1/teams/2015/REG/standings.xml?api_key={your_api_key}")
        
        res = conn.getresponse()
        data = res.read()
        
        print(data.decode("utf-8"))
        
        curl -X GET "https://api.sportradar.us/nfl-t1/teams/2015/REG/standings.xml?api_key={your_api_key}"
        

        The above command returns xml structured like this.

        This endpoint retrieves the Standings.

        https://api.sportradar.us/nfl-{access_level}{version}/teams/{year}/{nfl_season}/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 Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
        version Version number of the API you are accessing (Current Version: 1).
        year Year in 4 digit format (YYYY).
        nfl_season Preseason (PST) or Regular Season (REG).
        format xml or json.
        your_api_key Your API key.

        To retrieve the XML Schema Definition (.XSD) for the Standings, replace the parameters in the following URL.

        https://api.sportradar.us/nfl-{access_level}{version}/schema/standings-v1.0.xsd?api_key={your_api_key}

        Return to API map

        Team Depth Chart

        Depth chart rankings for every position.

        Update Frequency: As Necessary
        Content Type: XML or JSON
        Depth Charts Data Points: Defense Type
        Depth Chart Position
        Position Description Position Name
        Player Info Data Points: Full Name
        Id
        Jersey Number
        Position
        Status
        Team Info Data Points: Id Market Name

        To generate the Team Depth Chart for the team below, and replace {your_api_key} with your API key:

        require 'uri'
        require 'net/http'
        require 'openssl'
        
        url = URI("https://api.sportradar.us/nfl-t1/teams/min/depthchart.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.us")
        
        conn.request("GET", "/nfl-t1/teams/min/depthchart.xml?api_key={your_api_key}")
        
        res = conn.getresponse()
        data = res.read()
        
        print(data.decode("utf-8"))
        
        curl -X GET "https://api.sportradar.us/nfl-t1/teams/min/depthchart.xml?api_key={your_api_key}"
        

        The above command returns xml structured like this.

        This endpoint retrieves the Team Depth Charts.

        https://api.sportradar.us/nfl-{access_level}{version}/teams/{team}/depthchart.{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 Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
        version Version number of the API you are accessing (Current Version: 1).
        team Abbreviated team name.
        format xml or json.
        your_api_key Your API key.

        To retrieve the XML Schema Definition (.XSD) for the Team Depth Chart, replace the parameters in the following URL.

        https://api.sportradar.us/nfl-{access_level}{version}/schema/depth_chart-v1.0.xsd?api_key={your_api_key}

        Return to API map

        Team Hierarchy

        Conference, division, and team identification and association information.

        Update Frequency: As Necessary
        Content Type: XML or JSON
        League Info Data Points: Conference Id
        Conference Name
        Division Id
        Division Name
        Id
        Team Info Data Points: Id Market Name
        Venue Data Points: Address
        Capacity
        City
        Country
        Id
        Name
        State
        Surface
        Type
        Zip

        To generate the Team Hierarchy replace {your_api_key} with your API key:

        require 'uri'
        require 'net/http'
        require 'openssl'
        
        url = URI("https://api.sportradar.us/nfl-t1/teams/hierarchy.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.us")
        
        conn.request("GET", "/nfl-t1/teams/hierarchy.xml?api_key={your_api_key}")
        
        res = conn.getresponse()
        data = res.read()
        
        print(data.decode("utf-8"))
        
        curl -X GET "https://api.sportradar.us/nfl-t1/teams/hierarchy.xml?api_key={your_api_key}"
        

        The above command returns xml structured like this.

        Access the Team Hierarchy feed by replacing the parameters in the following URL:

        https://api.sportradar.us/nfl-{access_level}{version}/teams/hierarchy.{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 Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
        version Version number of the API you are accessing (Current Version: 1).
        format xml or json.
        your_api_key Your API key.

        Return to API map

        Team Roster

        Player information for a team, including height/weight, jersey number, position, and injury status.

        Update Frequency: As Necessary
        Content Type: XML or JSON
        Injuries Data Points: Description
        Game Status
        Id
        Practice Status
        Start Date
        Player Info Data Points: Abbreviated Name
        Birth Date
        Birth Place
        College
        Draft Info Draft Pick
        Draft Info Round
        Draft Info Year
        Draft Info Team
        Experience
        First Name
        Full Name
        Height
        High School
        Id
        Jersey Number
        Last Name
        Position
        Salary
        Status
        Weight
        Team Info Data Points: Coach Abbreviated Name
        Coach First Name
        Coach Full Name
        Coach Id
        Coach Last Name
        Coach Position
        Coach Salary
        Coach Status
        Id
        Market
        Name

        To generate the Team Roster replace {your_api_key} with your API key:

        require 'uri'
        require 'net/http'
        require 'openssl'
        
        url = URI("https://api.sportradar.us/nfl-t1/teams/min/roster.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.us")
        
        conn.request("GET", "/nfl-t1/teams/min/roster.xml?api_key={your_api_key}")
        
        res = conn.getresponse()
        data = res.read()
        
        print(data.decode("utf-8"))
        
        curl -X GET "https://api.sportradar.us/nfl-t1/teams/min/roster.xml?api_key={your_api_key}"
        

        The above command returns xml structured like this.

        Access the Team Roster feed by replacing the parameters in the following URL:

        https://api.sportradar.us/nfl-{access_level}{version}/teams/{team}/roster.{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 Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
        version Version number of the API you are accessing (Current Version: 1).
        team Abbreviated team name.
        format xml or json.
        your_api_key Your API key.

        Return to API map

        Weekly Boxscore

        Top-level team scores by quarter, for all games in the given week.

        Update Frequency: As Necessary
        Content Type: XML or JSON
        Boxscore Data Points: Away Team Challenges Remaining
        Away Team Points for Quarter
        Away Team Timeouts Remaining
        Away Team Total Points
        Clock
        Home Team Challenges Remaining
        Home Team Points For Quarter
        Home Team Timeouts Remaining
        Home Team Total Points
        Quarter
        Quarter Number
        Scoring Away Team Points
        Scoring Clock
        Scoring Drive Quarter
        Scoring Drive Sequence
        Scoring Drive Starting Game Clock
        Scoring Drive Team Id
        Scoring Home Team Points
        Scoring Play Description
        Scoring Play Id
        Scoring Play Type
        Scoring Points
        Scoring Quarter
        Scoring Team Id
        Game Info Data Points: Away Team Id
        Away Team Market
        Away Team Name
        Completion Date/Time
        Home Team Id
        Home Team Market
        Home Team Name
        Id
        Scheduled Start Date/Time
        Status
        League Info Data Points: Season Type Season Year Week Sequence
        Team Data Points: Id Market Name

        To generate the Weekly Boxscore replace {your_api_key} with your API key:

        require 'uri'
        require 'net/http'
        require 'openssl'
        
        url = URI("https://api.sportradar.us/nfl-t1/2016/reg/1/boxscore.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.us")
        
        conn.request("GET", "/nfl-t1/2016/reg/1/boxscore.xml?api_key={your_api_key}")
        
        res = conn.getresponse()
        data = res.read()
        
        print(data.decode("utf-8"))
        
        curl -X GET "https://api.sportradar.us/nfl-t1/2016/reg/1/boxscore.xml?api_key={your_api_key}"
        

        The above command returns xml structured like this.

        Access the Weekly Boxscore feed by replacing the parameters in the following URL:

        https://api.sportradar.us/nfl-{access_level}{version}/{year}/{nfl_season}/{week}/boxscore.{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 Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
        version Version number of the API you are accessing (Current Version: 1).
        year Year in 4 digit format (YYYY).
        nfl_season Preseason (PRE), Regular Season (REG), Postseason (PST).
        week Week of season 1 - 17 (Week 0 of Preseason is Hall of Fame game).
        format xml or json.
        your_api_key Your API key.

        To retrieve the XML Schema Definition (.XSD) for the Weekly Boxscore, replace the parameters in the following URL.

        https://api.sportradar.us/nfl-{access_level}{version}/schema/boxscore-v1.0.xsd?api_key={your_api_key}

        Return to API map

        Weekly League Leaders

        Provides the league leaders, and their corresponding stats, for the categories of passing, rushing, receiving, and kicking (field goals & extra points).

        Update Frequency: As Necessary
        Content Type: XML or JSON
        Player Game Statistics Data Points: Conversions Extra Points Attempts
        Conversions Extra Points Blocked
        Conversions Extra Points Made
        Conversions Extra Points Percentage
        Field Goals Attempts
        Field Goals Attempts 1-19 Yards
        Field Goals Attempts 20-29 Yards
        Field Goals Attempts 30-39 Yards
        Field Goals Attempts 40-49 Yards
        Field Goals Attempts 50+ Yards
        Field Goals Blocked
        Field Goals Longest
        Field Goals Made
        Field Goals Made 1-19 Yards
        Field Goals Made 20-29 Yards
        Field Goals Made 30-39 Yards
        Field Goals Made 40-49 Yards
        Field Goals Made 50+ Yards
        Field Goals Percentage
        Passing 10+ Yards
        Passing 20+ Yards
        Passing 30+ Yards
        Passing 40+ Yards
        Passing 50+ Yards
        Passing Attempts
        Passing Average Yards
        Passing Average Yards Per Completion
        Passing Completion Percentage
        Passing Completions
        Passing First Downs
        Passing Interception Percentage
        Passing Interceptions
        Passing Ints Returned For Touchdown
        Passing Longest
        Passing Rating
        Passing Red Zone Attempts
        Passing Sack Yards
        Passing Sacks
        Passing Safeties
        Passing Touchdowns
        Passing Touchdowns Percentage
        Passing Yards
        Receiving 10+ Yards
        Receiving 20+ Yards
        Receiving 30+ Yards
        Receiving 40+ Yards
        Receiving 50+ Yards
        Receiving Average Yards
        Receiving First Downs
        Receiving Fumbles
        Receiving Longest
        Receiving Receptions
        Receiving Red Zone Targets
        Receiving Targets
        Receiving Touchdowns
        Receiving Yards
        Receiving Yards After Catch
        Rushing 10+ Yards
        Rushing 20+ Yards
        Rushing 30+ Yards
        Rushing 40+ Yards
        Rushing 50+ Yards
        Rushing Attempts
        Rushing Average Yards
        Rushing First Down Percentage
        Rushing First Downs
        Rushing Fumbles
        Rushing Longest
        Rushing Red Zone Attempts
        Rushing Safeties
        Rushing Touchdowns
        Rushing Yards
        League Info Data Points: Season Type Season Year Week Sequence
        Player Info Data Points: Full Name
        Id
        Jersey Number Position
        Team Info Data Points: Id Market Name

        To generate the Weekly League Leaders replace {your_api_key} with your API key:

        require 'uri'
        require 'net/http'
        require 'openssl'
        
        url = URI("https://api.sportradar.us/nfl-t1/2016/reg/1/leaders.xml?api_key={your_api_key}")
        
        http = Net::HTTP.new(url.host, url.port)
        http.use_ssl = true
        http.verify_mode = OpenSSL::SSL::VERIFY_NONE
        
        request = Net::HTTP::Get.new(url)
        
        response = http.request(request)
        puts response.read_body
        
        import http.client
        
        conn = http.client.HTTPSConnection("api.sportradar.us")
        
        conn.request("GET", "/nfl-t1/2016/reg/1/leaders.xml?api_key={your_api_key}")
        
        res = conn.getresponse()
        data = res.read()
        
        print(data.decode("utf-8"))
        
        curl -X GET "https://api.sportradar.us/nfl-t1/2016/reg/1/leaders.xml?api_key={your_api_key}"
        

        The above command returns xml structured like this.

        Access the Weekly League Leaders feed by replacing the parameters in the following URL:

        https://api.sportradar.us/nfl-{access_level}{version}/{year}/{nfl_season}/{week}/leaders.{format}?api_key={your_api_key}

        Replace placeholders with the following query parameters:

        Parameter Description
        access_level Defines the access level of your API key as Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
        version Version number of the API you are accessing (Current Version: 1).
        year Year in 4 digit format (YYYY).
        nfl_season Preseason (PRE), Regular Season (REG), Postseason (PST).
        week Week of season 1 - 17 (Week 0 of Preseason is Hall of Fame game).
        format xml or json.
        your_api_key Your API key.

        To retrieve the XML Schema Definition (.XSD) for the Weekly League Leaders, replace the parameters in the following URL.

        https://api.sportradar.us/nfl-{access_level}{version}/schema/statistics-v1.0.xsd?api_key={your_api_key}

        Return to API map

        Weekly Schedule

        Provides the date, time, location, and other event details for every match-up for the week, as well as links to other feeds.

        Update Frequency: As Necessary
        Content Type: XML or JSON
        Game Info Data Points: Away Team Id
        Away Team Rotation Number
        Broadcast Cable
        Broadcast Internet
        Broadcast Network
        Broadcast Satellite
        Home Team Id
        Home Team Rotation Number
        Id
        Scheduled Start Date/Time
        Status
        Weather Temperature
        Weather Conditions
        Weather Humidity
        Weather Wind Speed
        Weather Wind Direction
        League Info Data Points: Season Type Season Year Week Sequence
        Venue Data Points: Address
        Capacity
        City
        Country
        Id
        Name
        State
        Surface
        Type
        Zip

        To generate the Weekly Schedule replace {your_api_key} with your API key:

        require 'uri'
        require 'net/http'
        require 'openssl'
        
        url = URI("https://api.sportradar.us/nfl-t1/2016/reg/1/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
        
        import http.client
        
        conn = http.client.HTTPSConnection("api.sportradar.us")
        
        conn.request("GET", "/nfl-t1/2016/reg/1/schedule.xml?api_key={your_api_key}")
        
        res = conn.getresponse()
        data = res.read()
        
        print(data.decode("utf-8"))
        
        curl -X GET "https://api.sportradar.us/nfl-t1/2016/reg/1/schedule.xml?api_key={your_api_key}"
        

        The above command returns xml structured like this.

        Access the Weekly Schedule feed by replacing the parameters in the following URL:

        https://api.sportradar.us/nfl-{access_level}{version}/{year}/{nfl_season}/{week}/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 Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
        version Version number of the API you are accessing (Current Version: 1).
        year Year in 4 digit format (YYYY).
        nfl_season Preseason (PRE), Regular Season (REG), Postseason (PST).
        week Week of season 1 - 17 (Week 0 of Preseason is Hall of Fame game).
        format xml or json.
        your_api_key Your API key.

        To retrieve the XML Schema Definition (.XSD) for the Weekly Schedule, replace the parameters in the following URL.

        https://api.sportradar.us/nfl-{access_level}{version}/schema/schedule-v1.0.xsd?api_key={your_api_key}

        Return to API map

        NCAA Football API

        Statistics Summary
        Documentation
        Change Log




        API API Version Data Entry Workflow
        NCAA Football v1 Data Entry Workflow

        NCAA Football API Map

        To best utilize the NCAA 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 a teams passing interception percentage for the season:

        1. Call the season or weekly schedule and find abbreviated team name
        2. Call the Seasonal Statistics using the abbreviated team name
        3. Find the Passing element with the interception percentage attribute

        The teams passing interception percentage is displayed.

          To find the starting yard line for a specific play:

          1. Call the season or weekly schedule and find abbreviated team names for the game you want
          2. Call the Play-By-Play using the team names
          3. Find the Play element with the Id of the play you want
          4. Call the Play Summary for the play id you want and find the Starting Situation element with the yard line attribute

          The starting yard line for specified play is displayed.

          The primary feeds provide season weeks and team aliases for the game and team feeds. All feeds aside from the Play Summary require only dates or human-readable parameters. The Play Summary requires a global unique identifier (GUID) to identify the play that the feed will discribe.

          Coverage Levels

          We provide two different levels of detail to ensure maximum coverage. We combine coverage levels with the correct feeds to ensure you are getting the most comprehensive data offering in the most efficient manner possible. The coverage level for games are listed in the schedule feeds.

          Extended Boxscore - For any game involving an FBS (Division I-A) team, which we are not covering via full coverage, we will provide scores, time remaining, and team leaders (passing, rushing, and receiving), in a timely manner, as the game progresses. We will provide team and player level data for the game within 60 minutes of the official results being posted. For any game involving an FCS (Division-IAA) team, will provide scores and time remaining, in a timely manner, as the game progresses. We will provide team and player level data for the game by the close of business on the following Monday.

          Full - We provide live play-by-play coverage for the entire game. We provide updated scores and time remaining as well as team and player level data in near real time. Full coverage is available for any game involving an FBS (Division I-A) team and is available via a reliable video broadcast.

          Due to the differences between available coverage levels, we recommend using specific game centric feeds based on the coverage level.

          Feeds
          Full
          Extended Boxscore
          Pre-Game
          In Progress
          Post Game
          Boxscore
          X
          X
          X
          Extended Boxscore
          X
          X
          X
          Game Roster
          X
          X
          X
          Game Statistics
          X
          X
          Game Summary
          X
          X
          Play-By-Play
          X
          Play Summary
          X

          Boxscore

          Top-level team scores by quarter.

          Update Frequency: As Necessary
          Content Type: XML or JSON
          Game Info Data Points: Attendance
          Away Team Id
          Clock Time
          Completion Time
          Home Team Id
          Id
          Points By Quarter
          Quarter
          Remaining Challenges
          Remaining Timeouts
          Scheduled Kickoff
          Status
          Total Points Scored By Team
          Team Info Data Points: Id Market Name

          To generate the Game Boxscore for the Game below replace {your_api_key} with your API key:

          require 'uri'
          require 'net/http'
          require 'openssl'
          
          url = URI("https://api.sportradar.us/ncaafb-t1/2015/REG/12/TOL/BGN/boxscore.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.us")
          
          conn.request("GET", "/ncaafb-t1/2015/REG/12/TOL/BGN/boxscore.xml?api_key={your_api_key}")
          
          res = conn.getresponse()
          data = res.read()
          
          print(data.decode("utf-8"))
          
          curl -X GET "https://api.sportradar.us/ncaafb-t1/2015/REG/12/TOL/BGN/boxscore.xml?api_key={your_api_key}"
          

          The above command returns xml structured like this.

          This endpoint retrieves the Boxscore for a game.

          https://api.sportradar.us/ncaafb-{access_level}{version}/{season_year}/{ncaafb_season}/{ncaafb_season_week}/{away_team}/{home_team}/boxscore.{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 Real-time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
          version Version number of the API you are accessing (Current Version: 1).
          season_year Year in 4 digit format (YYYY).
          ncaafb_season Preseason (PRE), Regular Season (REG), or Postseason (PST) - Note: PST used for seasons 2012.
          ncaafb_season_week Number of weeks into the season in 2 digit format (WW).
          away_team Abbreviated team name in 2 or 3 letter format.
          home_team Abbreviated team name in 2 or 3 letter format.
          format xml or json.
          your_api_key Your API key.

          To retrieve the XML Schema Definition (.XSD) for the Boxscore, replace the parameters in the following URL.

          https://api.sportradar.us/ncaafb-{access_level}{version}/schema/boxscore-v1.0.xsd?api_key={your_api_key}

          Return to API map

          Extended Boxscore

          Top-level team scores by quarter along with team leaders in passing, rushing, and receiving.

          Update Frequency: As Necessary
          Content Type: XML or JSON
          Game Info Data Points: Attendance
          Away Team Id
          Clock Time
          Completion Time
          Home Team Id
          Id
          Last Event Clock
          Last Event Description
          Last Event Sequence
          Last Event Type
          Last Event Updated
          Points By Quarter
          Possession Down
          Possession Team
          Possession Time
          Posession Side
          Posession Yard Line
          Possession Yards For Down
          Quarter
          Remaining Challenges
          Remaining Timeouts
          Scheduled Kickoff
          Status
          Total Points Scored By Team
          Offense Data Points: Passing Attempts
          Passing Avg. Yards Per Completion
          Passing Avg. Yards Per Pass Attempt
          Passing Completion Percentage
          Passing Completions
          Passing Interception Percentage
          Passing Interceptions
          Passing Longest Pass
          Passing Rating
          Passing Total Yards
          Passing Touchdown Percentage
          Passing Touchdowns
          Receiving Average Reception
          Receiving Longest Reception
          Receiving Receptions
          Receiving Total Yards
          Receiving Touchdowns
          Rushing Attempts
          Rushing Average Rush
          Rushing Longest Rush
          Rushing Total Yards
          Rushing Touchdowns
          Time Of Possession
          Team Info Data Points: Id Market Name

          To generate the Extended Game Boxscore for the Game below replace {your_api_key} with your API key:

          require 'uri'
          require 'net/http'
          require 'openssl'
          
          url = URI("https://api.sportradar.us/ncaafb-t1/2015/REG/12/TOL/BGN/extended-boxscore.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.us")
          
          conn.request("GET", "/ncaafb-t1/2015/REG/12/TOL/BGN/extended-boxscore.xml?api_key={your_api_key}")
          
          res = conn.getresponse()
          data = res.read()
          
          print(data.decode("utf-8"))
          
          curl -X GET "https://api.sportradar.us/ncaafb-t1/2015/REG/12/TOL/BGN/extended-boxscore.xml?api_key={your_api_key}"
          

          The above command returns xml structured like this.

          This endpoint retrieves the extended Boxscore for a game.

          https://api.sportradar.us/ncaafb-{access_level}{version}/{season_year}/{ncaafb_season}/{ncaafb_season_week}/{away_team}/{home_team}/extended-boxscore.{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 Real-time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
          version Version number of the API you are accessing (Current Version: 1).
          season_year Year in 4 digit format (YYYY).
          ncaafb_season Preseason (PRE), Regular Season (REG), or Postseason (PST) - Note: PST used for seasons 2012.
          ncaafb_season_week Number of weeks into the season in 2 digit format (WW).
          away_team Abbreviated team name in 2 or 3 letter format.
          home_team Abbreviated team name in 2 or 3 letter format.
          format xml or json.
          your_api_key Your API key.

          To retrieve the XML Schema Definition (.XSD) for the Boxscore, replace the parameters in the following URL.

          https://api.sportradar.us/ncaafb-{access_level}{version}/schema/extended-boxscore-v1.0.xsd?api_key={your_api_key}

          Return to API map

          Game Roster

          Player information for each matchup, including height/weight, jersey number, and position.

          Update Frequency: As Necessary
          Content Type: XML or JSON
          Game Info Data Points: Away Team Id
          Home Team Id
          Id
          Scheduled Kickoff
          Status
          Offense Data Point: Games Played
          Player Info Data Points: Abbreviated Name
          Date Of Birth
          First Name
          Full Name
          Height
          Id
          Jersey Number
          Last Name
          Position
          Status
          Weight
          Coach Info Data Points: Abbreviated Name
          First Name
          Full Name
          Id
          Last Name
          Position
          Salary
          Status
          Team Data Points: Id Market Name

          To generate the Game Roster for the Game below replace {your_api_key} with your API key:

          require 'uri'
          require 'net/http'
          require 'openssl'
          
          url = URI("https://api.sportradar.us/ncaafb-t1/2015/REG/12/TOL/BGN/roster.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.us")
          
          conn.request("GET", "/ncaafb-t1/2015/REG/12/TOL/BGN/roster.xml?api_key={your_api_key}")
          
          res = conn.getresponse()
          data = res.read()
          
          print(data.decode("utf-8"))
          
          curl -X GET "https://api.sportradar.us/ncaafb-t1/2015/REG/12/TOL/BGN/roster.xml?api_key={your_api_key}"
          

          The above command returns xml structured like this.

          This endpoint retrieves the Game Roster.

          https://api.sportradar.us/ncaafb-{access_level}{version}/{season_year}/{ncaafb_season}/{ncaafb_season_week}/{away_team}/{home_team}/roster.{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 Real-time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
          version Version number of the API you are accessing (Current Version: 1).
          season_year Year in 4 digit format (YYYY).
          ncaafb_season Preseason (PRE), Regular Season (REG), or Postseason (PST) - Note: PST used for seasons 2012.
          ncaafb_season_week Number of weeks into the season in 2 digit format (WW).
          away_team Abbreviated team name in 2 or 3 letter format.
          home_team Abbreviated team name in 2 or 3 letter format.
          format xml or json.
          your_api_key Your API key.

          To retrieve the XML Schema Definition (.XSD) for the Game Roster, replace the parameters in the following URL.

          https://api.sportradar.us/ncaafb-{access_level}{version}/schema/roster-v1.0.xsd?api_key={your_api_key}

          Return to API map

          Game Statistics

          Detailed game stats at the player and team level, including extensive breakouts for offense, defense, and special teams.

          Update Frequency: As Necessary
          Content Type: Raw XML or JSON
          Game Info Data Points: Attendance
          Away Team Id
          Home Team Id
          Id
          Remaining Challenges
          Remaining Timeouts
          Scheduled Kickoff
          Status
          Total Points Scored By Team
          Defense Data Points: Blocked Kicks
          Forced Fumbles
          Fumbles Recovered
          Fumbles Recovered For Touchdowns
          Interceptions
          Longest Interception
          Touchdowns From Interceptions
          Yards From Interceptions
          Misc. Assisted tackles
          Misc. Combined tackles
          Misc. Forced Fumbles
          Misc. Fumbles Recovered
          Misc. Tackles
          Passes Defended
          Quarterback Hits
          Total Sacks
          Yards From Sacks
          Safeties
          Special Teams Assisted Tackles
          Special Teams Combined Tackles
          Special Teams Forced Fumbles
          Special Teams Fumbles Recovered
          Special Teams Total Tackles
          Assisted Tackles
          Combined Tackles
          Tackles For A Loss
          Total Tackles
          Offense Data Points: 3rd Down Conversion Attempts
          3rd Down Conversion Converted
          3rd Down Conversion Percentage
          3rd Down Conversion Via Pass
          3rd Down Conversion Via Penalty
          3rd Down Conversion Via Rush
          4th Down Conversion Attempts
          4th Down Conversion Converted
          4th Down Conversion Percentage
          4th Down Conversion Via Pass
          4th Down Conversion Via Penalty
          4th Down Conversion Via Rush
          Goal Efficiency Attempts
          Goal Efficiency Percentage
          Goal Efficiency Touchdowns
          Passing 10+ Yards
          Passing 20+ Yards
          Passing 30+ Yards
          Passing 40+ Yards
          Passing 50+ Yards
          Passing Attempts
          Passing Avg. Yards Per Completion
          Passing Avg. Yards Per Pass Attempt
          Passing Completion Percentage
          Passing Completions
          Passing First Downs
          Passing Interception Percentage
          Passing Interceptions
          Passing Interceptions Returned For TD
          Passing Longest Pass
          Passing Rating
          Passing Red Zone Attempts
          Passing Sacked
          Passing Sacked Yards Lost
          Passing Tackled For Safety
          Passing Total Yards
          Passing Touchdown Percentage
          Passing Touchdowns
          Receiving 10+ Yards
          Receiving 20+ Yards
          Receiving 30+ Yards
          Receiving 40+ Yards
          Receiving 50+ Yards
          Receiving Average Reception
          Receiving First Downs
          Receiving Fumbled On Reception
          Receiving Longest Reception
          Receiving Receptions
          Receiving Red Zone Targets
          Receiving Target
          Receiving Total Yards
          Receiving Touchdowns
          Receiving Yards After Completion
          Red Zone Efficiency Attempts
          Red Zone Efficiency Conversions
          Red Zone Efficiency Percentage
          Rushing 10+ Yards
          Rushing 20+ Yards
          Rushing 30+ Yards
          Rushing 40+ Yards
          Rushing 50+ Yards
          Rushing Attempts
          Rushing Average Rush
          Rushing First Down Percentage
          Rushing First Downs
          Rushing Fumbled On Rush
          Rushing Longest Rush
          Rushing Red Zone Attempts
          Rushing Tackled For Safety
          Rushing Total Yards
          Rushing Touchdowns
          Total First Downs
          Two Point Conversion Attempted
          Two Point Conversion Failed
          Two Point Conversion Made
          Two Point Conversion Passing
          Two Point Conversion Receiving
          Two Point Conversion Rushing
          Penalty & Fumble Data Points: Fumbles Forced
          Fumbles Fumbles
          Fumbles Lost
          Fumbles Opponent Recovery
          Fumbles Opponent Touchdowns From Recovery
          Fumbles Out Of Bounds
          Fumbles Own Recovery
          Fumbles Own Touchdowns From Recovery
          Fumbles Yards From Opponent Recovery
          Fumbles Yards From Own Recovery
          Penalties First Downs
          Penalties Total Penalties
          Penalties Yards
          Special Teams Data Points: Blocked Field Goal Returns 10+ Yards
          Blocked Field Goal Returns 20+ Yards
          Blocked Field Goal Returns 30+ Yards
          Blocked Field Goal Returns 40+ Yards
          Blocked Field Goal Returns 50+ Yards
          Blocked Field Goal Returns Average Return
          Blocked Field Goal Returns Longest Ret.
          Blocked Field Goal Returns Returns
          Blocked Field Goal Returns Total Yards
          Blocked Field Goal Returns Touchdowns
          Blocked Punt Returns 10+ Yards
          Blocked Punt Returns 20+ Yards
          Blocked Punt Returns 30+ Yards
          Blocked Punt Returns 40+ Yards
          Blocked Punt Returns 50+ Yards
          Blocked Punt Returns Average Return
          Blocked Punt Returns Longest Return
          Blocked Punt Returns Returns
          Blocked Punt Returns Total Yards
          Blocked Punt Returns Touchdowns
          Extra Points Attempted
          Extra Points Blocked
          Extra Points Made
          Extra Points Percent Made
          Field Goal Returns 10+ Yards
          Field Goal Returns 20+ Yards
          Field Goal Returns 30+ Yards
          Field Goal Returns 40+ Yards
          Field Goal Returns 50+ Yards
          Field Goal Returns Average Return
          Field Goal Returns Longest Return
          Field Goal Returns Returns
          Field Goal Returns Total Yards
          Field Goal Returns Touchdowns
          Field Goals Attempted
          Field Goals Attempted, 1-19 Yards
          Field Goals Attempted, 20-29 Yards
          Field Goals Attempted, 30-39 Yards
          Field Goals Attempted, 40-49 Yards
          Field Goals Attempted, 50+ Yards
          Field Goals Blocked
          Field Goals Longest Made
          Field Goals Made
          Field Goals Made, 1-19 Yards
          Field Goals Made, 20-29 Yards
          Field Goals Made, 30-39 Yards
          Field Goals Made, 40-49 Yards
          Field Goals Made, 50+ Yards
          Field Goals Percent Made
          Kickoff Returns 10+ Yards
          Kickoff Returns 20+ Yards
          Kickoff Returns 30+ Yards
          Kickoff Returns 40+ Yards
          Kickoff Returns 50+ Yards
          Kickoff Returns Average Return
          Kickoff Returns Fair Catches
          Kickoff Returns Longest Kick Return
          Kickoff Returns Returns
          Kickoff Returns Touchdowns
          Kickoff Returns Yards
          Kickoffs Average Gross Yards
          Kickoffs Average Net Yards
          Kickoffs Average Return Yards
          Kickoffs End Zone Kicks
          Kickoffs Gross Yards
          Kickoffs Inside Opponents 20 Yard Line
          Kickoffs Kicks
          Kickoffs Longest Kick
          Kickoffs Net Yards
          Kickoffs Percentage Inside Opponents 20 Yard Line
          Kickoffs Percentage Touchbacks
          Kickoffs Returned
          Kickoffs Total Return Yards
          Kickoffs Touchbacks
          Punt Returns 10+ Yards
          Punt Returns 20+ Yards
          Punt Returns 30+ Yards
          Punt Returns 40+ Yards
          Punt Returns 50+ Yards
          Punt Returns Average Return
          Punt Returns Fair Catches
          Punt Returns Longest Return
          Punt Returns Returns
          Punt Returns Touchdowns
          Punt Returns Yards
          Punting Average Gross Yards
          Punting Average Net Yards
          Punting Average Return Yards
          Punting Blocked
          Punting Gross Yards
          Punting Inside Opp 20 Yard Line
          Punting Longest Punt
          Punting Net Yards
          Punting Percent Inside Opp 20 Yard Line
          Punting Percent Touchbacks
          Punting Punts
          Punting Return Yards
          Punting Returned
          Punting Touchbacks
          Team Information Data Points: Id Market Name

          To generate Game Statistics for the Game below replace {your_api_key} with your API key:

          require 'uri'
          require 'net/http'
          require 'openssl'
          
          url = URI("https://api.sportradar.us/ncaafb-t1/2015/REG/12/TOL/BGN/statistics.xml?api_key={your_api_key}")
          
          http = Net::HTTP.new(url.host, url.port)
          http.use_ssl = true
          http.verify_mode = OpenSSL::SSL::VERIFY_NONE
          
          request = Net::HTTP::Get.new(url)
          
          response = http.request(request)
          puts response.read_body
          
          import http.client
          
          conn = http.client.HTTPSConnection("api.sportradar.us")
          
          conn.request("GET", "/ncaafb-t1/2015/REG/12/TOL/BGN/statistics.xml?api_key={your_api_key}")
          
          res = conn.getresponse()
          data = res.read()
          
          print(data.decode("utf-8"))
          
          curl -X GET "https://api.sportradar.us/ncaafb-t1/2015/REG/12/TOL/BGN/statistics.xml?api_key={your_api_key}"
          

          The above command returns xml structured like this.

          To access the Game Statistics, replace the parameters in the following URL:

          https://api.sportradar.us/ncaafb-{access_level}{version}/{season_year}/{ncaafb_season}/{ncaafb_season_week}/{away_team}/{home_team}/statistics.{format}?api_key={your_api_key}

          Replace placeholders with the following query parameters:

          Parameter Description
          access_level Defines the access level of your API key as: Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
          version Version number of the API you are accessing (Current Version: 1).
          season_year Year in 4 digit format (YYYY).
          ncaafb_season Preseason (PRE), Regular Season (REG) or Postseason (PST) - Note: PST used for seasons 2012.
          ncaafb_season_week Season week number in 2 digit format (WW).
          away_team Abbreviated team name in 2 or 3 letter format.
          home_team Abbreviated team name in 2 or 3 letter format.
          format xml or json.
          your_api_key Your API key.

          To retrieve the XML Schema Definition (.XSD) for the Game Statistics, replace the parameters in the following URL.

          https://api.sportradar.us/ncaafb-{access_level}{version}/schema/statistics-v1.0.xsd?api_key={your_api_key}

          Return to API map

          Game Summary

          Team comparisons for all major stat categories within a game, as well as deeper insights such as third/fourth down and red zone efficiency.

          Update Frequency: As Necessary
          Content Type: Styled XML or Raw JSON
          Game Info Data Points: Attendance
          Away Team Id
          Home Team Id
          Id
          Scheduled Kickoff
          Total Points Scored By Team
          Defense Data Points: Touchdowns From Interceptions Yards From Interceptions Safeties
          Offense Data Points: 3rd Down Conversion Attempts
          3rd Down Conversion Converted
          3rd Down Conversion Percentage
          3rd Down Conversion Via Pass
          3rd Down Conversion Via Penalty
          3rd Down Conversion Via Rush
          4th Down Conversion Attempts
          4th Down Conversion Converted
          4th Down Conversion Percentage
          4th Down Conversion Via Pass
          4th Down Conversion Via Penalty
          4th Down Conversion Via Rush
          Average Yards Per Play
          Goal Efficiency Attempts
          Goal Efficiency Percentage
          Goal Efficiency Touchdowns
          Passing Attempts
          Passing Avg. Yards Per Pass Attempt
          Passing Completions
          Passing First Downs
          Passing Gross Yards
          Passing Interceptions
          Passing Net Yards
          Passing Sacked
          Passing Sacked Yards Lost
          Passing Total Yards
          Passing Touchdowns
          Receiving First Downs
          Red Zone Efficiency Attempts
          Red Zone Efficiency Conversions
          Red Zone Efficiency Percentage
          Rushing Attempts
          Rushing Average Rush
          Rushing First Downs
          Rushing Red Zone Attempts
          Rushing Total Yards
          Rushing Touchdowns
          Time Of Possession
          Total First Downs
          Total Net Yards
          Total Offensive Plays
          Two Point Conversion Attempted
          Two Point Conversion Made
          Two Point Conversion Passing
          Two Point Conversion Receiving
          Two Point Conversion Rushing
          Penalty & Fumble Data Points: Fumbles
          Fumbles Lost
          Own Touchdowns From Recovery
          Total Penalties
          Yards
          Special Teams Data Points: Extra Points Attempted
          Extra Points Attempted By Kicking
          Extra Points Attempted By Two Point Conversion
          Extra Points Blocked
          Extra Points Made
          Extra Points Made By Kicking
          Extra Points Made By Two Point Conversion
          Extra Points Percent Made
          Field Goal Returns Touchdowns
          Field Goals Attempted
          Field Goals Blocked
          Field Goals Made
          Kickoff Returns Returns
          Kickoff Returns Touchdowns
          Kickoff Returns Yards
          Kickoffs End Zone Kicks
          Kickoffs Kicks
          Kickoffs Touchbacks
          Punt Returns Returns
          Punt Returns Touchdowns
          Punt Returns Yards
          Punting Average Gross Yards
          Punting Average Net Yards
          Punting Blocked
          Punting Punts
          Total Return Yardage
          Team Info Data Points: Id Market Name

          To generate Game Summary for the Game below replace {your_api_key} with your API key:

          require 'uri'
          require 'net/http'
          require 'openssl'
          
          url = URI("https://api.sportradar.us/ncaafb-t1/2015/REG/12/TOL/BGN/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
          
          import http.client
          
          conn = http.client.HTTPSConnection("api.sportradar.us")
          
          conn.request("GET", "/ncaafb-t1/2015/REG/12/TOL/BGN/summary.xml?api_key={your_api_key}")
          
          res = conn.getresponse()
          data = res.read()
          
          print(data.decode("utf-8"))
          
          curl -X GET "https://api.sportradar.us/ncaafb-t1/2015/REG/12/TOL/BGN/summary.xml?api_key={your_api_key}"
          

          The above command returns xml structured like this.

          This endpoint retrieves the Game Summary information for a specific game.

          https://api.sportradar.us/ncaafb-{access_level}{version}/{season_year}/{ncaafb_season}/{ncaafb_season_week}/{away_team}/{home_team}/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 Real-time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
          version Version number of the API you are accessing (Current Version: 1).
          season_year Year in 4 digit format (YYYY).
          ncaafb_season Preseason (PRE), Regular Season (REG), or Postseason (PST) - Note: PST used for seasons 2012.
          ncaafb_season_week Number of weeks into the season in 2 digit format (WW).
          away_team Abbreviated team name in 2 or 3 letter format.
          home_team Abbreviated team name in 2 or 3 letter format.
          format xml or json.
          your_api_key Your API key.

          To retrieve the XML Schema Definition (.XSD) for the Game Summary, replace the parameters in the following URL.

          https://api.sportradar.us/ncaafb-{access_level}{version}/schema/summary-v1.0.xsd?api_key={your_api_key}

          Return to API map

          Play-By-Play

          Complete play-by-play narrative including statistics earned on each play.

          Update Frequency: Real-Time
          Content Type: XML or JSON
          Game Info Data Points: Attendance
          Away Team Id
          Clock Time
          Home Team Id
          Id
          Quarter
          Remaining Challenges
          Remaining Timeouts
          Scheduled Kickoff
          Status
          Total Points Scored By Team
          Play-By-Play Data Points: Drive Clock
          Drive Team
          Event Clock
          Event Outcome
          Event Sequence
          Event Summary
          Event Type
          Event Winner
          Game Quarter
          Play Clock
          Play Id
          Play Official
          Play Overturned
          Play Sequence
          Play Side
          Play Summary
          Play Type
          Play Yard Line
          Play Yards To First Down
          Play Participant Jersey Number
          Play Participant Player Id
          Play Participant Player Name
          Play Participant Position
          Play Participant Team
          Player Info Data Points: Full Name
          Id
          Jersey Number Position
          Team Info Data Points: Id Market Name

          To generate the Play-By-Play for the Game below replace {your_api_key} with your API key:

          require 'uri'
          require 'net/http'
          require 'openssl'
          
          url = URI("https://api.sportradar.us/ncaafb-t1/2015/REG/12/TOL/BGN/pbp.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.us")
          
          conn.request("GET", "/ncaafb-t1/2015/REG/12/TOL/BGN/pbp.xml?api_key={your_api_key}")
          
          res = conn.getresponse()
          data = res.read()
          
          print(data.decode("utf-8"))
          
          curl -X GET "https://api.sportradar.us/ncaafb-t1/2015/REG/12/TOL/BGN/pbp.xml?api_key={your_api_key}"
          

          The above command returns xml structured like this.

          This endpoint retrieves the Play-By-Play for a game.

          https://api.sportradar.us/ncaafb-{access_level}{version}/{season_year}/{ncaafb_season}/{ncaafb_season_week}/{away_team}/{home_team}/pbp.{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 Real-time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
          version Version number of the API you are accessing (Current Version: 1).
          season_year Year in 4 digit format (YYYY).
          ncaafb_season Preseason (PRE), Regular Season (REG), or Postseason (PST) - Note: PST used for seasons 2012.
          ncaafb_season_week Number of weeks into the season in 2 digit format (WW).
          away_team Abbreviated team name in 2 or 3 letter format.
          home_team Abbreviated team name in 2 or 3 letter format.
          format xml or json.
          your_api_key Your API key.

          To retrieve the XML Schema Definition (.XSD) for Play-By-Play, replace the parameters in the following URL.

          https://api.sportradar.us/ncaafb-{access_level}{version}/schema/pbp-v1.0.xsd?api_key={your_api_key}

          Return to API map

          Play Summary

          Real-time play detail for every game play.

          Update Frequency: Real-Time
          Content Type: XML or JSON
          Game Info Data Points: Clock Time Id Quarter
          Play-By-Play Data Points: Ending Situation Down
          Ending Situation Side
          Ending Situation Team
          Ending Situation Yard Line
          Ending Situation Yards To First Down
          Play Clock
          Play Defensive Action
          Play Defensive Formation
          Play Direction
          Play Distance
          Play Down
          Play Formation
          Play Id
          Play Points Scored
          Play Score Type
          Play Scoring Team
          Play Summary
          Play Type
          Play Participant Jersey Number
          Play Participant Player Id
          Play Participant Player Name
          Play Participant Position
          Play Participant Team
          Starting Situation Down
          Starting Situation Side
          Starting Situation Team
          Starting Situation Yard Line
          Starting Situation Yards To First Down
          Defense Data Points: Interceptions
          Touchdowns From Interceptions
          Yards From Interceptions
          Total Sacks
          Yards From Sacks
          Safeties
          Assisted Tackles
          Tackles For A Loss
          Total Tackles
          Offense Data Points: Passing Attempts
          Passing Completions
          Passing First Downs
          Passing Interceptions
          Passing Red Zone Attempts
          Passing Sacked
          Passing Sacked Yards Lost
          Passing Tackled For Safety
          Passing Total Yards
          Receiving Fumbled On Reception
          Receiving Receptions
          Receiving Red Zone Targets
          Receiving Target
          Receiving Total Yards
          Receiving Touchdowns
          Receiving Yards After Completion
          Rushing Attempts
          Rushing First Downs
          Rushing Fumbled On Rush
          Rushing Tackled For A Safety
          Rushing Total Yards
          Rushing Touchdowns
          Two Point Conversion Attempted
          Two Point Conversion Made
          Two Point Conversion Passing
          Two Point Conversion Receiving
          Two Point Conversion Rushing
          Penalty & Fumble Data Points: Fumble Returns Opponent Recovery
          Fumble Returns Own Recovery
          Fumble Returns
          Fumble Returns Touchdowns
          Fumble Returns Yards
          Fumbles
          Fumbles Lost
          Fumbles Out Of Bounds
          Penalties Abbreviation
          Penalties First Downs
          Penalties Yards
          Special Teams Data Points: Blocked Field Goal Returns
          Blocked Field Goal Returns Total Yards
          Blocked Field Goal Returns Touchdowns
          Blocked Punt Returns
          Blocked Punt Returns Total Yards
          Blocked Punt Returns Touchdowns
          Extra Points Attempted
          Extra Points Blocked
          Extra Points Made
          Extra Points Percent Made
          Field Goal Returns
          Field Goal Returns Total Yards
          Field Goal Returns Touchdowns
          Field Goals Attempted
          Field Goals Blocked
          Field Goals Made
          Kickoff Returns Fair Catches
          Kickoff Returns
          Kickoff Returns Touchdowns
          Kickoff Returns Yards
          Kickoffs End Zone Kicks
          Kickoffs Gross Yards
          Kickoffs Inside Opponents 20 Yard Line
          Kickoffs
          Kickoffs Net Yards
          Kickoffs Returned
          Kickoffs Touchbacks
          Punt Returns Fair Catches
          Punt Returns
          Punt Returns Touchdowns
          Punt Returns Yards
          Punting Blocked
          Punting Gross Yards
          Punting Inside Opp 20 Yard Line
          Punting
          Punting Returned
          Punting Touchbacks
          Player Info Data Points: Full Name
          Id
          Jersey Number Position
          Team Data Points: Id Market Name

          To generate the Play Summary for the Play ID below replace {your_api_key} with your API key:

          require 'uri'
          require 'net/http'
          require 'openssl'
          
          url = URI("https://api.sportradar.us/ncaafb-t1/2015/REG/12/TOL/BGN/plays/2508502b-41b9-427b-b253-9bd8951299f5.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.us")
          
          conn.request("GET", "/ncaafb-t1/2015/REG/12/TOL/BGN/plays/2508502b-41b9-427b-b253-9bd8951299f5.xml?api_key={your_api_key}")
          
          res = conn.getresponse()
          data = res.read()
          
          print(data.decode("utf-8"))
          
          curl -X GET "https://api.sportradar.us/ncaafb-t1/2015/REG/12/TOL/BGN/plays/2508502b-41b9-427b-b253-9bd8951299f5.xml?api_key={your_api_key}"
          

          The above command returns xml structured like this.

          This endpoint retrieves the Play Summary.

          https://api.sportradar.us/ncaafb-{access_level}{version}/{season_year}/{ncaafb_season}/{ncaafb_season_week}/{away_team}/{home_team}/plays/{play_id}.{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 Real-time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
          version Version number of the API you are accessing (Current Version: 1).
          season_year Year in 4 digit format (YYYY).
          ncaafb_season Preseason (PRE), Regular Season (REG), or Postseason (PST) - Note: PST used for seasons 2012.
          ncaafb_season_week Number of weeks into the season in 2 digit format (WW).
          away_team Abbreviated team name in 2 or 3 letter format.
          home_team Abbreviated team name in 2 or 3 letter format.
          play_id ID of a given play.
          format xml or json.
          your_api_key Your API key.

          To retrieve the XML Schema Definition (.XSD) for the Play Summary, replace the parameters in the following URL.

          https://api.sportradar.us/ncaafb-{access_level}{version}/schema/extended-play-v1.0.xsd?api_key={your_api_key}

          Return to API map

          Rankings

          Lists the current Top 25 rankings including rank, points, votes, and first place votes. The list also includes those teams not ranked, but receiving votes. We currently provide the AP Top 25, FBS Coaches Poll, Harris Poll, College Football Playoff, FCS Media Poll, and the FCS Coaches Poll.

          Update Frequency: As Necessary
          Content Type: XML or JSON
          Game Info Data Points: Week
          League & Season Data Points: Season Season Type
          Polls & Standings Data Points: First Place Votes
          Points
          Poll Id
          Poll Name
          Rank
          Votes
          Team Info Data Points: Id Market Name

          To generate the Rankings for the year and week below replace {your_api_key} with your API key:

          require 'uri'
          require 'net/http'
          require 'openssl'
          
          url = URI("https://api.sportradar.us/ncaafb-t1/polls/AP25/2015/12/rankings.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.us")
          
          conn.request("GET", "/ncaafb-t1/polls/AP25/2015/12/rankings.xml?api_key={your_api_key}")
          
          res = conn.getresponse()
          data = res.read()
          
          print(data.decode("utf-8"))
          
          curl -X GET "https://api.sportradar.us/ncaafb-t1/polls/AP25/2015/12/rankings.xml?api_key={your_api_key}"
          

          The above command returns xml structured like this.

          This endpoint retrieves the current Rankings.

          https://api.sportradar.us/ncaafb-{access_level}{version}/polls/{poll_name}/{season_year}/{ncaafb_season_week}/rankings.{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).
          poll_name Name of the poll: AP25, EU25, H25, CFP25, FCS25, or FCSC25.
          season_year Year in 4 digit format (YYYY).
          ncaafb_season_week Number of weeks into the season in 2 digit format (WW).
          format xml or json.
          your_api_key Your API key.

          To retrieve the XML Schema Definition (.XSD) for Rankings, replace the parameters in the following URL.

          https://api.sportradar.us/ncaafb-{access_level}{version}/schema/rankings-v1.0.xsd?api_key={your_api_key}

          Return to API map

          Season Schedule

          Complete schedule information for the entire season, including game, team, and venue information.

          Update Frequency: As Necessary
          Content Type: Styled XML or JSON
          Game Info Data Points: Away Team Id
          Away Team Rotation
          Cable Broadcast Info
          Internet Broadcast Info
          Network Broadcast Info
          Satellite Broadcast Info
          Coverage
          Home Team Id
          Home Team Rotation
          Humidity
          Id
          Neutral Site
          Scheduled Kickoff
          Status
          Title
          Total Points Scored By Team
          Type
          Weather Condition
          Weather Temperature
          Week
          Wind Direction
          Wind Speed

          To generate the Season Schedule, replace {your_api_key} with your API key:

          require 'uri'
          require 'net/http'
          require 'openssl'
          
          url = URI("https://api.sportradar.us/ncaafb-t1/2013/REG/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
          
          import http.client
          
          conn = http.client.HTTPSConnection("api.sportradar.us")
          
          conn.request("GET", "/ncaafb-t1/2013/REG/schedule.xml?api_key={your_api_key}")
          
          res = conn.getresponse()
          data = res.read()
          
          print(data.decode("utf-8"))
          
          curl -X GET "https://api.sportradar.us/ncaafb-t1/2013/REG/schedule.xml?api_key={your_api_key}"
          

          The above command returns xml structured like this.

          To retrieve the Season Schedule, replace the parameters in the following URL.

          https://api.sportradar.us/ncaafb-{access_level}{version}/{season_year}/{ncaafb_season}/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: Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
          version Version number of the API you are accessing (Current Version: 1).
          season_year Year in 4 digit format (YYYY).
          ncaafb_season Preseason (PRE), Regular Season (REG) or Postseason (PST) - Note: PST used for seasons 2012.
          format xml or json.
          your_api_key Your API key.

          To retrieve the XML Schema Definition (.XSD) for the Season Schedule, replace the parameters in the following URL.

          https://api.sportradar.us/ncaafb-{access_level}{version}/schema/schedule-v1.0.xsd?api_key={your_api_key}

          Return to API map

          Seasonal Statistics

          Detailed season stats at the team and player level, including extensive breakouts for offense, defense, and special teams.

          Update Frequency: As Necessary
          Content Type: XML or JSON
          League & Season Data Points: Season Season Type
          Defense Data Points: Blocked Kicks
          Forced Fumbles
          Fumbles Recovered
          Fumbles Recovered For Touchdowns
          Interceptions
          Longest Interception
          Touchdowns From Interceptions
          Yards From Interceptions
          Misc. Assisted Tackles
          Misc. Combined Tackles
          Misc. Forced Fumbles
          Misc. Fumbles Recovered
          Misc. Tackles
          Passes Defended
          Quarterback Hits
          Total Sacks
          Yards From Sacks
          Safeties
          Special Teams Assisted Tackles
          Special Teams Combined Tackles
          Special Teams Forced Fumbles
          Special Teams Fumbles recovered
          Special Teams Total Tackles
          Assisted Tackles
          Combined Tackles
          Tackles For A Loss
          Total Tackles
          Offense Data Points: 3rd Down Conversion Attempts
          3rd Down Conversions
          3rd Down Conversion Percentage
          3rd Down Conversion Via Pass
          3rd Down Conversion Via Penalty
          3rd Down Conversion Via Rush
          4th Down Conversion Attempts
          4th Down Conversions
          4th Down Conversion Percentage
          4th Down Conversion Via Pass
          4th Down Conversion Via Penalty
          4th Down Conversion Via Rush
          Games Played
          Goal Efficiency Attempts
          Goal Efficiency Percentage
          Goal Efficiency Touchdowns
          Passing 10+ Yards
          Passing 20+ Yards
          Passing 30+ Yards
          Passing 40+ Yards
          Passing 50+ Yards
          Passing Attempts
          Passing Avg. Yards Per Completion
          Passing Avg. Yards Per Pass Attempt
          Passing Completion Percentage
          Passing Completions
          Passing First Downs
          Passing Interception Percentage
          Passing Interceptions
          Passing Interceptions Returned For TD
          Passing Longest Pass
          Passing Rating
          Passing Red Zone Attempts
          Passing Sacked
          Passing Sacked Yards Lost
          Passing Tackled For Safety
          Passing Total Yards
          Passing Touchdown Percentage
          Passing Touchdowns
          Receiving 10+ Yards
          Receiving 20+ Yards
          Receiving 30+ Yards
          Receiving 40+ Yards
          Receiving 50+ Yards
          Receiving Average Reception
          Receiving First Downs
          Receiving Fumbled On Reception
          Receiving Longest Reception
          Receiving Receptions
          Receiving Red Zone Targets
          Receiving Target
          Receiving Total Yards
          Receiving Touchdowns
          Receiving Yards After Completion
          Red Zone Efficiency Attempts
          Red Zone Efficiency Conversions
          Red Zone Efficiency Percentage
          Rushing 10+ Yards
          Rushing 20+ Yards
          Rushing 30+ Yards
          Rushing 40+ Yards
          Rushing 50+ Yards
          Rushing Attempts
          Rushing Average Rush
          Rushing First Down Percentage
          Rushing First Downs
          Rushing Fumbled On Rush
          Rushing Longest Rush
          Rushing Red Zone Attempts
          Rushing Tackled For A Safety
          Rushing Total Yards
          Rushing Touchdowns
          Total First Downs
          Two Point Conversion Attempted
          Two Point Conversion Failed
          Two Point Conversion Passing
          Two Point Conversion Receiving
          Two Point Conversion Rushing
          Penalty & Fumble Data Points: Fumbles Forced
          Fumbles
          Fumbles Lost
          Fumbles Opponent Recovered
          Opponent Touchdowns From Fumble Recovery
          Fumble Out Of Bounds
          Fumble Own Recovery
          Own Touchdowns From Fumble Recovery
          Yards From Opponent Recovery
          Yards From Own Recovery
          Penalties First Downs
          Total Penalties
          Penalty Yards
          Special Teams Data Points: Blocked Field Goal Returns 10+ Yards
          Blocked Field Goal Returns 20+ Yards
          Blocked Field Goal Returns 30+ Yards
          Blocked Field Goal Returns 40+ Yards
          Blocked Field Goal Returns 50+ Yards
          Blocked Field Goal Returns Average Return
          Blocked Field Goal Returns Longest Ret.
          Blocked Field Goal Returns
          Blocked Field Goal Returns Total Yards
          Blocked Field Goal Returns Touchdowns
          Blocked Punt Returns 10+ Yards
          Blocked Punt Returns 20+ Yards
          Blocked Punt Returns 30+ Yards
          Blocked Punt Returns 40+ Yards
          Blocked Punt Returns 50+ Yards
          Blocked Punt Returns Average Return
          Blocked Punt Returns Longest Return
          Blocked Punt Returns
          Blocked Punt Returns Total Yards
          Blocked Punt Returns Touchdowns
          Extra Points Attempted
          Extra Points Blocked
          Extra Points Made
          Extra Points Percent Made
          Field Goal Returns 10+ Yards
          Field Goal Returns 20+ Yards
          Field Goal Returns 30+ Yards
          Field Goal Returns 40+ Yards
          Field Goal Returns 50+ Yards
          Field Goal Returns Average Return
          Field Goal Returns Longest Return
          Field Goal Returns Returns
          Field Goal Returns Total Yards
          Field Goal Returns Touchdowns
          Field Goals Attempted
          Field Goals Attempted, 1-19 Yards
          Field Goals Attempted, 20-29 Yards
          Field Goals Attempted, 30-39 Yards
          Field Goals Attempted, 40-49 Yards
          Field Goals Attempted, 50+ Yards
          Field Goals Blocked
          Field Goals Longest Made
          Field Goals Made
          Field Goals Made, 1-19 Yards
          Field Goals Made, 20-29 Yards
          Field Goals Made, 30-39 Yards
          Field Goals Made, 40-49 Yards
          Field Goals Made, 50+ Yards
          Field Goals Percent Made
          Kickoff Returns 10+ Yards
          Kickoff Returns 20+ Yards
          Kickoff Returns 30+ Yards
          Kickoff Returns 40+ Yards
          Kickoff Returns 50+ Yards
          Kickoff Returns Average Return
          Kickoff Returns Fair Catches
          Kickoff Returns Longest Kick Return
          Kickoff Returns
          Kickoff Returns Touchdowns
          Kickoff Returns Yards
          Kickoffs Average Gross Yards
          Kickoffs Average Net Yards
          Kickoffs Average Return Yards
          Kickoffs End Zone Kicks
          Kickoffs Gross Yards
          Kickoffs Inside Opponents 20 Yard Line
          Kickoffs Kicks
          Kickoffs Longest Kick
          Kickoffs Net Yards
          Kickoffs Percentage Inside Opponents 20 Yard Line
          Kickoffs Percentage Touchbacks
          Kickoffs Returned
          Kickoffs Total Return Yards
          Kickoffs Touchbacks
          Punt Returns 10+ Yards
          Punt Returns 20+ Yards
          Punt Returns 30+ Yards
          Punt Returns 40+ Yards
          Punt Returns 50+ Yards
          Punt Returns Average Return
          Punt Returns Fair Catches
          Punt Returns Longest Return
          Punt Returns
          Punt Returns Touchdowns
          Punt Returns Yards
          Punting Average Gross Yards
          Punting Average Net Yards
          Punting Average Return Yards
          Punting Blocked
          Punting Gross Yards
          Punting Inside Opp 20 Yard Line
          Punting Longest Punt
          Punting Net Yards
          Punting Percent Inside Opp 20 Yard Line
          Punting Percent Touchbacks
          Punting Punts
          Punting Return Yards
          Punting Returned
          Punting Touchbacks
          Team Info Data Points: Id Market Name

          To generate the Seasonal Statistics for the Season and Year below replace {your_api_key} with your API key:

          require 'uri'
          require 'net/http'
          require 'openssl'
          
          url = URI("https://api.sportradar.us/ncaafb-t1/teams/FBS/2014/REG/statistics.xml?api_key={your_api_key}")
          
          http = Net::HTTP.new(url.host, url.port)
          http.use_ssl = true
          http.verify_mode = OpenSSL::SSL::VERIFY_NONE
          
          request = Net::HTTP::Get.new(url)
          
          response = http.request(request)
          puts response.read_body
          
          import http.client
          
          conn = http.client.HTTPSConnection("api.sportradar.us")
          
          conn.request("GET", "/ncaafb-t1/teams/FBS/2014/REG/statistics.xml?api_key={your_api_key}")
          
          res = conn.getresponse()
          data = res.read()
          
          print(data.decode("utf-8"))
          
          curl -X GET "https://api.sportradar.us/ncaafb-t1/teams/FBS/2014/REG/statistics.xml?api_key={your_api_key}"
          

          The above command returns xml structured like this.

          This endpoint retrieves the current Seasonal Statistics.

          https://api.sportradar.us/ncaafb-{access_level}{version}/teams/{division}/{season_year}/{ncaafb_season}/statistics.{format}?api_key={your_api_key}

          Replace placeholders with the following query parameters:

          Parameter Description
          access_level Defines the access level of your API key as Production (p) or Trial (t).
          version Version number of the API you are accessing (Current Version: 1).
          division FBS or FCS.
          season_year Year in 4 digit format (YYYY).
          ncaafb_season Preseason (PRE), Regular Season (REG), or Postseason (PST) - Note: PST used for seasons 2012.
          format xml or json.
          your_api_key Your API key.

          To retrieve the XML Schema Definition (.XSD) for Seasonal Statistics, replace the parameters in the following URL.

          https://api.sportradar.us/ncaafb-{access_level}{version}/schema/statistics-v1.0.xsd?api_key={your_api_key}

          Return to API map

          Standings

          Detailed information on wins and losses, broken down by conference, division and other sport specific scenarios.

          Update Frequency: As Necessary
          Content Type: XML or JSON
          League & Season Data Points: Conference Id
          Conference Name
          Division Id
          Division Name
          Sub Division Id
          Sub Division Name
          Polls & Standings Data Points: Away Losses
          Away Winning Perc.
          Away Wins
          Decided By 7 Points Or Fewer, Losses
          Decided By 7 Points Or Fewer, Wins
          Grass Losses
          Grass Winning Perc
          Grass Wins
          Home Losses
          Home Winning Perc
          Home Wins
          In-Conference Losses
          In-Conference Winning Perc
          In-Conference Wins
          In-Division Losses
          In-Division Winning Perc
          In-Division Wins
          Last 5 Games, Losses
          Last 5 Games, Wins
          Non-Conference Losses
          Non-Conference Winning Perc
          Non-Conference Wins
          Overall Losses
          Overall Winning Perc
          Overall Wins
          Overtime Losses
          Overtime Winning Perc
          Overtime Wins
          Points Against
          Points For
          Points Net
          Recent Streak
          Streak Type
          Touchdowns Against
          Touchdowns For
          Turf Losses
          Turf Winning Perc
          Turf Wins
          When Leading At Half, Losses
          When Leading At Half, Wins
          Team Info Data Points: Id Market Name

          To generate the Standings for the Season below replace {your_api_key} with your API key:

          require 'uri'
          require 'net/http'
          require 'openssl'
          
          url = URI("https://api.sportradar.us/ncaafb-t1/teams/FBS/2014/REG/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
          
          import http.client
          
          conn = http.client.HTTPSConnection("api.sportradar.us")
          
          conn.request("GET", "/ncaafb-t1/teams/FBS/2014/REG/standings.xml?api_key={your_api_key}")
          
          res = conn.getresponse()
          data = res.read()
          
          print(data.decode("utf-8"))
          
          curl -X GET "https://api.sportradar.us/ncaafb-t1/teams/FBS/2014/REG/standings.xml?api_key={your_api_key}"
          

          The above command returns xml structured like this.

          This endpoint retrieves the current Standings.

          https://api.sportradar.us/ncaafb-{access_level}{version}/teams/{division}/{season_year}/{ncaafb_season}/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).
          division FBS or FCS.
          season_year Year in 4 digit format (YYYY).
          ncaafb_season Preseason (PRE), Regular Season (REG), or Postseason (PST) - Note: PST used for seasons 2012.
          format xml or json.
          your_api_key Your API key.

          To retrieve the XML Schema Definition (.XSD) for Standings, replace the parameters in the following URL.

          https://api.sportradar.us/ncaafb-{access_level}{version}/schema/standings-v1.0.xsd?api_key={your_api_key}

          Return to API map

          Team Hierarchy

          List off all teams in the league including conference, division, and team identification information.

          Update Frequency: As Necessary
          Content Type: XML or JSON
          League & Season Data Points: Conference Id
          Conference Name
          Division Id
          Division Name
          Sub Division Id
          Sub Division Name

          To generate the Team Hierarchy for the Team below replace {your_api_key} with your API key:

          require 'uri'
          require 'net/http'
          require 'openssl'
          
          url = URI("https://api.sportradar.us/ncaafb-t1/teams/FBS/hierarchy.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.us")
          
          conn.request("GET", "/ncaafb-t1/teams/FBS/hierarchy.xml?api_key={your_api_key}")
          
          res = conn.getresponse()
          data = res.read()
          
          print(data.decode("utf-8"))
          
          curl -X GET "https://api.sportradar.us/ncaafb-t1/teams/FBS/hierarchy.xml?api_key={your_api_key}"
          

          The above command returns xml structured like this.

          This endpoint retrieves the Team Hierarchy.

          https://api.sportradar.us/ncaafb-{access_level}{version}/teams/{division}/hierarchy.{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 Real-time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
          version Version number of the API you are accessing (Current Version: 1).
          division FBS, FCS, D2, D3, NAIA, or USCAA.
          format xml or json.
          your_api_key Your API key.

          To retrieve the XML Schema Definition (.XSD) for the Game Roster, replace the parameters in the following URL.

          https://api.sportradar.us/ncaafb-{access_level}{version}/schema/hierarchy-v1.0.xsd?api_key={your_api_key}

          Return to API map

          Team Roster

          Player information for a team, including height/weight, jersey number, and position.

          Update Frequency: As Necessary
          Content Type: XML or JSON
          Player Info Data Points: Abbreviated Name
          Birth Place
          Class
          Date Of Birth
          First Name
          Full Name
          Height
          Id
          Jersey Number
          Last Name
          Position
          Status
          Weight
          Coach Info Data Points: Abbreviated Name
          First Name
          Full Name
          Id
          Last Name
          Position
          Salary
          Status
          Team Data Points: Id Market Name

          To generate the Team Roster for the Team below replace {your_api_key} with your API key:

          require 'uri'
          require 'net/http'
          require 'openssl'
          
          url = URI("https://api.sportradar.us/ncaafb-t1/teams/MIN/roster.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.us")
          
          conn.request("GET", "/ncaafb-t1/teams/MIN/roster.xml?api_key={your_api_key}")
          
          res = conn.getresponse()
          data = res.read()
          
          print(data.decode("utf-8"))
          
          curl -X GET "https://api.sportradar.us/ncaafb-t1/teams/MIN/roster.xml?api_key={your_api_key}"
          

          The above command returns xml structured like this.

          This endpoint retrieves Team Roster.

          https://api.sportradar.us/ncaafb-{access_level}{version}/teams/{team}/roster.{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 Real-time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
          version Version number of the API you are accessing (Current Version: 1).
          team Abbreviated 2 or 3 letter team name.
          format xml or json.
          your_api_key Your API key.

          To retrieve the XML Schema Definition (.XSD) for the Team Roster, replace the parameters in the following URL.

          https://api.sportradar.us/ncaafb-{access_level}{version}/schema/roster.xsd?api_key={your_api_key}

          Return to API map

          Weekly Division Leaders

          Provides the division leaders, and their corresponding stats, for the categories of passing, rushing, and receiving.

          Update Frequency: As Necessary
          Content Type: XML or JSON
          Game Info Data Points: Week
          Offense Data Points: Passing 10+ Yards
          Passing 20+ Yards
          Passing 30+ Yards
          Passing 40+ Yards
          Passing 50+ Yards
          Passing Attempts
          Passing Avg. Yards Per Completion
          Passing Avg. Yards Per Pass Attempt
          Passing Completion Percentage
          Passing Completions
          Passing First Downs
          Passing Interception Percentage
          Passing Interceptions
          Passing Interceptions Returned For TD
          Passing Longest Pass
          Passing Rating
          Passing Red Zone Attempts
          Passing Sacked
          Passing Sacked Yards Lost
          Passing Tackled For Safety
          Passing Total Yards
          Passing Touchdown Percentage
          Passing Touchdowns
          Receiving 10+ Yards
          Receiving 20+ Yards
          Receiving 30+ Yards
          Receiving 40+ Yards
          Receiving 50+ Yards
          Receiving Average Reception
          Receiving First Downs
          Receiving Fumbled On Reception
          Receiving Longest Reception
          Receiving Receptions
          Receiving Red Zone Targets
          Receiving Target
          Receiving Total Yards
          Receiving Touchdowns
          Receiving Yards After Completion
          Rushing 10+ Yards
          Rushing 20+ Yards
          Rushing 30+ Yards
          Rushing 40+ Yards
          Rushing 50+ Yards
          Rushing Attempts
          Rushing Average Rush
          Rushing First Down Percentage
          Rushing First Downs
          Rushing Fumbled On Rush
          Rushing Longest Rush
          Rushing Red Zone Attempts
          Rushing Tackled For A Safety
          Rushing Total Yards
          Rushing Touchdowns
          Player Info Data Points: Full Name
          Id
          Jersey Number Position
          Team Info Data Points: Id Market Name

          To generate the Weekly Division Leaders for the Season, Year, and Week below replace {your_api_key} with your API key:

          require 'uri'
          require 'net/http'
          require 'openssl'
          
          url = URI("https://api.sportradar.us/ncaafb-t1/2014/REG/14/FBS/leaders.xml?api_key={your_api_key}")
          
          http = Net::HTTP.new(url.host, url.port)
          http.use_ssl = true
          http.verify_mode = OpenSSL::SSL::VERIFY_NONE
          
          request = Net::HTTP::Get.new(url)
          
          response = http.request(request)
          puts response.read_body
          
          import http.client
          
          conn = http.client.HTTPSConnection("api.sportradar.us")
          
          conn.request("GET", "/ncaafb-t1/2014/REG/14/FBS/leaders.xml?api_key={your_api_key}")
          
          res = conn.getresponse()
          data = res.read()
          
          print(data.decode("utf-8"))
          
          curl -X GET "https://api.sportradar.us/ncaafb-t1/2014/REG/14/FBS/leaders.xml?api_key={your_api_key}"
          

          The above command returns xml structured like this.

          This endpoint retrieves the Weakly Division Leaders.

          https://api.sportradar.us/ncaafb-{access_level}{version}/{season_year}/{ncaafb_season}/{ncaa_season_week}/leaders.{format}?api_key={your_api_key}

          Replace placeholders with the following query parameters:

          Parameter Description
          access_level Defines the access level of your API key as Production (p) or Trial (t).
          version Version number of the API you are accessing (Current Version: 1).
          season_year Year in 4 digit format (YYYY).
          ncaafb_season Preseason (PRE), Regular Season (REG), or Postseason (PST) - Note: PST used for seasons 2012.
          ncaafb_season_week Number of weeks into the season in 2 digit format (WW).
          division FBS or FCS.
          format xml or json.
          your_api_key Your API key.

          To retrieve the XML Schema Definition (.XSD) for Seasonal Statistics, replace the parameters in the following URL.

          https://api.sportradar.us/ncaafb-{access_level}{version}/schema/statistics-v1.0.xsd?api_key={your_api_key}

          Return to API map

          Weekly Schedule

          Complete schedule information for the specific week of the NFL season, including game, team, and venue information. Pre-Season (PRE) valid weeks 1-4, Regular Season (REG) weeks 1-17, Post-Season (PST) weeks 1-4.

          Update Frequency: As Necessary
          Content Type: Raw XML or JSON
          Game Information Data Points: Away Team Id
          Away Team Rotation
          Cable Broadcast Info
          Internet Broadcast Info
          Network Broadcast Info
          Satellite Broadcast Info
          Coverage
          Home Team Id
          Home Team Rotation
          Humidity
          Id
          Neutral Site
          Scheduled Kickoff
          Status
          Title
          Total Points Scored By Team
          Type
          Weather Condition
          Weather Temperature
          Wind Direction
          Wind Speed
          Venue Data Points: Address
          Capacity
          City
          Country
          Id
          Name
          State
          Surface
          Type
          Zip

          To generate the Weekly Schedule for the Year, Season, and Week below replace {your_api_key} with your API key:

          require 'uri'
          require 'net/http'
          require 'openssl'
          
          url = URI("https://api.sportradar.us/ncaafb-t1/2013/REG/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
          
          import http.client
          
          conn = http.client.HTTPSConnection("api.sportradar.us")
          
          conn.request("GET", "/ncaafb-t1/2013/REG/12/schedule.xml?api_key={your_api_key}")
          
          res = conn.getresponse()
          data = res.read()
          
          print(data.decode("utf-8"))
          
          curl -X GET "https://api.sportradar.us/ncaafb-t1/2013/REG/12/schedule.xml?api_key={your_api_key}"
          

          The above command returns xml structured like this.

          To access the Weekly Schedule, replace the parameters in the following URL:

          https://api.sportradar.us/ncaafb-{access_level}{version}/{season_year}/{ncaafb_season}/{ncaafb_season_week}/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: Real-Time (rt), Premium (p), Standard (s), Basic (b), or Trial (t).
          version Version number of the API you are accessing (Current version: 1).
          season_year Year in 4 digit format (YYYY).
          ncaafb_season Preseason (PRE), Regular Season (REG) or Postseason (PST) - Note: PST used for season 2012.
          ncaafb_season_week Season week number in 2 digit format (WW).
          format xml or json.
          your_api_key Your API key.

          To retrieve the XML Schema Definition (.XSD) for the Daily Schedule, replace the parameters in the following URL.

          https://api.sportradar.us/ncaafb-{access_level}{version}/schema/schedule-v1.0.xsd?api_key={your_api_key}

          Return to API map

          Arena Football League

          Statistics Summary
          Documentation
          Change Log




          API API Version
          Arena Football League v1

          Arena Football League API Map

          To best utilize the Arena Football League 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 college a player played for:

          1. Call the season or weekly schedule and find a Game Id that they played in
          2. Call the Game Roster using the Game Id to get the Player Id
          3. Call the Player Profile and locate the Player College.

          The player’s collage name is displayed.

            To find a teams number of defensive sacks:

            1. Call the season or weekly schedule and find the desired Team Id
            2. Call the Seasonal Statistics using the Team Id
            3. Locate the Team Defense Sacks.

            The teams number of defensive sacks is displayed.

            Primary and additional feeds only require dates or human-readable parameters, while other feeds require a global unique identifier (GUID) to identify the game, team, or player that the feed will describe. The primary feeds provide GUIDs for games and teams, while games and teams provide GUIDS for players.

            Daily Change Log

            Update Frequency: As Necessary
            Content Type: JSON
            Game Information Data Points: Game Id
            Scheduled Start Date/Time
            Status

            Updated At

            League Information Data Points: Alias
            Id
            Name
            Season Id
            Season Name
            Season Type
            Season Year
            Week Id
            Week Sequence
            Week Title
            Player Information Data Points: First Name
            Id
            Last Name Updated At
            Team Information Data Points: Alias
            Id
            Market
            Name
            Name
            Updated At

            To generate the Daily Change Log for 04/24/2018 replace {your_api_key} with your API key:

            require 'uri'
            require 'net/http'
            require 'openssl'
            
            url = URI("https://api.sportradar.com/arenafootball/trial/v1/en/league/2018/04/24/changes.json?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", "arenafootball/trial/v1/en/league/2018/04/24/changes.json?api_key={your_api_key}")
            
            res = conn.getresponse()
            data = res.read()
            
            print(data.decode("utf-8"))
            
            curl -X GET "https://api.sportradar.com/arenafootball/trial/v1/en/league/2018/04/24/changes.json?api_key={your_api_key}"
            

            The above command returns xml structured like this.

            Access the Daily Change Log feed by replacing the parameters in the following URL:

            https://api.sportradar.com/arenafootball/{access_level}/{version}/en/league/{year}/{month}/{day}/changes.json?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 (production), or Trial (trial).
            version Version number of the API you are accessing (current version: v1).
            year Year in 4 digit format (YYYY).
            month Month in 2 digit format (MM).
            day Day of month in 2 digit format (DD).
            your_api_key Your API key.

            Return to API map

            Game Boxscore

            This feed displays game scoring information for each team.

            Update Frequency: As Necessary
            Content Type: JSON
            Boxscore Information Data Points: Away Team Total Points
            Ending Situation Clock
            Ending Situation Down
            Ending Situation Possession
            Ending Situation Yards to First Down
            Home Team Total Points
            Last Event Away Points
            Last Event Description
            Last Event First Down
            Last Event Home Points
            Last Event Id
            Last Event Out of Bounds
            Last Event Play Type
            Last Event Reference
            Last Event Scoring Play
            Last Event Sequence
            Last Event Turnover
            Last Event Type
            Last Event Updated Time
            Period Away Points
            Period Home Points
            Period Id
            Period Number
            Period Sequence
            Period Type
            Quarter
            Situation Location Team Side
            Situation Location Team Yard Line
            Starting Situation Clock
            Starting Situation Down
            Starting Situation Possession
            Starting Situation Yards to First Down
            Game Information Data Points: Away Team Alias
            Away Team Id
            Away Team Market
            Away Team Name
            Away Team Status
            Entry Mode
            Home Team Alias
            Home Team Id
            Home Team Market
            Home Team Name
            Home Team Status
            Id
            Number
            Period Id
            Period Number
            Period Sequence
            Period Status
            Period Type
            Reference
            Scheduled Start Date/Time
            Status
            Title
            League Information Data Points: Season Id
            Season Name
            Season Type
            Season Year
            Week Id
            Week Sequence
            Week Title
            Play By Play Information Data Points: Drive End Reason
            Drive Id
            Drive Number
            Drive Red Zone
            Drive Scoring Drive Flag
            Drive Sequence
            Drive Start Reason
            Ending Situation Clock
            Ending Situation Down
            Ending Situation Location Team Side
            Ending Situation Location Team Yardline
            Ending Situation Period
            Ending Situation Possession
            Ending Situation Yards to First Down
            Event Id
            Event Reference
            Event Sequence
            Event Type
            Play Away Points
            Play Deleted Time
            Play Description
            Play First Down
            Play First Down Type
            Play Home Points
            Play Id
            Play Out of Bounds
            Play Play Type
            Play Red Zone
            Play Reference
            Play Score Points
            Play Score Side
            Play Score Type
            Play Scoring Play
            Play Sequence
            Play Turnover
            Play Turnover Type
            Play Type
            Play Updated Time
            Scoring Away Team Score
            Scoring Home Team Score
            Starting Situation Clock
            Starting Situation Down
            Starting Situation Location Team Side
            Starting Situation Location Team Yardline
            Starting Situation Period
            Starting Situation Possession
            Starting Situation Yards to First Down
            Play Statistics Data Points: Defense Assisted Tackles
            Defense Forced Fumble
            Defense Pass Defended
            Defense QB Hurry
            Defense Sack
            Defense Tackle for Loss
            Defense Tackles
            Extra Points Attempt
            Extra Points Outcome
            Extra Points Type
            Fumbles Type
            Interception Returns Attempt
            Interception Returns Yards
            Kick Returns Attempt
            Kick Returns Yards
            Kickoffs Kick Attempt
            Kickoffs Onside Kick
            Kickoffs Out of Bounds
            Kickoffs Touchback
            Kickoffs Yards
            Passing Attempt
            Passing Completion
            Passing Interception
            Passing Outcome
            Passing Sack
            Passing Yards
            Penalties Code
            Penalties Description
            Penalties Location Side
            Penalties Location Yard Line
            Penalties Outcome
            Penalties Yards
            Receiving Attempt
            Receiving Dropped
            Receiving Fumble
            Receiving Outcome
            Receiving Yards
            Rushing Attempt
            Rushing Yards
            Statistics Stat Type
            Player Information Data Points: Id
            Jersey Number
            Name
            Played
            Team Information Data Points: Alias
            Id
            Market
            Name
            Venue Information Data Points: Address
            Capacity
            City
            Country
            Id
            Name
            Roof Type
            State
            Surface
            Zip

            To generate the Game Boxscore for the Game ID below replace {your_api_key} with your API key:

            require 'uri'
            require 'net/http'
            require 'openssl'
            
            url = URI("https://api.sportradar.com/arenafootball/trial/v1/en/games/4d1c5c67-9442-47f2-9b80-1dcd267451df/boxscore.json?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", "arenafootball/trial/v1/en/games/4d1c5c67-9442-47f2-9b80-1dcd267451df/boxscore.json?api_key={your_api_key}")
            
            res = conn.getresponse()
            data = res.read()
            
            print(data.decode("utf-8"))
            
            curl -X GET "https://api.sportradar.com/arenafootball/trial/v1/en/games/4d1c5c67-9442-47f2-9b80-1dcd267451df/boxscore.json?api_key={your_api_key}"
            

            The above command returns xml structured like this.

            This endpoint retrieves the boxscore information for a specific game.

            https://api.sportradar.com/arenafootball/{access_level}/{version}/en/games/{game_id}/boxscore.json?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 (production), or Trial (trial).
            version Version number of the API you are accessing (current version: v1).
            game_id ID for a given game.
            your_api_key Your API key.

            Return to API map

            Game Roster

            Game roster information for each team.

            Update Frequency: As Necessary
            Content Type: JSON
            Boxscore Information Data Points: Away Team Total Points
            Home Team Total Points
            Period Away Points
            Period Home Points
            Period Id
            Period Number
            Period Sequence
            Period Type
            Quarter
            Game Information Data Points: Away Team Alias
            Away Team Id
            Away Team Market
            Away Team Name
            Away Team Status
            Entry Mode
            Home Team Alias
            Home Team Id
            Home Team Market
            Home Team Name
            Home Team Status
            Id
            Number
            Period Id
            Period Number
            Period Sequence
            Period Type
            Reference
            Scheduled Start Date/Time
            Status
            Title
            League Information Data Points: Season Id
            Season Name
            Season Type
            Season Year
            Week Id
            Week Sequence
            Week Title
            Player Information Data Points: Id
            Jersey Number
            Name
            Played
            Position
            Preferred Name
            Reference
            Reference Id
            Reference Origin
            Started
            Team Information Data Points: Alias
            Id
            Market Name
            Venue Information Data Points: Address
            Capacity
            City
            Country
            Id
            Name
            Roof Type
            State
            Surface
            Zip

            To generate the Game Roster for the Game ID below replace {your_api_key} with your API key:

            require 'uri'
            require 'net/http'
            require 'openssl'
            
            url = URI("https://api.sportradar.com/arenafootball/trial/v1/en/games/4d1c5c67-9442-47f2-9b80-1dcd267451df/roster.json?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", "arenafootball/trial/v1/en/games/4d1c5c67-9442-47f2-9b80-1dcd267451df/roster.json?api_key={your_api_key}")
            
            res = conn.getresponse()
            data = res.read()
            
            print(data.decode("utf-8"))
            
            curl -X GET "https://api.sportradar.com/arenafootball/trial/v1/en/games/4d1c5c67-9442-47f2-9b80-1dcd267451df/roster.json?api_key={your_api_key}"
            

            The above command returns xml structured like this.

            This endpoint retrieves the roster information for a specific game.

            https://api.sportradar.com/arenafootball/{access_level}/{version}/en/games/{game_id}/roster.json?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 (production), or Trial (trial).
            version Version number of the API you are accessing (current version: v1).
            game_id ID for a given game.
            your_api_key Your API key.

            Return to API map

            Game Statistics

            Team and player level game statistics for each team.

            Update Frequency: As Necessary
            Content Type: JSON
            Boxscore Information Data Points: Attendance
            Away Team Total Points
            Home Team Total Points
            Period Away Points
            Period Home Points
            Period Id
            Period Number
            Period Sequence
            Period Type
            Quarter
            Game Information Data Points: Actual End
            Actual Start
            Away Team Alias
            Away Team Id
            Away Team Market
            Away Team Name
            Away Team Status
            Entry Mode
            Home Team Alias
            Home Team Id
            Home Team Market
            Home Team Name
            Home Team Status
            Id
            Number
            Period Id
            Period Number
            Period Sequence
            Period Type
            Reference
            Scheduled Start Date/Time
            Status
            Title
            Player Game Statistics Data Points: Conversions Defense Blocked Kick Attempts
            Conversions Defense Blocked Kick Successes
            Conversions Defense Turnover Attempts
            Conversions Defense Turnover Successes
            Conversions Pass Attempts
            Conversions Pass Successes
            Conversions Reception Attempts
            Conversions Reception Successes
            Conversions Rush Attempts
            Conversions Rush Successes
            Defense Assisted Tackles
            Defense Combined Tackles
            Defense Forced Fumbles
            Defense Fumble Recoveries
            Defense Fumble Yards
            Defense Hurries
            Defense Interception Yards
            Defense Interceptions
            Defense Passes Defended
            Defense Sack Yards
            Defense Sacks
            Defense Safeties
            Defense Tackles
            Defense Tackles for Loss
            Defense Tackles for Loss Yards
            Extra Points Kicking Attempts
            Extra Points Kicking Made
            Field Goals Attempts
            Field Goals Blocked
            Field Goals Longest
            Field Goals Made
            Fumble Returns Longest
            Fumble Returns Number
            Fumble Returns Touchdowns
            Fumble Returns Yards
            Fumbles Fumbles
            Fumbles Lost Fumbles
            Interception Returns Longest
            Interception Returns Number
            Interception Returns Touchdowns
            Interception Returns Yards
            Kick Returns Longest
            Kick Returns Number
            Kick Returns Touchdowns
            Kick Returns Yards
            Kickoffs Number
            Kickoffs Out of Bounds
            Kickoffs Touchbacks
            Kickoffs Yards
            Passing Attempts
            Passing Completions
            Passing Interceptions
            Passing Longest
            Passing Sack Yards
            Passing Sacks
            Passing Touchdowns
            Passing Yards
            Penalties Penalties
            Penalties Yards
            Receiving Longest
            Receiving Receptions
            Receiving Touchdowns
            Receiving Yards
            Rushing Attempts
            Rushing Longest
            Rushing Tackle for Loss
            Rushing Tackle for Loss Yards
            Rushing Touchdowns
            Rushing Yards
            Team Game Statistics Data Points: Conversions Defense Blocked Kick Attempts
            Conversions Defense Blocked Kick Successes
            Conversions Defense Turnover Attempts
            Conversions Defense Turnover Successes
            Conversions Pass Attempts
            Conversions Pass Successes
            Conversions Reception Attempts
            Conversions Reception Successes
            Conversions Rush Attempts
            Conversions Rush Successes
            Defense Assisted Tackles
            Defense Assisted Tackles per Period
            Defense Combined Tackles
            Defense Combined Tackles per Period
            Defense Forced Fumbles
            Defense Forced Fumbles per Period
            Defense Fumble Recoveries
            Defense Fumble Recoveries per Period
            Defense Fumble Yards
            Defense Fumble Yards per Period
            Defense Hurries
            Defense Hurries per Period
            Defense Interception Yards
            Defense Interception Yards per Period
            Defense Interceptions
            Defense Interceptions per Period
            Defense Passes Defended
            Defense Passes Defended per Period
            Defense Sack Yards
            Defense Sack Yards per Period
            Defense Sacks
            Defense Sacks per Period
            Defense Safeties
            Defense Safeties per Period
            Defense Tackles
            Defense Tackles per Period
            Defense Tackles for Loss
            Defense Tackles for Loss per Period
            Defense Tackles for Loss Yards
            Defense Tackles for Loss Yards per Period
            Efficiency 3rd Down Attempts
            Efficiency 3rd Down Conversions
            Efficiency 4th Down Attempts
            Efficiency 4th Down Conversions
            Extra Points Kicking Attempts
            Extra Points Kicking Attempts per Period
            Extra Points Kicking Made
            Extra Points Kicking Made per Period
            Field Goals Attempts
            Field Goals Attempts per Period
            Field Goals Blocked
            Field Goals Blocked per Period
            Field Goals Longest
            Field Goals Longest per Period
            Field Goals Made
            Field Goals Made per Period
            First Downs Passing
            First Downs Penalty
            First Downs Rushing
            First Downs Total
            Fumble Returns Longest
            Fumble Returns Longest per Period
            Fumble Returns Number
            Fumble Returns Number per Period
            Fumble Returns Touchdowns
            Fumble Returns Touchdowns per Period
            Fumble Returns Yards
            Fumble Returns Yards per Period
            Fumbles Fumbles
            Fumbles Fumbles per Period
            Fumbles Lost Fumbles
            Fumbles Lost Fumbles per Period
            Interception Returns Longest
            Interception Returns Longest per Period
            Interception Returns Number
            Interception Returns Number per Period
            Interception Returns Touchdowns
            Interception Returns Touchdowns per Period
            Interception Returns Yards
            Interception Returns Yards per Period
            Interceptions Number
            Interceptions Return Yards
            Interceptions Returned
            Kick Returns Longest
            Kick Returns Longest per Period
            Kick Returns Number
            Kick Returns Number per Period
            Kick Returns Touchdowns
            Kick Returns Touchdowns per Period
            Kick Returns Yards
            Kick Returns Yards per Period
            Kickoffs Number
            Kickoffs Number per Period
            Kickoffs Out of Bounds
            Kickoffs Out of Bounds per Period
            Kickoffs Touchbacks
            Kickoffs Touchbacks per Period
            Kickoffs Yards
            Kickoffs Yards per Period
            Offense Average Yards
            Offense Plays
            Offense Yards
            Passing Attempts
            Passing Attempts per Period
            Passing Completions
            Passing Completions per Period
            Passing Interceptions
            Passing Interceptions per Period
            Passing Longest
            Passing Longest per Period
            Passing Sack Yards
            Passing Sack Yards per Period
            Passing Sacks
            Passing Sacks per Period
            Passing Touchdowns
            Passing Touchdowns per Period
            Passing Yards
            Passing Yards per Period
            Penalties Penalties
            Penalties Penalties per Period
            Penalties Yards
            Penalties Yards per Period
            Receiving Longest
            Receiving Longest per Period
            Receiving Receptions
            Receiving Receptions per Period
            Receiving Touchdowns
            Receiving Touchdowns per Period
            Receiving Yards
            Receiving Yards per Period
            Redzone Attempts
            Redzone Field Goals
            Redzone Passing Touchdowns
            Redzone Points
            Redzone Rushing Touchdowns
            Redzone Scores
            Rushing Attempts
            Rushing Attempts per Period
            Rushing Longest
            Rushing Longest per Period
            Rushing Touchdowns
            Rushing Touchdowns per Period
            Rushing Yards
            Rushing Yards per Period
            Summary Possession Time
            Summary Yards
            League Information Data Points: Season Id
            Season Name
            Season Type
            Season Year
            Week Id
            Week Sequence
            Week Title
            Player Information Data Points: Id
            Jersey Number
            Name
            Reference Id
            Reference Origin
            Started
            Team Information Data Points: Alias
            Game Reference
            Id
            Market
            Name
            Venue Data Points: Address
            Capacity
            City
            Country
            Id
            Name
            Roof Type
            State
            Surface
            Zip

            To generate the Game Statistics for the Game ID below replace {your_api_key} with your API key:

            require 'uri'
            require 'net/http'
            require 'openssl'
            
            url = URI("https://api.sportradar.com/arenafootball/trial/v1/en/games/4d1c5c67-9442-47f2-9b80-1dcd267451df/statistics.json?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", "arenafootball/trial/v1/en/games/4d1c5c67-9442-47f2-9b80-1dcd267451df/statistics.json?api_key={your_api_key}")
            
            res = conn.getresponse()
            data = res.read()
            
            print(data.decode("utf-8"))
            
            curl -X GET "https://api.sportradar.com/arenafootball/trial/v1/en/games/4d1c5c67-9442-47f2-9b80-1dcd267451df/statistics.json?api_key={your_api_key}"
            

            The above command returns xml structured like this.

            This endpoint retrieves the game statistics for a specific game.

            https://api.sportradar.com/arenafootball/{access_level}/{version}/en/games/{game_id}/statistics.json?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 (production), or Trial (trial).
            version Version number of the API you are accessing (current version: v1).
            game_id ID for a given game.
            your_api_key Your API key.

            Return to API map

            League Hierarchy

            Complete league hierarchy information including team information such as venues and AFL reference ids.

            Update Frequency: As Necessary
            Content Type: JSON
            League Information Data Points: League Alias

            League Id

            League Name

            Team Information Data Points: Alias
            Founded
            Franchise Alias
            Franchise Id
            Franchise Name
            Franchise Status
            Franchise Founded
            Id
            Updated At
            Market
            Name
            Reference Id
            Reference Origin
            Status
            Venue Information Data Points: Address
            Capacity
            City
            Country
            Id
            Name
            Roof Type
            State
            Surface
            Zip

            To generate the League Hierarchy replace {your_api_key} with your API key:

            require 'uri'
            require 'net/http'
            require 'openssl'
            
            url = URI("https://api.sportradar.com/arenafootball/trial/v1/en/league/2018/hierarchy.json?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", "arenafootball/trial/v1/en/league/2018/hierarchy.json?api_key={your_api_key}")
            
            res = conn.getresponse()
            data = res.read()
            
            print(data.decode("utf-8"))
            
            curl -X GET "https://api.sportradar.com/arenafootball/trial/v1/en/league/2018/hierarchy.json?api_key={your_api_key}"
            

            The above command returns xml structured like this.

            This endpoint retrieves the League Hierarchy.

            https://api.sportradar.com/arenafootball/{access_level}/{version}/en/league/{year}/hierarchy.json?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 (production), or Trial (trial).
            version Version number of the API you are accessing (current version: v1).
            year Year in 4 digit format (YYYY).
            your_api_key Your API key.

            Return to API map

            Play-By-Play

            Complete play by play narrative including possession, location information, team, and statistics earned on each play.

            Update Frequency: As Necessary
            Content Type: JSON
            Boxscore Data Points: Away Team Total Points
            Ending Situation Clock
            Ending Situation Down
            Ending Situation Period
            Ending Situation Possession
            Ending Situation Yards to First Down
            Home Team Total Points
            Period Away Points
            Period Home Points
            Period Id
            Period Number
            Period Sequence
            Period Type
            Quarter
            Situation Location Team Side
            Situation Location Team Yard Line
            Starting Situation Clock
            Starting Situation Down
            Starting Situation Period
            Starting Situation Possession
            Game Information Data Points: Away Team Alias
            Away Team Id
            Away Team Market
            Away Team Name
            Away Team Status
            Entry Mode
            Home Team Alias
            Home Team Id
            Home Team Market
            Home Team Name
            Home Team Status
            Id
            Number
            Period Id
            Period Number
            Period Sequence
            Period Type
            Reference
            Scheduled Start Date/Time
            Status
            Title
            League Information Data Points: Season Id
            Season Name
            Season Type
            Season Year
            Week Id
            Week Sequence
            Week Title
            Play By Play Information Data Points: Drive End Reason
            Drive Id
            Drive Number
            Drive Red Zone
            Drive Scoring Drive Flag
            Drive Sequence
            Drive Start Reason
            Ending Situation Clock
            Ending Situation Down
            Ending Situation Location Team Side
            Ending Situation Location Team Yardline
            Ending Situation Period
            Ending Situation Possession
            Ending Situation Yards to First Down
            Event Id
            Event Reference
            Event Sequence
            Event Type
            Play Away Points
            Play Deleted Time
            Play Description
            Play First Down
            Play First Down Type
            Play Home Points
            Play Id
            Play Out of Bounds
            Play Play Type
            Play Red Zone
            Play Reference
            Play Score Points
            Play Score Side
            Play Score Type
            Play Scoring Play
            Play Sequence
            Play Turnover
            Play Turnover Type
            Play Type
            Play Updated Time
            Scoring Away Team Score
            Scoring Home Team Score
            Starting Situation Clock
            Starting Situation Down
            Starting Situation Location Team Side
            Starting Situation Location Team Yardline
            Starting Situation Period
            Starting Situation Possession
            Starting Situation Yards to First Down
            Play Statistics Data Points: Defense Assisted Tackles
            Defense Forced Fumble
            Defense Pass Defended
            Defense QB Hurry
            Defense Sack
            Defense Tackle for Loss
            Defense Tackles
            Extra Points Attempt
            Extra Points Outcome
            Extra Points Type
            Fumbles Type
            Interception Returns Attempt
            Interception Returns Yards
            Kick Returns Attempt
            Kick Returns Yards
            Kickoffs Kick Attempt
            Kickoffs Onside Kick
            Kickoffs Out of Bounds
            Kickoffs Touchback
            Kickoffs Yards
            Passing Attempt
            Passing Completion
            Passing Interception
            Passing Outcome
            Passing Sack
            Passing Yards
            Penalties Code
            Penalties Description
            Penalties Location Side
            Penalties Location Yard Line
            Penalties Outcome
            Penalties Yards
            Receiving Attempt
            Receiving Dropped
            Receiving Fumble
            Receiving Outcome
            Receiving Yards
            Rushing Attempt
            Rushing Yards
            Statistics Stat Type
            Player Information Data Points: Id
            Jersey Number
            Name
            Position
            Team Information Data Points: Alias
            Game Reference
            Id
            Market
            Name
            Venue Information Data Points: Address
            Capacity
            City
            Country
            Id
            Name
            Roof Type
            State
            Surface
            Zip

            To generate the Play-By-Play for the Game ID below replace {your_api_key} with your API key:

            require 'uri'
            require 'net/http'
            require 'openssl'
            
            url = URI("https://api.sportradar.com/arenafootball/trial/v1/en/games/4d1c5c67-9442-47f2-9b80-1dcd267451df/pbp.json?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", "arenafootball/trial/v1/en/games/4d1c5c67-9442-47f2-9b80-1dcd267451df/pbp.json?api_key={your_api_key}")
            
            res = conn.getresponse()
            data = res.read()
            
            print(data.decode("utf-8"))
            
            curl -X GET "https://api.sportradar.com/arenafootball/trial/v1/en/games/4d1c5c67-9442-47f2-9b80-1dcd267451df/pbp.json?api_key={your_api_key}"
            

            The above command returns xml structured like this.

            This endpoint retrieves the Play-By-Play information for a specific game.

            https://api.sportradar.com/arenafootball/{access_level}/{version}/en/games/{game_id}/pbp.json?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 (production), or Trial (trial).
            version Version number of the API you are accessing (current version: v1).
            game_id ID for a given game.
            your_api_key Your API key.

            Return to API map

            Player Profile

            Player biographical information and AFL related reference ids.

            Update Frequency: As Necessary
            Content Type: JSON
            League Information Data Points: Season Id
            Season Name
            Season Type Season Year
            Player Information Data Points: College
            Current
            First Name
            Height
            Id
            Jersey Number
            Last Name
            Name
            Position Abbreviation
            Position Description
            Position Formation
            Preferred Name
            Reference Id
            Reference Origin
            Start Date
            Status
            Weight
            Seasonal Player Statistics Data Points: Defense Assisted Tackles
            Defense Forced Fumbles
            Defense Fumble Recoveries
            Defense Fumble Yards
            Defense Interception Yards
            Defense Interceptions
            Defense Sack Yards
            Defense Sacks
            Defense Tackles
            Defense Tackles for Loss
            Defense Tackles for Loss Yards
            Extra Points Kicking Attempts
            Extra Points Kicking Made
            Field Goals Attempts
            Field Goals Made
            Games Played
            Interception Returns Longest
            Interception Returns Number
            Interception Returns Touchdowns
            Interception Returns Yards
            Kick Returns Longest
            Kick Returns Number
            Kick Returns Touchdowns
            Kick Returns Yards
            Kickoffs Number
            Kickoffs Out of Bounds
            Kickoffs Touchbacks
            Kickoffs Yards
            Passing Attempts
            Passing Average Touchdowns
            Passing Average Yards
            Passing Completions
            Passing Interceptions
            Passing Longest
            Passing Touchdowns
            Passing Yards
            Receiving Average Touchdowns
            Receiving Average Yards
            Receiving Longest
            Receiving Receptions
            Receiving Touchdowns
            Receiving Yards
            Rushing Attempts
            Rushing Average Touchdowns
            Rushing Average Yards
            Rushing Longest
            Rushing Touchdowns
            Rushing Yards
            Team Information Data Points: Alias
            Id
            Market
            Name
            Status

            To generate a Player Profile for the Player ID below replace {your_api_key} with your API key:

            require 'uri'
            require 'net/http'
            require 'openssl'
            
            url = URI("https://api.sportradar.com/arenafootball/trial/v1/en/players/8d819eb0-3c0b-4a8e-86d4-7337ecc04b9b/profile.json?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", "arenafootball/trial/v1/en/players/8d819eb0-3c0b-4a8e-86d4-7337ecc04b9b/profile.json?api_key={your_api_key}")
            
            res = conn.getresponse()
            data = res.read()
            
            print(data.decode("utf-8"))
            
            curl -X GET "https://api.sportradar.com/arenafootball/trial/v1/en/players/8d819eb0-3c0b-4a8e-86d4-7337ecc04b9b/profile.json?api_key={your_api_key}"
            

            The above command returns xml structured like this.

            This endpoint retrieves the Player Profile for a specific player.

            https://api.sportradar.com/arenafootball/{access_level}/{version}/en/players/{player_id}/profile.json?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 (production), or Trial (trial).
            version Version number of the API you are accessing (current version: v1).
            player_id ID for a given player.
            your_api_key Your API key.

            Return to API map

            Seasonal Schedule

            Complete schedule information for the entire season, including game, team, and venue information.

            Update Frequency: As Necessary
            Content Type: JSON
            Game Information Data Points: Attendance
            Away Team Alias
            Away Team Id
            Away Team Market
            Away Team Name
            Away Team Status
            Broadcast Internet
            Broadcast Network
            Broadcast Radio
            Broadcast Satellite
            Entry Mode
            Home Team Alias
            Home Team Id
            Home Team Market
            Home Team Name
            Home Team Status
            Id
            Number
            Reference
            Scheduled Start Date/Time
            Status
            Title
            League Information Data Points: Season Id
            Season Name
            Season Type
            Season Year
            Week Id
            Week Sequence
            Week Title
            Venue Data Points: Address
            Capacity
            City
            Country
            Id
            Name
            Roof Type
            State
            Surface
            Zip

            To generate the Schedule for the Season and Year below replace {your_api_key} with your API key:

            require 'uri'
            require 'net/http'
            require 'openssl'
            
            url = URI("https://api.sportradar.com/arenafootball/trial/v1/en/games/2018/reg/schedule.json?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", "arenafootball/trial/v1/en/games/2018/reg/schedule.json?api_key={your_api_key}")
            
            res = conn.getresponse()
            data = res.read()
            
            print(data.decode("utf-8"))
            
            curl -X GET "https://api.sportradar.com/arenafootball/trial/v1/en/games/2018/reg/schedule.json?api_key={your_api_key}"
            

            The above command returns xml structured like this.

            This endpoint retrieves the Schedule for a specific season.

            https://api.sportradar.com/arenafootball/{access_level}/{version}/games/{year}/{afl_season}/schedule.json?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 (production), or Trial (trial).
            version Version number of the API you are accessing (current version: v1).
            year Year in 4 digit format (YYYY).
            afl_season Preseason (PRE), Regular Season (REG), or Post-Season (PST).
            your_api_key Your API key.

            Return to API map

            Seasonal Statistics

            Complete team and player seasonal statistics for the specific season and season type.

            Update Frequency: As Necessary
            Content Type: JSON
            League Information Data Points: Season Id
            Season Name
            Season Type Season Year
            Player Information Data Points: Games Played
            Id
            Jersey Number
            Name
            Position
            Reference
            Seasonal Player Statistics Data Points: Defense Assisted Tackles
            Defense Forced Fumbles
            Defense Fumble Recoveries
            Defense Fumble Yards
            Defense Interception Yards
            Defense Interceptions
            Defense Sack Yards
            Defense Sacks
            Defense Tackles
            Defense Tackles for Loss
            Defense Tackles for Loss Yards
            Extra Points Kicking Attempts
            Extra Points Kicking Made
            Field Goals Attempts
            Field Goals Made
            Games Played
            Interception Returns Longest
            Interception Returns Number
            Interception Returns Touchdowns
            Interception Returns Yards
            Kick Returns Longest
            Kick Returns Number
            Kick Returns Touchdowns
            Kick Returns Yards
            Kickoffs Number
            Kickoffs Out of Bounds
            Kickoffs Touchbacks
            Kickoffs Yards
            Passing Attempts
            Passing Average Touchdowns
            Passing Average Yards
            Passing Completions
            Passing Interceptions
            Passing Longest
            Passing Touchdowns
            Passing Yards
            Receiving Average Touchdowns
            Receiving Average Yards
            Receiving Longest
            Receiving Receptions
            Receiving Touchdowns
            Receiving Yards
            Rushing Attempts
            Rushing Average Touchdowns
            Rushing Average Yards
            Rushing Longest
            Rushing Touchdowns
            Rushing Yards
            Seasonal Team Statistics Data Points: Defense Assisted Tackles
            Defense Forced Fumbles
            Defense Fumble Recoveries
            Defense Fumble Yards
            Defense Interception Yards
            Defense Interceptions
            Defense Sack Yards
            Defense Sacks
            Defense Tackles
            Defense Tackles for Loss
            Defense Tackles for Loss Yards
            Extra Points Kicking Attempts
            Extra Points Kicking Made
            Field Goals Attempts
            Field Goals Made
            Fumble Returns Longest
            Fumble Returns Number
            Fumble Returns Touchdowns
            Fumble Returns Yards
            Games Played
            Interception Returns Longest
            Interception Returns Number
            Interception Returns Touchdowns
            Interception Returns Yards
            Kick Returns Longest
            Kick Returns Number
            Kick Returns Touchdowns
            Kick Returns Yards
            Kickoffs Number
            Kickoffs Out of Bounds
            Kickoffs Touchbacks
            Kickoffs Yards
            Passing Attempts
            Passing Average Touchdowns
            Passing Average Yards
            Passing Completions
            Passing Interceptions
            Passing Longest
            Passing Touchdowns
            Passing Yards
            Receiving Average Touchdowns
            Receiving Average Yards
            Receiving Longest
            Receiving Receptions
            Receiving Touchdowns
            Receiving Yards
            Rushing Attempts
            Rushing Average Touchdowns
            Rushing Average Yards
            Rushing Longest
            Rushing Touchdowns
            Rushing Yards
            Team Information Data Points: Alias
            Id
            Market
            Name
            Reference Id
            Reference Origin
            Status

            To generate the Seasonal Statistics for the Season, Year, and Game ID below replace {your_api_key} with your API key:

            require 'uri'
            require 'net/http'
            require 'openssl'
            
            url = URI("https://api.sportradar.com/arenafootball/trial/v1/en/teams/01cf6b71-7bf0-4168-93f4-2c38bef9a0ce/2018/statistics.json?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", "arenafootball/trial/v1/en/teams/01cf6b71-7bf0-4168-93f4-2c38bef9a0ce/2018/statistics.json?api_key={your_api_key}")
            
            res = conn.getresponse()
            data = res.read()
            
            print(data.decode("utf-8"))
            
            curl -X GET "https://api.sportradar.com/arenafootball/trial/v1/en/teams/01cf6b71-7bf0-4168-93f4-2c38bef9a0ce/2018/statistics.json?api_key={your_api_key}"
            

            The above command returns xml structured like this.

            This endpoint retrieves the Seasonal Statistics for a season.

            https://api.sportradar.com/arenafootball/{access_level}/{version}/en/teams/{team_id}/{year}/statistics.json?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 (production), or Trial (trial).
            version Version number of the API you are accessing (current version: v1).
            team_id ID of a given team.
            year Year in 4 digit format (YYYY).
            your_api_key Your API key.

            Return to API map

            Standings

            Standings information for each team, including strength of schedule and strength of victory information.

            Update Frequency: As Necessary
            Content Type: JSON
            League Information Data Points: Season Id
            Season Name
            Season Type
            Season Year
            Week Id
            Week Sequence
            Week Title
            Standings Information Data Points: Category
            Half Lead Average Points Against
            Half Lead Average Points Difference
            Half Lead Average Points For
            Half Lead Games Played
            Half Lead Losses
            Half Lead Points Against
            Half Lead Points Difference
            Half Lead Points For
            Half Lead Ties
            Half Lead Winning Perc
            Half Lead Wins
            Home Average Points Against
            Home Average Points Difference
            Home Average Points For
            Home Games Played
            Home Losses
            Home Points Against
            Home Points Difference
            Home Points For
            Home Ties
            Home Winning Perc
            Home Wins
            Overall Average Points Against
            Overall Average Points Difference
            Overall Average Points For
            Overall Games Played
            Overall Losses
            Overall Points Against
            Overall Points Difference
            Overall Points For
            Overall Ties
            Overall Winning Perc
            Overall Wins
            Overtime Average Points Against
            Overtime Average Points Difference
            Overtime Average Points For
            Overtime Games Played
            Overtime Losses
            Overtime Points Against
            Overtime Points Difference
            Overtime Points For
            Overtime Ties
            Overtime Winning Perc
            Overtime Wins
            Road Average Points Against
            Road Average Points Difference
            Road Average Points For
            Road Games Played
            Road Losses
            Road Points Against
            Road Points Difference
            Road Points For
            Road Ties
            Road Winning Perc
            Road Wins
            Scored Average Points Against
            Scored Average Points Difference
            Scored Average Points For
            Scored Games Played
            Scored Losses
            Scored Points Against
            Scored Points Difference
            Scored Points For
            Scored Ties
            Scored Winning Perc
            Scored Wins
            Seven Points Average Points Against
            Seven Points Average Points Difference
            Seven Points Average Points For
            Seven Points Games Played
            Seven Points Losses
            Seven Points Points Against
            Seven Points Points Difference
            Seven Points Points For
            Seven Points Ties
            Seven Points Winning Perc
            Seven Points Wins
            Streak Length
            Streak Type
            Ten Points Average Points Against
            Ten Points Average Points Difference
            Ten Points Average Points For
            Ten Points Games Played
            Ten Points Losses
            Ten Points Points Against
            Ten Points Points Difference
            Ten Points Points For
            Ten Points Ties
            Ten Points Winning Perc
            Ten Points Wins
            Three Points Average Points Against
            Three Points Average Points Difference
            Three Points Average Points For
            Three Points Games Played
            Three Points Losses
            Three Points Points Against
            Three Points Points Difference
            Three Points Points For
            Three Points Ties
            Three Points Winning Perc
            Three Points Wins
            Team Information Data Points: Alias
            Id
            Market
            Name
            Status

            To generate the Standings for the Season below replace {your_api_key} with your API key:

            require 'uri'
            require 'net/http'
            require 'openssl'
            
            url = URI("https://api.sportradar.com/arenafootball/trial/v1/en/seasons/2018/standings.json?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", "arenafootball/trial/v1/en/seasons/2018/standings.json?api_key={your_api_key}")
            
            res = conn.getresponse()
            data = res.read()
            
            print(data.decode("utf-8"))
            
            curl -X GET "https://api.sportradar.com/arenafootball/trial/v1/en/seasons/2018/standings.json?api_key={your_api_key}"
            

            The above command returns xml structured like this.

            This endpoint retrieves the Standings for a season.

            https://api.sportradar.com/arenafootball/{access_level}/{version}/en/seasons/{year}/standings.json?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 (production), or Trial (trial).
            version Version number of the API you are accessing (current version: v1).
            year Year in 4 digit format (YYYY).
            your_api_key Your API key.

            Return to API map

            Team Profile

            Franchise team information, including AFL references, and the roster of active players.

            Update Frequency: As Necessary
            Content Type: JSON
            Player Information Data Points: Current
            First Name
            Height
            Id
            Jersey Number
            Last Name
            Position
            Preferred Name
            Reference Id
            Reference Origin
            Start Date
            Status
            Weight
            Team Information Data Points: Alias
            Founded
            Franchise Alias
            Franchise Id
            Franchise Name
            Franchise Status
            Franchise Founded
            Id
            Market
            Name
            Reference Id
            Reference Origin
            Season Year
            Status

            To generate a team profile for the Team ID below replace {your_api_key} with your API key:

            require 'uri'
            require 'net/http'
            require 'openssl'
            
            url = URI("https://api.sportradar.com/arenafootball/trial/v1/en/teams/01cf6b71-7bf0-4168-93f4-2c38bef9a0ce/2018/profile.json?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", "arenafootball/trial/v1/en/teams/01cf6b71-7bf0-4168-93f4-2c38bef9a0ce/2018/profile.json?api_key={your_api_key}")
            
            res = conn.getresponse()
            data = res.read()
            
            print(data.decode("utf-8"))
            
            curl -X GET "https://api.sportradar.com/arenafootball/trial/v1/en/teams/01cf6b71-7bf0-4168-93f4-2c38bef9a0ce/2018/profile.json?api_key={your_api_key}"
            

            The above command returns xml structured like this.

            This endpoint retrieves the Team Profile for a team.

            https://api.sportradar.com/arenafootball/{access_level}/{version}/en/teams/{team_id}/{year}/profile.json?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 (production), or Trial (trial).
            version Version number of the API you are accessing (current version: v1).
            team_id ID of a given team.
            your_api_key Your API key.

            Return to API map

            Weekly Schedule

            Complete schedule information for the specific week of the AFL season, including game, team, and venue information. Pre-Season (PRE) valid weeks 1-4, Regular Season (REG) weeks 1-17, Post-Season (PST) weeks 1-4.

            Update Frequency: As Necessary
            Content Type: JSON
            Game Information Data Points: Attendance
            Away Team Alias
            Away Team Id
            Away Team Market
            Away Team Name
            Away Team Status
            Broadcast Internet
            Broadcast Network
            Broadcast Radio
            Broadcast Satellite
            Entry Mode
            Home Team Alias
            Home Team Id
            Home Team Market
            Home Team Name
            Home Team Status
            Id
            Number
            Reference
            Scheduled Start Date/Time
            Status
            Title
            League Information Data Points: Season Id
            Season Name
            Season Type
            Season Year
            Week Id
            Week Sequence
            Week Title
            Venue Data Points: Address
            Capacity
            City
            Country
            Id
            Name
            Roof Type
            State
            Surface
            Zip

            To generate the Weekly Schedule for the Year, Season, and Week below replace {your_api_key} with your API key:

            require 'uri'
            require 'net/http'
            require 'openssl'
            
            url = URI("https://api.sportradar.com/arenafootball/trial/v1/en/games/2018/REG/03/schedule.json?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", "arenafootball/trial/v1/en/games/2018/REG/03/schedule.json?api_key={your_api_key}")
            
            res = conn.getresponse()
            data = res.read()
            
            print(data.decode("utf-8"))
            
            curl -X GET "https://api.sportradar.com/arenafootball/trial/v1/en/games/2018/REG/03/schedule.json?api_key={your_api_key}"
            

            The above command returns xml structured like this.

            This endpoint retrieves the Weekly Schedule.

            https://api.sportradar.com/arenafootball/{access_level}/{version}/en/games/{year}/{afl_season}/{afl_season_week}/schedule.json?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 (production), or Trial (trial).
            version Version number of the API you are accessing (current version: v1).
            year Year in 4 digit format (YYYY).
            afl_season Preseason (PRE), Regular Season (REG), or Post-Season (PST).
            afl_season_week The number of weeks into the season in 2 digit format (WW).
            your_api_key Your API key.

            Return to API map

            Aussie Rules Football v2

            Statistics Summary
            Documentation
            Change Log




            API API Version
            Aussie Rules Football v2

            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

              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
              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
              
              import http.client
              
              conn = http.client.HTTPSConnection("api.sportradar.us")
              
              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"))
              
              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.

              This endpoint retrieves the Competitor Profile.

              http://api.sportradar.com/australianrules/{access_level}/{version}/{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 (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

              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 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
              City Name
              Country Code
              Country Name
              Id
              Map Coordinates
              Name
              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
              
              import http.client
              
              conn = http.client.HTTPSConnection("api.sportradar.us")
              
              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"))
              
              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.

              This endpoint retrieves the Competitor Summaries.

              http://api.sportradar.com/australianrules/{access_level}/{version}/{language_code}/competitors/{competitor_id}/summaries.{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 (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

              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 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
              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
              
              import http.client
              
              conn = http.client.HTTPSConnection("api.sportradar.us")
              
              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"))
              
              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.

              This endpoint retrieves the Competitor vs Competitor.

              http://api.sportradar.com/australianrules/{access_level}/{version}/{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 (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

              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
              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
              
              import http.client
              
              conn = http.client.HTTPSConnection("api.sportradar.us")
              
              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"))
              
              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.

              This endpoint retrieves the Current Seasons.

              http://api.sportradar.com/australianrules/{access_level}/{version}/{language_code}/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 (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

              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 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
              City Name
              Country Code
              Country Name
              Id
              Map Coordinates
              Name
              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
              
              import http.client
              
              conn = http.client.HTTPSConnection("api.sportradar.us")
              
              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"))
              
              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.

              This endpoint retrieves the Daily Summaries.

              http://api.sportradar.com/australianrules/{access_level}/{version}/{language_code}/schedules/{year}-{month}-{day}/summaries.{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 (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

              Return to API map

              Live Summaries

              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 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
              City Name
              Country Code
              Country Name
              Id
              Map Coordinates
              Name
              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
              
              import http.client
              
              conn = http.client.HTTPSConnection("api.sportradar.us")
              
              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"))
              
              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.

              This endpoint retrieves the Live Summaries.

              http://api.sportradar.com/australianrules/{access_level}/{version}/{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 (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

              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 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
              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
              
              import http.client
              
              conn = http.client.HTTPSConnection("api.sportradar.us")
              
              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"))
              
              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.

              This endpoint retrieves the Match Probabilities.

              http://api.sportradar.com/australianrules/{access_level}/{version}/{language_code}/matches/{sport_event_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 (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

              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 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
              City Name
              Country Code
              Country Name
              Id
              Map Coordinates
              Name
              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
              
              import http.client
              
              conn = http.client.HTTPSConnection("api.sportradar.us")
              
              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"))
              
              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.

              This endpoint retrieves the Match Summary.

              http://api.sportradar.com/australianrules/{access_level}/{version}/{language_code}/match/{sport_event_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 (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

              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 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
              City Name
              Country Code
              Country Name
              Id
              Map Coordinates
              Name
              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
              
              import http.client
              
              conn = http.client.HTTPSConnection("api.sportradar.us")
              
              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"))
              
              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.

              This endpoint retrieves the Match Timeline.

              http://api.sportradar.com/australianrules/{access_level}/{version}/{language_code}/match/{sport_event_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 (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

              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
              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
              
              import http.client
              
              conn = http.client.HTTPSConnection("api.sportradar.us")
              
              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"))
              
              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.

              This endpoint retrieves the Player Profile.

              http://api.sportradar.com/australianrules/{access_level}/{version}/{language_code}/player/{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 (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

              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
              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
              
              import http.client
              
              conn = http.client.HTTPSConnection("api.sportradar.us")
              
              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"))
              
              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.

              This endpoint retrieves the Previous Seasons.

              http://api.sportradar.com/australianrules/{access_level}/{version}/{language_code}/seasons/{season_id}/previous_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 (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

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

              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
              
              import http.client
              
              conn = http.client.HTTPSConnection("api.sportradar.us")
              
              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"))
              
              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.

              This endpoint retrieves the Season Info.

              http://api.sportradar.com/australianrules/{access_level}/{version}/{language_code}/seasons/{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 (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

              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: 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
              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
              
              import http.client
              
              conn = http.client.HTTPSConnection("api.sportradar.us")
              
              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"))
              
              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.

              This endpoint retrieves the Season Standings.

              http://api.sportradar.com/australianrules/{access_level}/{version}/{language_code}/seasons/{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 (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

              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 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
              City Name
              Country Code
              Country Name
              Id
              Map Coordinates
              Name
              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
              
              import http.client
              
              conn = http.client.HTTPSConnection("api.sportradar.us")
              
              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"))
              
              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.

              This endpoint retrieves the Season Summaries.

              http://api.sportradar.com/australianrules/{access_level}/{version}/{language_code}/seasons/{season_id}/summaries.{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 (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

              Aussie Rules Football v1

              Statistics Summary
              Documentation
              Change Log





              API API Version
              Aussie Rules Football v1

              Aussie Rules Football API Map

              To best utilize the Aussie Rules 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 Info Data Points: Category Country Code
                Category Id
                Category Name
                Sport Id
                Sport Name

                Competitor Info Data Points: Competitor Abbreviation
                Competitor Country
                Competitor Country Code
                Competitor Id
                Competitor Name

                Player Info Data Points: Player Country Code
                Player Date of Birth
                Player Id
                Player Jersey Number
                Player Name
                Player Nationality
                Player Type
                Venue Info Data Points: Capacity
                City Name
                Country Code
                Country Name
                Id
                Map Coordinates
                Name
                require 'uri'
                require 'net/http'
                require 'openssl'
                
                url = URI("https://api.sportradar.com/football-t1/australian/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
                
                import http.client
                
                conn = http.client.HTTPSConnection("api.sportradar.us")
                
                conn.request("GET", "/football-t1/australian/en/competitors/sr:competitor:4456/profile.xml?api_key={your_api_key}")
                
                res = conn.getresponse()
                data = res.read()
                
                print(data.decode("utf-8"))
                
                curl -X GET "https://api.sportradar.com/football-t1/australian/en/competitors/sr:competitor:4456/profile.xml?api_key={your_api_key}"
                

                The above command returns xml structured like this.

                This endpoint retrieves the Competitor Profile.

                http://api.sportradar.com/football-{access_level}{version}/australian/{language_code}/competitors/{competitor_id}/profile.{format}?api_key={your_api_key}

                Replace placeholders with the following query parameters:

                Parameter Description
                access_level Defines the access level of your API key as Production (p) or Trial (t).
                version Version number of the API you are accessing (Current Version: 1).
                language_code Supported Locales
                competitor_id Id of a given competitor.
                format xml or json.
                your_api_key Your API key.

                To retrieve the XML Schema Definition (.XSD) for the Competitor Profile use the following URL.

                http://schemas.sportradar.com/bsa/v1/endpoints/standard/competitor_profile.xsd

                Return to API map

                Competitor Results

                Update Frequency: As Necessary
                Content Type: XML or JSON
                Category & Sport Info Data Points: Category 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 Number
                Tournament Round Type
                Competitor Info Data Points: Competitor Abbreviation
                Competitor Country
                Competitor Country Code
                Competitor Id
                Competitor Name
                Competitor Qualifier
                Sport Event Info Data Points: Sport Event Id
                Sport Event Scheduled Date/Time
                Sport Event Status
                Sport Event Status Away Score
                Sport Event Status Home Score
                Sport Event Status Winner Id
                Venue Info Data Points: Capacity
                City Name
                Country Code
                Country Name
                Id
                Map Coordinates
                Name
                require 'uri'
                require 'net/http'
                require 'openssl'
                
                url = URI("https://api.sportradar.com/football-t1/australian/en/competitors/sr:competitor:4456/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
                
                import http.client
                
                conn = http.client.HTTPSConnection("api.sportradar.us")
                
                conn.request("GET", "/football-t1/australian/en/competitors/sr:competitor:4456/results.xml?api_key={your_api_key}")
                
                res = conn.getresponse()
                data = res.read()
                
                print(data.decode("utf-8"))
                
                curl -X GET "https://api.sportradar.com/football-t1/australian/en/competitors/sr:competitor:4456/results.xml?api_key={your_api_key}"
                

                The above command returns xml structured like this.

                This endpoint retrieves the Competitor Results.

                http://api.sportradar.com/football-{access_level}{version}/australian/{language_code}/competitors/{competitor_id}/results.{format}?api_key={your_api_key}

                Replace placeholders with the following query parameters:

                Parameter Description
                access_level Defines the access level of your API key as Production (p) or Trial (t).
                version Version number of the API you are accessing (Current Version: 1).
                language_code Supported Locales
                competitor_id Id of a given competitor.
                format xml or json.
                your_api_key Your API key.

                To retrieve the XML Schema Definition (.XSD) for the Competitor Results use the following URL.

                http://schemas.sportradar.com/bsa/v1/endpoints/standard/competitor_results.xsd

                Return to API map

                Competitor Schedule

                Update Frequency: As Necessary
                Content Type: XML or JSON
                Category & Sport Info Data Points: Category 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 Type
                Competitor Info Data Points: Competitor Abbreviation
                Competitor Country
                Competitor Country Code
                Competitor Id
                Competitor Name

                Sport Event Info Data Points: Sport Event Id

                Sport Event Scheduled Date/Time

                Sport Event Status
                Venue Info Data Points: Capacity
                City Name
                Country Code
                Country Name
                Id
                Map Coordinates
                Name
                require 'uri'
                require 'net/http'
                require 'openssl'
                
                url = URI("https://api.sportradar.com/football-t1/australian/en/competitors/sr:competitor:4456/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
                
                import http.client
                
                conn = http.client.HTTPSConnection("api.sportradar.us")
                
                conn.request("GET", "/football-t1/australian/en/competitors/sr:competitor:4456/schedule.xml?api_key={your_api_key}")
                
                res = conn.getresponse()
                data = res.read()
                
                print(data.decode("utf-8"))
                
                curl -X GET "https://api.sportradar.com/football-t1/australian/en/competitors/sr:competitor:4456/schedule.xml?api_key={your_api_key}"
                

                This endpoint retrieves the Competitor Schedule.

                http://api.sportradar.com/football-{access_level}{version}/australian/{language_code}/competitors/{competitor_id}/schedule.{format}?api_key={your_api_key}

                Replace placeholders with the following query parameters:

                Parameter Description
                access_level Defines the access level of your API key as Production (p) or Trial (t).
                version Version number of the API you are accessing (Current Version: 1).
                language_code Supported Locales
                competitor_id Id of a given competitor.
                format xml or json.
                your_api_key Your API key.

                To retrieve the XML Schema Definition (.XSD) for the Competitor Schedule use the following URL.

                http://schemas.sportradar.com/bsa/v1/endpoints/standard/competitor_schedule.xsd

                Return to API map

                Daily Results

                Update Frequency: As Necessary
                Content Type: XML or JSON
                Category & Sport Info Data Points: Category 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 Type
                Competitor Info Data Points: Competitor Abbreviation
                Competitor Country
                Competitor Country Code
                Competitor Id
                Competitor Name
                Competitor Qualifier
                Sport Event Info Data Points: Sport Event Id
                Sport Event Scheduled Date/Time
                Sport Event Status
                Sport Event Status Away Score
                Sport Event Status Home Score
                Sport Event Status Winner Id
                Venue Info Data Points: Capacity
                City Name
                Country Code
                Country Name
                Id
                Map Coordinates
                Name
                require 'uri'
                require 'net/http'
                require 'openssl'
                
                url = URI("https://api.sportradar.com/football-t1/australian/en/schedules/2016-08-27/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
                
                import http.client
                
                conn = http.client.HTTPSConnection("api.sportradar.us")
                
                conn.request("GET", "/football-t1/australian/en/schedules/2016-08-27/results.xml?api_key={your_api_key}")
                
                res = conn.getresponse()
                data = res.read()
                
                print(data.decode("utf-8"))
                
                curl -X GET "https://api.sportradar.com/football-t1/australian/en/schedules/2016-08-27/results.xml?api_key={your_api_key}"
                

                The above command returns xml structured like this.

                This endpoint retrieves the Daily Results.

                http://api.sportradar.com/football-{access_level}{version}/australian/{language_code}/schedules/{year}-{month}-{day}/results.{format}?api_key={your_api_key}

                Replace placeholders with the following query parameters:

                Parameter Description
                access_level Defines the access level of your API key as Production (p) or Trial (t).
                version Version number of the API you are accessing (Current Version: 1).
                language_code Supported Locales
                year Year in 4 digit format (YYYY).
                month Month in 2 digit format (MM).
                day Day in 2 digit format (DD).
                format xml or json.
                your_api_key Your API key.

                To retrieve the XML Schema Definition (.XSD) for the Daily Results use the following URL.

                http://schemas.sportradar.com/bsa/v1/endpoints/standard/results.xsd

                Return to API map

                Daily Schedule

                Update Frequency: As Necessary
                Content Type: XML or JSON
                Category & Sport Info Data Points: Category 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 Type
                Competitor Info Data Points: Competitor Abbreviation
                Competitor Country
                Competitor Country Code
                Competitor Id
                Competitor Name

                Sport Event Info Data Points: Sport Event Id

                Sport Event Scheduled Date/Time

                Sport Event Status
                Venue Info Data Points: Capacity
                City Name
                Country Code
                Country Name
                Id
                Map Coordinates
                Name
                require 'uri'
                require 'net/http'
                require 'openssl'
                
                url = URI("https://api.sportradar.com/football-t1/australian/en/schedules/2016-08-27/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
                
                import http.client
                
                conn = http.client.HTTPSConnection("api.sportradar.us")
                
                conn.request("GET", "/football-t1/australian/en/schedules/2016-08-27/schedule.xml?api_key={your_api_key}")
                
                res = conn.getresponse()
                data = res.read()
                
                print(data.decode("utf-8"))
                
                curl -X GET "https://api.sportradar.com/football-t1/australian/en/schedules/2016-08-27/schedule.xml?api_key={your_api_key}"
                

                The above command returns xml structured like this.

                This endpoint retrieves the Daily Schedule.

                http://api.sportradar.com/football-{access_level}{version}/australian/{language_code}/schedules/{year}-{month}-{day}/schedule.{format}?api_key={your_api_key}

                Replace placeholders with the following query parameters:

                Parameter Description
                access_level Defines the access level of your API key as Production (p) or Trial (t).
                version Version number of the API you are accessing (Current Version: 1).
                language_code Supported Locales
                year Year in 4 digit format (YYYY).
                month Month in 2 digit format (MM).
                day Day in 2 digit format (DD).
                format xml or json.
                your_api_key Your API key.

                To retrieve the XML Schema Definition (.XSD) for the Daily Schedule use the following URL.

                http://schemas.sportradar.com/bsa/v1/endpoints/standard/schedule.xsd

                Return to API map

                Head To Head

                Update Frequency: As Necessary
                Content Type: XML or JSON
                Category & Sport Info Data Points: Category 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 Number
                Tournament Round Type
                Competitor Info Data Points: Competitor Abbreviation
                Competitor Country
                Competitor Country Code
                Competitor Id
                Competitor Name
                Competitor Qualifier
                Sport Event Info Data Points: Sport Event Id
                Sport Event Scheduled Date/Time
                Sport Event Status
                Sport Event Status Away Score
                Sport Event Status Home Score
                Sport Event Status Winner Id
                Venue Info Data Points: Capacity
                City Name
                Country Code
                Country Name
                Id
                Map Coordinates
                Name
                require 'uri'
                require 'net/http'
                require 'openssl'
                
                url = URI("https://api.sportradar.com/football-t1/australian/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
                
                import http.client
                
                conn = http.client.HTTPSConnection("api.sportradar.us")
                
                conn.request("GET", "/football-t1/australian/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"))
                
                curl -X GET "https://api.sportradar.com/football-t1/australian/en/competitors/sr:competitor:4443/versus/sr:competitor:4456/matches.xml?api_key={your_api_key}"
                

                The above command returns xml structured like this.

                This endpoint retrieves the Head To Head.

                http://api.sportradar.com/football-{access_level}{version}/australian/{language_code}/competitors/{competitor_id}/versus/{competitor_id2}/matches.{format}?api_key={your_api_key}

                Replace placeholders with the following query parameters:

                Parameter Description
                access_level Defines the access level of your API key as Production (p) or Trial (t).
                version Version number of the API you are accessing (Current Version: 1).
                language_code Supported Locales
                competitor_id Id of a given competitor.
                competitor_id2 Id of a given competitor.
                format xml or json.
                your_api_key Your API key.

                To retrieve the XML Schema Definition (.XSD) for Head To Head use the following URL.

                http://schemas.sportradar.com/bsa/v1/endpoints/standard/competitor_versus_matches.xsd

                Return to API map

                Player Profile

                Update Frequency: As Necessary
                Content Type: XML or JSON
                Player Info Data Points: Player Country Code
                Player Date of Birth
                Player Id
                Player Jersey Number
                Player Name
                Player Nationality
                Player Type
                require 'uri'
                require 'net/http'
                require 'openssl'
                
                url = URI("https://api.sportradar.com/football-t1/australian/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
                
                import http.client
                
                conn = http.client.HTTPSConnection("api.sportradar.us")
                
                conn.request("GET", "/football-t1/australian/en/players/sr:player:1031691/profile.xml?api_key={your_api_key}")
                
                res = conn.getresponse()
                data = res.read()
                
                print(data.decode("utf-8"))
                
                curl -X GET "https://api.sportradar.com/football-t1/australian/en/players/sr:player:1031691/profile.xml?api_key={your_api_key}"
                

                The above command returns xml structured like this.

                This endpoint retrieves the Player Profile.

                http://api.sportradar.com/football-{access_level}{version}/australian/{language_code}/player/{player_id}/profile.{format}?api_key={your_api_key}

                Replace placeholders with the following query parameters:

                Parameter Description
                access_level Defines the access level of your API key as Production (p) or Trial (t).
                version Version number of the API you are accessing (Current Version: 1).
                language_code Supported Locales
                player_id Id of a given player.
                format xml or json.
                your_api_key Your API key.

                To retrieve the XML Schema Definition (.XSD) for the Player Profile use the following URL.

                http://schemas.sportradar.com/bsa/v1/endpoints/standard/player_profile.xsd

                Return to API map

                Seasons

                r
                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
                require 'uri'
                require 'net/http'
                require 'openssl'
                
                url = URI("https://api.sportradar.com/football-t1/australian/en/tournaments/sr:tournament:656/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
                
                import http.client
                
                conn = http.client.HTTPSConnection("api.sportradar.us")
                
                conn.request("GET", "/football-t1/australian/en/tournaments/sr:tournament:656/seasons.xml?api_key={your_api_key}")
                
                res = conn.getresponse()
                data = res.read()
                
                print(data.decode("utf-8"))
                
                curl -X GET "https://api.sportradar.com/football-t1/australian/en/tournaments/sr:tournament:656/seasons.xml?api_key={your_api_key}"
                

                The above command returns xml structured like this.

                This endpoint retrieves the Seasons.

                http://api.sportradar.com/football-{access_level}{version}/australian/{language_code}/tournaments/{tournament_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 Id of a given tournament.
                format xml or json.
                your_api_key Your API key.

                To retrieve the XML Schema Definition (.XSD) for Seasons use the following URL.

                http://schemas.sportradar.com/bsa/v1/endpoints/standard/tournament_seasons.xsd

                Return to API map

                Sport Event Probabilities

                Update Frequency: As Necessary
                Content Type: XML or JSON
                Category & Sport Info Data Points: Category 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: Competitor Abbreviation
                Competitor Country
                Competitor Country Code
                Competitor Id
                Competitor Name

                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


                Venue Info Data Points: Capacity
                City Name
                Country Code
                Country Name
                Id
                Map Coordinates
                Name
                require 'uri'
                require 'net/http'
                require 'openssl'
                
                url = URI("https://api.sportradar.com/football-t1/australian/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
                
                import http.client
                
                conn = http.client.HTTPSConnection("api.sportradar.us")
                
                conn.request("GET", "/football-t1/australian/en/matches/sr:match:8426658/probabilities.xml?api_key={your_api_key}")
                
                res = conn.getresponse()
                data = res.read()
                
                print(data.decode("utf-8"))
                
                curl -X GET "https://api.sportradar.com/football-t1/australian/en/matches/sr:match:8426658/probabilities.xml?api_key={your_api_key}"
                

                This endpoint retrieves the Sport Event Probabilities.

                http://api.sportradar.com/football-{access_level}{version}/australian/{language_code}/matches/{match_id}/probabilities.{format}?api_key={your_api_key}

                Replace placeholders with the following query parameters:

                Parameter Description
                access_level Defines the access level of your API key as Production (p) or Trial (t).
                version Version number of the API you are accessing (Current Version: 1).
                language_code Supported Locales
                match_id Id of a given match.
                format xml or json.
                your_api_key Your API key.

                To retrieve the XML Schema Definition (.XSD) for the Sport Event Probabilities use the following URL.

                http://schemas.sportradar.com/bsa/v1/endpoints/standard/match_probabilities.xsd

                Return to API map

                Sport Event Timeline

                Update Frequency: As Necessary
                Content Type: XML or JSON
                Category & Sport Info Data Points: Category 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: Competitor Abbreviation
                Competitor Country
                Competitor Country Code
                Competitor Id
                Competitor Name

                Venue Info Data Points: Capacity
                City Name
                Country Code
                Country Name
                Id
                Map Coordinates
                Name
                Sport Event Info Data Points: Coverage Info
                Sport Event Id
                Sport Event Scheduled Date/Time
                Sport Event Status
                Sport Event Status Away Score
                Sport Event Status Home Score
                Sport Event Status Winner Id
                Timeline Info Data Points: Event Away Score
                Event Home Score
                Event Id
                Event Team
                Event Time
                Event Type
                require 'uri'
                require 'net/http'
                require 'openssl'
                
                url = URI("https://api.sportradar.com/football-t1/australian/en/sport_events/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
                
                import http.client
                
                conn = http.client.HTTPSConnection("api.sportradar.us")
                
                conn.request("GET", "/football-t1/australian/en/sport_events/sr:match:8426658/timeline.xml?api_key={your_api_key}")
                
                res = conn.getresponse()
                data = res.read()
                
                print(data.decode("utf-8"))
                
                curl -X GET "https://api.sportradar.com/football-t1/australian/en/sport_events/sr:match:8426658/timeline.xml?api_key={your_api_key}"
                

                The above command returns xml structured like this.

                This endpoint retrieves the Sport Event Timeline.

                http://api.sportradar.com/football-{access_level}{version}/australian/{language_code}/sport_events/{match_id}/timeline.{format}?api_key={your_api_key}

                Replace placeholders with the following query parameters:

                Parameter Description
                access_level Defines the access level of your API key as Production (p) or Trial (t).
                version Version number of the API you are accessing (Current Version: 1).
                language_code Supported Locales
                match_id Id of a given match.
                format xml or json.
                your_api_key Your API key.

                To retrieve the XML Schema Definition (.XSD) for the Sport Event Timeline use the following URL.

                http://schemas.sportradar.com/bsa/v1/endpoints/standard/sport_event_timeline.xsd

                Return to API map

                Tournament Info

                Update Frequency: As Necessary
                Content Type: XML or JSON
                Category & Sport Info Data Points: Category 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 Type
                Competitor Info Data Points: Competitor Abbreviation
                Competitor Country
                Competitor Country Code
                Competitor Id
                Competitor Name

                require 'uri'
                require 'net/http'
                require 'openssl'
                
                url = URI("https://api.sportradar.com/football-t1/australian/en/tournaments/sr:tournament:656/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
                
                import http.client
                
                conn = http.client.HTTPSConnection("api.sportradar.us")
                
                conn.request("GET", "/football-t1/australian/en/tournaments/sr:tournament:656/info.xml?api_key={your_api_key}")
                
                res = conn.getresponse()
                data = res.read()
                
                print(data.decode("utf-8"))
                
                curl -X GET "https://api.sportradar.com/football-t1/australian/en/tournaments/sr:tournament:656/info.xml?api_key={your_api_key}"
                

                The above command returns xml structured like this.

                This endpoint retrieves the Tournament Info.

                http://api.sportradar.com/football-{access_level}{version}/australian/{language_code}/tournaments/{tournament_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 Id of a given tournament.
                format xml or json.
                your_api_key Your API key.

                To retrieve the XML Schema Definition (.XSD) for the Tournament Info use the following URL.

                http://schemas.sportradar.com/bsa/v1/endpoints/standard/tournament_info.xsd

                Return to API map

                Tournament List

                Update Frequency: As Necessary
                Content Type: XML or JSON
                Category & Sport Info Data Points: Category 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
                require 'uri'
                require 'net/http'
                require 'openssl'
                
                url = URI("https://api.sportradar.com/football-t1/australian/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
                
                import http.client
                
                conn = http.client.HTTPSConnection("api.sportradar.us")
                
                conn.request("GET", "/football-t1/australian/en/tournaments.xml?api_key={your_api_key}")
                
                res = conn.getresponse()
                data = res.read()
                
                print(data.decode("utf-8"))
                
                curl -X GET "https://api.sportradar.com/football-t1/australian/en/tournaments.xml?api_key={your_api_key}"
                

                The above command returns xml structured like this.

                This endpoint retrieves the Tournament List.

                http://api.sportradar.com/football-{access_level}{version}/australian/{language_code}/tournaments.{format}?api_key={your_api_key}

                Replace placeholders with the following query parameters:

                Parameter Description
                access_level Defines the access level of your API key as Production (p) or Trial (t).
                version Version number of the API you are accessing (Current Version: 1).
                language_code Supported Locales
                format xml or json.
                your_api_key Your API key.

                To retrieve the XML Schema Definition (.XSD) for the Tournament List use the following URL.

                http://schemas.sportradar.com/bsa/v1/endpoints/standard/tournaments.xsd

                Return to API map

                Tournament Live Standings

                Update Frequency: As Necessary
                Content Type: XML or JSON
                Category & Sport Info Data Points: Category 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
                Tournament Id
                Tournament Name
                Standings Info Data Points: Draw
                Loss
                Played
                Points
                Rank
                Score Against
                Score Difference
                Score For
                Team Id
                Team Name
                Type
                Win
                require 'uri'
                require 'net/http'
                require 'openssl'
                
                url = URI("https://api.sportradar.com/football-t1/australian/en/tournaments/sr:tournament:656/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
                
                import http.client
                
                conn = http.client.HTTPSConnection("api.sportradar.us")
                
                conn.request("GET", "/football-t1/australian/en/tournaments/sr:tournament:656/live_standings.xml?api_key={your_api_key}")
                
                res = conn.getresponse()
                data = res.read()
                
                print(data.decode("utf-8"))
                
                curl -X GET "https://api.sportradar.com/football-t1/australian/en/tournaments/sr:tournament:656/live_standings.xml?api_key={your_api_key}"
                

                This endpoint retrieves the Tournament Live Standings.

                http://api.sportradar.com/football-{access_level}{version}/australian/{language_code}/tournaments/{tournament_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 Id of a given tournament.
                format xml or json.
                your_api_key Your API key.

                To retrieve the XML Schema Definition (.XSD) for the Tournament Live Standings use the following URL.

                http://schemas.sportradar.com/bsa/v1/endpoints/standard/tournament_live_standings.xsd

                Return to API map

                Tournament Results

                Update Frequency: As Necessary
                Content Type: XML or JSON
                Category & Sport Info Data Points: Category 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 Type
                Competitor Info Data Points: Competitor Abbreviation
                Competitor Country
                Competitor Country Code
                Competitor Id
                Competitor Name
                Competitor Qualifier
                Sport Event Info Data Points: Sport Event Id
                Sport Event Scheduled Date/Time
                Sport Event Status
                Sport Event Status Away Score
                Sport Event Status Home Score
                Sport Event Status Winner Id
                Venue Info Data Points: Capacity
                City Name
                Country Code
                Country Name
                Id
                Map Coordinates
                Name
                require 'uri'
                require 'net/http'
                require 'openssl'
                
                url = URI("https://api.sportradar.com/football-t1/australian/en/tournaments/sr:tournament:656/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
                
                import http.client
                
                conn = http.client.HTTPSConnection("api.sportradar.us")
                
                conn.request("GET", "/football-t1/australian/en/tournaments/sr:tournament:656/results.xml?api_key={your_api_key}")
                
                res = conn.getresponse()
                data = res.read()
                
                print(data.decode("utf-8"))
                
                curl -X GET "https://api.sportradar.com/football-t1/australian/en/tournaments/sr:tournament:656/results.xml?api_key={your_api_key}"
                

                The above command returns xml structured like this.

                This endpoint retrieves the Tournament Results.

                http://api.sportradar.com/football-{access_level}{version}/australian/{language_code}/tournaments/{tournament_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 Id of a given tournament.
                format xml or json.
                your_api_key Your API key.

                To retrieve the XML Schema Definition (.XSD) for the Tournament Results use the following URL.

                http://schemas.sportradar.com/bsa/v1/endpoints/standard/tournament_results.xsd

                Return to API map

                Tournament Schedule

                Update Frequency: As Necessary
                Content Type: XML or JSON
                Category & Sport Info Data Points: Category 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 Type
                Competitor Info Data Points: Competitor Abbreviation
                Competitor Country
                Competitor Country Code
                Competitor Id
                Competitor Name

                Sport Event Info Data Points: Sport Event Id

                Sport Event Scheduled Date/Time

                Sport Event Status

                Venue Info Data Points: Capacity
                City Name
                Country Code
                Country Name
                Id
                Map Coordinates
                Name
                require 'uri'
                require 'net/http'
                require 'openssl'
                
                url = URI("https://api.sportradar.com/football-t1/australian/en/tournaments/sr:tournament:656/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
                
                import http.client
                
                conn = http.client.HTTPSConnection("api.sportradar.us")
                
                conn.request("GET", "/football-t1/australian/en/tournaments/sr:tournament:656/schedule.xml?api_key={your_api_key}")
                
                res = conn.getresponse()
                data = res.read()
                
                print(data.decode("utf-8"))
                
                curl -X GET "https://api.sportradar.com/football-t1/australian/en/tournaments/sr:tournament:656/schedule.xml?api_key={your_api_key}"
                

                The above command returns xml structured like this.

                This endpoint retrieves the Tournament Schedule.

                http://api.sportradar.com/football-{access_level}{version}/australian/{language_code}/tournaments/{tournament_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 Id of a given tournament.
                format xml or json.
                your_api_key Your API key.

                To retrieve the XML Schema Definition (.XSD) for the Tournament Schedule use the following URL.

                http://schemas.sportradar.com/bsa/v1/endpoints/standard/tournament_schedule.xsd

                Return to API map

                Tournament Standings

                Update Frequency: As Necessary
                Content Type: XML or JSON
                Category & Sport Info Data Points: Category 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
                Tournament Id
                Tournament Name
                Standings Info Data Points: Draw
                Loss
                Played
                Points
                Rank
                Score Against
                Score Difference
                Score For
                Team Id
                Team Name
                Type
                Win
                require 'uri'
                require 'net/http'
                require 'openssl'
                
                url = URI("https://api.sportradar.com/football-t1/australian/en/tournaments/sr:tournament:656/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
                
                import http.client
                
                conn = http.client.HTTPSConnection("api.sportradar.us")
                
                conn.request("GET", "/football-t1/australian/en/tournaments/sr:tournament:656/standings.xml?api_key={your_api_key}")
                
                res = conn.getresponse()
                data = res.read()
                
                print(data.decode("utf-8"))
                
                curl -X GET "https://api.sportradar.com/football-t1/australian/en/tournaments/sr:tournament:656/standings.xml?api_key={your_api_key}"
                

                The above command returns xml structured like this.

                This endpoint retrieves the Tournament Standings.

                http://api.sportradar.com/football-{access_level}{version}/australian/{language_code}/tournaments/{tournament_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 Id of a given tournament.
                format xml or json.
                your_api_key Your API key.

                To retrieve the XML Schema Definition (.XSD) for the Tournament Standings use the following URL.

                http://schemas.sportradar.com/bsa/v1/endpoints/standard/tournament_standings.xsd

                Return to API map

                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: Competitor Abbreviation
                Competitor Country
                Competitor Country Code
                Competitor Id
                Competitor Name

                Venue Info Data Points: Capacity
                City Name
                Country Code
                Country Name
                Id
                Map Coordinates
                Name
                require 'uri'
                require 'net/http'
                require 'openssl'
                
                url = URI("https://api.sportradar.com/football-t1/australian/en/venues/sr:venue:7704/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
                
                import http.client
                
                conn = http.client.HTTPSConnection("api.sportradar.us")
                
                conn.request("GET", "/football-t1/australian/en/venues/sr:venue:7704/summary.xml?api_key={your_api_key}")
                
                res = conn.getresponse()
                data = res.read()
                
                print(data.decode("utf-8"))
                
                curl -X GET "https://api.sportradar.com/football-t1/australian/en/venues/sr:venue:7704/summary.xml?api_key={your_api_key}"
                

                The above command returns xml structured like this.

                This endpoint retrieves the Venues.

                http://api.sportradar.com/football-{access_level}{version}/australian/{language_code}/venues/{venue_id}/summary.{format}?api_key={your_api_key}

                Replace placeholders with the following query parameters:

                Parameter Description