Variant Market Description Direct

This endpoint provides market descriptions and outcomes for markets from odds/settlement, containing "variant=<urn>".

Variant market descriptions direct

get

Lists outcomes for a market variant within a specified product (pre, liveodds, wns).

Authorizations
Path parameters
languagestringRequired

Language code for translation.

Default: en
productstring · enumRequired

Get market descriptions for prematch, live, or wns.

Default: prePossible values:
market_idintegerRequired

The ID for the market.

Default: 534
variant_urnstringRequired

The variant URN.

Default: pre:markettext:33421
Responses
200

successful operation

application/xml
get
GET /v1/{product}/descriptions/{language}/markets/{market_id}/variants/{variant_urn} HTTP/1.1
Host: global.api.betradar.com
x-access-token: YOUR_API_KEY
Accept: */*
<?xml version='1.0' encoding='UTF-8'?>
<market_descriptions response_code="OK">
  <market id="1095527" name="World Cup Overall 2022/23 - Winner" variant="pre:markettext:187185">
    <outcomes>
      <outcome id="pre:outcometext:12156219" name="Meillard, Loic"/>
      <outcome id="pre:outcometext:7470422" name="Kristoffersen, Henrik"/>
      <outcome id="pre:outcometext:7470419" name="Pinturault, Alexis"/>
      <outcome id="pre:outcometext:11529331" name="Sander, Andreas"/>
      <outcome id="pre:outcometext:11126109" name="Foss Solevaag, Sebastian"/>
      <outcome id="pre:outcometext:12156221" name="Odermatt, Marco"/>
      <outcome id="pre:outcometext:11517401" name="Kranjec, Zan"/>
      <outcome id="pre:outcometext:24481573" name="Haaser, Raphael"/>
      <outcome id="pre:outcometext:21634243" name="Crawford, James"/>
      <outcome id="pre:outcometext:11126131" name="Yule, Daniel"/>
      <outcome id="pre:outcometext:11669469" name="Hintermann, Niels"/>
      <outcome id="pre:outcometext:20143139" name="Hemetsberger, Daniel"/>
      ...
    </outcomes>
  </market>
</market_descriptions>

Endpoint Structure

  • <market_descriptions>

    • <market>

      • <outcomes>

        • <outcome>

XML Example

Request URL

https://api.betradar.com/v1/pre/descriptions/en/markets/1095527/variants/pre:markettext:187185

Response

<?xml version='1.0' encoding='UTF-8'?>
  <market_descriptions response_code="OK">
    <market id="1095527" name="World Cup Overall 2022/23 - Winner" variant="pre:markettext:187185">
      <outcomes>
        <outcome id="pre:outcometext:12156219" name="Meillard, Loic"/>
        <outcome id="pre:outcometext:7470422" name="Kristoffersen, Henrik"/>
        <outcome id="pre:outcometext:7470419" name="Pinturault, Alexis"/>
        <outcome id="pre:outcometext:11529331" name="Sander, Andreas"/>
        <outcome id="pre:outcometext:11126109" name="Foss Solevaag, Sebastian"/>
        <outcome id="pre:outcometext:12156221" name="Odermatt, Marco"/>
        <outcome id="pre:outcometext:11517401" name="Kranjec, Zan"/>
        <outcome id="pre:outcometext:24481573" name="Haaser, Raphael"/>
        <outcome id="pre:outcometext:21634243" name="Crawford, James"/>
        <outcome id="pre:outcometext:11126131" name="Yule, Daniel"/>
        <outcome id="pre:outcometext:11669469" name="Hintermann, Niels"/>
        <outcome id="pre:outcometext:20143139" name="Hemetsberger, Daniel"/>
        ...
      </outcomes>
    </market>
  </market_descriptions>

Last updated

Was this helpful?