/
v3.0.11Get access

getWinnerMarket

Fetches the winner market information for a specific match

Request parameters:

NameDescriptionTypeValuesDefault
matchId
Identifier of the specific sporting event or match for which you want to retrieve the betting marketnumber--

Call example:

getWinnerMarket({
  matchId: 1948523
})

Response examples:

{
  result: 0,
  result_text: null,
  details: {
    MatchId: 1948523,
    MarketId: 8847291,
    StartTime: 1779883200,
    MarketName: 'Winner',
    MarketTypeId: 1,
    MarketExtraInfo: 'regular_time',
    Selections: [{
      Id: 45112091,
      Name: 'Team A',
      Order: 1,
      Outcome: 1.85,
      SPPrice: 0,
      Position: 1
    }, {
      Id: 45112092,
      Name: 'Team B',
      Order: 2,
      Outcome: 2.1,
      SPPrice: 0,
      Position: 2
    }]
  }
}

Response parameters:

NameDescriptionTypeValues
details
The core data payload containing specific market configuration and odds data for the requested fixtureobject
└─ MatchId
The unique identifier of the specific sporting event or matchnumber-
└─ MarketId
The unique identifier of the specific betting market instancenumber-
└─ StartTime
The event start time, typically represented as a Unix timestampnumber-
└─ MarketName
The display name or title of the betting marketstring-
└─ MarketTypeId
The internal system ID classifying the category or template of the marketnumber-
└─ MarketExtraInfo
Supplementary metadata or regulatory parameters associated with the market statestring-
└─ Selections
A list of distinct, bettable selection options (outcomes) within this marketarray-
└─
object
└─ Id
The unique identifier for the specific selection/outcome optionnumber-
└─ Name
The display label for the selectionstring-
└─ Order
The sorting or layout priority index used to position the selection in the UInumber-
└─ Outcome
The coefficient or multiplier factor representing the current odds for this selectionnumber-
└─ SPPrice
The Starting Price valuenumber-
└─ Position
The field positioning reference or layout structural identifier for the selectionnumber-