Prematch Snapshot - DRAFT

Modified on Thu, 1 Feb at 5:05 PM

When subscribing to the RMQ service and connecting to our queue, you will only receive updates. In order to receive the full snapshot for all of the events, results and markets that you have ordered, you need to request a snapshot.

Note: It is only necessary to request the snapshot on startup, afterwards you will receive all new entries and updates via RMQ

You can request a snapshot from our API service via the following URL:

Method - POST
URL - https://stm-snapshot.lsports.eu/PreMatch/{Any of the actions below}

Requests limitations

  1. Full request with no filter is possible once every 15 seconds.
  2. Filtered requests are allowed 1 per second.
  3. Fixture snapshot will be unavailable if it's ended over then 24 hours from your request
Snapshot API is limited to 1 call per second - for ANY type of call altogethe

Body Scheme

{    "PackageId": YourPackageId,    "UserName": "YourUserName",    "Password": "YourPassword"
}{    "PackageId": YourPackageId,    "UserName": "YourUserName",    "Password": "YourPassword"}{    "PackageId": YourPackageId,    "UserName": "YourUserName",    "Password": "YourPassword"}{    "PackageId": YourPackageId,    "UserName": "YourUserName",    "Password": "YourPassword"}{    "PackageId": YourPackageId,    "UserName": "YourUserName",    "Password": "YourPassword"}{    "PackageId": YourPackageId,    "UserName": "YourUserName",    "Password": "YourPassword"}{    "PackageId": YourPackageId,    "UserName": "YourUserName",    "Password": "YourPassword"}{    "PackageId": YourPackageId,    "UserName": "YourUserName",    "Password": "YourPassword"}{    "PackageId": YourPackageId,    "UserName": "YourUserName",    "Password": "YourPassword"}
C

Action breakdown

GetEvents

Get information about all the Fixtures, market, livescore, settlement and metadata. 

Query Parameters:

ParameterDescriptionMandatory Field
UsernameUsername as it appears in the package.
String
PasswordPassword as it appears the package.
String
PackageIdPackageId as provided by LSports.
String
FromDateReturns events that start after a given Unix timestamp.
Integer
X
ToDateReturns events that start before the given Unix timestamp.
Integer
X
SportsComma-separated list of sport IDs
Default: All sports in the package
Get a list of the supported sports using GET Sports.
X
LocationsComma-separated list of location IDs
Default: All locations in the package
Get a list of the supported locations using GET Locations.
X
LeaguesComma-separated list of league IDs
Default: All leagues in the package
Get a list of the supported leagues using GET Leagues.
X
FixturesComma-separated list of fixture IDs
Default: All fixtures in the package
X
MarketsComma-separated list of market IDs
Default: All markets in the package
Get a list of the supported markets using GET Markets.
X

Response:

Status cose: 200 - Data retrieved

ParameterDescription






Example:

Request - 

Place holder

Response - 

Place Holder

GetFixtureMarkets

Get information about all the Fixtures, market, livescore, settlement and metadata. 

Query Parameters:

ParameterDescriptionMandatory Field
UsernameUsername as it appears in the package.
String
PasswordPassword as it appears the package.
String
PackageIdPackageId as provided by LSports.
String
FromDateReturns events that start after a given Unix timestamp.
Integer
X
ToDateReturns events that start before the given Unix timestamp.
Integer
X
SportsComma-separated list of sport IDs
Default: All sports in the package
Get a list of the supported sports using GET Sports.
X
LocationsComma-separated list of location IDs
Default: All locations in the package
Get a list of the supported locations using GET Locations.
X
LeaguesComma-separated list of league IDs
Default: All leagues in the package
Get a list of the supported leagues using GET Leagues.
X
FixturesComma-separated list of fixture IDs
Default: All fixtures in the package
X
MarketsComma-separated list of market IDs
Default: All markets in the package
Get a list of the supported markets using GET Markets.
X

Response:

Status cose: 200 - Data retrieved

