SportsData API
  1. sportsdata
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. sportsdata

Retrieves a list of events for the provided IDs.

GET
/events/
Retrieves a list of events for the provided IDs.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://sandbox.whapi.com/v2/sportsdata/events/' \
--header 'apiKey;'
Response Response Example
200 - response
{
 "events": [
 {
 "id": "OB_EV2828",
 "name": "Forest Green Vs Liverpool",
 "status": "A",
 "startDateTime": "2016-01-29T20:00:00",
 "markets": [
 {
 "id": "OB_MA2559",
 "name": "Correct Score",
 "status": "A",
 "selections": [
 {
 "id": "OB_OU3863",
 "currentPriceNum": 14,
 "currentPriceDen": 1,
 "name": "Liverpool 2-1",
 "status": "A"
 }
 ]
 }
 ]
 }
 ]
}

Request

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 list of events/markets/selections where markets within said event match selected sort/groupId
Next
Retrieves a single event by ID.
Built with