AltSportsData

Get Event Odds

Get Odds for an event

GET
/api/v1/public/events/{eventId}/{oddType}

Authorization

X-API-KEY
X-API-KEY<token>

In: header

Path Parameters

eventId*string

The id of the event for which the data should be returned.

oddType*string

Odd type for which the data should be returned.

Value in"fastestLap" | "eventWinner" | "secondPlace" | "heatWinner" | "overUnder" | "multiOverUnder" | "headToHead" | "shows" | "podiums" | "propBets" | "dreamTeam" | "eventExacta" | "heatExacta" | "raceTop10" | "raceTop5" | "raceTop3"

Query Parameters

exactasType?number

Exactas Type

Value in2 | 3 | 4
overUnderSubMarketType?string

The type of over/under to filter by (if oddType is overUnder).

Value in"finishingPosition" | "points" | "gapToLeaders"

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/public/events/string/fastestLap?overUnderSubMarketType=finishingPosition"
{
  "publicId": "wls:636d414b-8d24-49d2-a9d8-57ec650a4e0e",
  "eventId": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
  "numericEventId": 1174117206190029,
  "oddType": "eventWinner",
  "eventWinner": [
    {
      "outcomeId": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
      "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
      "referenceId": 1174117206190029,
      "position": 1,
      "probability": 0.6,
      "odds": 1.344,
      "status": "OPEN",
      "settlement": "NOT_SET",
      "updatedAt": "2022-02-10T19:00:00Z",
      "athlete": {
        "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
        "referenceId": 1174117206190029,
        "firstName": "Fraser",
        "middleName": "",
        "lastName": "MCCONNELL",
        "nationality": "JAM",
        "stance": "Regular",
        "hometown": "Maresias, São Paulo, Brazil",
        "height": "180",
        "weight": "72.84",
        "gender": "women",
        "weightClass": "Featherweight",
        "dob": "2022-02-10T19:00:00Z",
        "providerId": "string",
        "team": {
          "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
          "referenceId": 1174117206190029,
          "name": "ferrari"
        }
      }
    }
  ],
  "fastestLap": [
    {
      "outcomeId": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
      "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
      "referenceId": 1174117206190029,
      "position": 1,
      "probability": 0.6,
      "odds": 1.344,
      "status": "OPEN",
      "settlement": "NOT_SET",
      "updatedAt": "2022-02-10T19:00:00Z",
      "athlete": {
        "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
        "referenceId": 1174117206190029,
        "firstName": "Fraser",
        "middleName": "",
        "lastName": "MCCONNELL",
        "nationality": "JAM",
        "stance": "Regular",
        "hometown": "Maresias, São Paulo, Brazil",
        "height": "180",
        "weight": "72.84",
        "gender": "women",
        "weightClass": "Featherweight",
        "dob": "2022-02-10T19:00:00Z",
        "providerId": "string",
        "team": {
          "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
          "referenceId": 1174117206190029,
          "name": "ferrari"
        }
      }
    }
  ],
  "secondPlace": [
    {
      "outcomeId": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
      "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
      "referenceId": 1174117206190029,
      "position": 1,
      "probability": 0.6,
      "odds": 1.344,
      "status": "OPEN",
      "settlement": "NOT_SET",
      "updatedAt": "2022-02-10T19:00:00Z",
      "athlete": {
        "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
        "referenceId": 1174117206190029,
        "firstName": "Fraser",
        "middleName": "",
        "lastName": "MCCONNELL",
        "nationality": "JAM",
        "stance": "Regular",
        "hometown": "Maresias, São Paulo, Brazil",
        "height": "180",
        "weight": "72.84",
        "gender": "women",
        "weightClass": "Featherweight",
        "dob": "2022-02-10T19:00:00Z",
        "providerId": "string",
        "team": {
          "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
          "referenceId": 1174117206190029,
          "name": "ferrari"
        }
      }
    }
  ],
  "heatWinner": [
    {
      "id": "2127ea10-6110-4ffd-9403-3e33fc0929de",
      "referenceId": 1174117206190029,
      "roundId": "2127ea10-6110-4ffd-9403-3e33fc0929de",
      "roundName": "Semifinal",
      "roundNo": 1,
      "roundStatus": "LIVE",
      "providerId": "102839",
      "heats": [
        {
          "heatId": "2127ea10-6110-4ffd-9403-3e33fc0929de",
          "heatName": "Heat 1",
          "heatNo": 1,
          "heatStatus": "LIVE",
          "providerId": "102839",
          "athletes": [
            {
              "outcomeId": "2127ea10-6110-4ffd-9403-3e33fc0929de",
              "id": "2127ea10-6110-4ffd-9403-3e33fc0929de",
              "referenceId": 1174117206190029,
              "firstName": "Jane",
              "middleName": "M",
              "lastName": "Doe",
              "gender": "men",
              "nationality": "American",
              "stance": "American",
              "hometown": "Maresias, São Paulo, Brazil",
              "height": "180",
              "weight": "72.84",
              "weightClass": "Featherweight",
              "dob": "2022-02-10T19:00:00Z",
              "odds": 30.2,
              "probability": 30.2,
              "seedNo": 1,
              "providerId": "102839",
              "settlement": "NOT_SET",
              "status": "OPEN"
            }
          ]
        }
      ],
      "updatedAt": "2022-02-10T19:00:00Z"
    }
  ],
  "headToHead": [
    {
      "eventParticipant1": {
        "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
        "referenceId": 1174117206190029,
        "position": 1,
        "odds": 30.5,
        "settlement": "WIN",
        "status": "OPEN",
        "athlete": {
          "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
          "referenceId": 1174117206190029,
          "firstName": "Fraser",
          "middleName": "",
          "lastName": "MCCONNELL",
          "nationality": "JAM",
          "stance": "Regular",
          "hometown": "Maresias, São Paulo, Brazil",
          "height": "180",
          "weight": "72.84",
          "gender": "women",
          "weightClass": "Featherweight",
          "dob": "2022-02-10T19:00:00Z",
          "providerId": "string"
        }
      },
      "eventParticipant2": {
        "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
        "referenceId": 1174117206190029,
        "position": 1,
        "odds": 30.5,
        "settlement": "WIN",
        "status": "OPEN",
        "athlete": {
          "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
          "referenceId": 1174117206190029,
          "firstName": "Fraser",
          "middleName": "",
          "lastName": "MCCONNELL",
          "nationality": "JAM",
          "stance": "Regular",
          "hometown": "Maresias, São Paulo, Brazil",
          "height": "180",
          "weight": "72.84",
          "gender": "women",
          "weightClass": "Featherweight",
          "dob": "2022-02-10T19:00:00Z",
          "providerId": "string"
        }
      },
      "winnerParticipantId": "bc8a2ac2-0111-4b99-b402-08a19a731eda"
    }
  ],
  "propBets": [
    {
      "outcomeId": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
      "id": "bc8a2ac2-0111-4b99-b402-08a19a731eda",
      "referenceId": 1174117206190029,
      "athlete": {
        "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
        "referenceId": 1174117206190029,
        "firstName": "Fraser",
        "middleName": "",
        "lastName": "MCCONNELL",
        "nationality": "JAM",
        "stance": "Regular",
        "hometown": "Maresias, São Paulo, Brazil",
        "height": "180",
        "weight": "72.84",
        "gender": "women",
        "weightClass": "Featherweight",
        "dob": "2022-02-10T19:00:00Z",
        "providerId": "string",
        "team": {
          "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
          "referenceId": 1174117206190029,
          "name": "ferrari"
        }
      },
      "proposition": "Reaches quarterfinals",
      "odds": 30.5,
      "probability": 30.5,
      "settlement": "PAYOUT",
      "status": "OPEN"
    }
  ],
  "shows": [
    {
      "outcomeId": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
      "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
      "referenceId": 1174117206190029,
      "position": 1,
      "probability": 0.6,
      "odds": 1.344,
      "status": "OPEN",
      "settlement": "NOT_SET",
      "updatedAt": "2022-02-10T19:00:00Z",
      "athlete": {
        "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
        "referenceId": 1174117206190029,
        "firstName": "Fraser",
        "middleName": "",
        "lastName": "MCCONNELL",
        "nationality": "JAM",
        "stance": "Regular",
        "hometown": "Maresias, São Paulo, Brazil",
        "height": "180",
        "weight": "72.84",
        "gender": "women",
        "weightClass": "Featherweight",
        "dob": "2022-02-10T19:00:00Z",
        "providerId": "string",
        "team": {
          "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
          "referenceId": 1174117206190029,
          "name": "ferrari"
        }
      }
    }
  ],
  "podiums": [
    {
      "outcomeId": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
      "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
      "referenceId": 1174117206190029,
      "position": 1,
      "probability": 0.6,
      "odds": 1.344,
      "status": "OPEN",
      "settlement": "NOT_SET",
      "updatedAt": "2022-02-10T19:00:00Z",
      "athlete": {
        "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
        "referenceId": 1174117206190029,
        "firstName": "Fraser",
        "middleName": "",
        "lastName": "MCCONNELL",
        "nationality": "JAM",
        "stance": "Regular",
        "hometown": "Maresias, São Paulo, Brazil",
        "height": "180",
        "weight": "72.84",
        "gender": "women",
        "weightClass": "Featherweight",
        "dob": "2022-02-10T19:00:00Z",
        "providerId": "string",
        "team": {
          "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
          "referenceId": 1174117206190029,
          "name": "ferrari"
        }
      }
    }
  ],
  "dreamTeam": [
    {
      "outcomeId": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
      "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
      "numericEventId": 1174117206190029,
      "eventId": "bc8a2ac2-0111-4b99-b402-08a19a731eda",
      "settlement": "NOT_SET",
      "teams": [
        {
          "team": "A",
          "odds": 30.5,
          "participants": "\n    [\n        {\n        \"firstName\": \"Athlete name\",\n        \"lastName\": \"Athlete name\",\n        \"eventParticipantId\": \"a2ac2-0111-4b99-b402-08a19a731eda\"\n        }\n    ]\n"
        }
      ]
    }
  ],
  "eventExacta": [
    {
      "outcomeId": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
      "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
      "numericEventId": 1174117206190029,
      "eventId": "bc8a2ac2-0111-4b99-b402-08a19a731eda",
      "roundHeatId": "bc8a2ac2-0111-4b99-b402-08a19a731eda",
      "position": 2,
      "voided": true,
      "draw": false,
      "holdingPercentage": 35.5,
      "odds": 30.5,
      "probability": 30.5,
      "trueProbability": 30.2,
      "hasModifiedProbability": true,
      "athletes": [
        {
          "athleteId": "2127ea10-6110-4ffd-9403-3e33fc0929de",
          "firstName": "Jane",
          "lastName": "Doe"
        }
      ],
      "settlement": "WIN",
      "status": "OPEN"
    }
  ],
  "heatExacta": [
    {
      "id": "2127ea10-6110-4ffd-9403-3e33fc0929de",
      "referenceId": 1174117206190029,
      "roundId": "2127ea10-6110-4ffd-9403-3e33fc0929de",
      "name": "Semifinal",
      "roundNo": 1,
      "roundStatus": 1,
      "heats": [
        {
          "heatId": "2127ea10-6110-4ffd-9403-3e33fc0929de",
          "heatName": "Heat 1",
          "heatNo": 1,
          "heatStatus": "LIVE",
          "providerId": "102839",
          "athletes": [
            {
              "outcomeId": "2127ea10-6110-4ffd-9403-3e33fc0929de",
              "id": "2127ea10-6110-4ffd-9403-3e33fc0929de",
              "referenceId": 1174117206190029,
              "firstName": "Jane",
              "middleName": "M",
              "lastName": "Doe",
              "gender": "men",
              "nationality": "American",
              "stance": "American",
              "hometown": "Maresias, São Paulo, Brazil",
              "height": "180",
              "weight": "72.84",
              "weightClass": "Featherweight",
              "dob": "2022-02-10T19:00:00Z",
              "odds": 30.2,
              "probability": 30.2,
              "seedNo": 1,
              "providerId": "102839",
              "settlement": "NOT_SET",
              "status": "OPEN"
            }
          ]
        }
      ],
      "createdAt": "2022-12-27T13:57:53.866Z",
      "updatedAt": "2022-12-27T13:57:53.866Z",
      "providerId": "102839"
    }
  ],
  "raceTop10": [
    {
      "outcomeId": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
      "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
      "referenceId": 1174117206190029,
      "position": 1,
      "probability": 0.6,
      "odds": 1.344,
      "status": "OPEN",
      "settlement": "NOT_SET",
      "updatedAt": "2022-02-10T19:00:00Z",
      "athlete": {
        "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
        "referenceId": 1174117206190029,
        "firstName": "Fraser",
        "middleName": "",
        "lastName": "MCCONNELL",
        "nationality": "JAM",
        "stance": "Regular",
        "hometown": "Maresias, São Paulo, Brazil",
        "height": "180",
        "weight": "72.84",
        "gender": "women",
        "weightClass": "Featherweight",
        "dob": "2022-02-10T19:00:00Z",
        "providerId": "string",
        "team": {
          "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
          "referenceId": 1174117206190029,
          "name": "ferrari"
        }
      }
    }
  ],
  "raceTop5": [
    {
      "outcomeId": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
      "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
      "referenceId": 1174117206190029,
      "position": 1,
      "probability": 0.6,
      "odds": 1.344,
      "status": "OPEN",
      "settlement": "NOT_SET",
      "updatedAt": "2022-02-10T19:00:00Z",
      "athlete": {
        "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
        "referenceId": 1174117206190029,
        "firstName": "Fraser",
        "middleName": "",
        "lastName": "MCCONNELL",
        "nationality": "JAM",
        "stance": "Regular",
        "hometown": "Maresias, São Paulo, Brazil",
        "height": "180",
        "weight": "72.84",
        "gender": "women",
        "weightClass": "Featherweight",
        "dob": "2022-02-10T19:00:00Z",
        "providerId": "string",
        "team": {
          "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
          "referenceId": 1174117206190029,
          "name": "ferrari"
        }
      }
    }
  ],
  "overUnder": [
    {
      "participantId": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
      "status": "OPEN",
      "statValue": 1,
      "finalStatValue": 3,
      "over": {
        "outcomeId": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
        "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
        "referenceId": 1174117206190029,
        "odds": 30.5,
        "settlement": "WIN",
        "updatedAt": "2022-02-10T19:00:00Z"
      },
      "under": {
        "outcomeId": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
        "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
        "referenceId": 1174117206190029,
        "odds": 30.5,
        "settlement": "WIN",
        "updatedAt": "2022-02-10T19:00:00Z"
      },
      "athlete": {
        "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
        "referenceId": 1174117206190029,
        "firstName": "Fraser",
        "middleName": "",
        "lastName": "MCCONNELL",
        "nationality": "JAM",
        "stance": "Regular",
        "hometown": "Maresias, São Paulo, Brazil",
        "height": "180",
        "weight": "72.84",
        "gender": "women",
        "weightClass": "Featherweight",
        "dob": "2022-02-10T19:00:00Z",
        "providerId": "string",
        "team": {
          "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
          "referenceId": 1174117206190029,
          "name": "ferrari"
        }
      }
    }
  ],
  "multiOverUnder": [
    {
      "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
      "referenceId": 1174117206190029,
      "statValue": 1,
      "selections": [
        {
          "probability": 0.6,
          "odds": 1.344,
          "finalStatValue": 3,
          "status": "OPEN",
          "settlement": "NOT_SET",
          "updatedAt": "2022-02-10T19:00:00Z",
          "athlete": {
            "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
            "referenceId": 1174117206190029,
            "firstName": "Fraser",
            "middleName": "",
            "lastName": "MCCONNELL",
            "nationality": "JAM",
            "stance": "Regular",
            "hometown": "Maresias, São Paulo, Brazil",
            "height": "180",
            "weight": "72.84",
            "gender": "women",
            "weightClass": "Featherweight",
            "dob": "2022-02-10T19:00:00Z",
            "providerId": "string",
            "team": {
              "id": "636d414b-8d24-49d2-a9d8-57ec650a4e0e",
              "referenceId": 1174117206190029,
              "name": "ferrari"
            }
          }
        }
      ]
    }
  ]
}
{
  "stack": "string",
  "message": "Event not found",
  "metadata": {},
  "statusCode": 403,
  "timestamp": "2023-02-07T19:43:08.187Z"
}