Tips API
This documentation describes the available API endpoints for retrieving insights and tips on various fixtures, allowing customers to access detailed betting tips and statistics.AuthenticationThe API requires JWT Token authentication. To generate a token, follow these steps:
Log in to the backoffice.
Navigate to Widgets on the left sidebar.
Locate the widget relevant to your account.
Click on the three dots on the widget card and select Copy API Key.
The API key is used to generate a JWT token, which must be included in the Authorization
header of the API request.
Example of Authorization header:
Authorization: Bearer <jwt_token>
Bearer {jwt_token}
Language abbreviation (e.g., "en" for English)
en
List of fixture IDs for which insights are requested
[13892682,13892683]
POST /tips/api/v1/insights/batch HTTP/1.1
Host: sec-gw.lsports.eu
Authorization: Bearer {jwt_token}
Content-Type: application/json
Accept: */*
Content-Length: 50
{
"Language": "en",
"FixtureIds": [
13892682,
13892683
]
}
{
"batchGuid": "9287810e-1ee3-4ec7-a4aa-1f8cdf101014",
"fixtureInsights": [
{
"fixtureId": 13892682,
"type": "InPlay",
"insights": [
{
"marketId": 52,
"text": "{away} has lost 13 of her last 15 matches, in which she lost the 1st set",
"betName": "1",
"betLine": "",
"tipId": "d5927ab5820e1b9b0c5cbde4a714da3c",
"teamMemberName": null,
"teamMemberId": null
}
]
}
]
}
Bearer {jwt_token}
en
POST /tips/api/v1/tips HTTP/1.1
Host: sec-gw.lsports.eu
Authorization: Bearer {jwt_token}
Language: en
Content-Type: application/json
Accept: */*
Content-Length: 480
{
"Fixtures": [
{
"Id": "13772727",
"Date": "2024-10-19T14:00:00Z",
"Participants": [
{
"Id": "22",
"Name": "Manchester United",
"DisplayName": "Manchester United"
}
],
"Markets": [
{
"Id": "1",
"Name": "Match Result",
"Bets": [
{
"Id": "29152927913772727",
"Name": "1",
"Odds": 1.58,
"Line": "1.5"
}
]
}
],
"League": {
"Id": "67",
"Name": "Premier League",
"DisplayName": "Premier League"
},
"Sport": {
"Id": "1",
"Name": "Football",
"DisplayName": "Football"
},
"Location": {
"Id": "2",
"Name": "Old Trafford",
"DisplayName": "Old Trafford"
}
}
]
}
{
"Tips": [
{
"Id": "124e2908-4082-1581-be7d-06a8ff6a07fe",
"FixtureId": "13772727",
"MarketId": "1",
"BetId": "29152927913772727",
"PlayerId": null,
"Tip": "Brentford has lost all of their last 3 away meetings against Manchester United.",
"LSportsSportId": 6046,
"LSportsFixtureId": 13772727,
"LSportsLocationId": 243,
"LSportsPlayerId": null
}
],
"Errors": [
{
"ErrorType": 1,
"FixtureId": "13772727"
}
]
}
Bearer {jwt_token}
en
POST /tips/api/v1/getnewtips HTTP/1.1
Host: sec-gw.lsports.eu
Authorization: Bearer {jwt_token}
Language: en
Content-Type: application/json
Accept: */*
Content-Length: 802
{
"Fixtures": [
{
"Id": "13772727",
"Date": "2024-10-19T14:00:00Z",
"Participants": [
{
"Id": "22",
"Name": "Manchester United",
"DisplayName": "Manchester United"
}
],
"Markets": [
{
"Id": "1",
"Name": "Match Result",
"Bets": [
{
"Id": "29152927913772727",
"Name": "1",
"Odds": 1.58,
"Line": "1.5"
}
]
}
],
"League": {
"Id": "67",
"Name": "Premier League",
"DisplayName": "Premier League"
},
"Sport": {
"Id": "1",
"Name": "Football",
"DisplayName": "Football"
},
"Location": {
"Id": "2",
"Name": "Old Trafford",
"DisplayName": "Old Trafford"
}
}
],
"Tips": [
{
"Id": "124e2908-4082-1581-be7d-06a8ff6a07fe",
"FixtureId": "13772727",
"MarketId": "1",
"BetId": "29152927913772727",
"PlayerId": null,
"Tip": "Brentford has lost all of their last 3 away meetings against Manchester United.",
"LSportsSportId": 6046,
"LSportsFixtureId": 13772727,
"LSportsLocationId": 243,
"LSportsPlayerId": null
}
]
}
{
"AddedTips": [
{
"Id": "124e2908-4082-1581-be7d-06a8ff6a07fe",
"FixtureId": "13772727",
"MarketId": "1",
"BetId": "29152927913772727",
"PlayerId": null,
"Tip": "Brentford has lost all of their last 3 away meetings against Manchester United.",
"LSportsSportId": 6046,
"LSportsFixtureId": 13772727,
"LSportsLocationId": 243,
"LSportsPlayerId": null
}
],
"Errors": [
{
"ErrorType": 1,
"FixtureId": "13772727"
}
]
}
Last updated
Was this helpful?