Odds & Markets APIAPI referenceEvents
Odds & Markets API
Get GSOC event odds
Fetch GSOC event, match and end odds.
Authorization
X-API-KEY X-API-KEY<token>
In: header
Path Parameters
id*string
GSOC Event Id, the prefixed publicId, or the bare uuid
Response Body
application/json
application/json
application/json
curl -X GET "https://api.altsportsdata.com/api/v1/public/events/gsoc/gsoc:6db1687f-a590-4f1a-9ab4-396eee2fd232/odds"{
"numericSportId": 1174117206190029,
"matchWinner": {
"groupId": 1,
"publicId": "5dd20800-64a4-4a61-8a52-c775c9caeaa0",
"moneyLine": {
"marketId": 1,
"status": "ACTIVE",
"selection": "[]"
},
"spread": {
"marketId": 1,
"status": "ACTIVE",
"selection": "[]"
},
"total": {
"marketId": 22,
"status": "ACTIVE",
"selection": [
{
"probability": 42.75,
"settlement": "LOSER",
"odds": 2.34,
"ends": 2.5,
"homeLineup": "Stan/Manny",
"awayLineup": "Correa/Ben",
"type": "OVER",
"outcomeId": "5dd20800-64a4-4a61-8a52-c775c9caeaa0"
}
]
}
},
"ends": [
{
"id": "5dd20800-64a4-4a61-8a52-c775c9caeaa0",
"groupId": 1,
"publicId": "5dd20800-64a4-4a61-8a52-c775c9caeaa0",
"name": "End 1",
"moneyLine": {
"marketId": 1,
"status": "ACTIVE",
"selection": "[]"
},
"spread": [
{
"marketId": 1,
"status": "ACTIVE",
"selection": "[]"
}
],
"total": [
{
"marketId": 22,
"status": "ACTIVE",
"selection": [
{
"probability": 42.75,
"settlement": "LOSER",
"odds": 2.34,
"ends": 2.5,
"homeLineup": "Stan/Manny",
"awayLineup": "Correa/Ben",
"type": "OVER",
"outcomeId": "5dd20800-64a4-4a61-8a52-c775c9caeaa0"
}
]
}
]
}
],
"futures": []
}{
"stack": "string",
"message": "Event not found",
"metadata": {},
"statusCode": 403,
"timestamp": "2023-02-07T19:43:08.187Z"
}{
"stack": "string",
"message": "Event not found",
"metadata": {},
"statusCode": 403,
"timestamp": "2023-02-07T19:43:08.187Z"
}