XML Example
i. {urn_type} = sr:competitor
Request URL
https://api.betradar.com/v1/sports/en/competitors/sr:competitor:92877/profile.xml
Response
<competitor_profile xmlns="http://schemas.sportradar.com/sportsapi/v1/unified" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" generated_at="2023-11-20T09:27:55+00:00" xsi:schemaLocation="http://schemas.sportradar.com/sportsapi/v1/unified http://schemas.sportradar.com/ufsportsapi/v1/endpoints/unified/ufsportsapi.xsd">
<competitor id="sr:competitor:3427" name="Los Angeles Lakers" abbreviation="LAL" short_name="LA Lakers" country="USA" country_code="USA" gender="male" state="CA">
<sport id="sr:sport:2" name="Basketball"/>
<category id="sr:category:15" name="USA" country_code="USA"/>
</competitor>
<venue id="sr:venue:6008" name="Crypto.com Arena" capacity="18997" city_name="Los Angeles" country_name="USA" country_code="USA" map_coordinates="34.043059,-118.267223" state="CA"/>
<jerseys>
<jersey type="home" base="ffffff" sleeve="ffd500" number="6633cc" stripes="false" horizontal_stripes="false" squares="false" split="false" shirt_type="no_sleeves"/>
<jersey type="away" base="ffdd00" sleeve="8902f7" number="8000ff" stripes="false" horizontal_stripes="false" squares="false" split="false" shirt_type="no_sleeves"/>
<jersey type="third" base="7d009c" sleeve="ffdd00" number="ffdd00" stripes="false" horizontal_stripes="false" squares="false" split="false" shirt_type="no_sleeves"/>
</jerseys>
<players>
<player type="guard" date_of_birth="2003-06-19" nationality="Usa" country_code="USA" height="198" weight="98" full_name="Jalen Hood-Schifino" gender="male" id="sr:player:2433833" name="Hood Schifino, Jalen"/>
<player type="guard" date_of_birth="1996-02-23" nationality="Usa" country_code="USA" height="193" weight="88" jersey_number="1" full_name="D'Angelo Russell" gender="male" id="sr:player:852034" name="Russell, D'Angelo"/>
<player type="forward" date_of_birth="1999-04-03" nationality="Usa" country_code="USA" height="206" weight="97" jersey_number="2" full_name="Jarred Vanderbilt" gender="male" id="sr:player:1499589" name="Vanderbilt, Jarred"/>
<player type="forward-center" date_of_birth="1993-03-11" nationality="Usa" country_code="USA" height="208" weight="115" jersey_number="3" full_name="Anthony Davis" gender="male" id="sr:player:608216" name="Davis, Anthony"/>
<player type="forward-guard" date_of_birth="1999-09-01" nationality="Usa" country_code="USA" height="203" weight="99" jersey_number="5" full_name="Cam Reddish" gender="male" id="sr:player:1491396" name="Reddish, Cam"/>
<player type="guard" date_of_birth="1996-06-14" nationality="Nigeria" country_code="NGA" height="191" weight="91" jersey_number="7" full_name="Gabe Vincent" gender="male" id="sr:player:1612346" name="Vincent, Gabe"/>
<player type="guard" date_of_birth="2003-02-10" nationality="Usa" country_code="USA" height="198" weight="86" jersey_number="10" full_name="Max Christie" gender="male" id="sr:player:2216844" name="Christie, Max"/>
<player type="center-forward" date_of_birth="2000-05-23" nationality="Usa" country_code="USA" height="211" weight="100" jersey_number="11" full_name="Jaxson Hayes" gender="male" id="sr:player:1770174" name="Hayes, Jaxson"/>
<player type="forward" date_of_birth="1994-03-22" nationality="Usa" country_code="USA" height="201" weight="99" jersey_number="12" full_name="Taurean Prince" gender="male" id="sr:player:996279" name="Prince, Taurean"/>
<player type="center" date_of_birth="2000-05-25" nationality="Usa" country_code="USA" height="210" weight="95" jersey_number="14" full_name="Colin Castleton" gender="male" id="sr:player:1492004" name="Castleton, Colin"/>
<player type="guard" date_of_birth="1998-05-29" nationality="Usa" country_code="USA" height="196" weight="92" jersey_number="15" full_name="Austin Reaves" gender="male" id="sr:player:1168578" name="Reaves, Austin"/>
<player type="forward" date_of_birth="2003-05-06" nationality="Usa" country_code="USA" height="203" weight="84" jersey_number="17" full_name="Alex Fudge" gender="male" id="sr:player:2218410" name="Fudge, Alex"/>
<player type="forward" date_of_birth="2002-07-27" nationality="Usa" country_code="USA" height="201" weight="88" jersey_number="21" full_name="Maxwell Lewis" gender="male" id="sr:player:2221196" name="Lewis, Maxwell"/>
<player type="forward" date_of_birth="1984-12-30" nationality="Usa" country_code="USA" height="206" weight="113" jersey_number="23" full_name="LeBron James" gender="male" id="sr:player:608028" name="James, LeBron"/>
<player type="forward" date_of_birth="1998-02-08" nationality="Japan" country_code="JPN" height="203" weight="104" jersey_number="28" full_name="Rui Hachimura" gender="male" id="sr:player:1170310" name="Hachimura, Rui"/>
<player type="forward" date_of_birth="1995-09-27" nationality="Usa" country_code="USA" height="206" weight="97" jersey_number="35" full_name="Christian Wood" gender="male" id="sr:player:852208" name="Wood, Christian"/>
<player type="guard" date_of_birth="1998-12-20" nationality="virgin islands, british" country_code="VGB" height="193" weight="85" jersey_number="55" full_name="D'Moi Hodge" gender="male" id="sr:player:2086111" name="Hodge, D'Moi"/>
</players>
</competitor_profile>
ii. {urn_type} = sr:simpleteam
Request URL
https://api.betradar.com/v1/sports/en/competitors/sr:simpleteam:1215132/profile.xml
Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<simpleteam_profile xmlns="http://schemas.sportradar.com/sportsapi/v1/unified" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" generated_at="2024-03-21T13:09:53+00:00" xsi:schemaLocation="http://schemas.sportradar.com/sportsapi/v1/unified http://schemas.sportradar.com/ufsportsapi/v1/endpoints/unified/ufsportsapi.xsd">
<competitor id="sr:simpleteam:1215132" name="Barker, Peter"/>
</simpleteam_profile>
Last updated
Was this helpful?