ASD Platform
Odds & Markets APIAPI referenceEvents

Odds & Markets API

Get GSOC event details

Fetch GSOC match and end details including scores.

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

Authorization

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

In: header

Path Parameters

eventId*string

GSOC Event Id

Response Body

application/json

application/json

curl -X GET "https://api.altsportsdata.com/api/v1/public/events/gsoc/gsoc:6db1687f-a590-4f1a-9ab4-396eee2fd232"
{
  "id": "6db1687f-a590-4f1a-9ab4-396eee2fd232",
  "numericSportId": 1174117206190029,
  "sportKey": "curling",
  "sportName": "Curling",
  "numericCompetitionId": 8234567890123,
  "competitionKey": "gsoc",
  "competitionName": "Grand Slam of Curling",
  "name": "Team Dropkin vs Team Whyte",
  "startDate": "2024-12-05T14:00:00.000Z",
  "endDate": "2024-12-05T17:00:00.000Z",
  "eventNumber": 1,
  "matchNumber": "M12",
  "matchRoundName": "Round 16",
  "eventStatus": "UPCOMING",
  "eventLocation": "Sheet A",
  "eventLocationGroup": "Western Fair Sports Center",
  "homeTeam": "Team Dropkin",
  "awayTeam": "Team Whyte",
  "homeTeamTotalScore": 7,
  "awayTeamTotalScore": 5,
  "winner": "Team Whyte",
  "teams": [
    {
      "id": "7f90d13e-ae79-4d07-9574-1eed4301643c",
      "teamId": "d7becd28-07b1-460b-a2df-9b803f5cc7b3",
      "name": "Team Whyte",
      "shortName": "Whyte",
      "isHomeTeam": true,
      "hasHammer": true,
      "stoneColor": "yellow"
    }
  ],
  "ends": [
    {
      "id": "20d2f676-9f53-4196-a579-2130753e6f79",
      "startDate": "2024-12-05T14:00:00.000Z",
      "endDate": "2024-12-05T14:30:00.000Z",
      "roundStatus": "UPCOMING",
      "scores": [
        {
          "id": "3d847474-7423-45cc-832a-c029c442fca4",
          "label": "Team Whyte",
          "score": 3
        }
      ],
      "name": "E1"
    }
  ]
}
{
  "stack": "string",
  "message": "Event not found",
  "metadata": {},
  "statusCode": 403,
  "timestamp": "2023-02-07T19:43:08.187Z"
}