Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameTypeDescription
tokenxsd:stringREQUIRED. There is more information concerning authorization in the API introduction section
langxsd:stringDetermines the language for the output data. The complete list of possible languages can be retrieved using the API resource: languages.index
tzxsd:stringDetermines timezone for the output data. The complete list of possible time zones is included in the API introduction section
pagexsd:intDetermines offset of paginated data. Default value is 1 which means first page
limitxsd:int

Determines maximum number of returned betting markets on page. Used in paginated data. Default value is 50

Possible values: 5, 10, 25, 50, 100

is_live_marketxsd:string

Possible values:

  • yes - display all in-play betting markets
  • no - display all prematch betting markets*
* If live odds are going to be available for the event one minute before the event start date we will change this attribute from „no” to „yes”. If we don't offer live odds for the event all betting markets will be closed at this moment.market_id
xsd:intDetermines the market identificator. Possibility to input multiple identifiers, separated by comma. The complete list of possible markets can be retrieved using the API resource: markets.index
scope_idxsd:intDetermines the scope identificator. Possibility to input multiple identifiers, separated by comma. The complete list of possible scopes can be retrieved using the API resource: scopes.index
market_type_idxsd:intDetermines the market type identificator. Possibility to input multiple identifiers, separated by comma. The complete list of possible markets types can be retrieved using the API resource: markets-types.index
default_marketxsd:int

Possible values:

  • yes - display only one most important market for each sport. For soccer it will be 1x2 market, for tennis: 12 market. The complete list of possible markets and their default market can be retrieved using the API resource: markets.index
  • no - display all markets for sport excluding the one market marked as a default (default value)
sort_typexsd:string

Determines sort order of data. Possible values:

  • competition - betting markets are sorted by the name of the competition
  • start_date - betting markets are sorted by the start_date (default value)
sort_orderxsd:string

Additional parameter for sort_type which determines the direction of sorting (ascending, descending)
Possible values:

  • asc - sort ascending
  • desc - sort descending (default value)
market_idsxsd:stringList of market identifiers separated by a comma (e.g. 123,234,321). Possibility to input multiple identifiers, separated by comma.

The complete list of possible markets can be retrieved using the API resource: markets.index

betting_offer_statusxsd:string

Determines status of betting offer. Possible values:

  • active - the odds are published and users can make bets. Defaut value for new betting market
  • suspended - the users can't bet on the market (e.g when team received the red card)
  • closed - the market is closed and no further bets will be taken
  • removed - the market is removed and no further bets will be taken
  • resulted - final status of the market, all outcomes for betting market have results
resulted_outcomesxsd:stringDetermines values of outcomes result:
  • yes - outcomes with result attribute
  • no - outcomes without result attribute
timestampxsd:unix_timestampSelection date, format UNIX_TIMESTAMP. Only changes that occurred or were updated after this timestamp will be returned

...

  • date_from=2015-03-01
  • date_to=2015-03-02
  • sport_id=5

    QuestionQuery paremetersNote
    1How do you retrieve a list of prematch odds?
    • is_live_market=no
    2How do you retrieve a list of live odds?
    • is_live_market=yes
    3How do you retrieve a list of odds for a selected date for soccer?4How do you retrieve a list of live odds for soccer?
    • is_live_market=yes
    • sport_id=5
    5How do you retrieve a list of prematch odds for soccer?
    • is_live_market=no
    • sport_id=5
    6

    How do you retrieve a list of prematch odds for soccer eg. England only?

    • sport_id=5
    • area_id=5
    • is_live_market=no
    7

    How do you retrieve a list of prematch odds for a single event?

    • object_type=event
    • object_id=12345
    • is_live_market=no
    8How do you retrieve a list of live odds for a single event?
    • object_type=event
    • object_id=12345
    • is_live_market=yes
    9

    How do you retrieve a list of odds related to a single season?

    • object_type=season
    • object_id=7891
    10

    How do you retrieve a list of all outrights odds related to a single season?

    • object_type=season
    • object_id=7891
    • market_type_id=15
    11How do you retrieve a list of betting markets updated from selected date?
    • ut=1289009099

    122

    How do you retrieve a list of betting markets having all resulted outcomes?


    • betting_market_status=resulted

    133How do you retrieve a list of betting markets having resulted a part of outcomes?
    • resulted_outcomes=yes

    414How do you retrieve a list of betting markets related to FC Barcelona?participipant_id=4233567Scope

    5Typy marketów