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 3 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:string

Determines the market type. Possible values:

  • prematch
  • live
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 
id 
name 
pattern 
scope 
sport_id 
param_value 
add_text 
subtype

Possible values:

  • 2-ways
  • 3-ways
  • n-ways
display_order 
  
  
utInformation about date and time when the record was last updated. Format UNIX_TIMESTAMP
.outcomes 
id 
name 
display_order 
  • No labels