Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Resource information

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

Description

Returns bookmakers used in the softnetSPORT API
PackageThis resource is included in PREMATCH ODDS, LIVEODDS packages
Cache60 seconds
Authorization requiredNo

Method parameters

NameTypeDescription
There are not method parameters in this resource 

Query parameters

NameTypeDescription
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
subtypexsd:string

Determines the subtype of the market. Possible values:

  • 2-way
  • 3-way
  • n-way
is_livexsd:string

Determines the market type. Possible values:

  • yes - the market will be used for live odds
  • no - the market will be used for pre-match odds
timestampxsd:unix_timestampSelection date, format UNIX_TIMESTAMP. Only changes which occured or was updated after this timestamp will be returned

Method calling examples

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

Output elements

.markets 
..market 
idIdentifier of the market
nameName of the market f.e.: Fulltime - 1x2
patternInternal attribute f.e Jump distance #addText#
typeIdentifier type of the market f.e: Under/over, Asian. softnetSPORT API provides the following markets types: markets-types.index
scopeUnique identifier of the scope. softnetSPORT API provides the following scopes: scopes.index
sport_idUnique identifier of the sport. softnetSPORT API provides the following sports: sports.index
param_value

Possible values:

  • yes
  • no
add_text

Possible values:

  • yes
  • no
is_live

Possible values:

  • yes - the market will be use in live odds
  • no - the market will be use in prematch odds
subtype

Possible values:

  • 2-way:  the market includes 2 possible outcomes
  • 3-way: the market includes 3 possible outcomes
  • n-way: the market includes at least 4 possible outcomes
display_order 
utInformation about date and time when the record was last updated. Format UNIX_TIMESTAMP
.outcomes 
idIdentifier of the outcome
nameName of the outcome f.e: Home win, Under #param#
display_order 
  • No labels