rocketGetting Started

Connect to TRADE and start receiving real-time odds data

This guide walks you through connecting to TRADE's RabbitMQ feed and receiving real-time odds data.


Step 1: Get Your Credentials

Contact your Customer Success Manager (CSM) to receive:

Credential
Description

Username

Your account email

Password

Your account password

Package ID

Your unique subscription identifier


Step 2: Enable Your Distribution

Before consuming messages, enable your distribution:

Enable Distribution:

POST https://stm-api.lsports.eu/Distribution/Start

Request Body:

{
    "PackageId": "YOUR_PACKAGE_ID",
    "UserName": "YOUR_USERNAME",
    "Password": "YOUR_PASSWORD"
}

Response:

To disable distribution, use https://stm-api.lsports.eu/Distribution/Stop with the same request body.


Step 3: Connect to RabbitMQ

LSports uses RabbitMQ for real-time data streaming.

Connection Details

Parameter
Value

InPlay Host

inplay-rmq.lsports.eu

PreMatch Host

prematch-rmq.lsports.eu

Port

5672

Virtual Host

Customers

Queue Name

_YOUR_PACKAGE_ID_ (with underscores)

Quick Start (C#)

For more languages, see Code Samples.


Step 4: Request Initial Snapshot

RabbitMQ delivers delta updates only. On your initial connection, request a one-time snapshot:


Step 5: Map Your Data

Ensure your internal market mapping aligns with LSports' structure:


Step 6: Stress Test

Before going live, perform a stress test:

  1. Contact your CSM or Solution Engineer to schedule a test

  2. Verify your system handles peak message volumes

  3. Check latency and message processing times


Step 7: Go Live

Once testing is complete:

  1. Contact your CSM to schedule a go-live date

  2. We'll switch your account from testing to production

  3. Your ordered quota will be activated

Congratulations! You're now live with TRADE.


Next Steps

Last updated

Was this helpful?