ParameterDescription
FixtureID
Livescore
Markets
Market.Id
Market.Name
Market.Bets
Bet.Probabilty
Bet.SuspensionReason
Bet.Id
Bet.Name
Bet.Status
Bet.StartPrice
Bet.Price
Bet.ProviderBetId
Bet.LastUpdate
Bet.PricUS
Bet.PriceUK
Bet.ParticipantId

Example:

Request - 

curl --location 'https://stm-snapshot.lsports.eu/PreMatch/GetFixtureMarkets' \
--header 'Content-Type: application/json' \
--data-raw '{
"PackageId": YourPackageId,
"UserName": "YourUserName",
"Password": "YourPassword",
"Fixtures": [
12216877
],
"Markets": []
}'

Response - 

{
  "Header": {
    "Type": 36,
    "MsgGuid": "2dab9353-87ab-4240-8827-b4ec3cc32287",
    "ServerTimestamp": 1706787159270
  },
  "Body": [
    {
      "FixtureId": 12216877,
      "Livescore": null,
      "Markets": [
        {
          "Id": 63,
          "Name": "12 Halftime",
          "Bets": [
            {
              "Probability": 0.31925,
              "Id": 16520642012216876,
              "Name": "2",
              "Status": 1,
              "StartPrice": "1.0",
              "Price": "2.9",
              "ProviderBetId": "8",
              "LastUpdate": "2024-02-01T11:20:17.9612654Z",
              "PriceUS": "190",
              "PriceUK": "19/10"
            },
            {
              "Probability": 0.68075,
              "Id": 16520642112216876,
              "Name": "1",
              "Status": 1,
              "StartPrice": "1.0",
              "Price": "1.36",
              "ProviderBetId": "8",
              "LastUpdate": "2024-02-01T11:20:17.9612864Z",
              "PriceUS": "-278",
              "PriceUK": "9/25"
            }
          ]
        }
      ]
    }
  ]
}


GetFixtures

Get information about all the Fixtures, market, livescore, settlement and metadata. 

Query Parameters:

ParameterDescriptionMandatory Field
UsernameUsername as it appears in the package.
String
PasswordPassword as it appears the package.
String
PackageIdPackageId as provided by LSports.
String
FromDateReturns events that start after a given Unix timestamp.
Integer
X
ToDateReturns events that start before the given Unix timestamp.
Integer
X
SportsComma-separated list of sport IDs
Default: All sports in the package
Get a list of the supported sports using GET Sports.
X
LocationsComma-separated list of location IDs
Default: All locations in the package
Get a list of the supported locations using GET Locations.
X
LeaguesComma-separated list of league IDs
Default: All leagues in the package
Get a list of the supported leagues using GET Leagues.
X
FixturesComma-separated list of fixture IDs
Default: All fixtures in the package
X
MarketsComma-separated list of market IDs
Default: All markets in the package
Get a list of the supported markets using GET Markets.
X

Response:

Status cose: 200 - Data retrieved

ParameterDescription






Example:

Request - 

Place holder

Response - 

Place Holder

GetScores

Get information about all the Fixtures, market, livescore, settlement and metadata. 

Query Parameters:

ParameterDescriptionMandatory Field
UsernameUsername as it appears in the package.
String
PasswordPassword as it appears the package.
String
PackageIdPackageId as provided by LSports.
String
FromDateReturns events that start after a given Unix timestamp.
Integer
X
ToDateReturns events that start before the given Unix timestamp.
Integer
X
SportsComma-separated list of sport IDs
Default: All sports in the package
Get a list of the supported sports using GET Sports.
X
LocationsComma-separated list of location IDs
Default: All locations in the package
Get a list of the supported locations using GET Locations.
X
LeaguesComma-separated list of league IDs
Default: All leagues in the package
Get a list of the supported leagues using GET Leagues.
X
FixturesComma-separated list of fixture IDs
Default: All fixtures in the package
X
MarketsComma-separated list of market IDs
Default: All markets in the package
Get a list of the supported markets using GET Markets.
X

