Message Types Overview
Last updated
Last updated
To decrease the size of the messages sent and improve message transferring speed, all messages are sent in delta formats – meaning only changes will be sent to you. The first message will always be a full message with all available data.
Every message will hold a reference to the Fixture, Market, and Bet that they belong to.
Fixture metadata update - The first message for every fixture. The fixture message contains general data about the fixture, for example, StartDate, Status, Participants, etc.
Market update - Contains the updates of the bets prices in the ordered fixtures. For every market, you’ll receive a separate market message. Every Market holds data regarding lines and bets.
Livescore update - Contains the Livescore information of the fixture: Periods, scores, and statistics.
Settlements - Contains the settlements (resulting) that we’ve calculated and sent to customers.
Snapshot - Available using API request for prematch and Inplay. A full snapshot of the fixtures, results, and markets you have ordered. Fixture snapshot will be unavailable if it's ended over then 24 hours from your request.
Keep Alive - Contains fixture IDs according to your orders in InPlay, and which have live odds at least from 1 provider, not necessarily from your list. Fixtures are currently NSY, AboutToStart, InProgress, Interrupted, LostCoverage, and Postponed. This message is sent every 30 seconds.
Heartbeat - Contains the current date and time. Heartbeat messages will be sent every 5 seconds and they can be used to make sure that your connection is still alive.
OutrightFixture - Contains outright fixture metadata in the competition model. Relevant for racing sports: Horse Racing, Greyhounds, Trotting.
OutrightFixtureMarket - Contains outright market message in the competition model. Relevant for racing sports: Horse Racing, Greyhounds, Trotting.
OutrightScore - Contains results for outright sports from the livescore module in the competition model. Relevant for racing sports: Horse Racing, Greyhounds, Trotting. The message contains a list of all participants and their results.
OutrightSettlements - Contains an outright settlement message in the competition model. Relevant for racing sports: Horse Racing, Greyhounds, Trotting.
OutrightLeague - Each league has a fixture and all outright markets are connected to this fixture. Under this fixture, all markets are related to this league and season. Once a customer subscribes to a prematch league LSports auto-subscribe the customer to the outright fixture of that league and sends an outright fixture message (once created or changed). The outright fixture does not contain StartDate and Participants. The outright league is sent to customers in the competition model.
OutrightLeagueMarket - In the market message, each bet is a participant and contains a participant ID as part of the bet object. the message is the same as the regular fixture market update but bets will include participant ID. The outright markets are sent to customers in the competition model.
Id
Value
1
Fixture metadata update
2
Livescore update
3
Market update
31
Keep Alive
32
Heartbeat
35
Settlements
36
Snapshot
37
OutrightFixture
38
OutrightLeague
39
OutrightScore
40
OutrightLeagueMarket
41
OutrightFixtureMarket
42
OutrightSettlements