Resource information
URL | https://api.softnetsport.com/v2/markets |
---|---|
XSD | https://api.softnetsport.com/assets/API/docs/xsd/markets.index.xsd |
Method | GET |
Description | Returns bookmakers used in the softnetSPORT API |
Package | This resource is included in PREMATCH ODDS, LIVEODDS packages |
Cache | 60 seconds |
Authorization required | No |
Method parameters
Name | Type | Description |
---|---|---|
There are not method parameters in this resource |
Query parameters
Name | Type | Description |
---|---|---|
page | xsd:int | Determines offset of paginated data. Default value is 1 which means first page |
limit | xsd: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 |
type | xsd:int | Determines the market type identifier. softnetSPORT API provides the following markets-types: markets-types.index |
subtype | xsd:string | Determines the subtype of the market. Possible values:
|
is_live | xsd:string | Determines the market type. Possible values:
|
sport_id | xsd:int | REQUIRED. Determines the sport identifier for the market. softnetSPORT API provides the following sports: sports.index |
timestamp | xsd:unix_timestamp | Selection date, format UNIX_TIMESTAMP. Only changes which occured or was updated after this timestamp will be returned |
Method calling examples
Link | Description |
---|---|
https://api.softnetsport.com/v2/markets.xml | Returns list of all markets in XML format |
https://api.softnetsport.com/v2/markets | Returns list of all markets in JSON format |
Output elements
.markets | |
---|---|
..market | |
id | Identifier of the market |
name | Name of the market f.e.: Fulltime - 1x2 |
pattern | Internal attribute (f.e Jump distance #addText#) |
type | Identifier type of the market f.e: Under/over, Asian. softnetSPORT API provides the following markets types: markets-types.index |
scope | Unique identifier of the scope. softnetSPORT API provides the following scopes: scopes.index |
sport_id | Unique identifier of the sport. softnetSPORT API provides the following sports: sports.index |
param_value | Possible values:
|
add_text | Possible values:
|
is_live | Possible values:
|
subtype | Possible values:
|
display_order | The parameter used to sort markets |
ut | Information about date and time when the record was last updated. Format UNIX_TIMESTAMP |
.outcomes | |
id | Identifier of the outcome |
name | Name of the outcome f.e: Home win, Under #param# |
display_order | The parameter used to sort outcomes in the market |