Response:

Status cose: 200 - Data retrieved

ParameterDescription






Example:

Request - 

Place holder

Response - 

Place Holder

GetOutrightEvents

Get information about all the Fixtures, market, livescore, settlement and metadata. 

Query Parameters:

ParameterDescriptionMandatory Field
UsernameUsername as it appears in the package.
String
PasswordPassword as it appears the package.
String
PackageIdPackageId as provided by LSports.
String
FromDateReturns events that start after a given Unix timestamp.
Integer
X
ToDateReturns events that start before the given Unix timestamp.
Integer
X
SportsComma-separated list of sport IDs
Default: All sports in the package
Get a list of the supported sports using GET Sports.
X
LocationsComma-separated list of location IDs
Default: All locations in the package
Get a list of the supported locations using GET Locations.
X
LeaguesComma-separated list of league IDs
Default: All leagues in the package
Get a list of the supported leagues using GET Leagues.
X
FixturesComma-separated list of fixture IDs
Default: All fixtures in the package
X
MarketsComma-separated list of market IDs
Default: All markets in the package
Get a list of the supported markets using GET Markets.
X

Response:

Status cose: 200 - Data retrieved

ParameterDescription
Id

Name

Type

Events

Event.FixtureId
Event.OutrightFixture
OutrightFixture.Subscription.Type
OutrightFixture.Subscription.Status

OutrightFixture.Sport.Id

OutrightFixture.Sport.Name

OutrightFixture.Location.Id 
OutrightFixture.Location.Name

OutrightFixture.StartDate

OutrightFixture.LastUpdate

OutrightFixture.Status

Participants

Participant.Id

Participant.Name

Participant.Position

Participant.IsActive

Participant.ExtraData

OutrightFixture.ExtraData

Livescore

Markets

Example:

Request -

curl --location 'https://stm-snapshot.lsports.eu/PreMatch/GetOutrightFixture' \
--header 'Content-Type: application/json' \
--data-raw '{
"PackageId": YourPackageId,
"UserName": "YourUserName",
"Password": "YourPassword",
"Fixtures": [],
"Markets": []
}'

Response - 

{
  "Header": {
    "Type": 36,
    "MsgGuid": "b67c3bb6-4a8f-4483-abcb-68f7f0564c63",
    "ServerTimestamp": 1706788518739
  },
  "Body": [
    {
      "Id": 11603,
      "Name": "Ascot Gold Cup - Antepost",
      "Type": 1,
      "Events": [
        {
          "FixtureId": 11144792,
          "OutrightFixture": {
            "Subscription": {
              "Type": 2,
              "Status": 3
            },
            "Sport": {
              "Id": 687888,
              "Name": "Horse Racing"
            },
            "Location": {
              "Id": 2,
              "Name": "Great Britain"
            },
            "StartDate": "2024-06-20T15:20:00",
            "LastUpdate": "2023-09-11T11:31:54.464129",
            "Status": 1,
            "Participants": [
              {
                "Id": 52197130,
                "Name": "Tower Of London",
                "Position": "17",
                "IsActive": 1,
                "ExtraData": [
                  {
                    "Name": "IsRunning",
                    "Value": "True"
                  },
                  {
                    "Name": "ProgramNumber",
                    "Value": "10"
                  },
                  {
                    "Name": "Dam",
                    "Value": "Snow Pine"
                  },
                  {
                    "Name": "DamSire",
                    "Value": "Anabaa"
                  },
                  {
                    "Name": "Sire",
                    "Value": "Galileo"
                  },
                  {
                    "Name": "Color",
                    "Value": "Bay"
                  },
                  {
                    "Name": "Gender",
                    "Value": "Colt"
                  },
                  {
                    "Name": "ProviderParticipantId",
                    "Value": "47992948"
                  }
                ]
              }
            ],
            "ExtraData": [
              {
                "Name": "WithLivescore",
                "Value": "false"
              },
              {
                "Name": "WithInPlay",
                "Value": "false"
              },
              {
                "Name": "RaceNumber",
                "Value": "1"
              },
              {
                "Name": "RaceTitle",
                "Value": "Greyhound Derby 2024"
              }
            ]
          },
          "Livescore": null,
          "Markets": null
        }
      ]
    }
  ]
}

