SportsData API
  1. competitors
SportsData API
  • sportsdata
    • Retrieves a list of competitions for a given class id.
      GET
    • Retrieves a list of events for a given class id.
      GET
    • Retrieves a specific competition
      GET
    • Retrieves a list of events for a given competition id.
      GET
    • Retrieves a list of market groups for a given competition id
      GET
    • Retrieves a list of events/markets/selections where markets within said event match selected sort/groupId
      GET
    • Retrieves a list of events for the provided IDs.
      GET
    • Retrieves a single event by ID.
      GET
    • Gets one or more specific markets
      GET
    • Gets one or more selections for a market
      GET
    • Gets a list of all sports
      GET
    • Retrieves a list of classes for a given sport id.
      GET
    • Retrieves a list of competitions for a given sport id.
      GET
    • Retrieves a weighted list of Selections.
      GET
  • competitors
    • Retrieves competitors for a single event by ID.
      GET
  1. competitors

Retrieves competitors for a single event by ID.

GET
/events/{eventId}/competitors
Retrieves competitors for a single event by ID.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://sandbox.whapi.com/v2/sportsdata/events//competitors' \
--header 'apiKey;'
Response Response Example
200 - response
{
 "competitors": 
 [
 {
 "id": "1",
 "name": "Springer Dinger",
 "age": "3",
 "drawNumber": "4",
 "jockeyName": "Atzeni, A",
 "weightPounds": "134",
 "silkImageUrl": "http://whdn.williamhill.com/content/sportsbook/silks/55336.gif",
 "trainerName": "Varian, R",
 "ownerName": "Sheikh Mohammed Obaid Al Maktoum"
 "colour": "grey",
 "sex": "Male",
 "formGuide": "4-2711",
 "rating": "27",
 "overview":
 {
 "runner":"Good pedigree; took him five times to click but won his Lingfield novice nicely in the end and duly confirmed himself progressive by following up at Newmarket, again over 7f (good ground); pace was true there so form looks okay and rates a danger to all off 6lb higher."
 "sire":"top-class 2yo over 6-7f inc Phoenix S. Lagardere; sire of Group winners; good record with fillies",
 }
 ]
}

Request

Path Params

Query Params

Header Params

Responses

🟢200Success
application/json
Body

🟠400Incorrect or Missing Parameter
🟠404No data found for request
Modified at 2023-08-15 06:10:46
Previous
Retrieves a weighted list of Selections.
Built with