v1

latestOpenAPI 3.0.12026-08-0673352.8 KB
API-Version-2.0

Obtain latest odds for a selection based on market key, outcome and params.

post/v2/odds/lines

Request body

eventIdstring required

Event ID for which the line fetch is requested

marketUrlstring required

marketUrl is composed from the initial Feed API selection response as marketKey/outcome?params. If no params (empty string) were present in the initial Feed API response, then omit the params query string format the marketUrl as marketKey/outcome Special Note about handicap markets: For handicap markets a line is identified by the same params. Selections can be grouped by market key and params alone. Home and away outcomes then have the same market URL for the same handicap lines. The handicap value is dictated by the home team value and inverted on the away side.

Example request

{
  "eventId": "6162894",
  "marketUrl": "basketball.handicap/home?handicap=-3"
}

Response

LineResponse

maxStakenumber double

maximum stake in EUR which can be placed in bets on this Selection; market liability = selection max stake * (price - 1);

minStakenumber double

minimum stake in EUR which can be placed in bets on this Selection

outcomestring

outcome of this Selection

paramsstring

parameters to be sent by the client during bet placement on this selection, such as handicap, period etc. Special Note about handicap markets: For handicap markets a line is identified by the same params. Selections can be grouped by market key and params alone. Home and away outcomes then have the same market URL for the same handicap lines. The handicap value is dictated by the home team value and inverted on the away side.

marketUrlstring

Providing a market URL for betting, it is composed from the initial Feed API selection response as marketKey/outcome?params

pricenumber double

price at which bets can be placed on this Selection

probabilitynumber double

probability of this Selection's outcome

side'BACK' | 'LAY'

Side of a selection signals whether a selection is available for back or lay side betting

status'SELECTION_DISABLED' | 'SELECTION_ENABLED'

SelectionStatus presents the current status for a given selection

Example response

{
  "maxStake": 1803.6394618802,
  "minStake": 0.1,
  "outcome": "\"home\"",
  "params": "\"handicap=-3\"",
  "marketUrl": "soccer.asian_handicap/home?handicap=-3",
  "price": 1.892,
  "probability": 0.493
}