GetOutrightFixtureMarkets

Get information about all the Fixtures, market, livescore, settlement and metadata. 

Query Parameters:

ParameterDescriptionMandatory Field
UsernameUsername as it appears in the package.
String
PasswordPassword as it appears the package.
String
PackageIdPackageId as provided by LSports.
String
FromDateReturns events that start after a given Unix timestamp.
Integer
X
ToDateReturns events that start before the given Unix timestamp.
Integer
X
SportsComma-separated list of sport IDs
Default: All sports in the package
Get a list of the supported sports using GET Sports.
X
LocationsComma-separated list of location IDs
Default: All locations in the package
Get a list of the supported locations using GET Locations.
X
LeaguesComma-separated list of league IDs
Default: All leagues in the package
Get a list of the supported leagues using GET Leagues.
X
FixturesComma-separated list of fixture IDs
Default: All fixtures in the package
X
MarketsComma-separated list of market IDs
Default: All markets in the package
Get a list of the supported markets using GET Markets.
X

Response:

Status cose: 200 - Data retrieved

ParameterDescription
Id
Name
Type
Events
FixtureID
Livescore
Markets
Market.Id
Market.Name
Market.Bets
Bet.Probabilty
Bet.Id
Bet.Name
Bet.Status
Bet.StartPrice
Bet.Price
Bet.ProviderBetId
Bet.LastUpdate
Bet.PricUS
Bet.PriceUK

Bet.ParticipantId

Example:

Request - 

curl --location 'https://stm-snapshot.lsports.eu/PreMatch/GetOutrightFixtureMarkets' \
--header 'Content-Type: application/json' \
--data-raw '
{
"PackageId": YourPackageId,
"UserName": "YourUserName",
"Password": "YourPassword",
"Fixtures": [],
"Markets": []
}'

Response - 

