Logo

Game Controller Endpoints

Get Stored Events

Retrieve all the stored events currently active on VaultBet.

Method: GET
Path: /events/stored


Parameters

NameTypeDescriptionOptional
idnumberEvent IDYes
leagueIdnumberThe id of the LeagueYes
sportfootball / basketball / nfl / rugby / baseball / mmaThe sport e.g. mma, football, basketballYes
seasonstringThe season e.g. 2022Yes
eventTypefixture / league / standingsfixture or leagueYes
statusongoing / scheduled / paused / finished / postponedthe status of the event e.g. scheduled, ongoing, finishedYes
canisterIDstringthe canister ID that the event belongs toYes

Response

[
  {
    "_id": "668571f91a1e173c48bcf71c",
    "event": {
      "sport": "mma",
      "eventType": "fixture",
      "id": 1482,
      "leagueId": 3280,
      "season": "1482",
      "eventDetails": {
        "homeTeam": {
          "name": "Ange Loosa",
          "logo": "https://media.api-sports.io/mma/fighters/2412.png",
          "score": null
        },
        "awayTeam": {
          "name": "Gabriel Bonfim",
          "logo": "https://media.api-sports.io/mma/fighters/2551.png",
          "score": null
        },
        "league": {
          "name": "UFC Fight Night: Namajunas vs. Cortez"
        },
        "time": "2024-07-14T03:15:00+01:00"
      },
      "status": "scheduled",
      "markets": [
        {
          "id": 1,
          "name": "Ange Loosa",
          "betType": "Final Result",
          "result": null,
          "_id": "668e410c93c485c5a0a52881"
        },
        {
          "id": 2,
          "name": "Gabriel Bonfim",
          "betType": "Final Result",
          "result": null,
          "_id": "668e410c93c485c5a0a52882"
        }
      ],
      "date": "2024-07-14T02:15:00.000Z",
      "_id": "668e410c93c485c5a0a52880"
    },
    "canisterID": "lp2q6-3iaaa-aaaan-qmmya-cai",
    "__v": 0
  },
  {
    "_id": "668a3d124957f59712c3dca3",
    "event": {
      "sport": "football",
      "eventType": "fixture",
      "id": 1227538,
      "leagueId": 9,
      "season": "2024",
      "eventDetails": {
        "homeTeam": {
          "name": "Uruguay",
          "logo": "https://media.api-sports.io/football/teams/7.png",
          "score": null
        },
        "awayTeam": {
          "name": "Colombia",
          "logo": "https://media.api-sports.io/football/teams/8.png",
          "score": null
        },
        "league": {
          "name": "Copa America",
          "logo": "https://media.api-sports.io/football/leagues/9.png"
        },
        "time": "2024-07-11T01:00:00+01:00"
      },
      "status": "scheduled",
      "markets": [
        {
          "id": 1,
          "name": "Uruguay",
          "betType": "Final Result",
          "result": null,
          "_id": "668e410c93c485c5a0a52878"
        },
        {
          "id": 2,
          "name": "Colombia",
          "betType": "Final Result",
          "result": null,
          "_id": "668e410c93c485c5a0a52879"
        }
      ],
      "date": "2024-07-11T00:00:00.000Z",
      "_id": "668e410c93c485c5a0a52877"
    },
    "canisterID": "ndsa5-maaaa-aaaan-qmmpq-cai",
    "__v": 0
  }
]
Previous
Overview