Soccer v4
Quick Access | |
Postman Collection | XSD Schema |
Download |
- Live standings for top leagues
- League leaders
- Win probabilities for every match
- Lineups with formations
- Seasonal statistics
- Season leaders
- Missing/Injured players
- Live ball-spotting data (x,y coordinates for events on the field)
- Head-to-head statistics
- Fun facts
- Minutes
- Passing
- Tackles
- Crosses
- Blocks/Saves
- Fouls
- Offsides
API | API Version |
Soccer | v4 |
Note: Each league group requires a separate API key and authentication is required for all API calls. |
Examples:
>To find the fun facts for a given match: >- Call the daily summaries for the date of the match and find the Sport Event Id for the chosen match
- Call the Sport Event Fun Facts using the Sport Event Id
- Locate the Fact Statement
- Call the daily summaries and find the desired Competitor Id
- Make note of the Season Id for the current season
- Call the seasonal competitor statistics using the Team Id and Season Id
- Locate the statistics - goals_by_head
If our scout feed goes down or becomes unavailable, Sportradar takes over Live Data Entry (LDE) to provide a failover.
In case of a failover, we follow one of the following scenarios:
- We are unable to provide deeper player or team stats, such as shots, corners, assists, and offsides. We will deliver only basic stats and events such as goals, cards, and substitutions with player names.
- We are unable to provide deeper player or team stats and player names for all basic events, such as cards, substitutions, shots, corners, assists, and offsides. We will display player names for goals.
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Category & Sport Info: | Category Country Code | Category Id | Category Name |
Competition Info Data Points: | Id | Name | Parent Id |
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Competition Info Data Points: | Season Competition Gender Season Competition Id Season End Date |
Season Id Season Name |
Season Start Date Season Year |
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Category & Sport Info: | Category Country Code | Category Id | Category Name |
Competition Info Data Points: | Competition Gender Competition Id |
Competition Name | Competition Parent Id |
Note: Pagination will often be required to pull all data within this feed. By default, the feed will return 1,000 competitor mappings. |
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Mappings Info Data Points: | External Id Id |
Merged Id | Retained Id |
require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/soccer/trial/v4/en/players/sr:player:159665/summaries.xml?api_key={your_api_key}&start=0&limit=75") 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", "/soccer/trial/v4/en/players/sr:player:159665/summaries.xml?api_key={your_api_key}&start=0&limit=75") res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
curl -L GET 'api.sportradar.us/soccer/trial/v4/en/players/sr:player:159665/summaries.xml?api_key={your_api_key}&start=0&limit=75'In addition to the URL parameters listed above, you can paginate the response with one or more of the following optional query string parameters. This will often be required to access all available data in this feed.
Note: Optional query string parameters must be added after your API key with an ampersand (&). |
Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, maximum value is 1000.
Example: limit=1000 | Return to top ## Competitor Merge Mappings Provides the valid Sportradar Id in cases when two competitors have been merged into one.
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Mappings Info Data Points: | Name Id |
Merged Id | Retained Id |
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Sport & Category Info Data Points: | Category Country Code Category Id |
Category Name Sport Id |
Sport Name |
Competitor Info Data Points: | Competitor Abbreviation Competitor Age Group Competitor Country Competitor Country Code Competitor Gender Competitor Id Competitor Name Competitor Qualifier Competitor Virtual Jersey Base Color Jersey Horizontal Stripes |
Jersey Horizontal Stripes Color Jersey Number Color Jersey Shirt Type Jersey Sleeve Color Jersey Sleeve Detail Jersey Split Jersey Split Color Jersey Squares Jersey Squares Color Jersey Stripes |
Jersey Stripes Color Jersey Type Manager Country Code Manager Date of Birth Manager Gender Manager Id Manager Name Manager Nationality Manager Nickname Manager Preferred Foot |
Player Info Data Points: | Country Code Date of Birth Gender Height |
Id Jersey Number Name Nationality |
Nickname Place of Birth Preferred Foot Type Weight |
Venue Info Data Points: | Capacity City Country |
Country Code Id |
Map Coordinates Name |
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Sport & Category Info Data Points: | Category Country Code Category Id |
Category Name Sport Id |
Sport Name |
Competition Info Data Points: | Competition Gender Competition Id Competition Name Competition Parent Id Competition Properties Brackets Competition Properties Missing Players Competition Properties Player Transfer History Competition Properties Schedules Competition Properties Season Player Statistics Competition Properties Season Probabilities Competition Properties Season Stats Leaders |
Competition Properties Season Team Statistics Competition Properties Standings Competition Properties Team Squads Group Group Name Group Id Group Name Round Competition Sport Event Number Round Cup Round Number of Sport Events Round Cup Round Sport Event Number Round Name Round Number Round Other Sport Event Id Season End Date Season Id |
Season Name Season Start Date Season Competition Id Season Year Stage End Date Stage Order Stage Phase Stage Start Date Stage Type Stage Year |
Competitor Info Data Points: | Competitor Abbreviation Competitor Age Group Competitor Country |
Competitor Country Code Competitor Gender Competitor Id |
Competitor Name Competitor Qualifier Competitor Virtual |
Player Info Data Points: | Id | Name | Starter |
Sport Event Info Data Points: | Attendance Count Channel Country Channel Country Code Channel Name Channel URL Coverage Type Ground Neutral Group Properties Brackets Group Properties Cup Group Properties Group Stage Group Properties League Group Properties Missing Players Group Properties Qualification Group Properties Results Group Properties Schedules Group Properties Standings Lineups Confirmed |
Referee Id Referee Name Referee Nationality Referee Country Code Referee Type Sport Event Id Sport Event Replaced By Sport Event Resume Time Sport Event Start Time Sport Event Start Time Confirmed Sport Event Properties Ballspotting Sport Event Properties Basic Play-by-Play Sport Event Properties Basic Player Stats Sport Event Properties Basic Team Stats Sport Event Properties Commentary |
Sport Event Properties Deeper Play-by-Play Sport Event Properties Deeper Player Stats Sport Event Properties Deeper Team Stats Sport Event Properties Extended Player Stats Sport Event Properties Extended Team Stats Sport Event Properties Fun Facts Sport Event Properties Game Clock Sport Event Properties Goal Scorers Sport Event Properties Lineups Sport Event Properties Lineups Availability Sport Event Properties Probabilities Sport Event Properties Scores Sport Event Properties Venue Weather Overall Conditions Weather Pitch Conditions |
Boxscore Info Data Points: | Clock Played Clock Stoppage Time Announced Clock Stoppage Time Played Period Score Away Score Period Score Home Score Period Score Number Period Score Type Match Situation - Qualifier Match Situation - Status |
Match Situation - Updated At Sport Event Status Away Normaltime Score Sport Event Status Away Overtime Score Sport Event Status Away Score Sport Event Status Decided by Fed Sport Event Status Home Normaltime Score Sport Event Status Home Overtime Score |
Sport Event Status Home Score Sport Event Status Match Status Sport Event Status Match Tie Sport Event Status Scout Abandoned Sport Event Status Status Sport Event Status Winner Id |
Play by Play Info Data Points: | Qualifier Order |
X Coordinate | Y Coordinate |
Player Match Statistics Data Points: | Assists Corner Kicks Goals Scored Offsides Own Goals |
Penalties Missed Red Cards Shots Blocked Shots Off Target Shots On Target |
Substituted In Substituted Out Yellow Cards Yellow/Red Cards |
Team Match Statistics Data Points: | Ball Possession Cards Given Corner Kicks Fouls Free Kicks Goal Kicks |
Injuries Offsides Penalties Missed Red Cards Shots Blocked Shots Off Target |
Shots On Target Shots Saved Shots Total Substitutions Throw Ins Yellow Cards Yellow/Red Cards |
Venue Info Data Points: | Capacity Changed City Country |
Country Code Id Map Coordinates |
Name Reduced Capacity Reduced Capacity Max |
TTL / Cache: | 60 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Sport & Category Info Data Points: | Category Country Code Category Id |
Category Name Sport Id |
Sport Name |
Competition Info Data Points: | Competition Gender Competition Id Competition Name Competition Parent Id Competition Properties Brackets Competition Properties Missing Players Competition Properties Player Transfer History Competition Properties Schedules Competition Properties Season Player Statistics Competition Properties Season Probabilities Competition Properties Season Stats Leaders |
Competition Properties Season Team Statistics Competition Properties Standings Competition Properties Team Squads Group Group Name Group Id Group Name Round Competition Sport Event Number Round Cup Round Number of Sport Events Round Cup Round Sport Event Number Round Name Round Number Round Other Sport Event Id Season End Date Season Id |
Season Name Season Start Date Season Competition Id Season Year Stage End Date Stage Order Stage Phase Stage Start Date Stage Type Stage Year |
Competitor Info Data Points: | Competitor Abbreviation Competitor Age Group Competitor Country |
Competitor Country Code Competitor Gender Competitor Id |
Competitor Name Competitor Qualifier Competitor Virtual |
Player Info Data Points: | Id | Name | Starter |
Sport Event Info Data Points: | Attendance Count Channel Country Channel Country Code Channel Name Channel URL Coverage Type Ground Neutral Group Properties Brackets Group Properties Cup Group Properties Group Stage Group Properties League Group Properties Missing Players Group Properties Qualification Group Properties Results Group Properties Schedules Group Properties Standings Lineups Confirmed |
Referee Id Referee Name Referee Nationality Referee Country Code Referee Type Sport Event Id Sport Event Replaced By Sport Event Resume Time Sport Event Start Time Sport Event Start Time Confirmed Sport Event Properties Ballspotting Sport Event Properties Basic Play-by-Play Sport Event Properties Basic Player Stats Sport Event Properties Basic Team Stats Sport Event Properties Commentary |
Sport Event Properties Deeper Play-by-Play Sport Event Properties Deeper Player Stats Sport Event Properties Deeper Team Stats Sport Event Properties Extended Player Stats Sport Event Properties Extended Team Stats Sport Event Properties Fun Facts Sport Event Properties Game Clock Sport Event Properties Goal Scorers Sport Event Properties Lineups Sport Event Properties Lineups Availability Sport Event Properties Probabilities Sport Event Properties Scores Sport Event Properties Venue Weather Overall Conditions Weather Pitch Conditions |
Boxscore Info Data Points: | Clock Played Clock Stoppage Time Announced Clock Stoppage Time Played Period Score Away Score Period Score Home Score Period Score Number Period Score Type Match Situation - Qualifier Match Situation - Status |
Match Situation - Updated At Sport Event Status Away Normaltime Score Sport Event Status Away Overtime Score Sport Event Status Away Score Sport Event Status Decided by Fed Sport Event Status Home Normaltime Score Sport Event Status Home Overtime Score |
Sport Event Status Home Score Sport Event Status Match Status Sport Event Status Match Tie Sport Event Status Scout Abandoned Sport Event Status Status Sport Event Status Winner Id |
Play by Play Info Data Points: | Qualifier Order |
X Coordinate | Y Coordinate |
Player Match Statistics Data Points: | Assists Corner Kicks Goals Scored Offsides Own Goals |
Penalties Missed Red Cards Shots Blocked Shots Off Target Shots On Target |
Substituted In Substituted Out Yellow Cards Yellow/Red Cards |
Team Match Statistics Data Points: | Ball Possession Cards Given Corner Kicks Fouls Free Kicks Goal Kicks |
Injuries Offsides Penalties Missed Red Cards Shots Blocked Shots Off Target |
Shots On Target Shots Saved Shots Total Substitutions Throw Ins Yellow Cards Yellow/Red Cards |
Venue Info Data Points: | Capacity Changed City Country |
Country Code Id Map Coordinates |
Name Reduced Capacity Reduced Capacity Max |
Note: Pagination will often be required to pull all data within this feed. By default, the feed will return 200 sport events. |
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Sport & Category Info Data Points: | Category Country Code Category Id |
Category Name Sport Id |
Sport Name |
Competition Info Data Points: | Competition Gender Competition Id Competition Name Competition Parent Id Competition Properties Brackets Competition Properties Missing Players Competition Properties Player Transfer History Competition Properties Schedules Competition Properties Season Player Statistics Competition Properties Season Probabilities Competition Properties Season Stats Leaders |
Competition Properties Season Team Statistics Competition Properties Standings Competition Properties Team Squads Group Group Name Group Id Group Name Round Competition Sport Event Number Round Cup Round Number of Sport Events Round Cup Round Sport Event Number Round Name Round Number Round Other Sport Event Id Season End Date Season Id |
Season Name Season Start Date Season Competition Id Season Year Stage End Date Stage Order Stage Phase Stage Start Date Stage Type Stage Year |
Competitor Info Data Points: | Competitor Abbreviation Competitor Age Group Competitor Country |
Competitor Country Code Competitor Gender Competitor Id |
Competitor Name Competitor Qualifier Competitor Virtual |
Player Info Data Points: | Id | Name | Starter |
Sport Event Info Data Points: | Attendance Count Channel Country Channel Country Code Channel Name Channel URL Coverage Type Ground Neutral Group Properties Brackets Group Properties Cup Group Properties Group Stage Group Properties League Group Properties Missing Players Group Properties Qualification Group Properties Results Group Properties Schedules Group Properties Standings Lineups Confirmed |
Referee Id Referee Name Referee Nationality Referee Country Code Referee Type Sport Event Id Sport Event Replaced By Sport Event Resume Time Sport Event Start Time Sport Event Start Time Confirmed Sport Event Properties Ballspotting Sport Event Properties Basic Play-by-Play Sport Event Properties Basic Player Stats Sport Event Properties Basic Team Stats Sport Event Properties Commentary |
Sport Event Properties Deeper Play-by-Play Sport Event Properties Deeper Player Stats Sport Event Properties Deeper Team Stats Sport Event Properties Extended Player Stats Sport Event Properties Extended Team Stats Sport Event Properties Fun Facts Sport Event Properties Game Clock Sport Event Properties Goal Scorers Sport Event Properties Lineups Sport Event Properties Lineups Availability Sport Event Properties Probabilities Sport Event Properties Scores Sport Event Properties Venue Weather Overall Conditions Weather Pitch Conditions |
Boxscore Info Data Points: | Clock Played Clock Stoppage Time Announced Clock Stoppage Time Played Period Score Away Score Period Score Home Score Period Score Number Period Score Type Match Situation - Qualifier Match Situation - Status |
Match Situation - Updated At Sport Event Status Away Normaltime Score Sport Event Status Away Overtime Score Sport Event Status Away Score Sport Event Status Decided by Fed Sport Event Status Home Normaltime Score Sport Event Status Home Overtime Score |
Sport Event Status Home Score Sport Event Status Match Status Sport Event Status Match Tie Sport Event Status Scout Abandoned Sport Event Status Status Sport Event Status Winner Id |
Play by Play Info Data Points: | Qualifier Order |
X Coordinate | Y Coordinate |
Player Match Statistics Data Points: | Assists Corner Kicks Goals Scored Offsides Own Goals |
Penalties Missed Red Cards Shots Blocked Shots Off Target Shots On Target |
Substituted In Substituted Out Yellow Cards Yellow/Red Cards |
Team Match Statistics Data Points: | Ball Possession Cards Given Corner Kicks Fouls Free Kicks Goal Kicks |
Injuries Offsides Penalties Missed Red Cards Shots Blocked Shots Off Target |
Shots On Target Shots Saved Shots Total Substitutions Throw Ins Yellow Cards Yellow/Red Cards |
Venue Info Data Points: | Capacity Changed City Country |
Country Code Id Map Coordinates |
Name Reduced Capacity Reduced Capacity Max |
require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/soccer/trial/v4/en/schedules/2019-07-23/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", "/soccer/trial/v4/en/schedules/2019-07-23/summaries.xml?api_key={your_api_key}&start=0&limit=75") res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
curl -L GET 'api.sportradar.us/soccer/trial/v4/en/schedules/2019-07-23/summaries.xml?api_key={your_api_key}&start=0&limit=75'In addition to the URL parameters listed above, you can paginate the response with one or more of the following optional query string parameters. This will often be required to access all available data in this feed.
Note: Optional query string parameters must be added after your API key with an ampersand (&). |
Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, maximum value is 200.
Example: limit=200 | Return to top ## League Timeline Provides an alternate set of statistics for an event which match official league sites.
Official stats are provided for: England Premier League, Germany Bundesliga, Italy Serie A, Spain La Liga, UEFA Champions League, USA MLS, Austria Bundesliga.
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Sport & Category Info Data Points: | Category Country Code Category Id |
Category Name Sport Id |
Sport Name |
Competition Info Data Points: | Competition Gender Competition Id Competition Name Competition Parent Id Competition Properties Brackets Competition Properties Missing Players Competition Properties Player Transfer History Competition Properties Schedules Competition Properties Season Player Statistics Competition Properties Season Probabilities Competition Properties Season Stats Leaders |
Competition Properties Season Team Statistics Competition Properties Standings Competition Properties Team Squads Group Group Name Group Id Group Name Round Competition Sport Event Number Round Cup Round Number of Sport Events Round Cup Round Sport Event Number Round Name Round Number Round Other Sport Event Id Season End Date Season Id |
Season Name Season Start Date Season Competition Id Season Year Stage End Date Stage Order Stage Phase Stage Start Date Stage Type Stage Year |
Competitor Info Data Points: | Competitor Abbreviation Competitor Age Group Competitor Country |
Competitor Country Code Competitor Gender Competitor Id |
Competitor Name Competitor Qualifier Competitor Virtual |
Player Info Data Points: | Id Name |
Starter | Type |
Sport Event Info Data Points: | Attendance Count Channel Country Channel Country Code Channel Name Channel URL Coverage Type Ground Neutral Group Properties Brackets Group Properties Cup Group Properties Group Stage Group Properties League Group Properties Missing Players Group Properties Qualification Group Properties Results Group Properties Schedules Group Properties Standings Lineups Confirmed |
Referee Id Referee Name Referee Nationality Referee Country Code Referee Type Sport Event Id Sport Event Replaced By Sport Event Resume Time Sport Event Start Time Sport Event Start Time Confirmed Sport Event Properties Ballspotting Sport Event Properties Basic Play-by-Play Sport Event Properties Basic Player Stats Sport Event Properties Basic Team Stats Sport Event Properties Commentary |
Sport Event Properties Deeper Play-by-Play Sport Event Properties Deeper Player Stats Sport Event Properties Deeper Team Stats Sport Event Properties Extended Player Stats Sport Event Properties Extended Team Stats Sport Event Properties Fun Facts Sport Event Properties Game Clock Sport Event Properties Goal Scorers Sport Event Properties Lineups Sport Event Properties Lineups Availability Sport Event Properties Probabilities Sport Event Properties Scores Sport Event Properties Venue Weather Overall Conditions Weather Pitch Conditions |
Boxscore Info Data Points: | Clock Played Clock Stoppage Time Announced Clock Stoppage Time Played Period Score Away Score Period Score Home Score Period Score Number Period Score Type Match Situation - Qualifier Match Situation - Status |
Match Situation - Updated At Sport Event Status Away Normaltime Score Sport Event Status Away Overtime Score Sport Event Status Away Score Sport Event Status Decided by Fed Sport Event Status Home Normaltime Score Sport Event Status Home Overtime Score |
Sport Event Status Home Score Sport Event Status Match Status Sport Event Status Match Tie Sport Event Status Scout Abandoned Sport Event Status Status Sport Event Status Winner Id |
Play by Play Info Data Points: | Away Team Score Ball Location Qualifier Ball Location Order Ball Location X Coordinate Ball Location Y Coordinate Event Break Name Event Card Description Event Commentary Event Competitor Event Coordinate X |
Event Coordinate Y Event Id Event Injury Time Announced Event Match Clock Event Match Time Event Method Event Outcome Event Period |
Event Period Name Event Period Type Event Shootout Away Score Event Shootout Home Score Event Stoppage Time Event Type Event Time Home Team Score |
Play Details Data Points: | Assisting Player Id Assisting Player Method Assisting Player Name Assisting Player Type Goal Scorer Id Goal Scorer Method |
Goal Scorer Name Goal Scorer Type Substitution Player In Id Substitution Player In Method Substitution Player In Name |
Substitution Player In Type Substitution Player Out Id Substitution Player Out Method Substitution Player Out Name Substitution Player Out Type |
Player Match Statistics Data Points: | Assists Goals Red Cards |
Substituted In Substituted Out |
Yellow Cards Yellow/Red Cards |
Team Match Statistics Data Points: | Assists Goals |
Red Cards Substitutions |
Yellow Cards Yellow/Red Cards |
Venue Info Data Points: | Capacity Changed City Country |
Country Code Id Map Coordinates |
Name Reduced Capacity Reduced Capacity Max |
TTL / Cache: | 1 second | ||
Update Frequency: | Realtime | ||
Content Type: | XML or JSON | ||
Sport & Category Info Data Points: | Category Country Code Category Id |
Category Name Sport Id |
Sport Name |
Competition Info Data Points: | Competition Gender Competition Id Competition Name Competition Parent Id Competition Properties Brackets Competition Properties Missing Players Competition Properties Player Transfer History Competition Properties Schedules Competition Properties Season Player Statistics Competition Properties Season Probabilities Competition Properties Season Stats Leaders |
Competition Properties Season Team Statistics Competition Properties Standings Competition Properties Team Squads Group Group Name Group Id Group Name Round Competition Sport Event Number Round Cup Round Number of Sport Events Round Cup Round Sport Event Number Round Name Round Number Round Other Sport Event Id Season End Date Season Id |
Season Name Season Start Date Season Competition Id Season Year Stage End Date Stage Order Stage Phase Stage Start Date Stage Type Stage Year |
Competitor Info Data Points: | Competitor Abbreviation Competitor Age Group Competitor Country |
Competitor Country Code Competitor Gender Competitor Id |
Competitor Name Competitor Qualifier Competitor Virtual |
Player Info Data Points: | Id | Name | Starter |
Sport Event Info Data Points: | Attendance Count Channel Country Channel Country Code Channel Name Channel URL Coverage Type Ground Neutral Group Properties Brackets Group Properties Cup Group Properties Group Stage Group Properties League Group Properties Missing Players Group Properties Qualification Group Properties Results Group Properties Schedules Group Properties Standings Lineups Confirmed |
Referee Id Referee Name Referee Nationality Referee Country Code Referee Type Sport Event Id Sport Event Replaced By Sport Event Resume Time Sport Event Start Time Sport Event Start Time Confirmed Sport Event Properties Ballspotting Sport Event Properties Basic Play-by-Play Sport Event Properties Basic Player Stats Sport Event Properties Basic Team Stats Sport Event Properties Commentary |
Sport Event Properties Deeper Play-by-Play Sport Event Properties Deeper Player Stats Sport Event Properties Deeper Team Stats Sport Event Properties Extended Player Stats Sport Event Properties Extended Team Stats Sport Event Properties Fun Facts Sport Event Properties Game Clock Sport Event Properties Goal Scorers Sport Event Properties Lineups Sport Event Properties Lineups Availability Sport Event Properties Probabilities Sport Event Properties Scores Sport Event Properties Venue Weather Overall Conditions Weather Pitch Conditions |
Boxscore Info Data Points: | Clock Played Clock Stoppage Time Announced Clock Stoppage Time Played Period Score Away Score Period Score Home Score Period Score Number Period Score Type Match Situation - Qualifier Match Situation - Status |
Match Situation - Updated At Sport Event Status Away Normaltime Score Sport Event Status Away Overtime Score Sport Event Status Away Score Sport Event Status Decided by Fed Sport Event Status Home Normaltime Score Sport Event Status Home Overtime Score |
Sport Event Status Home Score Sport Event Status Match Status Sport Event Status Match Tie Sport Event Status Scout Abandoned Sport Event Status Status Sport Event Status Winner Id |
Play by Play Info Data Points: | Qualifier Order |
X Coordinate | Y Coordinate |
Player Match Statistics Data Points: | Assists Corner Kicks Goals Scored Offsides Own Goals |
Penalties Missed Red Cards Shots Blocked Shots Off Target Shots On Target |
Substituted In Substituted Out Yellow Cards Yellow/Red Cards |
Team Match Statistics Data Points: | Ball Possession Cards Given Corner Kicks Fouls Free Kicks Goal Kicks |
Injuries Offsides Penalties Missed Red Cards Shots Blocked Shots Off Target |
Shots On Target Shots Saved Shots Total Substitutions Throw Ins Yellow Cards Yellow/Red Cards |
Venue Info Data Points: | Capacity Changed City Country |
Country Code Id Map Coordinates |
Name Reduced Capacity Reduced Capacity Max |
TTL / Cache: | 1 second | ||
Update Frequency: | Realtime | ||
Content Type: | XML or JSON | ||
Player Info Data Points: | Id | Name | Starter |
Boxscore Info Data Points: | Clock Played Clock Stoppage Time Announced Clock Stoppage Time Played Period Score Away Score Period Score Home Score Period Score Number Period Score Type Match Situation - Qualifier Match Situation - Status |
Match Situation - Updated At Sport Event Status Away Normaltime Score Sport Event Status Away Overtime Score Sport Event Status Away Score Sport Event Status Decided by Fed Sport Event Status Home Normaltime Score Sport Event Status Home Overtime Score |
Sport Event Status Home Score Sport Event Status Match Status Sport Event Status Match Tie Sport Event Status Scout Abandoned Sport Event Status Status Sport Event Status Winner Id |
Play by Play Info Data Points: | Away Team Score Ball Location Qualifier Ball Location Order Ball Location X Coordinate Ball Location Y Coordinate Event Break Name Event Card Description Event Commentary Event Competitor Event Coordinate X Event Coordinate Y |
Event Id Event Injury Time Announced Event Match Clock Event Match Time Event Method Event Outcome Event Period Name Event Period Type |
Event Shootout Away Score Event Shootout Home Score Event Stoppage Time Event Type Event Time Home Team Score Sport Event Timeline Id Sport Event Timeline Start Time |
Play Details Data Points: | Assisting Player Id Assisting Player Method Assisting Player Name Assisting Player Type Goal Scorer Id Goal Scorer Method |
Goal Scorer Name Goal Scorer Type Substitution Player In Id Substitution Player In Method Substitution Player In Name |
Substitution Player In Type Substitution Player Out Id Substitution Player Out Method Substitution Player Out Name Substitution Player Out Type |
TTL / Cache: | 1 second | ||
Update Frequency: | Realtime | ||
Content Type: | XML or JSON | ||
Player Info Data Points: | Id | Name | Starter |
Boxscore Info Data Points: | Clock Played Clock Stoppage Time Announced Clock Stoppage Time Played Period Score Away Score Period Score Home Score Period Score Number Period Score Type Match Situation - Qualifier Match Situation - Status |
Match Situation - Updated At Sport Event Status Away Normaltime Score Sport Event Status Away Overtime Score Sport Event Status Away Score Sport Event Status Decided by Fed Sport Event Status Home Normaltime Score Sport Event Status Home Overtime Score |
Sport Event Status Home Score Sport Event Status Match Status Sport Event Status Match Tie Sport Event Status Scout Abandoned Sport Event Status Status Sport Event Status Winner Id |
Play by Play Info Data Points: | Away Team Score Ball Location Qualifier Ball Location Order Ball Location X Coordinate Ball Location Y Coordinate Event Break Name Event Card Description Event Commentary Event Competitor Event Coordinate X Event Coordinate Y |
Event Id Event Injury Time Announced Event Match Clock Event Match Time Event Method Event Outcome Event Period Name Event Period Type |
Event Shootout Away Score Event Shootout Home Score Event Stoppage Time Event Type Event Time Home Team Score Sport Event Timeline Delta Id Sport Event Timeline Delta Start Time |
Play Details Data Points: | Assisting Player Id Assisting Player Method Assisting Player Name Assisting Player Type Goal Scorer Id Goal Scorer Method |
Goal Scorer Name Goal Scorer Type Substitution Player In Id Substitution Player In Method Substitution Player In Name |
Substitution Player In Type Substitution Player Out Id Substitution Player Out Method Substitution Player Out Name Substitution Player Out Type |
Note: Pagination will often be required to pull all data within this feed. By default, the feed will return 1,000 player mappings. |
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Mappings Info Data Points: | External Id Id |
Merged Id | Retained Id |
require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/soccer/trial/v4/en/players/sr:player:159665/summaries.xml?api_key={your_api_key}&start=0&limit=75") 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", "/soccer/trial/v4/en/players/sr:player:159665/summaries.xml?api_key={your_api_key}&start=0&limit=75") res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
curl -L GET 'api.sportradar.us/soccer/trial/v4/en/players/sr:player:159665/summaries.xml?api_key={your_api_key}&start=0&limit=75'In addition to the URL parameters listed above, you can paginate the response with one or more of the following optional query string parameters. This will often be required to access all available data in this feed.
Note: Optional query string parameters must be added after your API key with an ampersand (&). |
Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, maximum value is 1000.
Example: limit=1000 | Return to top ## Player Merge Mappings Provides valid ids for players who have had their profiles merged. While Sportradar always strives to provide one unique player id, it is a possibility for two ids to be created. This feed provides the correct id once profiles have been merged.
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Mappings Info Data Points: | Name Id |
Merged Id | Retained Id |
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Competitor Info Data Points: | Competitor Abbreviation Competitor Age Group Competitor Country |
Competitor Country Code Competitor Gender Competitor Id |
Competitor Name Competitor Qualifier Competitor Virtual |
Player Info Data Points: | Country Code Date of Birth Gender Height Id Jersey Number |
Name Nationality Nickname Place of Birth Preferred Foot Team Membership Active Flag |
Team Membership End Date Team Membership Jersey Number Team Membership Start Date Team Membership Type Type Weight |
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Sport & Category Info Data Points: | Category Country Code Category Id |
Category Name Sport Id |
Sport Name |
Competition Info Data Points: | Competition Gender Competition Id Competition Name Competition Parent Id Competition Properties Brackets Competition Properties Missing Players Competition Properties Player Transfer History Competition Properties Schedules Competition Properties Season Player Statistics Competition Properties Season Probabilities Competition Properties Season Stats Leaders |
Competition Properties Season Team Statistics Competition Properties Standings Competition Properties Team Squads Group Group Name Group Id Group Name Round Competition Sport Event Number Round Cup Round Number of Sport Events Round Cup Round Sport Event Number Round Name Round Number Round Other Sport Event Id Season End Date Season Id |
Season Name Season Start Date Season Competition Id Season Year Stage End Date Stage Order Stage Phase Stage Start Date Stage Type Stage Year |
Competitor Info Data Points: | Competitor Abbreviation Competitor Age Group Competitor Country |
Competitor Country Code Competitor Gender Competitor Id |
Competitor Name Competitor Qualifier Competitor Virtual |
Player Info Data Points: | Id | Name | Starter |
Sport Event Info Data Points: | Attendance Count Channel Country Channel Country Code Channel Name Channel URL Coverage Type Ground Neutral Group Properties Brackets Group Properties Cup Group Properties Group Stage Group Properties League Group Properties Missing Players Group Properties Qualification Group Properties Results Group Properties Schedules Group Properties Standings Lineups Confirmed |
Referee Id Referee Name Referee Nationality Referee Country Code Referee Type Sport Event Id Sport Event Replaced By Sport Event Resume Time Sport Event Start Time Sport Event Start Time Confirmed Sport Event Properties Ballspotting Sport Event Properties Basic Play-by-Play Sport Event Properties Basic Player Stats Sport Event Properties Basic Team Stats Sport Event Properties Commentary |
Sport Event Properties Deeper Play-by-Play Sport Event Properties Deeper Player Stats Sport Event Properties Deeper Team Stats Sport Event Properties Extended Player Stats Sport Event Properties Extended Team Stats Sport Event Properties Fun Facts Sport Event Properties Game Clock Sport Event Properties Goal Scorers Sport Event Properties Lineups Sport Event Properties Lineups Availability Sport Event Properties Probabilities Sport Event Properties Scores Sport Event Properties Venue Weather Overall Conditions Weather Pitch Conditions |
Boxscore Info Data Points: | Clock Played Clock Stoppage Time Announced Clock Stoppage Time Played Period Score Away Score Period Score Home Score Period Score Number Period Score Type Match Situation - Qualifier Match Situation - Status |
Match Situation - Updated At Sport Event Status Away Normaltime Score Sport Event Status Away Overtime Score Sport Event Status Away Score Sport Event Status Decided by Fed Sport Event Status Home Normaltime Score Sport Event Status Home Overtime Score |
Sport Event Status Home Score Sport Event Status Match Status Sport Event Status Match Tie Sport Event Status Scout Abandoned Sport Event Status Status Sport Event Status Winner Id |
Play by Play Info Data Points: | Qualifier Order |
X Coordinate | Y Coordinate |
Player Match Statistics Data Points: | Assists Corner Kicks Goals Scored Offsides Own Goals |
Penalties Missed Red Cards Shots Blocked Shots Off Target Shots On Target |
Substituted In Substituted Out Yellow Cards Yellow/Red Cards |
Team Match Statistics Data Points: | Ball Possession Cards Given Corner Kicks Fouls Free Kicks Goal Kicks |
Injuries Offsides Penalties Missed Red Cards Shots Blocked Shots Off Target |
Shots On Target Shots Saved Shots Total Substitutions Throw Ins Yellow Cards Yellow/Red Cards |
Venue Info Data Points: | Capacity Changed City Country |
Country Code Id Map Coordinates |
Name Reduced Capacity Reduced Capacity Max |
require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/soccer/trial/v4/en/players/sr:player:159665/summaries.xml?api_key={your_api_key}&start=0&limit=75") 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", "/soccer/trial/v4/en/players/sr:player:159665/summaries.xml?api_key={your_api_key}&start=0&limit=75") res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
curl -L GET 'api.sportradar.us/soccer/trial/v4/en/players/sr:player:159665/summaries.xml?api_key={your_api_key}&start=0&limit=75'In addition to the URL parameters listed above, you can paginate the response with one or more of the following optional query string parameters. This may be required to access all available data in this feed.
Note: Optional query string parameters must be added after your API key with an ampersand (&). |
Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, maximum value is 200.
Example: limit=200 | Return to top ## Season Competitors Provides a list of teams participating for a given season.
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Competitor Info Data Points: | Abbreviation Id |
Name Short Name |
Competitor Virtual |
TTL / Cache: | 60 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Competition Info Data Points: | Group Id | Group Name | |
Competitor Info Data Points: | Competitor Abbreviation Competitor Age Group Competitor Country |
Competitor Country Code Competitor Gender Competitor Id |
Competitor Name Competitor Qualifier Competitor Virtual |
Standings Data Points: | Draws Form Standing Results Form Standing Type Goals Against |
Goal Difference Goals For Losses Played |
Points Rank Wins |
require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer/trial/v4/en/seasons/sr:season:93741/form_standings.xml?api_key={your_api_key}&limit=3") 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", "/soccer/trial/v4/en/seasons/sr:season:93741/form_standings.xml?api_key={your_api_key}&limit=3") res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
curl -L GET 'api.sportradar.com/soccer/trial/v4/en/seasons/sr:season:93741/form_standings.xml?api_key={your_api_key}&limit=3'In addition to the URL parameters listed above, you can filter the Standings information with the following optional query string parameter.
Note: Optional query string parameters must be added after your API key with an ampersand (&). If you are filtering for more than one result, separate the results with a comma (,) and no spaces. |
Example: round=1 | | `limit` | Number of matches played to display for each team.
Example: limit=2
Note: The max limit is 10, which will show for example
played=10
, win=8
, loss=2
. But the form
will always display a max of 6 matches. |
Return to top
## Season Info
Provides detailed information for a given season, including participating teams and coverage level.
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Sport & Category Info Data Points: | Category Country Code Category Id |
Category Name Sport Id |
Sport Name |
Competition Info Data Points: | Competition Gender Competition Id Competition Name Competition Parent Id Competition Properties Brackets Competition Properties Missing Players Competition Properties Player Transfer History Competition Properties Schedules Competition Properties Season Player Statistics Competition Properties Season Probabilities Competition Properties Season Stats Leaders Competition Properties Season Team Statistics |
Competition Properties Standings Competition Properties Team Squads Group Group Name Group Id Group Max Rounds Group Name Group Parent Group Id Info Competition Status Info Venue Changed Info Venue Reduced Capacity Info Venue Reduced Capacity Max Season End Date |
Season Id Season Name Season Start Date Season Competition Id Season Year Stage End Date Stage Order Stage Phase Stage Start Date Stage Type Stage Year |
Competitor Info Data Points: | Competitor Abbreviation Competitor Age Group Competitor Country |
Competitor Country Code Competitor Gender Competitor Id Competitor Other Season Id |
Competitor Name Competitor Qualifier Competitor Virtual |
Sport Event Info Data Points: | Coverage Type Group Properties Brackets Group Properties Cup Group Properties Group Stage Group Properties League Group Properties Missing Players Group Properties Qualification Group Properties Results Group Properties Schedules |
Group Properties Standings Sport Event Properties Assists Sport Event Properties Ballspotting Sport Event Properties Basic Play-by-Play Sport Event Properties Basic Player Stats Sport Event Properties Basic Team Stats Sport Event Properties Commentary Sport Event Properties Deeper Play-by-Play Sport Event Properties Deeper Player Stats Sport Event Properties Deeper Team Stats |
Sport Event Properties Extended Player Stats Sport Event Properties Extended Team Stats Sport Event Properties Fun Facts Sport Event Properties Game Clock Sport Event Properties Goal Scorers Sport Event Properties Lineups Sport Event Properties Lineups Availability Sport Event Properties Probabilities Sport Event Properties Scores Sport Event Properties Venue |
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Competitor Info Data Points: | Competitor Abbreviation | Competitor Id | Competitor Name |
Player Info Data Points: | Player Id | Player Multiple Competitors | Player Name |
Season Leader Info Data Points: | List Type Leader Rank |
Datapoint Type | Datapoint Value |
Note: Pagination will often be required to pull all data within this feed. By default, the feed will return 200 sport events. |
TTL / Cache: | 30 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Sport & Category Info Data Points: | Category Country Code Category Id |
Category Name Sport Id |
Sport Name |
Competition Info Data Points: | Competition Gender Competition Id Competition Name Competition Parent Id Competition Properties Brackets Competition Properties Missing Players Competition Properties Player Transfer History Competition Properties Schedules Competition Properties Season Player Statistics Competition Properties Season Probabilities Competition Properties Season Stats Leaders |
Competition Properties Season Team Statistics Competition Properties Standings Competition Properties Team Squads Group Group Name Group Id Group Name Round Competition Sport Event Number Round Cup Round Number of Sport Events Round Cup Round Sport Event Number Round Name Round Number Round Other Sport Event Id Season End Date Season Id |
Season Name Season Start Date Season Competition Id Season Year Stage End Date Stage Order Stage Phase Stage Start Date Stage Type Stage Year |
Competitor Info Data Points: | Competitor Abbreviation Competitor Age Group Competitor Country Competitor Country Code Competitor Gender Competitor Id Competitor Name Competitor Qualifier Competitor Virtual Jersey Base Color Jersey Horizontal Stripes |
Jersey Horizontal Stripes Color Jersey Number Color Jersey Shirt Type Jersey Sleeve Color Jersey Sleeve Detail Jersey Split Jersey Split Color Jersey Squares Jersey Squares Color Jersey Stripes |
Jersey Stripes Color Jersey Type Manager Country Code Manager Date of Birth Manager Gender Manager Id Manager Name Manager Nationality Manager Nickname Manager Preferred Foot |
Player Info Data Points: | Country Code Date of Birth Gender Height Id |
Jersey Number Name Nationality Nickname Place of Birth |
Played Preferred Foot Starter Type Weight |
Sport Event Info Data Points: | Attendance Count Channel Country Channel Country Code Channel Name Channel URL Coverage Type Ground Neutral Group Properties Brackets Group Properties Cup Group Properties Group Stage Group Properties League Group Properties Missing Players Group Properties Qualification Group Properties Results Group Properties Schedules Group Properties Standings Lineups Confirmed |
Referee Id Referee Name Referee Nationality Referee Country Code Referee Type Sport Event Id Sport Event Replaced By Sport Event Resume Time Sport Event Start Time Sport Event Start Time Confirmed Sport Event Properties Ballspotting Sport Event Properties Basic Play-by-Play Sport Event Properties Basic Player Stats Sport Event Properties Basic Team Stats Sport Event Properties Commentary |
Sport Event Properties Deeper Play-by-Play Sport Event Properties Deeper Player Stats Sport Event Properties Deeper Team Stats Sport Event Properties Extended Player Stats Sport Event Properties Extended Team Stats Sport Event Properties Fun Facts Sport Event Properties Game Clock Sport Event Properties Goal Scorers Sport Event Properties Lineups Sport Event Properties Lineups Availability Sport Event Properties Probabilities Sport Event Properties Scores Sport Event Properties Venue Weather Overall Conditions Weather Pitch Conditions |
Boxscore Info Data Points: | Clock Played Clock Stoppage Time Announced Clock Stoppage Time Played Period Score Away Score Period Score Home Score Period Score Number Period Score Type Match Situation - Qualifier Match Situation - Status |
Match Situation - Updated At Sport Event Status Away Normaltime Score Sport Event Status Away Overtime Score Sport Event Status Away Score Sport Event Status Decided by Fed Sport Event Status Home Normaltime Score Sport Event Status Home Overtime Score |
Sport Event Status Home Score Sport Event Status Match Status Sport Event Status Match Tie Sport Event Status Scout Abandoned Sport Event Status Status Sport Event Status Winner Id |
Play by Play Info Data Points: | Qualifier Order |
Ball Location X Coordinate | Ball Location Y Coordinate |
Match Lineups Data Points: | Player Order Player Position |
Team Designation | Team Formation |
Venue Info Data Points: | Capacity Changed City Country |
Country Code Id Map Coordinates |
Name Reduced Capacity Reduced Capacity Max |
require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/soccer/trial/v4/en/seasons/sr:season:66441/lineups.xml?api_key={your_api_key}&start=0&limit=75") 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", "/soccer/trial/v4/en/seasons/sr:season:66441/lineups.xml?api_key={your_api_key}&start=0&limit=75") res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
curl -L GET 'api.sportradar.us/soccer/trial/v4/en/seasons/sr:season:66441/lineups.xml?api_key={your_api_key}&start=0&limit=75'In addition to the URL parameters listed above, you can paginate the response with one or more of the following optional query string parameters. This may be required to access all available data in this feed.
Note: Optional query string parameters must be added after your API key with an ampersand (&). |
Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, suggested maximum value is 75.
Example: limit=75 | Return to top ## Season Links Provides information about linked cup rounds for a given season. Use this feed to compile full advancement brackets for relevant seasons/tournaments. Links between all matches and rounds are available when competitors (TBD vs. TBD) are not yet known.
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Competition Info Data Points: | Cup Round Id Cup Round Name Cup Round Order Cup Round State Cup Round Type Cup Round Winner Id |
Group - Group Name Group Id Stage End Date Stage Order Stage Phase |
Stage Start Date Stage Type Stage Year |
Sport Event Info Data Points: | Sport Event Id | Sport Event Start Time | Sport Event Start Time Confirmed |
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Competitor Info Data Points: | Competitor Abbreviation | Competitor Id | Competitor Name |
Player Info Data Points: | Id Missing Reason |
Missing Start Date Name |
Status |
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Competitor Info Data Points: | Competitor Id | Competitor Name | |
Team Season Statistics Data Points: | Over/Under List Type Over/Under - Goals |
Over/Under - Matches Over | Over/Under - Matches Under |
Note: Pagination will often be required to pull all data within this feed. By default, the feed will return 1000 players. |
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Player Info Data Points: | Country Code Date of Birth Display First Name Display Last Name First Name |
Gender Height Id Jersey Number Last Name |
Name Nationality Nickname Type Weight |
require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/soccer/trial/v4/en/seasons/sr:season:66441/players.xml?api_key={your_api_key}&start=0&limit=75") 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", "/soccer/trial/v4/en/seasons/sr:season:66441/players.xml?api_key={your_api_key}&start=0&limit=75") res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
curl -L GET 'api.sportradar.us/soccer/trial/v4/en/seasons/sr:season:66441/players.xml?api_key={your_api_key}&start=0&limit=75'In addition to the URL parameters listed above, you can paginate the response with one or more of the following optional query string parameters. This may be required to access all available data in this feed.
Note: Optional query string parameters must be added after your API key with an ampersand (&). |
Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, maximum value is 1000.
Example: limit=1000 | Return to top ## Season Probabilities Provides 3-way win probabilities (home team win, away team win, draw) for all matches for a given season.
TTL / Cache: | 60 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Sport & Category Info Data Points: | Category Country Code Category Id |
Category Name Sport Id |
Sport Name |
Competition Info Data Points: | Competition Gender Competition Id Competition Name Competition Parent Id Competition Properties Brackets Competition Properties Missing Players Competition Properties Player Transfer History Competition Properties Schedules Competition Properties Season Player Statistics Competition Properties Season Probabilities Competition Properties Season Stats Leaders |
Competition Properties Season Team Statistics Competition Properties Standings Competition Properties Team Squads Group Group Name Group Id Group Name Round Competition Sport Event Number Round Cup Round Number of Sport Events Round Cup Round Sport Event Number Round Name Round Number Round Other Sport Event Id Season End Date Season Id |
Season Name Season Start Date Season Competition Id Season Year Stage End Date Stage Order Stage Phase Stage Start Date Stage Type Stage Year |
Competitor Info Data Points: | Competitor Abbreviation Competitor Age Group Competitor Country |
Competitor Country Code Competitor Gender Competitor Id |
Competitor Name Competitor Qualifier Competitor Virtual |
Sport Event Info Data Points: | Channel Country Channel Country Code Channel Name Channel URL Coverage Type Ground Neutral Group Properties Brackets Group Properties Cup Group Properties Group Stage Group Properties League Group Properties Missing Players Group Properties Qualification Group Properties Results Group Properties Schedules Lineups Confirmed |
Group Properties Standings Sport Event Id Sport Event Replaced By Sport Event Resume Time Sport Event Start Time Sport Event Start Time Confirmed Sport Event Properties Ballspotting Sport Event Properties Basic Play-by-Play Sport Event Properties Basic Player Stats Sport Event Properties Basic Team Stats Sport Event Properties Commentary Sport Event Properties Deeper Play-by-Play Sport Event Properties Deeper Player Stats |
Sport Event Properties Deeper Team Stats Sport Event Properties Extended Player Stats Sport Event Properties Extended Team Stats Sport Event Properties Fun Facts Sport Event Properties Game Clock Sport Event Properties Goal Scorers Sport Event Properties Lineups Sport Event Properties Lineups Availability Sport Event Properties Probabilities Sport Event Properties Scores Sport Event Properties Venue Weather Overall Conditions Weather Pitch Conditions |
Boxscore Info Data Points: | Clock Played Clock Stoppage Time Announced Clock Stoppage Time Played Period Score Away Score Period Score Home Score Period Score Number Period Score Type Match Situation - Qualifier Match Situation - Status |
Match Situation - Updated At Sport Event Status Away Normaltime Score Sport Event Status Away Overtime Score Sport Event Status Away Score Sport Event Status Decided by Fed Sport Event Status Home Normaltime Score Sport Event Status Home Overtime Score |
Sport Event Status Home Score Sport Event Status Match Status Sport Event Status Match Tie Sport Event Status Scout Abandoned Sport Event Status Status Sport Event Status Winner Id |
Play by Play Info Data Points: | Qualifier Order |
X Coordinate | Y Coordinate |
Match Probabilities Data Points: | Away Team Win Probabilities Draw Probabilities |
Home Team Win Probabilities Market Name |
Outcome Name |
Venue Info Data Points: | Capacity Changed City Country |
Country Code Id Map Coordinates |
Name Reduced Capacity Reduced Capacity Max |
require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer/trial/v4/en/seasons/sr:season:66441/probabilities.xml?api_key={your_api_key}&start=200") 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", "/soccer/trial/v4/en/seasons/sr:season:66441/probabilities.xml?api_key={your_api_key}&start=200") res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
curl -L GET 'api.sportradar.com/soccer/trial/v4/en/seasons/sr:season:66441/probabilities.xml?api_key={your_api_key}&start=200'In addition to the URL parameters listed above, you can paginate the response with one or more of the following optional query string parameters.
Note: Optional query string parameters must be added after your API key with an ampersand (&). |
Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, maximum value is 200.
Example: limit=200 | Return to top ## Season Schedule Provides basic match information for all matches for a given season, including scoring and match coverage.
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Sport & Category Info Data Points: | Category Country Code Category Id |
Category Name Sport Id |
Sport Name |
Competition Info Data Points: | Competition Gender Competition Id Competition Name Competition Parent Id Competition Properties Brackets Competition Properties Missing Players Competition Properties Player Transfer History Competition Properties Schedules Competition Properties Season Player Statistics Competition Properties Season Probabilities Competition Properties Season Stats Leaders |
Competition Properties Season Team Statistics Competition Properties Standings Competition Properties Team Squads Group Group Name Group Id Group Name Round Competition Sport Event Number Round Cup Round Number of Sport Events Round Cup Round Sport Event Number Round Name Round Number Round Other Sport Event Id Season End Date Season Id |
Season Name Season Start Date Season Competition Id Season Year Stage End Date Stage Order Stage Phase Stage Start Date Stage Type Stage Year |
Competitor Info Data Points: | Competitor Abbreviation Competitor Age Group Competitor Country |
Competitor Country Code Competitor Gender Competitor Id |
Competitor Name Competitor Qualifier Competitor Virtual |
Sport Event Info Data Points: | Coverage Type Ground Neutral Group Properties Brackets Group Properties Cup Group Properties Group Stage Group Properties League Group Properties Missing Players Group Properties Qualification Group Properties Results Group Properties Schedules |
Group Properties Standings Sport Event Id Sport Event Replaced By Sport Event Resume Time Sport Event Start Time Sport Event Start Time Confirmed Sport Event Properties Ballspotting Sport Event Properties Basic Play-by-Play Sport Event Properties Basic Player Stats Sport Event Properties Basic Team Stats Sport Event Properties Commentary Sport Event Properties Deeper Play-by-Play Sport Event Properties Deeper Player Stats |
Sport Event Properties Deeper Team Stats Sport Event Properties Extended Player Stats Sport Event Properties Extended Team Stats Sport Event Properties Fun Facts Sport Event Properties Game Clock Sport Event Properties Goal Scorers Sport Event Properties Lineups Sport Event Properties Lineups Availability Sport Event Properties Probabilities Sport Event Properties Scores Sport Event Properties Venue |
Boxscore Info Data Points: | Clock Played Clock Stoppage Time Announced Clock Stoppage Time Played Period Score Away Score Period Score Home Score Period Score Number Period Score Type Match Situation - Qualifier Match Situation - Status |
Match Situation - Updated At Sport Event Status Away Normaltime Score Sport Event Status Away Overtime Score Sport Event Status Away Score Sport Event Status Decided by Fed Sport Event Status Home Normaltime Score Sport Event Status Home Overtime Score |
Sport Event Status Home Score Sport Event Status Match Status Sport Event Status Match Tie Sport Event Status Scout Abandoned Sport Event Status Status Sport Event Status Winner Id |
Venue Info Data Points: | Capacity Changed City Country |
Country Code Id Map Coordinates |
Name Reduced Capacity Reduced Capacity Max |
TTL / Cache: | 10 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Competition Info Data Points: | Group - Group Name Group Id Group Name Group Parent Group Id |
Stage End Date Stage Order Stage Phase |
Stage Start Date Stage Type Stage Year |
Competitor Info Data Points: | Competitor Abbreviation Competitor Age Group Competitor Country |
Competitor Country Code Competitor Form Competitor Gender Competitor Id |
Competitor Name Competitor Qualifier Competitor Virtual |
Standings Info Data Points: | Change Current Outcome Draws Goals Against Goals Differential Goals For Group - Group Name Group Comment Text |
Group Id Group Live Group Name Losses Matches Played Points Points Draw Points Loss |
Points Per Game Points Win Rank Round Tie Break Rule Type Wins |
require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer/trial/v4/en/seasons/sr:season:66441/standings.xml?api_key={your_api_key}&round=1") 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", "/soccer/trial/v4/en/seasons/sr:season:66441/standings.xml?api_key={your_api_key}&round=1") res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
curl -L GET 'api.sportradar.com/soccer/trial/v4/en/seasons/sr:season:66441/standings.xml?api_key={your_api_key}&round=1'In addition to the URL parameters listed above, you can filter the Standings information with the following optional query string parameter.
Note: Optional query string parameters must be added after your API key with an ampersand (&). If you are filtering for more than one result, separate the results with a comma (,) and no spaces. |
Example: round=1 | | `live` | Live standings expressed as a boolean value.
Example: live=true | To retrieve the OpenAPI Schema Definition for the Season Standings feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/seasons/getSeasonStandings Return to top ## Season Summaries Provides information for all matches from a given season including scoring and statistics at the match level.
Note: Pagination will often be required to pull all data within this feed. By default, the feed will return 200 sport events. |
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Sport & Category Info Data Points: | Category Country Code Category Id |
Category Name Sport Id |
Sport Name |
Competition Info Data Points: | Competition Gender Competition Id Competition Name Competition Parent Id Competition Properties Brackets Competition Properties Missing Players Competition Properties Player Transfer History Competition Properties Schedules Competition Properties Season Player Statistics Competition Properties Season Probabilities Competition Properties Season Stats Leaders |
Competition Properties Season Team Statistics Competition Properties Standings Competition Properties Team Squads Group Group Name Group Id Group Name Round Competition Sport Event Number Round Cup Round Number of Sport Events Round Cup Round Sport Event Number Round Name Round Number Round Other Sport Event Id Season End Date Season Id |
Season Name Season Start Date Season Competition Id Season Year Stage End Date Stage Order Stage Phase Stage Start Date Stage Type Stage Year |
Competitor Info Data Points: | Competitor Abbreviation Competitor Age Group Competitor Country |
Competitor Country Code Competitor Gender Competitor Id |
Competitor Name Competitor Qualifier Competitor Virtual |
Sport Event Info Data Points: | Attendance Count Channel Country Channel Country Code Channel Name Channel URL Coverage Type Ground Neutral Group Properties Brackets Group Properties Cup Group Properties Group Stage Group Properties League Group Properties Missing Players Group Properties Qualification Group Properties Results Group Properties Schedules Group Properties Standings Lineups Confirmed |
Referee Id Referee Name Referee Nationality Referee Country Code Referee Type Sport Event Id Sport Event Replaced By Sport Event Resume Time Sport Event Start Time Sport Event Start Time Confirmed Sport Event Properties Ballspotting Sport Event Properties Basic Play-by-Play Sport Event Properties Basic Player Stats Sport Event Properties Basic Team Stats Sport Event Properties Commentary |
Sport Event Properties Deeper Play-by-Play Sport Event Properties Deeper Player Stats Sport Event Properties Deeper Team Stats Sport Event Properties Extended Player Stats Sport Event Properties Extended Team Stats Sport Event Properties Fun Facts Sport Event Properties Game Clock Sport Event Properties Goal Scorers Sport Event Properties Lineups Sport Event Properties Lineups Availability Sport Event Properties Probabilities Sport Event Properties Scores Sport Event Properties Venue Weather Overall Conditions Weather Pitch Conditions |
Boxscore Info Data Points: | Clock Played Clock Stoppage Time Announced Clock Stoppage Time Played Period Score Away Score Period Score Home Score Period Score Number Period Score Type Match Situation - Qualifier Match Situation - Status |
Match Situation - Updated At Sport Event Status Away Normaltime Score Sport Event Status Away Overtime Score Sport Event Status Away Score Sport Event Status Decided by Fed Sport Event Status Home Normaltime Score Sport Event Status Home Overtime Score |
Sport Event Status Home Score Sport Event Status Match Status Sport Event Status Match Tie Sport Event Status Scout Abandoned Sport Event Status Status Sport Event Status Winner Id |
Play by Play Info Data Points: | Qualifier Order |
X Coordinate | Y Coordinate |
Player Match Statistics Data Points: | Assists Corner Kicks Goals Scored Offsides Own Goals |
Penalties Missed Red Cards Shots Blocked Shots Off Target Shots On Target |
Substituted In Substituted Out Yellow Cards Yellow/Red Cards |
Team Match Statistics Data Points: | Ball Possession Cards Given Corner Kicks Fouls Free Kicks Goal Kicks |
Injuries Offsides Penalties Missed Red Cards Shots Blocked Shots Off Target |
Shots On Target Shots Saved Shots Total Substitutions Throw Ins Yellow Cards Yellow/Red Cards |
Venue Info Data Points: | Capacity Changed City Country |
Country Code Id Map Coordinates |
Name Reduced Capacity Reduced Capacity Max |
require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/soccer/trial/v4/en/seasons/sr:season:66441/summaries.xml?api_key={your_api_key}&start=0&limit=75") 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", "/soccer/trial/v4/en/seasons/sr:season:66441/summaries.xml?api_key={your_api_key}&start=0&limit=75") res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
curl -L GET 'api.sportradar.us/soccer/trial/v4/en/seasons/sr:season:66441/summaries.xml?api_key={your_api_key}&start=0&limit=75'In addition to the URL parameters listed above, you can paginate the response with one or more of the following optional query string parameters. This will often be required to access all available data in this feed.
Note: Optional query string parameters must be added after your API key with an ampersand (&). |
Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, suggested maximum value is 75.
Example: limit=75 | Return to top ## Season Transfers Provides a list of all player transfers for a given season.
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Competitor Info Data Points: | Competitor Abbreviation Competitor Age Group Competitor Country |
Competitor Country Code Competitor Gender Competitor Id |
Competitor Name Competitor Qualifier Competitor Virtual |
Player Info Data Points: | Country Code Date of Birth Gender Height Id Jersey Number |
Name Nationality Nickname Place of Birth |
Transfer From Competitor Transfer Role Type Transfer To Competitor Type Weight |
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Competitor Info Data Points: | Abbreviation Id |
Name | Short Name |
Player Info Data Points: | Country Code Date of Birth Gender Height Id |
Jersey Number Name Nationality Nickname |
Place of Birth Preferred Foot Type Weight |
TTL / Cache: | 30 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Sport & Category Info Data Points: | Category Country Code Category Id |
Category Name Sport Id |
Sport Name |
Competition Info Data Points: | Competition Id Competition Name Competition Parent Id |
Season Competition Id Season End Date Season Id |
Season Name Season Start Date Season Year |
Competitor Info Data Points: | Competitor Abbreviation Competitor Age Group Competitor Country |
Competitor Country Code Competitor Gender Competitor Id |
Competitor Name Competitor Qualifier Competitor Virtual |
Player Info Data Points: | Id | Name | Starter |
Player Seasonal Statistics Data Points: | Assists Corner Kicks Goals Scored Offsides Own Goals |
Penalties Missed Red Cards Shots Blocked Shots Off Target Shots On Target |
Substituted In Substituted Out Yellow Cards Yellow/Red Cards |
Team Seasonal Statistics Data Points: | Average Ball Possession Cards Given Corner Kicks Free Kicks Goals by Foot Goals by Head Goals Conceded Goals Conceded First Half |
Goals Conceded Second Half Goals Scored Goals Scored First Half Goals Scored Second Half Offsides Penalties Missed Red Cards Shots Blocked |
Shots off Target Shots on Bar Shots on Post Shots on Target Shots Total Yellow Cards Yellow/Red Cards |
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Competition Info Data Points: | Season Competition Id Season End Date |
Season Id Season Name |
Season Start Date Season Year |
TTL / Cache: | 300 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Sport Event Info Data Points: | Match Facts |
TTL / Cache: | 1 second | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Sport & Category Info Data Points: | Category Country Code Category Id |
Category Name Sport Id |
Sport Name |
Competition Info Data Points: | Competition Gender Competition Id Competition Name Competition Parent Id Competition Properties Brackets Competition Properties Missing Players Competition Properties Player Transfer History Competition Properties Schedules Competition Properties Season Player Statistics Competition Properties Season Probabilities Competition Properties Season Stats Leaders |
Competition Properties Season Team Statistics Competition Properties Standings Competition Properties Team Squads Group Group Name Group Id Group Name Round Competition Sport Event Number Round Cup Round Number of Sport Events Round Cup Round Sport Event Number Round Name Round Number Round Other Sport Event Id Season End Date Season Id |
Season Name Season Start Date Season Competition Id Season Year Stage End Date Stage Order Stage Phase Stage Start Date Stage Type Stage Year |
Competitor Info Data Points: | Competitor Abbreviation Competitor Age Group Competitor Country Competitor Country Code Competitor Gender Competitor Id Competitor Name Competitor Qualifier Competitor Virtual Jersey Base Color Jersey Horizontal Stripes |
Jersey Horizontal Stripes Color Jersey Number Color Jersey Shirt Type Jersey Sleeve Color Jersey Sleeve Detail Jersey Split Jersey Split Color Jersey Squares Jersey Squares Color Jersey Stripes |
Jersey Stripes Color Jersey Type Manager Country Code Manager Date of Birth Manager Gender Manager Id Manager Name Manager Nationality Manager Nickname Manager Preferred Foot |
Player Info Data Points: | Country Code Date of Birth Gender Height Id |
Jersey Number Name Nationality Nickname Place of Birth |
Played Preferred Foot Starter Type Weight |
Sport Event Info Data Points: | Attendance Count Channel Country Channel Country Code Channel Name Channel URL Coverage Type Ground Neutral Group Properties Brackets Group Properties Cup Group Properties Group Stage Group Properties League Group Properties Missing Players Group Properties Qualification Group Properties Results Group Properties Schedules Group Properties Standings Lineups Confirmed |
Referee Id Referee Name Referee Nationality Referee Country Code Referee Type Sport Event Id Sport Event Replaced By Sport Event Resume Time Sport Event Start Time Sport Event Start Time Confirmed Sport Event Properties Ballspotting Sport Event Properties Basic Play-by-Play Sport Event Properties Basic Player Stats Sport Event Properties Basic Team Stats Sport Event Properties Commentary |
Sport Event Properties Deeper Play-by-Play Sport Event Properties Deeper Player Stats Sport Event Properties Deeper Team Stats Sport Event Properties Extended Player Stats Sport Event Properties Extended Team Stats Sport Event Properties Fun Facts Sport Event Properties Game Clock Sport Event Properties Goal Scorers Sport Event Properties Lineups Sport Event Properties Lineups Availability Sport Event Properties Probabilities Sport Event Properties Scores Sport Event Properties Venue Weather Overall Conditions Weather Pitch Conditions |
Boxscore Info Data Points: | Clock Played Clock Stoppage Time Announced Clock Stoppage Time Played Period Score Away Score Period Score Home Score Period Score Number Period Score Type Match Situation - Qualifier Match Situation - Status |
Match Situation - Updated At Sport Event Status Away Normaltime Score Sport Event Status Away Overtime Score Sport Event Status Away Score Sport Event Status Decided by Fed Sport Event Status Home Normaltime Score Sport Event Status Home Overtime Score |
Sport Event Status Home Score Sport Event Status Match Status Sport Event Status Match Tie Sport Event Status Scout Abandoned Sport Event Status Status Sport Event Status Winner Id |
Play by Play Info Data Points: | Qualifier Order |
Ball Location X Coordinate | Ball Location Y Coordinate |
Match Lineups Data Points: | Player Order Player Position |
Team Designation | Team Formation |
Venue Info Data Points: | Capacity Changed City Country |
Country Code Id Map Coordinates |
Name Reduced Capacity Reduced Capacity Max |
TTL / Cache: | 1 second | ||
Update Frequency: | Realtime | ||
Content Type: | XML or JSON | ||
Sport & Category Info Data Points: | Category Country Code Category Id |
Category Name Sport Id |
Sport Name |
Competition Info Data Points: | Competition Gender Competition Id Competition Name Competition Parent Id Competition Properties Brackets Competition Properties Missing Players Competition Properties Player Transfer History Competition Properties Schedules Competition Properties Season Player Statistics Competition Properties Season Probabilities Competition Properties Season Stats Leaders |
Competition Properties Season Team Statistics Competition Properties Standings Competition Properties Team Squads Group Group Name Group Id Group Name Round Competition Sport Event Number Round Cup Round Number of Sport Events Round Cup Round Sport Event Number Round Name Round Number Round Other Sport Event Id Season End Date Season Id |
Season Name Season Start Date Season Competition Id Season Year Stage End Date Stage Order Stage Phase Stage Start Date Stage Type Stage Year |
Competitor Info Data Points: | Competitor Abbreviation Competitor Age Group Competitor Country |
Competitor Country Code Competitor Gender Competitor Id |
Competitor Name Competitor Qualifier Competitor Virtual |
Player Info Data Points: | Id | Name | Starter |
Sport Event Info Data Points: | Attendance Count Channel Country Channel Country Code Channel Name Channel URL Coverage Type Ground Neutral Group Properties Brackets Group Properties Cup Group Properties Group Stage Group Properties League Group Properties Missing Players Group Properties Qualification Group Properties Results Group Properties Schedules Group Properties Standings Lineups Confirmed |
Referee Id Referee Name Referee Nationality Referee Country Code Referee Type Sport Event Id Sport Event Replaced By Sport Event Resume Time Sport Event Start Time Sport Event Start Time Confirmed Sport Event Properties Ballspotting Sport Event Properties Basic Play-by-Play Sport Event Properties Basic Player Stats Sport Event Properties Basic Team Stats Sport Event Properties Commentary |
Sport Event Properties Deeper Play-by-Play Sport Event Properties Deeper Player Stats Sport Event Properties Deeper Team Stats Sport Event Properties Extended Player Stats Sport Event Properties Extended Team Stats Sport Event Properties Fun Facts Sport Event Properties Game Clock Sport Event Properties Goal Scorers Sport Event Properties Lineups Sport Event Properties Lineups Availability Sport Event Properties Probabilities Sport Event Properties Scores Sport Event Properties Venue Weather Overall Conditions Weather Pitch Conditions |
Boxscore Info Data Points: | Clock Played Clock Stoppage Time Announced Clock Stoppage Time Played Period Score Away Score Period Score Home Score Period Score Number Period Score Type Match Situation - Qualifier Match Situation - Status |
Match Situation - Updated At Sport Event Status Away Normaltime Score Sport Event Status Away Overtime Score Sport Event Status Away Score Sport Event Status Decided by Fed Sport Event Status Home Normaltime Score Sport Event Status Home Overtime Score |
Sport Event Status Home Score Sport Event Status Match Status Sport Event Status Match Tie Sport Event Status Scout Abandoned Sport Event Status Status Sport Event Status Winner Id |
Play by Play Info Data Points: | Qualifier Order |
X Coordinate | Y Coordinate |
Player Match Statistics Data Points: | Assists Corner Kicks Goals Scored Offsides Own Goals |
Penalties Missed Red Cards Shots Blocked Shots Off Target Shots On Target |
Substituted In Substituted Out Yellow Cards Yellow/Red Cards |
Team Match Statistics Data Points: | Ball Possession Cards Given Corner Kicks Fouls Free Kicks Goal Kicks |
Injuries Offsides Penalties Missed Red Cards Shots Blocked Shots Off Target |
Shots On Target Shots Saved Shots Total Substitutions Throw Ins Yellow Cards Yellow/Red Cards |
Venue Info Data Points: | Capacity Changed City Country |
Country Code Id Map Coordinates |
Name Reduced Capacity Reduced Capacity Max |
TTL / Cache: | 1 second | ||
Update Frequency: | Realtime | ||
Content Type: | XML or JSON | ||
Sport & Category Info Data Points: | Category Country Code Category Id |
Category Name Sport Id |
Sport Name |
Competition Info Data Points: | Competition Gender Competition Id Competition Name Competition Parent Id Competition Properties Brackets Competition Properties Missing Players Competition Properties Player Transfer History Competition Properties Schedules Competition Properties Season Player Statistics Competition Properties Season Probabilities Competition Properties Season Stats Leaders |
Competition Properties Season Team Statistics Competition Properties Standings Competition Properties Team Squads Group Group Name Group Id Group Name Round Competition Sport Event Number Round Cup Round Number of Sport Events Round Cup Round Sport Event Number Round Name Round Number Round Other Sport Event Id Season End Date Season Id |
Season Name Season Start Date Season Competition Id Season Year Stage End Date Stage Order Stage Phase Stage Start Date Stage Type Stage Year |
Competitor Info Data Points: | Competitor Abbreviation Competitor Age Group Competitor Country |
Competitor Country Code Competitor Gender Competitor Id |
Competitor Name Competitor Qualifier Competitor Virtual |
Player Info Data Points: | Id | Name | Starter |
Sport Event Info Data Points: | Attendance Count Channel Country Channel Country Code Channel Name Channel URL Coverage Type Ground Neutral Group Properties Brackets Group Properties Cup Group Properties Group Stage Group Properties League Group Properties Missing Players Group Properties Qualification Group Properties Results Group Properties Schedules Group Properties Standings Lineups Confirmed |
Referee Id Referee Name Referee Nationality Referee Country Code Referee Type Sport Event Id Sport Event Replaced By Sport Event Resume Time Sport Event Start Time Sport Event Start Time Confirmed Sport Event Properties Ballspotting Sport Event Properties Basic Play-by-Play Sport Event Properties Basic Player Stats Sport Event Properties Basic Team Stats Sport Event Properties Commentary |
Sport Event Properties Deeper Play-by-Play Sport Event Properties Deeper Player Stats Sport Event Properties Deeper Team Stats Sport Event Properties Extended Player Stats Sport Event Properties Extended Team Stats Sport Event Properties Fun Facts Sport Event Properties Game Clock Sport Event Properties Goal Scorers Sport Event Properties Lineups Sport Event Properties Lineups Availability Sport Event Properties Probabilities Sport Event Properties Scores Sport Event Properties Venue Weather Overall Conditions Weather Pitch Conditions |
Boxscore Info Data Points: | Clock Played Clock Stoppage Time Announced Clock Stoppage Time Played Period Score Away Score Period Score Home Score Period Score Number Period Score Type Match Situation - Qualifier Match Situation - Status |
Match Situation - Updated At Sport Event Status Away Normaltime Score Sport Event Status Away Overtime Score Sport Event Status Away Score Sport Event Status Decided by Fed Sport Event Status Home Normaltime Score Sport Event Status Home Overtime Score |
Sport Event Status Home Score Sport Event Status Match Status Sport Event Status Match Tie Sport Event Status Scout Abandoned Sport Event Status Status Sport Event Status Winner Id |
Play by Play Info Data Points: | Away Team Score Ball Location Qualifier Ball Location Order Ball Location X Coordinate Ball Location Y Coordinate Event Break Name Event Card Description Event Commentary Event Competitor Event Coordinate X |
Event Coordinate Y Event Id Event Injury Time Announced Event Match Clock Event Match Time Event Method Event Outcome Event Period |
Event Period Name Event Period Type Event Shootout Away Score Event Shootout Home Score Event Stoppage Time Event Type Event Time Home Team Score |
Play Details Data Points: | Assisting Player Id Assisting Player Method Assisting Player Name Assisting Player Type Goal Scorer Id Goal Scorer Method |
Goal Scorer Name Goal Scorer Type Substitution Player In Id Substitution Player In Method Substitution Player In Name |
Substitution Player In Type Substitution Player Out Id Substitution Player Out Method Substitution Player Out Name Substitution Player Out Type |
Player Match Statistics Data Points: | Assists Corner Kicks Goals Scored Offsides Own Goals |
Penalties Missed Red Cards Shots Blocked Shots Off Target Shots On Target |
Substituted In Substituted Out Yellow Cards Yellow/Red Cards |
Team Match Statistics Data Points: | Ball Possession Cards Given Corner Kicks Fouls Free Kicks Goal Kicks |
Injuries Offsides Penalties Missed Red Cards Shots Blocked Shots Off Target |
Shots On Target Shots Saved Shots Total Substitutions Throw Ins Yellow Cards Yellow/Red Cards |
Venue Info Data Points: | Capacity Changed City Country |
Country Code Id Map Coordinates |
Name Reduced Capacity Reduced Capacity Max |
Note: Pagination will often be required to pull all data within this feed. By default, the feed will return 200 sport events. |
TTL / Cache: | 60 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Sport Event Info Data Points: | Active Season Flag | Id | Created At |
require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/soccer/trial/v4/en/sport_events/created.xml?api_key={your_api_key}&start=0&limit=75") 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", "/soccer/trial/v4/ensport_events/created.xml?api_key={your_api_key}&start=0&limit=75") res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
curl -L GET 'api.sportradar.us/soccer/trial/v4/en/sport_events/created.xml?api_key={your_api_key}&start=0&limit=75'In addition to the URL parameters listed above, you can paginate the response with one or more of the following optional query string parameters. This will often be required to access all available data in this feed.
Note: Optional query string parameters must be added after your API key with an ampersand (&). |
Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, maximum value is 200.
Example: limit=200 | Return to top ## Sport Events Removed Provides ids for sport events that have been removed from the API due to an entry error. Ids will remain in the response for 2 weeks.
Note: Pagination will often be required to pull all data within this feed. By default, the feed will return 200 sport events. |
TTL / Cache: | 60 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Sport Event Info Data Points: | Sport Event Removed Id | Sport Event Removed Replaced By |
require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/soccer/trial/v4/en/sport_events/removed.xml?api_key={your_api_key}&start=0&limit=75") 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", "/soccer/trial/v4/ensport_events/removed.xml?api_key={your_api_key}&start=0&limit=75") res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
curl -L GET 'api.sportradar.us/soccer/trial/v4/en/sport_events/removed.xml?api_key={your_api_key}&start=0&limit=75'In addition to the URL parameters listed above, you can paginate the response with one or more of the following optional query string parameters. This will often be required to access all available data in this feed.
Note: Optional query string parameters must be added after your API key with an ampersand (&). |
Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, maximum value is 200.
Example: limit=200 | Return to top ## Sport Events Updated Provides ids for sport events that have been updated in the last 24 hours.
Note: Pagination will often be required to pull all data within this feed. By default, the feed will return 200 sport events. |
TTL / Cache: | 60 seconds | ||
Update Frequency: | As Necessary | ||
Content Type: | XML or JSON | ||
Sport Event Info Data Points: | Sport Event Updated Id | Sport Event Updated - Updated At |
require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/soccer/trial/v4/en/sport_events/updated.xml?api_key={your_api_key}&start=0&limit=75") 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", "/soccer/trial/v4/ensport_events/updated.xml?api_key={your_api_key}&start=0&limit=75") res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
curl -L GET 'api.sportradar.us/soccer/trial/v4/en/sport_events/updated.xml?api_key={your_api_key}&start=0&limit=75'In addition to the URL parameters listed above, you can paginate the response with one or more of the following optional query string parameters. This will often be required to access all available data in this feed.
Note: Optional query string parameters must be added after your API key with an ampersand (&). |
Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, maximum value is 200.
Example: limit=200 | Return to top ## Push Feeds >To best utilize Push feeds, we have included code samples in Ruby, Java and Python which provide 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. ```ruby 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 ``` ```java 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 = "
Note: Optional query string parameters must be added after your API key with an ampersand (&). If you are filtering for more than one result, separate the results with a comma (,) and no spaces. |
Example: competition_id=sr:competition:204 | | `event_id` | Event type expressed as: {event_type}.
Example: event_id=free_kick | | `format` | Format type expressed as: {format}.
Example: format=json | | `season_id` | Season id expressed as: {season_id}.
Example: season_id=sr:season:50039 | | `sport_event_id` | Sport event id expressed as: {sport_event_id}.
Example: sport_event_id=sr:sport_event_id:13644241 | Return to top ## Push Statistics ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer/trial/v4/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 ``` ```python import requests import json r = requests.get("https://api.sportradar.com/soccer/trial/v4/stream/statistics/subscribe", params = {'api_key': 'your_api_key'}, allow_redirects=False) redirect_url = r.headers['Location'] r = requests.get(redirect_url, stream=True) for line in r.iter_lines(): # filter out keep-alive new lines if line: decoded_line = line.decode('utf-8') print(json.loads(decoded_line)) ``` ```shell curl -L "https://api.sportradar.com/soccer/trial/v4/stream/statistics/subscribe?api_key={your_api_key}" ``` > The above command returns json like this. Provides real-time team and player match-level statistics for all live matches. https://api.sportradar.us/soccer/`{access_level}`/`{version}`/stream/statistics/subscribe?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: v4). | | `your_api_key` | Your API key. | ### Optional Query String Parameters >Example including optional query string parameters: ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer/trial/v4/stream/statistics/subscribe?api_key={your_api_key}&format=json&sport_event_id=sr:match:13468929") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import requests import json r = requests.get("https://api.sportradar.com/soccer/trial/v4/stream/statistics/subscribe", params = {'api_key': 'your_api_key', 'format': 'json', 'sr:match:13468929': 'test_this_thing'}, allow_redirects=False) redirect_url = r.headers['Location'] r = requests.get(redirect_url, stream=True) for line in r.iter_lines(): # filter out keep-alive new lines if line: decoded_line = line.decode('utf-8') print(json.loads(decoded_line)) ``` ```shell curl -L GET 'api.sportradar.com/soccer/trial/v4/stream/statistics/subscribe?api_key={your_api_key}&format=json&sport_event_id=sr:match:13468929' ``` 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.
Note: Optional query string parameters must be added after your API key with an ampersand (&). If you are filtering for more than one result, separate the results with a comma (,) and no spaces. |
Example: competition_id=sr:competition:204 | | `event_id` | Event type expressed as: {event_type}.
Example: event_id=free_kick | | `format` | Format type expressed as: {format}.
Example: format=json | | `season_id` | Season id expressed as: {season_id}.
Example: season_id=sr:season:50039 | | `sport_event_id` | Sport event id expressed as: {sport_event_id}.
Example: sport_event_id=sr:sport_event_id:13644241 | Return to top ## Probabilities Feeds This collection of probability feeds is available for licensing as an add-on feature. They are an extension of the Season Probabilities feed in the main package which provides pre-match probabilities for the sport event winner market. The main features of the Probabilities extension (where coverage applies) are:
- Live Probabilities that update throughout game
- Season Outright Probabilities for the Tournament Winner market
- Live Probabilities Coverage indicator for the next 24 hours
A: You can find all the leagues we cover, as well as a breakdown of data offered, via our Coverage Matrix.
Q: Are simulations available for Soccer v4?
A: Simulations for Soccer v4 are not currently available.
Q: How are friendlies handled in the Summary feeds?
A: The Summary feeds will return all Friendlies that have been played the last two weeks and that will be played the next 4 weeks.
Q: What is the Date format?
A: When we present date only values we present these in the ISO 8601 standard format.
ex: 2013-04-03
We use these for attributes that have date and no time (such as birthdate). For more information: https://en.wikipedia.org/wiki/ISO_8601
Q: What time zone are the date time fields presented in?
A: All of our Date/Time attributes are in UTC, presented in the ISO 8601 standard format.
ex: 2013-04-03T18:15:00+00:00
For more information: https://en.wikipedia.org/wiki/ISO_8601
Q: When is coverage information added to the feeds?
A: On the first day of the season.
Q: How can I find the values for various enum data points within the API?
A: Many enum values are listed in the FAQ below. For the most up-to-date values, please see the Schema section of the OpenAPI specification here:
https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.htmlQ: What are the valid sport_event_status – status values?
A: Here are the valid status values and their definitions:
- not_started – The match is scheduled to be played
- started - The match has begun
- live – The match is currently in progress
- postponed – The match has been postponed to a future date
- suspended - The match has been suspended
- match_about_to_start - The match is about to begin
- delayed – The match has been temporarily delayed and will be continued. Typically appears prior to match start
- interrupted - The match began, but coverage has stopped for a short time. Note that match scores may not be updated during this period, the last recorded match score will be displayed instead
- cancelled – The match has been cancelled and will not be played
- ended – The match is over
- closed – The match results have been confirmed
Q: What are the valid sport_event_status – match_status values?
A: Here are the valid match status values and their definitions:
- not_started – The match is scheduled to be played
- started - The match has begun
- 1st_half – The match is in the first half
- 2nd_half – The match is in the second half
- overtime – The match is in overtime
- 1st_extra – The match is in the first extra period
- 2nd_extra – The match is in the second extra period
- awaiting_penalties – Waiting for announcement of penalties
- penalties – Penalties are ongoing
- awaiting_extra_time – Waiting on referee to announce extra time
- interrupted – The match has been interrupted
- abandoned – The match has been abandoned
- postponed – The match has been postponed to a future date
- start_delayed – The match has been temporarily delayed and will be continued
- cancelled – The match has been cancelled and will not be played
- halftime – The match is in halftime
- extra_time_halftime – The match is in extra time halftime
- ended – The match has ended
- aet – The match has ended after extra time
- ap – The match has ended after penalties
Q: What are the valid period type and period name values for events?
A: Here are the valid period name and period type values:
- regular_period
- overtime
- penalties
- interrupted
Q: What are the valid lineup types (player position) values?
A: Here are the valid lineup type
- goalkeeper
- defender
- midfielder
- forward
Q: What are the valid lineups descriptions (player tactical position) values?
A: Here are the valid lineups descriptions:
- goalkeeper
- right back
- central defender
- left back
- right winger
- central midfielder
- left winger
- striker
Q: What are the valid current outcome values?
A: Here are the valid current outcome types
- AFC Champions League
- AFC Cup
- CAF Confederation Cup
- Champions League
- Champions League Qualification
- Champions Round
- Championship Round
- Club Championship
- Conference League Qualification
- Copa Libertadores
- Copa Libertadores Qualification
- Copa Sudamericana
- Cup Winners
- Eliminated
- European Cup
- Final Four
- Final Round
- Finals
- Group Matches
- International Competition
- Main Round
- Next Group Phase
- Placement Matches
- Playoffs
- Preliminary Round
- Promotion
- Promotion Playoff
- Promotion Playoffs
- Promotion Round
- Qualification Playoffs
- Qualified
- Qualifying Round
- Relegation
- Relegation Playoff
- Relegation Playoffs
- Relegation Round
- Semifinal
- Top Six
- UEFA Conference League
- UEFA Conference League Qualification
- UEFA Cup
- UEFA Cup Qualification
- UEFA Europa League
- UEFA Europa League Qualification
- UEFA Intertoto Cup
Q: How do I find out the coverage for a particular match?
A: Within the Summaries, Lineups, and Timeline feeds, find the node for “coverage”. Coverage nodes have three types: season level, group level, and sport_event level.
- The season level describes data coverage you can expect for matches involved in that given season.
- The group level is similar because there exists competitions where coverage levels differ at different stages or in different groups - mostly cup competitions.
- The sport_event level, this exists to describe the data depth of a specific match within the group and season.
Note: There are occasions when the sport_event coverage can vary from the anticipated season coverage and this node exists to highlight that in that event to assist in handling any discrepancies.
Q: How is coverage for a particular match defined?
A: The coverage nodes contain classifications of data types which are expressed as Boolean values or denoted as “live” or “post”, for example: ballspotting="true" commentary="true" extended_play_by_play="true" extended_player_stats="true" extended_team_stats="true" fun_facts="true" goal_scorers="true" scores="live" basic_play_by_play="true" basic_player_stats="true" basic_team_stats="true" lineups="true" deeper_player_stats="true" deeper_team_stats="true".
Q: What are the possible pitch values?
A: Here are the possible pitch values:
- good
- medium
- bad
Q: What are the possible weather conditions?
A: Here are the possible weather conditions:
- indoor
- good
- medium
- bad
- extreme
Q: What are the possible event types?
A: Here are all of the possible event types we log:
- break_start
- canceled_decision_to_var
- corner_kick
- decision_to_var
- decision_to_var_over
- free_kick
- goal_kick
- injury
- injury_return
- injury_time_shown
- match_ended
- match_started
- offside
- penalty_awarded
- penalty_kick
- penalty_missed
- penalty_shootout
- period_score
- period_start
- player_back_from_injury
- possible_decision_to_var
- red_card
- save
- score_change
- shot_off_target
- shot_on_target
- shot_saved
- substitution
- throw_in
- video_assistant_referee
- video_assistant_referee_over
- yellow_card
- yellow_red_card
* Availability of Video Assistant Referee is subject to the VAR capabilities of the league.
Q: How does the possible_goal event type work?
A: This event will occur immediately if one team scores a goal or if they are in a very clear scoring opportunity (1on1 with the goalkeeper, clear shot at an empty net, etc).
Q: What are the possible values for video assistant referee?
A: Here are the valid values:
- goal
- penalty
- red_card
- no_red_card
- no_penalty
- no_goal
Q: What are the possible values for video assistant referee over?
A: Here are the valid values:
- call_stands
- call_overturned
Q: What is the scale of the X Y coordinates?
A: The pitch we use is 100 by 100. Here is a layout of the pitch:0,0 | X | 100,0 | ||
---|---|---|---|---|
Y | 50,50 | |||
0,100 | 100,100 |
X = Horizontal position on the pitch. X is a number between 0 and 100. The reference point 0 is at the home team’s goal.
Y = Vertical position on the pitch. Y is a number between 0 and 100. The reference point 0 is on the top of the pitch where the home team’s goal is on the left hand side.
Q: What are the possible values for referee_assistant type?
A: Here are the valid referee assistant types:
- first_assistant_referee
- second_assistant_referee
- fourth_official
- video_assistant_referee
- first_additional_assistant
- second_additional_assistant
- third_additional_assistant
Q: How does the ball location attribute work?
A: Our scouts mark down the x (lateral) and y (longitudinal) coordinates as observed on the pitch. The data can come in sporadically as events on the field play out, but new ball_location
data is potentially available every 1 sec. This is only available for matches with ballspotting="true"
. The element ball_locations
stores the last four known ball locations, after which the data is not available unless it corresponds with another event in the timeline such as throw_in
, shot_on_goal
etc. The ball_location
order illustrates the most recent location as 4 and the oldest location as 1.
Q: What are markets and what are the different markets?
A: Markets is something you can bet on that we provide probabilities for. Over time we intend to provide more and more markets in the API. Currently the only market we provide is 3-way (will the home team win? Or the away team? Or will it be a draw?).
Q: What are the possible outcomes?
A: Different markets have different outcomes. The available markets are currently:
- home_team_winner
- away_team_winner
- draw
Q: Why don’t I see commentary in the timeline when the coverage has the “commentary” sport_event_property as “true”?
A: Commentary is only available in the feed for a fixed amount of time (14 days typically). The attribute, which denotes that commentary is or was available, remains even after the commentary is removed.
Q: When are fun facts added to the Sport Event Fun Facts feed?
A: Fun facts appear in the feed starting 7 days before a match and are available for a fixed amount of time (14 days typically).
Q: How is the order value in the Lineups feed organized?
A: Order number 1 is always the goalie (star marking) and formations as well as numbering should start with the goalkeeper. In the example diagram the formation 4-2-3-1 is used.
4 is the number of players in the line in front of the goalkeeper, then comes the line with 2 players and so on. Numbering in every line starts at the right-hand side of the goalkeeper – this causes the numbering to be mirrored for home and away team.
Q: What are the possible reasons for a player to appear in the Missing Players feed?
A: Listed below are the reasons why a player may appear in the missing players feed:
- injured
- ill
- other
- suspension
Q: What are the possible values for stage – phase in the feeds?
A: Listed below are the values for phase:
- 1st_part_of_season_1st_leg
- 2nd_part_of_season_2nd_leg
- 3rd_round
- champions_round
- conference
- division
- final_eight
- final_four
- final_phase
- final_round
- final_stage
- grand_final
- grand_finals
- group_phase_1
- group_phase_2
- knockout_stage
- main_round_1
- main_round_2
- none
- placement_matches
- placement_matches_13_to_16
- placement_matches_5_to_8
- placement_matches_9_to_12
- placement_matches_9_to_16
- playoffs
- playout
- pre-season
- preliminary_round
- president_cup
- promotion_playoffs
- promotion_round
- qualification
- qualification_playoffs
- qualification_to_allsvenskan
- regular season
- relegation_playoffs
- relegation_promotion
- relegation_promotion_round
- relegation_round
- stage_1
- stage_1 no_stats
- stage_2
- stage_2 no_stats
- stage_3
- uefa_europa_league_playoffs
Q: How long is full match data available for matches in the API?
A: Match data is archived after one year and you will only be able to service basic score information from the API feeds. A historical statistics API for Soccer is on the roadmap, but no ETA is available at this time.
Q: What are the possible values for event – time_description in the feeds?
A: Listed below are some of the values for time descriptions on yellow/red cards.
- pre_match
- half_time
- post_match
Q: What are the possible values for list – type in the leaders feeds?
A: Listed below are the values for list - type. Note: Not all values may be available for each season, based on the coverage available for that season.
- points
- goals
- assists
- red_cards
- yellow_cards
- yellow_red_cards
- own_goals
- shots_on_target
- shots_off_target
- goals_by_head
- goals_by_penalty
- clearances
- interceptions
- chances_created
- crosses_successful
- passes_successful
- long_passes_successful
- tackles_successful
- clean_sheets
- penalties_saved
- dribbles_completed
- loss_of_possession
- minutes_played
Q: What are the possible values for event – card_description in the timeline feeds?
A: Listed below are the values for event – card_description.
- pre_match
- half_time
- post_match
- player_on_bench
- first_half
- second_half
- during_penalty_shootout
Q: Why does the coverage of past seasons not match the data in the feeds?
A: Coverage properties are set at a competition level and only reflect the current or last season of that competition. Previous seasons may have greater or lesser coverage.
Q: When does the Lineups Availability update in the feeds?
A: The lineups_availability data is updated 30 days before the sport event is scheduled to begin.
Q: What are the possible values for sport_event_properties – lineups_availability in the summary and timeline feeds?
A: Listed below are the values for sport_event_properties – lineups_availability:
- pre
- post
Q: How do you define Team Statistics and Player Statistics as sport_event_properties in terms of coverage?
A: We define those properties as:
Team Statistics:
basic_team_stats: yellow_cards, yellow_red_cards, red_cards.
deeper_team_stats: corner_kicks, shots_total, shots_on_target, shots_off_target, shots_blocked, ball_possession, free_kicks, offsides, goal_kicks, throw_ins, shots_saved, fouls, and injuries.
Player Statistics:
basic_player_stats: goals_scored, yellow_cards, yellow_red_cards, red_cards, own_goals, assists, substituted_in, and substituted_out.
deeper_player_stats: offsides, corner_kicks, shots_on_target, shots_off_target, and shots_blocked.
Q: How do you define basic and deeper play by play in terms of coverage?
A: Basic_play_by_play includes score_change, cards, and substitutions. Deeper_play_by_play includes all other event types.
Q: How are replay cup matches handled in the feeds?
A: Within the Summary, Timeline, or Lineups feeds you can locate the round data for a given match. In that round data you can find the number of matches in the cup round (cup_round_number_of_sport_events) and the number of the given match in the cup round (cup_round_sport_event_number). The values for cup_round_sport_event_number are detailed below:
- 1 = Replay
- 2 = 1st Replay
- 3 = 2nd Replay
Q: How are group IDs delivered in the stage array with the various types?
A: With the type of "league" they will have a sr:league prefix. With the type of "cup" they will have a sr:cup prefix.
Q: Which regions are covered with TV Channel data?
A: We offer Network TV data for the United States. This will be available for MLS, World Cup, EPL, UEFA Champions League, Bundesliga, Liga MX, and Gold Cup.
Q: Why does the coverage of a cup competition not match the data in the feeds?
A: For cup competitions, coverage levels may vary from the early rounds to latter stages. Coverage properties are set at a competition level and will display the best coverage we offer for a sport event in this competition.
Q: How are the seasonal competitor statistics handled within the feed?
A: Statistics from any qualification rounds will not be displayed. The feed will only display data from the main competition.
Q: How do you define the key data points?
Data Points | Type of Data Point | Definition |
---|---|---|
Goal | regular | A goal is assigned to a player of the attacking team if his shot taken by foot, head or any other part of the body leads to a score. All attempts are counted. Uncontrolled deflections resulting in a goal will be attributed to the player who kicked the ball, not the player who deflects the ball. |
own goal | When a defender kicks or heads the ball into the defender’s goal with the intent of making a pass to a teammate or of clearing the ball and it is obvious that no other player of the attacking team tried a shot on target, a goal is recorded as an "own goal". An "own goal" counts towards the offensive team's season statistics. No assist shall be given to the attacking team. If an attacking player shots on goal and the defender deflects the ball into the net, in a controlled action it will be deemed an own goal. If two players of the defending team touched the ball, the player who last touched it is the own goal scorer. |
|
Assist | in general |
An assist considered to be a contribution by a player which directly helps a teammate to score a goal. In order to be considered for an assist a player needs to have given the last successful pass. However, the last successful pass does not necessarily automatically constitute an assist. |
counted |
|
|
not counted |
|
|
Throw-In | If the ball crosses any of the side lines by its diameter, the game will continue with a throw-in. | |
Free kicks | team statistics | In accordance with the rules, a free kick stat counted for the team who executes a free kick. Direct or indirect free kicks are all counted as free kicks. |
Goal kick | team statistics | Total number of kicks awarded to the team as a result of the ball traveling out of bounds over the goal line of the defending team |
Throw ins | team statistics | Total number of thrown in events for a team |
Offsides | team statistics | Total number of offside infringements awarded against a team. |
Fouls | team statistics | Total number of fouls awarded against a team (including those which draw cards) |
Corner Kicks | team statistics | Total number of corner kicks taken by a team. |
Shots Saved | team statistics | Total number of goal keeper saves attributed to a team. |
Ball Possession | team statistics | Ball possession is the amount of time a team has possession of the ball. It is calculated in percentage, and the total amount of time the match is being played is considered 100%. |
Q: What prompts a match to appear in Sport Events Updated?
A: Changes to score, match status, or schedule in last 24 hours would cause a match to display in this endpoint.
Q: How will a sport event behave when it is not covered with live scores?
A: When a sport_event is not covered live, the status and match_status will remain as not_started until results are entered post-match.
Q: How is the minutes_played statistic calculated?
A: Minutes played is calculated based on 90 minutes in the match. We do not include stoppage_time.
Q: Do you cover VAR events?
A: VAR events are supported with events 'video_assistant_referee' & 'video_assistant_referee_over' however we cannot guarantee the accuracy or frequency of these events.
Q: How are “live” feeds handled in the API?
A: Sport Events appear in the feed 10 minutes before the scheduled start time and are removed 10 minutes after the Sport Event is ended.
Q: What is the probabilities package?
A: The probabilities package is an add-on set of feeds that are an extension of the Season Probabilities feed in the main package (which already provides pre-match probabilities for the sport event winner market). The main features of the Probabilities extension are: Live Probabilities that update throughout game, Season Outright Probabilities for the Tournament Winner market, and Live Probabilities Coverage indicator for the next 24 hours.
Q: Is there Live Probability coverage for every game you cover in the Soccer API?
A: Live Probability coverage depends on a number of factors and we can’t guarantee that every game will be covered for any given league, however, Sportradar covers tens of thousands of sport events across hundreds of leagues. For individual competition coverage, contact sales@sportradar.com
Q: What are the possible standings types I can observe in the Standings feed?
A: Listed below are the values for standing – type.
- total
- home
- away
- first_half_total
- first_half_home
- first_half_away
- second_half_total
- second_half_home
- second_half_away
Q: Why can't I find a particular match in the Daily Summaries, Live Summaries, Season Summaries or Sport Events Updated feeds?
A: These endpoints support pagination and return 200 entries by default. To return more matches, an additional query string parameter must be used after your API key. For example, appending &start=200 will return the next 200 entries per page, &start=400 will return the next 200, and so on.
Q: Do you have player transfer data available?
A: We use roles from player profiles to create a Season Transfers endpoint. This will display any player recently assigned to a team in a season that is covered by our squad coverage and has player_transfer_history="true"
.
This can include youth players that have recently been added to a matchday squad. If there is no previous club within 10 days, then this will be understood to be a free agent and therefore no from_competitor
will display. For transfer_date
, we use multiple sources and cannot guarantee the accuracy.
Q: Why does the change attribute not update for Live Standings?
A: The ‘change’ attribute is only available post-match and will display movement from the previous gameweek/round.
Q: When will lineups confirmed show as true?
A: Lineups information will display as they are entered. Once completed, they are then confirmed at which point the attribute for lineups confirmed will update to true
. This will only show for matches that have lineups_availability="pre"
Q: Are Live Standings available?
A: Live standings are delivered by default in the Standings endpoint. Live standings use an automatic set of tiebreaker rules that are calculated based on the scores while matches are in progress. We recommend adding the parameter live=false
to a Standings request to retrieve standings when matches are not in progress. This will consider any additional tie-break criteria that a competition may use if competitors are level.
Q: How do I locate the TTL (Time to Live)/cache on an API endpoint?
A: The cache (in seconds) can be accessed in the returned header information on each RESTful API call, under cache-control
.
ex. cache-control: max-age=1, public, s-maxage=1
or
cache-control: public, must-revalidate, max-age=120
Q: What are the possible values for cup_round
– state
in the Season Links feed?
A: Listed below are the values and definitions for cup_round
- state
. These can be leveraged to determine the status of a cup round.
empty
- A matchup has been created but neither the match details nor the competitors are known.unseeded_fixture
- Match details are known but competitors are unknown.partial_seeded
- One competitor is known.partial_seeded_fixture
- Match details and one competitor are known.seeded
- Both competitors are known.seeded_fixture
- Match details and both competitors are known.unstarted
- Match(es) have been added.on_going
- The first match has started.decided
- The last match has ended.winner
- The winner is known.cancelled
– The matchup has been cancelled.
Q: What are the possible values for match situation status (match_situation.status
)?
A: Listed below are the values and definitions for match_situation
- status
. These can be leveraged to determine the status of a ball in play.
safe
- Team in possession of the ball is inside their defensive halfdangerous
- Team in possession is in the opponent’s half but not near the penalty boxattack
- Team in possession is in the opponent’s half, near the penalty box
Docs Navigation
- Documentation
- Football (American Football)
- Football (Soccer)
- Australian Rules Football
- Baseball
- Basketball
- NBA v8
- NBA v7
- NBA v5
- NBA v4
- WNBA v8
- WNBA v7
- WNBA v4
- WNBA v3
- NBA G League v8
- NBA G League v7
- NBA G League v5
- NCAA Men's Basketball v8
- NCAA Men's Basketball v7
- NCAA Men's Basketball v4
- NCAA Men's Basketball v3
- NCAA Women's Basketball v8
- NCAA Women's Basketball v7
- NCAA Women's Basketball v3
- Global Basketball v2
- Global Basketball v1
- NBA Historical v1
- Combat Sports
- Cricket
- Editorial Content
- Golf
- Handball
- Hockey
- Images
- Insights
- Insights User Interface
- NBA Insights v1
- NHL Insights v1
- MLB Insights v1
- NFL Insights v1
- MLB Betting Splits v2
- MLB Betting Splits v1
- NBA Betting Splits v2
- NBA Betting Splits v1
- NCAAFB Betting Splits v2
- NCAAFB Betting Splits v1
- NCAAMB Betting Splits v2
- NCAAMB Betting Splits v1
- NFL Betting Splits v2
- NFL Betting Splits v1
- NHL Betting Splits v2
- NHL Betting Splits v1
- Soccer Betting Splits v2
- Soccer Betting Splits v1
- Odds
- Racing
- Rugby
- Tennis
- Widgets
- Baseline Sports Coverage
- Badminton v2
- Badminton v1
- Bandy v2
- Bandy v1
- Beach Soccer v2
- Beach Soccer v1
- Curling v2
- Curling v1
- Cycling v2
- Darts v2
- Darts v1
- Field Hockey v2
- Field Hockey v1
- Floorball v2
- Floorball v1
- Futsal v2
- Futsal v1
- Pesapallo v2
- Pesapallo v1
- Snooker v2
- Snooker v1
- Squash v2
- Squash v1
- Table Tennis v2
- Volleyball (Beach) v2
- Volleyball (Beach) v1
- Volleyball (Indoor) v2
- Volleyball (Indoor) v1
- Waterpolo v2
- Waterpolo v1
- Winter Sports v1