/
Markets List
Markets List
When requesting a list of markets per sport, POST request is:
Base URL /get_all_markets_per_sport
Required field for this call is the sport_id
With the above details the API provides the following message:
<markets timestamp="1613571248404">
</market>
<market id="7008" name="Home - Total Goals" spread="false">
<outcomes>
<outcome id="72" name="0"/>
<outcome id="1" name="1"/>
<outcome id="3" name="2"/>
<outcome id="223" name="2+"/>
<outcome id="76" name="3"/>
<outcome id="75" name="3+"/>
<outcome id="228" name="4+"/>
</outcomes>
</market>
<market id="7009" name="Away - Total goals" spread="false">
<outcomes>
<outcome id="72" name="0"/>
<outcome id="1" name="1"/>
<outcome id="3" name="2"/>
<outcome id="223" name="2+"/>
<outcome id="76" name="3"/>
<outcome id="75" name="3+"/>
<outcome id="228" name="4+"/>
</outcomes>
</market>
<market id="7010" name="Asian Handicaps" spread="true">
<outcomes>
<outcome id="1" name="1"/>
<outcome id="3" name="2"/>
</outcomes>
</market>
<market id="7011" name="Asian Totals" spread="true">
<outcomes>
<outcome id="6" name="Over"/>
<outcome id="7" name="Under"/>
</outcomes>
</market>
<market id="7012" name="Over/Under Lines" spread="true">
<outcomes>
<outcome id="6" name="Over"/>
<outcome id="7" name="Under"/>
</outcomes>
</market>
<market id="7013" name="European Handicap 3-way" spread="true">
<outcomes>
<outcome id="1" name="1"/>
<outcome id="3" name="2"/>
<outcome id="2" name="X"/>
</outcomes>
</market>
Tag markets has only one attribute which is timestamp with date and time when message was created.
Under that tag there is a tag named market that has ID and Name of the market and if it has Spread or not.
Under the tag market there is outcomes tag which contains data for all outcomes placed into child outcome tags. Tags outcome have attribute representing id of outcome and name attribute that represents name of the outcome.
, multiple selections available,
Related content
Matches List
Matches List
More like this
Categories List
Categories List
More like this
Odds And More Pre-Match Feed Documentation
Odds And More Pre-Match Feed Documentation
Read with this
Player Markets
Player Markets
More like this
Match Odds Request
Match Odds Request
Read with this
Tournaments List
Tournaments List
More like this