Versions Compared

Key

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

...

URLhttps://api.softnetsport.com/v2/markets
XSDhttps://api.softnetsport.com/assets/API/docs/xsd/markets.index.xsd
MethodGET

Description

This resource is included in the PREMATCH ODDS and ODDS COMPARISON packagesReturns bookmakers used in the softnetSPORT API
Package
Cache60 seconds
Authorization requiredNo

...

NameTypeDescription
tokenxsd:stringREQUIRED. More information concerning authorization in 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

typexsd:intDetermines the market type identifier. softnetSPORT API provides the following markets-types: markets-types.index
scope_idxsd:intDetermines the scope of the market. softnetSPORT API provides the following scopes: scopes.index 
subtypexsd:string

Determines the subtype of the market. Possible values:

  • 2-way
  • 3-way
  • n-way
sport_idxsd:intREQUIRED. Determines the sport identifier for the market. softnetSPORT API provides the following sports: sports.index 
timestampxsd:unix_timestampSelection date, format UNIX_TIMESTAMP. Only changes that occurred or were updated after this timestamp will be returned

...

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

Output elements

.markets 
..market 
idIdentifier of the market
nameName of the market e.g. Fulltime - 1x2
patternInternal attribute (e.g. Jump distance #addText# → Jump distance Noriaki Kasai)
typeIdentifier type for the market e.g. Totals, Asian, Corners. softnetSPORT API provides the following markets types: markets-types.index 
scope_idUnique identifier for the scope. softnetSPORT API provides the following scopes: scopes.index 
sport_idUnique identifier for the sport. softnetSPORT API provides the following sports: sports.index 
param_value

Possible values:

  • yes - the outcome of the market contains param value
  • no - - the outcome of the market doesn't cointans param value
add_text

Possible values:

  • yes
  • no
subtype

Possible values:

  • 2-way:  the market includes 2 possible outcomes
  • 3-way: the market includes 3 possible outcomes
  • n-way: the market includes 1 or at least 4 possible outcomes
status

Possible values:

  • active
  • inactive
descriptionDescription of the market
display_orderThe parameter used to sort markets
utInformation about the date and time of when the record was last updated. Format UNIX_TIMESTAMP
.outcomes 
idIdentifier of the outcome
nameName of the outcome e.g. Home, Under
patternPatter of the outcome name e.g. Under #param#
display_orderThe parameter used to sort outcomes in the market