/
v3.0.11Get access

getResults

We use this method to fetch market line information (results) for a specific finished game. When a user navigates to a game result page, this command retrieves the market lines and their associated events for that game.

Request parameters:

NameDescriptionTypeValuesDefault
gameId
ID of the gamenumber--

Call example:

getResults({
  gameId: 21232311
})

Response examples:

{
  data: {
    lines: {
      line: [{
        line_name: 'Match Result',
        events: {
          event_name: ['Arsenal']
        }
      }, {
        line_name: 'Double Chance',
        events: {
          event_name: ['1X', '12']
        }
      }, {
        line_name: 'Total Goals',
        events: {
          event_name: ['Over (0.5)']
        }
      }, {
        line_name: 'Total Goals',
        events: {
          event_name: ['Over (1)']
        }
      }]
    }
  }
}

Response parameters:

NameDescriptionTypeValues
lines
Object containing the result lines object
└─ line
List of result line entriesarray-
└─
object
└─ line_name
Name of the betting line string-
└─ events
Object containing event resultsobject
└─ event_name
List of event result names array-
└─
Won event namestring-