Versions Compared

Key

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

Resource information

XSD
URLhttps://api.softnetsportstatscore.com/v2/markets
MethodGET

Description

Returns markets used in BetPartner producta list of all available markets for prematch and live odds
Cache60 seconds
Authorization requiredYes

...

NameTypeDescription
tokenxsd:stringREQUIRED. There is more information concerning authorization 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 records on page. Used in paginated data. Default value is 500

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

market_type_idxsd:intDetermines the market type identifier. The complete list of possible markets types can be retrieved using the API resource: market-types.index
scope_idxsd:intDetermines the scope of the market. The complete list of possible scopes can be retrieved using the API resource: scopes.index
subtypexsd:string

Determines the subtype of the market. Possible values:

  • 2-way
  • 3-way
  • n-way
sport_idxsd:intDetermines the sport identifier for the market. The complete list of possible sports can be retrieved using the API resource: sports.index
is_default_marketxsd:int

Possible values:

  • yes - market is default for sport e.g: 1x2 market is default for soccer
  • no - market is not default
is_livexsd:string

Possible values:

  • yes - the market could be offer in live betting
  • no - the market couldn't be offer in live betting.
is_prematchxsd:string

Possible values:

  • yes - the market could be offer in prematch betting
  • no - the market couldn't be offer in prematch betting
statusxsd:int

Determines the status of the market. Possible values:

  • active - market currently using in our service
  • inactive - market which will be supported in the future 
timestampxsd:unix_timestampSelection date, format UNIX_TIMESTAMP. Only changes that occurred or were updated after this timestamp will be returned

Method calling examples

LinkDescription
https://api.softnetsportstatscore.com/v2/markets.xmlReturns a list of all markets in XML format
https://api.softnetsportstatscore.com/v2/marketsReturns a list of all markets in JSON format

...