GET - Competitor Information
This API is used to retreive data related to the competitor. When inserting the competitor id you will get related information such as the competitor name and the player list (if any). To request this API you should use the following GET API data:
Endpoint | Method | Input Data | Sample Request Body |
---|---|---|---|
/api/v1/competitors/{competitorid} | GET |
| /api/v1/competitors/{1394} |
Â
Response Attributes
NAME | DESCRIPTION |
---|---|
timestamp | The date & time of when the message was created |
competitor id | The ID of the competitor |
competitor name | The name of the competitor |
player id | The ID of the player |
player name | The name of the player |
reference id | The mapping id for a particular FeedProvider/Bookmaker |
reference name | The name of the FeedProvider/Bookmaker mapping id |
Â
Response Examples
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<competitor id="1394" name="Los Angeles Lakers" timestamp="1701947572956">
<players>
<player id="25004285" name="Dennis Schroder"/>
<player id="25005076" name="Rui Hachimura"/>
<player id="25006572" name="Shaquille Harrison"/>
<player id="25006573" name="D'Angelo Russell"/>
<player id="25006574" name="Jalen Hood Schifino"/>
<player id="25006575" name="Jarred Vanderbilt"/>
<player id="25006576" name="Anthony Davis"/>
<player id="25006577" name="Lonnie Walker"/>
<player id="25006578" name="Malik Beasley"/>
<player id="25006579" name="LeBron James"/>
<player id="25006580" name="Troy Brown"/>
<player id="25006581" name="Tristan Thompson"/>
<player id="25006582" name="Max Christie"/>
<player id="25006583" name="Mo Bamba"/>
<player id="25006584" name="Scotty Pippen"/>
<player id="25006585" name="Austin Reaves"/>
<player id="25006587" name="Cole Swider"/>
<player id="25006588" name="Maxwell Lewis"/>
<player id="25006590" name="Wenyen Gabriel"/>
</players>
<reference_ids>
<reference id="3427" name="betradar"/>
</reference_ids>
</competitor>
Â