{
  "Header": {
    "Type": 36,
    "MsgGuid": "646d5bbc-13c8-48e1-9c43-14f5a5d6758c",
    "ServerTimestamp": 1706790865356
  },
  "Body": [
    {
      "Id": 11603,
      "Name": "Ascot Gold Cup - Antepost",
      "Type": 1,
      "Events": [
        {
          "FixtureId": 11144792,
          "Livescore": null,
          "Markets": [
            {
              "Id": 160,
              "Name": "Race Winner",
              "Bets": [
                {
                  "Probability": -1.0,
                  "Id": 105102998911144792,
                  "Name": "Saint George",
                  "Status": 1,
                  "StartPrice": "1.0",
                  "Price": "15",
                  "ProviderBetId": "0",
                  "LastUpdate": "2023-09-13T11:47:11.2084836Z",
                  "PriceUS": "1400",
                  "PriceUK": "14/1",
                  "ParticipantId": 51534242
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

GetOutrightFixture

Get information about all the Fixtures, market, livescore, settlement and metadata. 

Query Parameters:

ParameterDescriptionMandatory Field
UsernameUsername as it appears in the package.
String
PasswordPassword as it appears the package.
String
PackageIdPackageId as provided by LSports.
String
FromDateReturns events that start after a given Unix timestamp.
Integer
X
ToDateReturns events that start before the given Unix timestamp.
Integer
X
SportsComma-separated list of sport IDs
Default: All sports in the package
Get a list of the supported sports using GET Sports.
X
LocationsComma-separated list of location IDs
Default: All locations in the package
Get a list of the supported locations using GET Locations.
X
LeaguesComma-separated list of league IDs
Default: All leagues in the package
Get a list of the supported leagues using GET Leagues.
X
FixturesComma-separated list of fixture IDs
Default: All fixtures in the package
X
MarketsComma-separated list of market IDs
Default: All markets in the package
Get a list of the supported markets using GET Markets.
X

Response:

Status cose: 200 - Data retrieved

ParameterDescription
Id

Name

Type

Events

Event.FixtureId
Event.OutrightFixture
OutrightFixture.Subscription.Type
OutrightFixture.Subscription.Status

OutrightFixture.Sport.Id

OutrightFixture.Sport.Name

OutrightFixture.Location.Id 
OutrightFixture.Location.Name

OutrightFixture.StartDate

OutrightFixture.LastUpdate

OutrightFixture.Status

Participants

Participant.Id

Participant.Name

Participant.Position

Participant.IsActive

Participant.ExtraData

OutrightFixture.ExtraData

Livescore

Markets


Example:

Request - 

curl --location 'https://stm-snapshot.lsports.eu/PreMatch/GetOutrightFixture' \
--header 'Content-Type: application/json' \
--data-raw '
{
    "PackageId": YourPackageId,
    "UserName": "YourUserName",
    "Password": "YourPassword",
    "Fixtures": [11144792],
    "Markets": []
}'

Response - 

{
  "Header": {
    "Type": 36,
    "MsgGuid": "21f29e90-054c-4ce7-a297-cb7c5dbe16c1",
    "ServerTimestamp": 1706791823881
  },
  "Body": [
    {
      "Id": 11603,
      "Name": "Ascot Gold Cup - Antepost",
      "Type": 1,
      "Events": [
        {
          "FixtureId": 11144792,
          "OutrightFixture": {
            "Subscription": {
              "Type": 2,
              "Status": 3
            },
            "Sport": {
              "Id": 687888,
              "Name": "Horse Racing"
            },
            "Location": {
              "Id": 2,
              "Name": "Great Britain"
            },
            "StartDate": "2024-06-20T15:20:00",
            "LastUpdate": "2023-09-11T11:31:54.464129",
            "Status": 1,
            "Participants": [
              {
                "Id": 52197130,
                "Name": "Tower Of London",
                "Position": "17",
                "IsActive": 1,
                "ExtraData": [
                  {
                    "Name": "IsRunning",
                    "Value": "True"
                  },
                  {
                    "Name": "ProgramNumber",
                    "Value": "10"
                  },
                  {
                    "Name": "Dam",
                    "Value": "Snow Pine"
                  },
                  {
                    "Name": "DamSire",
                    "Value": "Anabaa"
                  },
                  {
                    "Name": "Sire",
                    "Value": "Galileo"
                  },
                  {
                    "Name": "Color",
                    "Value": "Bay"
                  },
                  {
                    "Name": "Gender",
                    "Value": "Colt"
                  },
                  {
                    "Name": "ProviderParticipantId",
                    "Value": "47992948"
                  }
                ]
              }
            ],
            "ExtraData": [
              {
                "Name": "WithInPlay",
                "Value": "false"
              },
              {
                "Name": "WithLivescore",
                "Value": "false"
              },
              {
                "Name": "RaceNumber",
                "Value": "1"
              },
              {
                "Name": "RaceTitle",
                "Value": "Ascot Gold Cup 2024"
              }
            ]
          },
          "Livescore": null,
          "Markets": null
        }
      ]
    }
  ]
}


GetOutrightScores

Get information about all the Fixtures, market, livescore, settlement and metadata. 

Query Parameters:

ParameterDescriptionMandatory Field
UsernameUsername as it appears in the package.
String
PasswordPassword as it appears the package.
String
PackageIdPackageId as provided by LSports.
String
FromDateReturns events that start after a given Unix timestamp.
Integer
X
ToDateReturns events that start before the given Unix timestamp.
Integer
X
SportsComma-separated list of sport IDs
Default: All sports in the package
Get a list of the supported sports using GET Sports.
X
LocationsComma-separated list of location IDs
Default: All locations in the package
Get a list of the supported locations using GET Locations.
X
LeaguesComma-separated list of league IDs
Default: All leagues in the package
Get a list of the supported leagues using GET Leagues.
X
FixturesComma-separated list of fixture IDs
Default: All fixtures in the package
X
MarketsComma-separated list of market IDs
Default: All markets in the package
Get a list of the supported markets using GET Markets.
X

Response:

Status cose: 200 - Data retrieved

ParameterDescription
Id

Name

Type

Events

Event.FixtureId
Event.LiveScore
Event.OutrightScore
OutrightScore .Status
OutrightScore.ParticipantResults
ParticipantResult.ParticipantId
ParticipantResult.Name
ParticipantResult.Result
Markets


Example:

Request - 

curl --location 'https://stm-snapshot.lsports.eu/PreMatch/GetOutrightScores' \
--header 'Content-Type: application/json' \
--data '{
    "PackageId": YourPackageId,
    "UserName": "YourUserName",
    "Password": "YourPassword"
}'

Response - 

{
  "Header": {
    "Type": 36,
    "MsgGuid": "f9a78f16-7288-468b-bde9-dc2b6e46fec1",
    "ServerTimestamp": 1706793259467
  },
  "Body": [
    {
      "Id": 3397,
      "Name": "Vaal",
      "Type": 1,
      "Events": [
        {
          "FixtureId": 12206134,
          "Livescore": null,
          "OutrightScore": {
            "Status": 3,
            "ParticipantResults": [
              {
                "ParticipantId": 53616500,
                "Name": "Ready Set Fire",
                "Result": 3
              },
              {
                "ParticipantId": 51694453,
                "Name": "Cosmic Speed",
                "Result": 2
              },
              {
                "ParticipantId": 52368559,
                "Name": "Fire Attack",
                "Result": 1
              }
            ]
          },
          "Markets": null
        }
      ]
    }
  ]
}


GetOutrightLeagues

Get information about all the Fixtures, market, livescore, settlement and metadata. 

Query Parameters:

ParameterDescriptionMandatory Field
UsernameUsername as it appears in the package.
String
PasswordPassword as it appears the package.
String
PackageIdPackageId as provided by LSports.
String
FromDateReturns events that start after a given Unix timestamp.
Integer
X
ToDateReturns events that start before the given Unix timestamp.
Integer
X
SportsComma-separated list of sport IDs
Default: All sports in the package
Get a list of the supported sports using GET Sports.
X
LocationsComma-separated list of location IDs
Default: All locations in the package
Get a list of the supported locations using GET Locations.
X
LeaguesComma-separated list of league IDs
Default: All leagues in the package
Get a list of the supported leagues using GET Leagues.
X
FixturesComma-separated list of fixture IDs
Default: All fixtures in the package
X
MarketsComma-separated list of market IDs
Default: All markets in the package
Get a list of the supported markets using GET Markets.
X

Response:

Status cose: 200 - Data retrieved

ParameterDescription
Id

Name

Type

Competitions

Competition.Id
Competition.Name

Competition.Type

Events
Event.FixtureId
Event.OutrightLeague
OutrightLeague.Subscription.Type
OutrightLeague.Subscription.Status

OutrightLeague.Sport.Id

OutrightLeague.Sport.Name

OutrightLeague.Location.Id 
OutrightLeague.Location.Name

OutrightLeague.LastUpdate

OutrightLeague.Status

OutrightLeague.ExtraData

Livescore

Markets


Example:

Request - 

curl --location 'https://stm-snapshot.lsports.eu/PreMatch/GetOutrightLeagues' \
--header 'Content-Type: application/json' \
--data '{
    "PackageId": YourPackageId,
    "UserName": "YourUserName",
    "Password": "YourPassword",
    "Fixtures": [],
    "Markets": []
}'

Response - 

{
  "Header": {
    "Type": 36,
    "MsgGuid": "e3522c81-934e-43d3-82e9-5f93cc86d3b2",
    "ServerTimestamp": 1706798038638
  },
  "Body": [
    {
      "Id": 41846,
      "Name": "Grand Slam of Darts",
      "Type": 3,
      "Competitions": [
        {
          "Id": 1,
          "Name": "All",
          "Type": 4,
          "Events": [
            {
              "FixtureId": 11718067,
              "OutrightLeague": {
                "Subscription": {
                  "Type": 2,
                  "Status": 1
                },
                "Sport": {
                  "Id": 154923,
                  "Name": "Darts"
                },
                "Location": {
                  "Id": 248,
                  "Name": "International"
                },
                "LastUpdate": "2023-11-08T15:32:00.271039",
                "Status": 1,
                "ExtraData": [
                  {
                    "Name": "WithInPlay",
                    "Value": "false"
                  },
                  {
                    "Name": "WithLivescore",
                    "Value": "false"
                  }
                ]
              },
              "Livescore": null,
              "Markets": null
            }
          ]
        }
      ]
    }
  ]
}


GetOutrightLeagueMarkets

Get information about all the Fixtures, market, livescore, settlement and metadata. 

Query Parameters:

ParameterDescriptionMandatory Field
UsernameUsername as it appears in the package.
String
PasswordPassword as it appears the package.
String
PackageIdPackageId as provided by LSports.
String
FromDateReturns events that start after a given Unix timestamp.
Integer
X
ToDateReturns events that start before the given Unix timestamp.
Integer
X
SportsComma-separated list of sport IDs
Default: All sports in the package
Get a list of the supported sports using GET Sports.
X
LocationsComma-separated list of location IDs
Default: All locations in the package
Get a list of the supported locations using GET Locations.
X
LeaguesComma-separated list of league IDs
Default: All leagues in the package
Get a list of the supported leagues using GET Leagues.
X
FixturesComma-separated list of fixture IDs
Default: All fixtures in the package
X
MarketsComma-separated list of market IDs
Default: All markets in the package
Get a list of the supported markets using GET Markets.
X

Response:

Status cose: 200 - Data retrieved

ParameterDescription
Id
Name
Type
Events
Event.FixtureID
Event.Livescore
Event.Markets
Market.Id
Market.Name
Market.Bets
Bet.Probabilty
Bet.SuspensionReason
Bet.Id
Bet.Name
Bet.Status
Bet.StartPrice
Bet.Price
Bet.ProviderBetId
Bet.LastUpdate
Bet.PricUS
Bet.PriceUK
Bet.ParticipantId

Example:

Request - 

curl --location 'https://stm-snapshot.lsports.eu/PreMatch/GetOutrightLeagueMarkets' \
--header 'Content-Type: application/json' \
--data '{
    "PackageId": YourPackageId,
    "UserName": "YourUserName",
    "Password": "YourPassword",
    "Fixtures": [],
    "Markets": []
}'

Response - 

{
  "Header": {
    "Type": 36,
    "MsgGuid": "a77f0678-4e60-4548-a3b3-a0881a79f8cc",
    "ServerTimestamp": 1706798608024
  },
  "Body": [
    {
      "Id": 20913,
      "Name": "Série A",
      "Type": 3,
      "Competitions": [
        {
          "Id": 731,
          "Name": "2024",
          "Type": 4,
          "Events": [
            {
              "FixtureId": 12003961,
              "Livescore": null,
              "Markets": [
                {
                  "Id": 274,
                  "Name": "Outright Winner",
                  "Bets": [
                    {
                      "Probability": -1.0,
                      "SuspensionReason": 14,
                      "Id": 192287950312003961,
                      "Name": "Athletico Paranaense",
                      "Status": 2,
                      "StartPrice": "1.0",
                      "Price": "41",
                      "ProviderBetId": "145",
                      "LastUpdate": "2024-01-29T00:04:59.130324Z",
                      "PriceUS": "4000",
                      "PriceUK": "40/1",
                      "ParticipantId": 77698
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article