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 6 Next »

Resource information

URLhttps://api.softnetsport.com/v2/trading-feed
XSD
MethodGET

Description

Returns all important messages for trading purposes including following message types:
betstops, outcome results, rollbacks, betting offers cancels

  • bet_stop
  • outcome_result
  • betting_offer_rollback
Cache0 seconds
Authorization requiredYes

Method parameters

NameTypeDescription
There are no method parameters in this resource 


Query parameters

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

timestampxsd:unix_timestamp

Selection date, format UNIX_TIMESTAMP. Only incidents that occurred or were updated after this timestamp will be returned.

By default (if no parameter given) incidents from last 24 hours.

timestamp_toxsd:unix_timestampSelection date, format UNIX_TIMESTAMP. Only incidents that occurred before this timestamp will be returned.
sport_idxsd:intIdentifier of the sport. Allows incidents for the selected sport to be filtered
typexsd:string

Determines type of message

  • bet_stop
  • outcome_result
  • betting_offer_rollback
object_id

object_type

Method calling examples

Link
Description
https://api.softnetsport.com/v2/trading-feed.xml?token={{YOUR_TOKEN}}Returns all important messages for trading purposes from the last 24 hours in XML format
https://api.softnetsport.com/v2/trading-feed?token={{YOUR_TOKEN}}Returns all important messages for trading purposes from the last 24 hours in JSON format

https://api.softnetsport.com/v2/trading-feed.xml?token={{YOUR_TOKEN}}&sport_id=1

Returns all important messages for trading purposes from the last 24 hours for basketball events

Output elements

.trading-feed
idUnique identifier for the message
type

Possible value:

  • bet_stop
  • outcome_result
  • outcome_result_rollback
  • betting_offer_cancel
  • betting_offer_cancel_rollback
sourceInternal attribute, please dont use this attribute
utInformation about the date and time of when the message was created. Format UNIX_TIMESTAMP.
..data
...bet_stopnode available only if message type is bet_stop


...outcome_resultnode available only if message type is bet_stop
  • No labels