Soccer Extended v4

Frequently Asked Questions
Quick Access
Postman Collection XSD Schema
Download
## Soccer API Overview Our Soccer API provides real-time game updates and a vast database of supplementary statistics for the largest leagues in the world. Data is collected via Sportradar on-venue scouts and in-house operators. Over 650 unique competitions are available in one package. See our Coverage Matrix for a detailed breakdown of competitions and data offered. The Soccer API is consistent in structure, format and behavior with the other General Sport APIs. Primary feeds will return seasons, competitions, team/player data and real-time scores. Additional feeds provide a host of complementary stats, including:
  • 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
Real-time customers are also offered two delivery Push Feeds to enhance speed. An extra package containing extended statistics is also available. This package includes live extended match player stats for:
  • Minutes
  • Passing
  • Tackles
  • Crosses
  • Blocks/Saves
  • Fouls
  • Offsides
An extended Probabilities package is also offered. This add-on includes in-game probability updates and season outrights.
API API Version
Soccer Extended v4
Note: Each league group requires a separate API key and authentication is required for all API calls.
## Soccer Extended v4 API Map To best utilize the Soccer Extended v4 API, you will need several parameters to create your API calls. The map below illustrates how you can obtain the parameters you need. >

Examples:

>To find the fun facts for a given match: >
  1. Call the daily summaries for the date of the match and find the Sport Event Id for the chosen match
  2. Call the Sport Event Fun Facts using the Sport Event Id
  3. Locate the Fact Statement
