<market>

Element Description

The <market> element holds the outcome, specifier, and mapping outcome information.

Attributes

Lists special attributes that apply to particular markets. See table market description attributes below for descriptions of market attribute names.

Attribute

Description

id

Market ID as used in messages

name

Human readable name of the market (translatable). Has some markers that need to be replaced (See section below for more information)

groups

Pipe “|” separated list of groups that this market belongs to. A group is just a name/ string. These groups can be used in a bet_stop message to stop select markets. Currently only “all” and “player_props” groups are used.

market.outcome_type

Describes the type of outcome – allowed values are:

  • competitor: Competitor type outcomes means that the ids will be competitor ids (and possibly also some fixed outcomes such as "No Winner" etc. that is only using an integer number id and not an URN type id) - the competitors can only be ids of competitors listed to be part of this particular sport-event (otherwise use free text).

  • player: This outcome means that the ids will be players that play for either of the competitors in the specified sport-event. line up (preferred when available) or team-profile endpoints should be available to retrieve available players.

  • free_text: This outcome means that the ids will be variant ids, and will have to be looked up (the market will have a variant and this variant will list the market text as well as the outcome texts, and the ids in this message will refer to the outcome text).

Market attribute 'name' descriptions

Attribute Name

Description

is_flex_score

A flex score market. See Flex Score Markets below for a description.

deprecated

This market is no longer in use, but could still be seen for historical events (e.g. in replay or when requesting recovery)

Sub-elements

1. Outcomes

id

Outcome id as used in odds and settlement messages

name

Human readable name of the outcome (translatable).

2. Specifiers

Lists the additional specifiers that will always be sent for this market

id

Specifier ID

name

The name of the specifier as sent in the messages

type

What type the values for this specifier will have. (integer, decimal, variable_text)

Last updated

Was this helpful?