>The fun facts for the match are displayed. >
    >To find a teams number of goals by headers for the current season: >
    1. Call the daily summaries and find the desired Competitor Id
    2. Make note of the Season Id for the current season
    3. Call the seasonal competitor statistics using the Team Id and Season Id
    4. Locate the statistics - goals_by_head
    >The teams number of goals by headers is displayed. Primary and mapping feeds only require dates, human-readable parameters or a Competition Id (which can be found in the competitions endpoint), while other feeds require a global unique identifier (GUID) to identify the sport event, competitor, or player that the feed will describe. The primary feeds provide GUIDs for sport events, competitions, and competitors, while sport event and competitors provide GUIDS for players. * - Available only with the probabilities plan within the Soccer v4 package. See FAQ for details. ## Soccer v4 Failover Information

    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:

    1. 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.
    2. 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.
    ## Competition Info Provides the name, id, and parent id for a given competition.
    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: Gender
    Id
    Name Parent Id
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/competitions/sr:competition:17/info.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/competitions/sr:competition:17/info.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/competitions/sr:competition:17/info.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Competition Info feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/competitions/`{competition_id}`/info.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `competition_id` | Id of a given competition. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Competition Info feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/competitions/getCompetitionInfo Return to top ## Competition Seasons Provides historical season information for a given competition. Competitions will return a maximum of three seasons of data, including current or newly created seasons.
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/competitions/sr:competition:17/seasons.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/competitions/sr:competition:17/seasons.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/competitions/sr:competition:17/seasons.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Competition Seasons feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/competitions/`{competition_id}`/seasons.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `competition_id` | Id of a given competition. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Competition Seasons feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/competitions/getCompetitionSeasons Return to top ## Competitions Provides a list of all available Soccer competitions.
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/competitions.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/competitions.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/competitions.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Competitions feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/competitions.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Competitions feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/competitions/getCompetitions Return to top ## Competitor Mappings Provides competitor id mapping between previous versions of the Soccer API.
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/competitors/mappings.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/competitors/mappings.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/competitors/mappings.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Competitor Mappings feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/competitors/mappings.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Competitor Mappings feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/competitors/getCompetitorMappings Return to top ### Optional Query String Parameters >Example including optional query string parameters:
    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 (&).
    Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `start` | Number to start the list of results from.
    Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, maximum value is 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. Entries are retained in this endpoint for one week.
    TTL / Cache: 300 seconds
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Mappings Info Data Points: Name
    Id
    Merged Id Retained Id
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/competitors/merge_mappings.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/competitors/merge_mappings.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/competitors/merge_mappings.xml?api_key={your_api_key}" ``` Access the Competitor Merge Mappings feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/competitors/merge_mappings.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Competitor Merge Mappings feed, use the following URL. https://api.sportradar.com/soccer-extended/trial/v4/openapi/swagger/index.html#/mappings/getCompetitorMergeMappings Return to top ## Competitor Profile Provides top-level information for a given team, including the full team roster, manager, home venue, and team colors.
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/competitors/sr:competitor:44/profile.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/competitors/sr:competitor:44/profile.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/competitors/sr:competitor:44/profile.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Competitor Profile feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/competitors/`{competitor_id}`/profile.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `competitor_id` | Id of a given competitor. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Competitor Profile feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/competitors/getCompetitorProfile Return to top ## Competitor Summaries Provides previous and upcoming match information for a given competitor, including statistics for past matches and scheduling info for upcoming matches.
    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 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
    Chances Created
    Clearances
    Corner Kicks
    Crosses Successful
    Crosses Total
    Defensive Blocks
    Diving Saves
    Dribbles Completed
    Fouls Committed
    Goals by Head
    Goals by Penalty
    Goals Conceded
    Goals Scored
    Interceptions
    Long Passes Successful
    Long Passes Total
    Long Passes Unsuccessful
    Loss of Possession
    Minutes Played
    Offsides
    Own Goals
    Passes Successful
    Passes Total
    Passes Unsuccessful
    Penalties Faced
    Penalties Missed
    Penalties Saved
    Red Cards
    Shots Blocked
    Shots Faced Saved
    Shots Faced Total
    Shots off Target
    Shots on Target
    Substituted In
    Substituted Out
    Tackles Successful
    Tackles Total
    Was Fouled
    Yellow Cards
    Yellow/Red Cards
    Team Match Statistics Data Points: Ball Possession
    Cards Given
    Corner Kicks
    Fouls
    Free Kicks
    Goal Kicks
    Injuries
    Offsides
    Penalties
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/competitors/sr:competitor:44/summaries.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/competitors/sr:competitor:44/summaries.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/competitors/sr:competitor:44/summaries.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Competitor Summaries feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/competitors/`{competitor_id}`/summaries.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `competitor_id` | Id of a given competitor. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Competitor Summaries feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/competitors/getCompetitorSummaries Return to top ## Competitor vs Competitor Provides previous and upcoming matches between two teams including scoring information, player and team match statistics.
    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 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
    Chances Created
    Clearances
    Corner Kicks
    Crosses Successful
    Crosses Total
    Defensive Blocks
    Diving Saves
    Dribbles Completed
    Fouls Committed
    Goals by Head
    Goals by Penalty
    Goals Conceded
    Goals Scored
    Interceptions
    Long Passes Successful
    Long Passes Total
    Long Passes Unsuccessful
    Loss of Possession
    Minutes Played
    Offsides
    Own Goals
    Passes Successful
    Passes Total
    Passes Unsuccessful
    Penalties Faced
    Penalties Missed
    Penalties Saved
    Red Cards
    Shots Blocked
    Shots Faced Saved
    Shots Faced Total
    Shots off Target
    Shots on Target
    Substituted In
    Substituted Out
    Tackles Successful
    Tackles Total
    Was Fouled
    Yellow Cards
    Yellow/Red Cards
    Team Match Statistics Data Points: Ball Possession
    Cards Given
    Corner Kicks
    Fouls
    Free Kicks
    Goal Kicks
    Injuries
    Offsides
    Penalties
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/competitors/sr:competitor:44/versus/sr:competitor:42/summaries.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/competitors/sr:competitor:44/versus/sr:competitor:42/summaries.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/competitors/sr:competitor:44/versus/sr:competitor:42/summaries.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Competitor vs Competitor feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/competitors/`{competitor_id}`/versus/`{competitor_id2}`/summaries.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `competitor_id` | Id of a given competitor. | | `competitor_id2` | Id of a given competitor. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Competitor vs Competitor feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/summaries/getCompetitorVersusSummaries Return to top ## Daily Summaries Provides match information for a given day including team scoring, player and team match statistics.
    Note: Pagination will often be required to pull all data within this feed. By default, the feed will return 100 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 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
    Chances Created
    Clearances
    Corner Kicks
    Crosses Successful
    Crosses Total
    Defensive Blocks
    Diving Saves
    Dribbles Completed
    Fouls Committed
    Goals by Head
    Goals by Penalty
    Goals Conceded
    Goals Scored
    Interceptions
    Long Passes Successful
    Long Passes Total
    Long Passes Unsuccessful
    Loss of Possession
    Minutes Played
    Offsides
    Own Goals
    Passes Successful
    Passes Total
    Passes Unsuccessful
    Penalties Faced
    Penalties Missed
    Penalties Saved
    Red Cards
    Shots Blocked
    Shots Faced Saved
    Shots Faced Total
    Shots off Target
    Shots on Target
    Substituted In
    Substituted Out
    Tackles Successful
    Tackles Total
    Was Fouled
    Yellow Cards
    Yellow/Red Cards
    Team Match Statistics Data Points: Ball Possession
    Cards Given
    Corner Kicks
    Fouls
    Free Kicks
    Goal Kicks
    Injuries
    Offsides
    Penalties
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/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 ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/schedules/2019-07-23/summaries.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/schedules/2019-07-23/summaries.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Daily Summaries feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/schedules/`{year}`-`{month}`-`{day}`/summaries.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `year` | Year in 4 digit format (YYYY). | | `month` | Month in 2 digit format (MM). | | `day` | Day in 2 digit format (DD). | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Daily Summaries feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/summaries/getScheduleSummaries ### Optional Query String Parameters >Example including optional query string parameters:
    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/soccer-extended/trial/v4/en/schedules/2019-07-23/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-extended/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-extended/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 lineup information 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 (&).
    Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `start` | Number to start the list of results from.
    Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, maximum value is 100.
    Example: limit=100 | 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 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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/sport_events/sr:sport_event:18427304/league_timeline.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/sport_events/sr:sport_event:18427304/league_timeline.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/sport_events/sr:sport_event:18427304/league_timeline.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the League Timeline feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/sport_events/`{sport_event_id}`/league_timeline.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `sport_event_id` | Id of a given sport event. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the League Timeline feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/sport_events/getSportEventTimeline Return to top ## Live Summaries Provides match information for all currently live matches including team scoring, player and team match statistics. This feed updates in real time as matches are played. Matches appear a few minutes before kick-off and disappear a few minutes after the match reaches “ended” status.
    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 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
    Chances Created
    Clearances
    Corner Kicks
    Crosses Successful
    Crosses Total
    Defensive Blocks
    Diving Saves
    Dribbles Completed
    Fouls Committed
    Goals by Head
    Goals by Penalty
    Goals Conceded
    Goals Scored
    Interceptions
    Long Passes Successful
    Long Passes Total
    Long Passes Unsuccessful
    Loss of Possession
    Minutes Played
    Offsides
    Own Goals
    Passes Successful
    Passes Total
    Passes Unsuccessful
    Penalties Faced
    Penalties Missed
    Penalties Saved
    Red Cards
    Shots Blocked
    Shots Faced Saved
    Shots Faced Total
    Shots off Target
    Shots on Target
    Substituted In
    Substituted Out
    Tackles Successful
    Tackles Total
    Was Fouled
    Yellow Cards
    Yellow/Red Cards
    Team Match Statistics Data Points: Ball Possession
    Cards Given
    Corner Kicks
    Fouls
    Free Kicks
    Goal Kicks
    Injuries
    Offsides
    Penalties
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/schedules/live/summaries.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/schedules/live/summaries.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/schedules/live/summaries.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Live Summaries feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/schedules/live/summaries.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Live Summaries feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/summaries/getScheduleLiveSummaries Return to top ## Live Timelines Provides a play-by-play event timeline for currently live matches. Matches appear a few minutes before kick-off and disappear a few minutes after the match reaches “ended” status.
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/schedules/live/timelines.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/schedules/live/timelines.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/schedules/live/timelines.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Live Timelines feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/schedules/live/timelines.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Live Timelines feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/timelines/getLiveTimelines Return to top ## Live Timelines Delta Provides a 10 second live delta of match information, including scoring and a play-by-play event timeline.
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/schedules/live/timelines_delta.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/schedules/live/timelines_delta.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/schedules/live/timelines_delta.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Live Timelines Delta feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/schedules/live/timelines_delta.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Live Timelines Delta feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/timelines/getLiveTimelinesDelta Return to top ## Player Mappings Provides player id mapping between previous versions of the Soccer API.
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/players/mappings.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/players/mappings.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/players/mappings.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Player Mappings feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/players/mappings.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Player Mappings feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/players/getPlayerMappings Return to top ### Optional Query String Parameters >Example including optional query string parameters:
    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 (&).
    Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `start` | Number to start the list of results from.
    Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, maximum value is 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. Entries are retained in this endpoint for one week.
    TTL / Cache: 300 seconds
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Mappings Info Data Points: Name
    Id
    Merged Id Retained Id
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/players/merge_mappings.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/players/merge_mappings.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/players/merge_mappings.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Player Merge Mappings feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/players/merge_mappings.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Player Merge Mappings feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/players/getPlayerMergeMappings Return to top ## Player Profile Provides player information, including current and historical team membership info.
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/players/sr:player:159665/profile.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/players/sr:player:159665/profile.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/players/sr:player:159665/profile.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Player Profile feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/players/`{player_id}`/profile.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `player_id` | Id of a given player. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Player Profile feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/players/getPlayerProfile Return to top ## Player Summaries Provides match info and statistics for the past 10 matches in which a given player participated.
    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 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
    Chances Created
    Clearances
    Corner Kicks
    Crosses Successful
    Crosses Total
    Defensive Blocks
    Diving Saves
    Dribbles Completed
    Fouls Committed
    Goals by Head
    Goals by Penalty
    Goals Conceded
    Goals Scored
    Interceptions
    Long Passes Successful
    Long Passes Total
    Long Passes Unsuccessful
    Loss of Possession
    Minutes Played
    Offsides
    Own Goals
    Passes Successful
    Passes Total
    Passes Unsuccessful
    Penalties Faced
    Penalties Missed
    Penalties Saved
    Red Cards
    Shots Blocked
    Shots Faced Saved
    Shots Faced Total
    Shots off Target
    Shots on Target
    Substituted In
    Substituted Out
    Tackles Successful
    Tackles Total
    Was Fouled
    Yellow Cards
    Yellow/Red Cards
    Team Match Statistics Data Points: Ball Possession
    Cards Given
    Corner Kicks
    Fouls
    Free Kicks
    Goal Kicks
    Injuries
    Offsides
    Penalties
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/players/sr:player:159665/summaries.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/players/sr:player:159665/summaries.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/players/sr:player:159665/summaries.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Player Summaries feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/players/`{player_id}`/summaries.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `player_id` | Id of a given player. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Player Summaries feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/players/getPlayerSummaries ### Optional Query String Parameters >Example including optional query string parameters:
    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/soccer-extended/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-extended/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-extended/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 lineup information 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 (&).
    Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `start` | Number to start the list of results from.
    Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, maximum value is 200.
    Example: limit=200 | Return to 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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/competitors.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/seasons/sr:season:83706/competitors.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/competitors.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Season Competitors feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/seasons/`{season_id}`/competitors.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `season_id` | Id of a given season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Season Competitors feed, use the following URL. https://api.sportradar.com/soccer/production/v4/openapi/swagger/index.html#/seasons/getSeasonCompetitors Return to top ## Season Form Standings Provides a form table of game results and splits for a given season. Table displays W/D/L (win/draw/loss) for a maximum of 6 matches for each team.
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:93741/form_standings.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/seasons/sr:season:93741/form_standings.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:93741/form_standings.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Season Standings feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/seasons/`{season_id}`/form_standings.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `season_id` | Id of a given season. | | `format` | xml or json. | | `your_api_key` | Your API key. | ### Optional Query String Parameters >Example including optional query string parameters:
    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:93741/form_standings.xml?api_key={your_api_key}&limit=2")
    
    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-extended/trial/v4/en/seasons/sr:season:93741/form_standings.xml?api_key={your_api_key}&limit=2")
    
    res = conn.getresponse()
    data = res.read()
    
    print(data.decode("utf-8"))
    
    curl -L GET 'api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:93741/form_standings.xml?api_key={your_api_key}&limit=2'
    
    In addition to the URL parameters listed above, you can filter the Standings information with the following optional query string parameter. 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 (&). If you are filtering for more than one result, separate the results with a comma (,) and no spaces.
    Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `round` | Round number expressed as: {round}.
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/info.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/seasons/sr:season:83706/info.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/info.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Season Info feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/seasons/`{season_id}`/info.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `season_id` | Id of a given season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Season Info feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/seasons/getSeasonInfo Return to top ## Season Leaders Provides a list of leaders for a given season. Statistics include points, goals, assists, cards, and minutes played.
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/leaders.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/seasons/sr:season:83706/leaders.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/leaders.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Season Leaders feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/seasons/`{season_id}`/leaders.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `season_id` | Id of a given season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Season Leaders feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/seasons/getSeasonLeaders Return to top ## Season Lineups Provides match lineups and substitutions for a given season.
    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 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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/lineups.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/seasons/sr:season:83706/lineups.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/lineups.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Season Lineups feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/seasons/`{season_id}`/lineups.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `season_id` | Id of a given season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Season Lineups feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/seasons/getSeasonLineups ### Optional Query String Parameters >Example including optional query string parameters:
    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/soccer-extended/trial/v4/en/seasons/sr:season:83706/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-extended/trial/v4/en/seasons/sr:season:83706/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-extended/trial/v4/en/seasons/sr:season:83706/lineups.xml?api_key={your_api_key}&start=0&limit=75'
    
    In addition to the URL parameters listed above, you can paginate the lineup information 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 (&).
    Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `start` | Number to start the list of results from.
    Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, 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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:74551/stages_groups_cup_rounds.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/seasons/sr:season:74551/stages_groups_cup_rounds.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:74551/stages_groups_cup_rounds.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Season Links feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/seasons/`{season_id}`/stages_groups_cup_rounds.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `season_id` | Id of a given season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Season Links feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/seasons/getSeasonStagesGroupsCupRounds Return to top ## Season Missing Players Provides a list of injured and/or missing players for a given season.
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/missing_players.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/seasons/sr:season:83706/missing_players.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/missing_players.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Season Missing Players feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/seasons/`{season_id}`/missing_players.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `season_id` | Id of a given season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Season Missing Players feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/seasons/getSeasonMissingPlayers Return to top ## Season Over/Under Statistics Provides the over/under match goal totals for all teams in a given season.
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83926/over_under_statistics.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/seasons/sr:season:83926/over_under_statistics.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83926/over_under_statistics.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Season Over/Under Statistics feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/seasons/`{season_id}`/over_under_statistics.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `season_id` | Id of a given season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Season Over/Under Statistics feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/seasons/getSeasonOverUnderStatistics Return to top ## Season Players Provides names and ids for all participating players for a given season.
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/players.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/seasons/sr:season:83706/players.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/players.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Season Players feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/seasons/`{season_id}`/players.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `season_id` | Id of a given season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Season Players feed, use the following URL. https://api.sportradar.com/soccer/production/v4/openapi/swagger/index.html#/seasons/getSeasonPlayers Return to top ### Optional Query String Parameters >Example including optional query string parameters:
    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/soccer-extended/trial/v4/en/seasons/sr:season:83706/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-extended/trial/v4/en/seasons/sr:season:83706/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-extended/trial/v4/en/seasons/sr:season:83706/players.xml?api_key={your_api_key}&start=0&limit=75'
    
    In addition to the URL parameters listed above, you can paginate the player information 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 (&).
    Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `start` | Number to start the list of results from.
    Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, maximum value is 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 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
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/probabilities.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/seasons/sr:season:83706/probabilities.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/probabilities.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Season Probabilities feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/seasons/`{season_id}`/probabilities.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `season_id` | Id of a given season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Season Probabilities feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/seasons/getSeasonProbabilities ### Optional Query String Parameters >Example including optional query string parameters:
    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.com/soccer/trial/v4/en/seasons/sr:season:83706/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:83706/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:83706/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 (&).
    Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `start` | Number to start the list of results from.
    Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, maximum value is 200.
    Example: limit=200 | Return to top ## Season Schedule Provides basic match information for all matches for a given season, including scoring and match coverage.
    Note: Pagination may be required to pull all data within this feed. By default, the feed will return 1000 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: Channel Country
    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
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/schedules.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/seasons/sr:season:83706/schedules.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/schedules.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Season Schedule feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer/`{access_level}`/`{version}`/`{language_code}`/seasons/`{season_id}`/schedules.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `season_id` | Id of a given season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Season Schedule feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/seasons/getSeasonSchedules Return to top ### Optional Query String Parameters >Example including optional query string parameters:
    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/soccer/trial/v4/en/seasons/sr:season:83706/schedules.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:83706/schedules.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:83706/schedules.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 (&).
    Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `start` | Number to start the list of results from.
    Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, maximum value is 1000.
    Example: limit=1000 | Return to top ## Season Standings Provides detailed standings info for a given season.
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/standings.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/seasons/sr:season:83706/standings.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/standings.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Season Standings feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/seasons/`{season_id}`/standings.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `season_id` | Id of a given season. | | `format` | xml or json. | | `your_api_key` | Your API key. | ### Optional Query String Parameters >Example including optional query string parameters:
    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/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-extended/trial/v4/en/seasons/sr:season:83706/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-extended/trial/v4/en/seasons/sr:season:83706/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. 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 (&). If you are filtering for more than one result, separate the results with a comma (,) and no spaces.
    Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `round` | Round number expressed as: {round}.
    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 100 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 Cup Round Number of Sport Events
    Round Competition Sport Event Number
    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 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
    Chances Created
    Clearances
    Corner Kicks
    Crosses Successful
    Crosses Total
    Defensive Blocks
    Diving Saves
    Dribbles Completed
    Fouls Committed
    Goals by Head
    Goals by Penalty
    Goals Conceded
    Goals Scored
    Interceptions
    Long Passes Successful
    Long Passes Total
    Long Passes Unsuccessful
    Loss of Possession
    Minutes Played
    Offsides
    Own Goals
    Passes Successful
    Passes Total
    Passes Unsuccessful
    Penalties Faced
    Penalties Missed
    Penalties Saved
    Red Cards
    Shots Blocked
    Shots Faced Saved
    Shots Faced Total
    Shots off Target
    Shots on Target
    Substituted In
    Substituted Out
    Tackles Successful
    Tackles Total
    Was Fouled
    Yellow Cards
    Yellow/Red Cards
    Team Match Statistics Data Points: Ball Possession
    Cards Given
    Corner Kicks
    Fouls
    Free Kicks
    Goal Kicks
    Injuries
    Offsides
    Penalties
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/summaries.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/seasons/sr:season:83706/summaries.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/summaries.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Season Summaries feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/seasons/`{season_id}`/summaries.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `season_id` | Id of a given season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Season Summaries feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/seasons/getSeasonSummaries ### Optional Query String Parameters >Example including optional query string parameters:
    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/soccer-extended/trial/v4/en/seasons/sr:season:83706/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-extended/trial/v4/en/seasons/sr:season:83706/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-extended/trial/v4/en/seasons/sr:season:83706/summaries.xml?api_key={your_api_key}&start=0&limit=75'
    
    In addition to the URL parameters listed above, you can paginate the summaries 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 (&).
    Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `start` | Number to start the list of results from.
    Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, maximum value is 100.
    Example: limit=100 | 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 Date
    Transfer From Competitor
    Transfer Role Type
    Transfer To Competitor
    Type
    Weight
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/transfers.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/seasons/sr:season:83706/transfers.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/transfers.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Season Transfers feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/seasons/`{season_id}`/transfers.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `season_id` | Id of a given season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Season Summaries feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/seasons/getSeasonTransfers Return to top ## Seasonal Competitor Players Provides player roster information for every team from 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
    Player Info Data Points: Country Code
    Date of Birth
    Gender
    Height
    Id
    Jersey Number
    Name
    Nationality
    Nickname
    Place of Birth
    Preferred Foot
    Type
    Weight
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/competitor_players.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/seasons/sr:season:83706/competitor_players.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:83706/competitor_players.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Seasonal Competitor Players feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/seasons/`{season_id}`/competitor_players.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `season_id` | Id of a given season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Seasonal Competitor Players feed, use the following URL. https://api.sportradar.com/soccer/production/v4/openapi/swagger/index.html#/seasons/getSeasonCompetitorPlayers Return to top ## Seasonal Competitor Statistics Provides team and player seasonal statistics for a given season.
    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
    Player Info Data Points: Id Name Starter
    Player Seasonal Statistics Data Points: Assists
    Chances Created
    Clearances
    Corner Kicks
    Crosses Successful
    Crosses Total
    Dribbles Completed
    Goals by Head
    Goals by Penalty
    Goals Conceded
    Goals Scored
    Interceptions
    Long Passes Successful
    Long Passes Total
    Long Passes Unsuccessful
    Loss of Possession
    Minutes Played
    Offsides
    Own Goals
    Passes Successful
    Passes Total
    Passes Unsuccessful
    Penalties Faced
    Penalties Missed
    Penalties Saved
    Red Cards
    Shots Blocked
    Shots Off Target
    Shots On Target
    Substituted In
    Substituted Out
    Tackles Successful
    Tackles Total
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:54571/competitors/sr:competitor:17/statistics.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/seasons/sr:season:54571/competitors/sr:competitor:17/statistics.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/seasons/sr:season:54571/competitors/sr:competitor:17/statistics.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Seasonal Competitor Statistics feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/seasons/`{season_id}`/competitors/`{competitor_id}`/statistics.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `season_id` | Id of a given season. | | `competitor_id` | Id of a given competitor. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Competitor Seasonal Statistics feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/competitors/getSeasonCompetitorStatistics Return to top ## Seasons Provides a list of historical season information for all competitions. Competitions will return a maximum of three seasons of data, including current or newly created seasons.
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/seasons.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/soccer/trial/v4/en/seasons.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/seasons.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Seasons feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/seasons.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Seasons feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/seasons/getSeasons Return to top ## Sport Event Fun Facts Provides noteworthy, human-readable, facts based on statistical information about a given match and its competing teams.
    TTL / Cache: 300 seconds
    Update Frequency: As Necessary
    Content Type: XML or JSON
    Sport Event Info Data Points: Match Facts
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/sport_events/sr:sport_event:18427304/fun_facts.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/sport_events/sr:sport_event:18427304/fun_facts.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/sport_events/sr:sport_event:18427304/fun_facts.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Sport Event Fun Facts feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/sport_events/`{sport_event_id}`/fun_facts.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `sport_event_id` | Id of a given sport event. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Sport Event Fun Facts feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/sport_events/getSportEventFunFacts Return to top ## Sport Event Lineups Provides detailed roster information for a given match. Starting players, substitutions, formation type, and channel availability are included if supported by coverage level.
    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 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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/sport_events/sr:sport_event:18427304/lineups.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/sport_events/sr:sport_event:18427304/lineups.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/sport_events/sr:sport_event:18427304/lineups.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Sport Event Lineups feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/sport_events/`{sport_event_id}`/lineups.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `sport_event_id` | Id of a given sport event. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Sport Event Lineups feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/sport_events/getSportEventLineups Return to top ## Sport Event Summary Provides real-time match-level statistics for a given match. Including player and team stats, scoring info, and channel availability. Please note that data returned is determined by coverage level.
    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 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
    Chances Created
    Clearances
    Corner Kicks
    Crosses Successful
    Crosses Total
    Defensive Blocks
    Diving Saves
    Dribbles Completed
    Fouls Committed
    Goals by Head
    Goals by Penalty
    Goals Conceded
    Goals Scored
    Interceptions
    Long Passes Successful
    Long Passes Total
    Long Passes Unsuccessful
    Loss of Possession
    Minutes Played
    Offsides
    Own Goals
    Passes Successful
    Passes Total
    Passes Unsuccessful
    Penalties Faced
    Penalties Missed
    Penalties Saved
    Red Cards
    Shots Blocked
    Shots Faced Saved
    Shots Faced Total
    Shots off Target
    Shots on Target
    Substituted In
    Substituted Out
    Tackles Successful
    Tackles Total
    Was Fouled
    Yellow Cards
    Yellow/Red Cards
    Team Match Statistics Data Points: Ball Possession
    Cards Given
    Corner Kicks
    Fouls
    Free Kicks
    Goal Kicks
    Injuries
    Offsides
    Penalties
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/sport_events/sr:sport_event:18427304/summary.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/sport_events/sr:sport_event:18427304/summary.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/sport_events/sr:sport_event:18427304/summary.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Sport Event Summary feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/sport_events/`{sport_event_id}`/summary.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `sport_event_id` | Id of a given sport event. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Sport Event Summary feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/sport_events/getSportEventSummary Return to top ## Sport Event Timeline Provides real-time match-level statistics and a play-by-play event timeline for a given match. This includes player and team stats, scoring info, channel availability, x/y event coordinates, and human-readable event descriptions. Please note that data returned is determined by coverage level.
    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 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
    Chances Created
    Clearances
    Corner Kicks
    Crosses Successful
    Crosses Total
    Defensive Blocks
    Diving Saves
    Dribbles Completed
    Fouls Committed
    Goals by Head
    Goals by Penalty
    Goals Conceded
    Goals Scored
    Interceptions
    Long Passes Successful
    Long Passes Total
    Long Passes Unsuccessful
    Loss of Possession
    Minutes Played
    Offsides
    Own Goals
    Passes Successful
    Passes Total
    Passes Unsuccessful
    Penalties Faced
    Penalties Missed
    Penalties Saved
    Red Cards
    Shots Blocked
    Shots Faced Saved
    Shots Faced Total
    Shots off Target
    Shots on Target
    Substituted In
    Substituted Out
    Tackles Successful
    Tackles Total
    Was Fouled
    Yellow Cards
    Yellow/Red Cards
    Team Match Statistics Data Points: Ball Possession
    Cards Given
    Corner Kicks
    Fouls
    Free Kicks
    Goal Kicks
    Injuries
    Offsides
    Penalties
    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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/sport_events/sr:sport_event:18427304/timeline.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/sport_events/sr:sport_event:18427304/timeline.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/sport_events/sr:sport_event:18427304/timeline.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Sport Event Timeline feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/sport_events/`{sport_event_id}`/timeline.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `sport_event_id` | Id of a given sport event. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Sport Event Timeline feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/sport_events/getSportEventTimeline Return to top ## Sport Events Created Provides ids for sport events that have been created 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: Active Season Flag Id Created At
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/sport_events/created.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/sport_events/created.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/sport_events/created.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Access the Sport Events Created feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/sport_events/created.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Sport Events Created feed, use the following URL. https://api.sportradar.com/soccer-extended/trial/v4/openapi/swagger/index.html#/sport_events/getSportEventsCreated ### Optional Query String Parameters >Example including optional query string parameters:
    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/soccer-extended/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-extended/trial/v4/en/sport_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-extended/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 (&).
    Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `start` | Number to start the list of results from.
    Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, maximum value is 200.
    Example: limit=200 | Return to 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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/sport_events/removed.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/sport_events/removed.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/sport_events/removed.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Sport Events Removed feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/sport_events/removed.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Sport Events Removed feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/sport_events/getSportEventsRemoved ### Optional Query String Parameters >Example including optional query string parameters:
    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/soccer-extended/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-extended/trial/v4/en/sport_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-extended/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 event information 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 (&).
    Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `start` | Number to start the list of results from.
    Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, maximum value is 200.
    Example: limit=200 | Return to 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
    ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/en/sport_events/updated.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended/trial/v4/en/sport_events/updated.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.com/soccer-extended/trial/v4/en/sport_events/updated.xml?api_key={your_api_key}" ``` > Click below for XML and JSON samples of this feed
    XML - JSON Access the Sport Events Updated feed by replacing the parameters in the following URL: https://api.sportradar.us/soccer-extended/`{access_level}`/`{version}`/`{language_code}`/sport_events/updated.`{format}`?api_key=`{your_api_key}` | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Sport Events Updated feed, use the following URL. https://api.sportradar.com/soccer/trial/v4/openapi/swagger/index.html#/sport_events/getSportEventsUpdated ### Optional Query String Parameters >Example including optional query string parameters:
    require 'uri'
    require 'net/http'
    require 'openssl'
    
    url = URI("https://api.sportradar.us/soccer-extended/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-extended/trial/v4/en/sport_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-extended/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 event information 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 (&).
    Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `start` | Number to start the list of results from.
    Example: start=0 | | `limit` | Number to limit the number of results. Minimum value is 1, maximum value is 200.
    Example: limit=200 | Return to top ## Push Feeds >TTo 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 = ""; @Before public void setup() { client = new StreamClient(); } @After public void cleanup() { client.terminate(); } @Test public void testStream() throws Exception { Handler handler = new ConsoleHandler(); client.stream(SERVICE_URL, handler); System.out.println("Connecting...."); Thread.sleep(1 * 60 * 1000); System.out.println("Disconnecting...."); } } ``` Some of our APIs include Push feeds that allow you to get updates as soon as they are available. Push API feeds automatically send JSON and XML payloads to you via a push service, and can dramatically reduce the number of calls you need to make to our RESTful API feeds. The structure of the Push feeds are similar to the structure of the corresponding RESTful API feed (i.e. Push Events and Push Statistics). The push service ensures reliable and efficient delivery of the most up to date information. Our Push services are based on a HTTP publish/subscribe model. When making a call to the Push APIs, you "subscribe" to various data feeds provided by our service; whenever new content is available on one of those feeds, the server pushes that information out to your client. When no new information is available on the feed, a heartbeat message is sent every 5 seconds to keep the connection active. If you want to filter the results of the feeds, there are several optional query string parameters that can be applied to the API call. If left unfiltered, than all data for the feed is displayed (i.e. all games, events, or statistics). For your applications to accept data from our Push feeds, ensure that your application can: * Can follow a HTTP redirect or use the location provided in the feeds header within one minute of your initial request. * Can accept HTTP data transfer encoded as chunked. Our Push service does not provide a "stateful session", there is no memory of what data has been sent previously. If you are disconnected from the Push session, you can use the RESTful API to catch up or recover from the disconnection. Syntax for using our Push feeds and examples of the JSON and XML payloads can be found below. ## Push Events ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.com/soccer-extended/trial/v4/stream/events/subscribe?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import requests import json r = requests.get("https://api.sportradar.com/soccer-extended/trial/v4/stream/events/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 GET 'api.sportradar.com/soccer-extended/trial/v4/stream/events/subscribe?api_key={your_api_key}' ``` >The above command returns json like this. Provides real-time event updates for all live matches. https://api.sportradar.com/soccer-extended/`{access_level}`/`{version}`/stream/events/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-extended/trial/v4/stream/events/subscribe?api_key={your_api_key}&format=json&sport_event_id=sr:sport_event_id: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-extended/trial/v4/stream/events/subscribe", params = {'api_key': 'your_api_key', 'format': 'json', 'sport_event_id': 'sr:match:13468929'}, 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 'https://api.sportradar.com/soccer-extended/trial/v4/stream/events/subscribe?api_key={your_api_key}&format=json&sport_event_id=sr:sport_event_id:13468929' ``` In addition to the URL parameters listed above, you can filter the Events information with one or more of the following optional query string parameters.
    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.
    Replace placeholders with the following query parameters: | URL Parameters | Description | | --------- | ----------- | | `competition_id` | Competition id expressed as: {competition_id}.
    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-extended/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-extended/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-extended/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.com/soccer-extended/`{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-extended/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-extended/trial/v4/stream/statistics/subscribe", params = {'api_key': 'your_api_key', 'format': 'json', 'sport_event_id': 'sr:match:13468929'}, 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-extended/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.
    Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `competition_id` | Competition id expressed as: {competition_id}.
    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
    For more information or to request a Trial of this feature, please contact a Sportradar Sales representative. The Open API specification and Syntax for using our Probabilities feeds, including examples of the payloads can be found below. ## Live Probabilities ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/soccer-extended-probabilities/trial/v4/en/schedules/live/probabilities.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended-probabilities/trial/v4/en/schedules/live/probabilities.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/soccer-extended-probabilities/trial/v4/en/schedules/live/probabilities.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Provides top-level information for live matches. If probabilities are available for a match, pre-match and live probabilities will be displayed. https://api.sportradar.com/soccer-extended-probabilities/`{access_level}`/`{version}`/`{language_code}`/schedules/live/probabilities.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Live Probabilities feed, use the following URL. https://api.sportradar.com/soccer-extended-probabilities/trial/v4/openapi/swagger/index.html#/schedules/getScheduleLiveProbabilities ## Season Outright Probabilities ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/soccer-extended-probabilities/trial/v4/en/seasons/sr:season:54571/outright_probabilities.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended-probabilities/trial/v4/en/seasons/sr:season:54571/outright_probabilities.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/soccer-extended-probabilities/trial/v4/en/seasons/sr:season:54571/outright_probabilities.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Provides a list of outright probabilities for each competitor from a given season. https://api.sportradar.com/soccer-extended-probabilities/`{access_level}`/`{version}`/`{language_code}`/seasons/`{season_id}`/outright_probabilities.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `season_id` | Id of a given season. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Season Outright Probabilities feed, use the following URL. https://api.sportradar.com/soccer-extended-probabilities/trial/v4/openapi/swagger/index.html#/seasons/getSeasonOutrightProbabilities ## Sport Event Probabilities ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/soccer-extended-probabilities/trial/v4/en/sport_events/sr:sport_event:17693932/sport_event_probabilities.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended-probabilities/trial/v4/en/sport_events/sr:sport_event:17693932/sport_event_probabilities.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/soccer-extended-probabilities/trial/v4/en/sport_events/sr:sport_event:17693932/sport_event_probabilities.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Provides pre-match and live probabilities for a given match. https://api.sportradar.com/soccer-extended-probabilities/`{access_level}`/`{version}`/`{language_code}`/sport_events/`{sport_event_id}`/probabilities.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `sport_event_id` | Id of a given sport event. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Sport Event Probabilities feed, use the following URL. https://api.sportradar.com/soccer-extended-probabilities/trial/v4/openapi/swagger/index.html#/sport_events/getSportEventAdvancedProbabilities ## Sport Event Upcoming Probabilities ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/soccer-extended-probabilities/trial/v4/en/sport_events/upcoming_probabilities.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended-probabilities/trial/v4/en/sport_events/upcoming_probabilities.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/soccer-extended-probabilities/trial/v4/en/sport_events/upcoming_probabilities.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Provides a list of IDs for upcoming sport events in the next 24 hours. https://api.sportradar.com/soccer-extended-probabilities/`{access_level}`/`{version}`/`{language_code}`/sport_events/upcoming_probabilities.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Sport Event Upcoming Probabilities feed, use the following URL. https://api.sportradar.com/soccer-extended-probabilities/trial/v4/openapi/swagger/index.html#/sport_events/getSportEventsUpcomingProbabilities ## Timeline Probabilities ```ruby require 'uri' require 'net/http' require 'openssl' url = URI("https://api.sportradar.us/soccer-extended-probabilities/trial/v4/en/sport_events/sr:sport_event:17693932/timeline_probabilities.xml?api_key={your_api_key}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```python import http.client conn = http.client.HTTPSConnection("api.sportradar.us") conn.request("GET", "/soccer-extended-probabilities/trial/v4/en/sport_events/sr:sport_event:17693932/timeline_probabilities.xml?api_key={your_api_key}") res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` ```shell curl -X GET "https://api.sportradar.us/soccer-extended-probabilities/trial/v4/en/sport_events/sr:sport_event:17693932/timeline_probabilities.xml?api_key={your_api_key}" ``` > The above command returns xml structured like this. Provides a timeline of pre-match and live probability changes for a given match. This also provides match information including player stats, team stats, and scoring info. https://api.sportradar.com/soccer-extended-probabilities/`{access_level}`/`{version}`/`{language_code}`/sport_events/`{sport_event_id}`/timeline_probabilities.`{format}`?api_key=`{your_api_key}` Replace placeholders with the following query parameters: | Parameter | Description | | --------- | ----------- | | `access_level` | Defines the access level of your API key as Production (production) or Trial (trial). | | `version` | Version number of the API you are accessing (Current Version: v4). | | `language_code` | 2 letter code for supported languages

    Chinese - simplified (zh), Chinese - traditional (zht), Danish (da), Dutch (nl), English (en), Finnish (fi), French (fr), German (de), Greek (el), Hindi (hi), Indonesian (id), Italian (it), Japanese (ja), Portuguese (pt), Russian (ru), Serbian (sr), Serbian Latin (srl), Spanish (es), Thai (th), Turkish (tr)

    Click here for a tabular list of available languages per competition. | | `sport_event_id` | Id of a given sport event. | | `format` | xml or json. | | `your_api_key` | Your API key. | To retrieve the OpenAPI Schema Definition for the Timeline Probabilities feed, use the following URL. https://api.sportradar.com/soccer-extended-probabilities/trial/v4/openapi/swagger/index.html#/sport_events/getSportEventTimelineProbabilities ## Frequently Asked Questions Q: What leagues or tournaments do you cover for soccer?

    A: You can find all the leagues we cover, as well as a breakdown of data offered, via our Coverage Matrix.

    Q: Which competitions include extended coverage in Soccer v4?

    A: The competitions covered with extended coverage are:

    • FIFA World Cup
    • UEFA Champions League (Group Stage onwards)
    • EPL (England)
    • La Liga (Spain)
    • Bundesliga (Germany)
    • Serie A (Italy)
    • MLS (USA)
    • UEFA European Championship

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

    Q: 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: When video assistant referee reviews an event, what are the possible values for “event – outcome”?

    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, and 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.

    extended_player_stats: goals_by_head, goals_by_penalty, clearances, interceptions, chances_created, crosses_successful, crosses_total, passes_total, passes_successful, passes_unsuccessful, long_passes_total , long_passes_successful, long_passes_unsuccessful, tackles_total, tackles_successful, goals_conceded, shots_faced_saved, shots_faced_total, penalties_faced, penalties_saved, performance_score, dribbles_completed, loss_of_possession, diving_saves, fouls_committed, was_fouled, minutes_played, and defensive_blocks

    Note: Extended player statistics are only available in the soccer extended package. If our coverage cannot guarantee extended stats, deeper stats or basic stats for a competition, then they will not be available on Match or Season level.

    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
    • Includes corners and throw ins

    • A cross by a team member is converted into a goal

    • Passes/crosses, which are slightly deflected and then lead to a team member score a goal 

    not counted
    • Where goals resulting from penalties are concerned, the player who is fouled in the area receives no assist point

    • shot hits the post/bar and then leads to a goal by a team member

    • The goal scorer made considerable self-effort in order to score

    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%.
    Shots On Target This is an intentional shot on target by a player, trying to score a goal by foot, head or any other part of the body. The result of a shot on goal is either a goalkeeper save, a clearance by any player of the defending team, a blocked shot by a player of the attacking team (which happens very rarely) or a goal. A shot on goal is slightly deflected by a player of the attacking team into the net, a goal will be awarded to the player who initially shot the ball. The corresponding team stat for this is “shots_on_target”.
    Off Target A shot which was aimed towards the goal but missed. These shots do not necessarily have to cross the goal line. A ball which hits the post or the bar without touching anyone and is still in play, is considered a shot off goal. The corresponding team statistic for this data point is “shots_off_target”.
    Blocked A shot which was directed on target but was blocked by a player of the opposing team.
    Goals By Head If a player of the attacking team scores a goal from a shot taken by their head.
    By Penalty If a player of the attacking team is fouled in the penalty area, a penalty will be awarded by the referee and marked for the statistics. If the attacking team scores, a goal will be awarded. These goals count as penalties and are denoted as “goals_by_penalty”. Any goals or saves in penalty shootouts are not counted for the statistics.
    Clearances A clearance is a defensive action where a player clears the ball away from his own goal area with no intended recipient of the ball.
    Interceptions

    A player from the defensive team intentionally intercepts a pass by moving into the line of the intended pass.

    A change of possession must occur to be considered a valid interception.

    Chances Created A chance created as a result of a pass that directly led to a shot. This will count as a chance created regardless of the result of the shot.
    Crosses General In contrast to a shot on goal a cross is not targeting the goal. A cross is a pass kicked low, medium high or high with the foot, from the area close to both side lines, which enters the penalty area. It can also be given from corners and free kicks. Cross lengths correspond with pass lengths in that they are subjective
    Successful A pass/cross is successful when the ball is received by a teammate.
    Total

    Including unsuccessful attempts:

    The pass/cross is blocked (results in a throw-in, corner or the opposing team possession).

    The ball is deflected back to the passing player, then the pass/cross is unsuccessful.

    Passes General An intentional movement of the ball from a player to his teammate. A pass has to have a clear intention of one player to find a teammate. A pass can be made with any part of the body if the pass is intended as long as it is legal according to rules of the game. Pass length determination is approximate in nature and varies according to the pitch size.
    Successful Pass is successful when the ball is received by a teammate.
    Unsuccessful

    Pass is blocked (resulted in a throw-in, corner or the opposing team possession).

    The ball is deflected back to or away from to the passing player by an opposition player.

    Total All passes attempted. Successful and unsuccessful passes combined.
    Long Passes General A pass that is attempted over a long distance. This can either be directly to a player or into space for a player to run on to.
    Successful Pass is successful when the ball is received by a teammate.
    Unsuccessful

    Pass is blocked (resulted in a throw-in, corner or the opposing team possession).

    The ball is deflected back to or away from to the passing player by an opposition player.

    Total All long passes attempted. Successful and unsuccessful passes combined.
    Tackles General Defensive or offensive tactic where a player tries to make contact with the ball by a ground challenge. Tackling is an intention to stop an attack or make the opposition lose possession.
    Successful

    The ball is taken by the challenger.

    The ball is collected by a teammate after a tackle.

    The defender tackles a player without gaining possession but stopping/interfering with an attack.

    Goals Conceded The amount of goals conceded by the team when a player was on the pitch.
    Shots Faced An action by the goalkeeper which prevents a goal event. Generally this means saving a shot on goal or a deflected shot by either the attacking or the defending team. Goalkeeper save can also be set without a shot on goal occurring, in case the goalkeeper punches away or catches a cross which otherwise would have gone to a striker and therefore caused a dangerous threat on goal. Crosses from the flanks where the goalkeeper catches the ball comfortably are not considered saves. In the case of a deemed save, Shots_faced_saved and shots_faced_total will be incremented.
    Dribbles Completed An action to beat an opponent where the player with the ball advances into opposition territory.
    Loss of possession A loss of possession is where the possession switches to the opposition team. This can be as a result of a failed dribble, a tackle received or loss of ball control.
    Diving Saves A more advanced save that requires skill from the goalkeeper to dive.
    Fouls Committed / Was Fouled If a player uses means which are regulated by the Laws of the game, a foul will be called by the referee. The referee has to recognize this action as a foul and blow the whistle. Game is interrupted, and for the team which committed the foul this will be added to the number of fouls committed. Play will continue with a free kick or a penalty. A player who has the above inflicted upon him will received a was fouled increment whereas the player who committed the foul will have the fouls_committed stat incremented.
    Minutes Played The total number of minutes in which a player has appeared on the pitch during regular time or overtime. This is capped at 90mins (or 120mins in the case of extra time). The value doesn’t take into account injury time, however, if a player is substituted in injury time, any minutes accumulated in that time will be counted. If a player substituted in within 0-59 secs of the final whistle, that player will be attributed 1 minute of playing time. Red cards are treated like substitution_out wherein the calculation is: minutes_played = game time (minute) of the substitution_out minus the substitution_in (where substitution_in could be “0” for starting lineup players).
    Defensive Blocks A player interrupting the kick trajectory.

    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: When will extended statistics be available for a match?

    A: Our extended statistics may take up to 10 minutes to be available at the start of a match. They will then update whilst the match is live.

    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: Why are some extended statistics values different from previous seasons?

    A: We are always looking at ways to improve our data and as such we are collecting data for even more events per match. Beginning with 23/24 MLS season you may see an increase in some values for extended statistics.

    Q: What are the possible values for cup_roundstate 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 half
    • dangerous - Team in possession is in the opponent’s half but not near the penalty box
    • attack - Team in possession is in the opponent’s half, near the penalty box

    Q: Why is goals scored the only statistic available in Season Leaders and Season Competitor Statistics for some competitions?

    A: This is determined by the assists="false" property in the Season Info feed which indicates that stats below goals_scored are not guaranteed for the competition in question.

    Return to top

    Docs Navigation