Subscription
This documentation outlines a set of API endpoints for managing and interacting with TRADE, including fixture subscriptions, data distribution, and market management.
Note: This endpoint can only be called from a browser. It won't work when called through Postman or similar tools.
Success
No content
GET /Archive/Download?FixtureId=text&PackageId=1&UserName=text&Password=text HTTP/1.1
Host: stm-api.lsports.eu
Accept: */*
Success
No content
Success
POST /Fixtures/Subscribe HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 66
{
"packageId": 1,
"userName": "text",
"password": "text",
"fixtures": [
1
]
}Success
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"fixtures": [
{
"fixtureId": 1,
"success": true,
"errorMessage": "text"
}
]
}
}Success
POST /Fixtures/Unsubscribe HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 66
{
"packageId": 1,
"userName": "text",
"password": "text",
"fixtures": [
1
]
}Success
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"fixtures": [
{
"fixtureId": 1,
"success": true,
"errorMessage": "text"
}
]
}
}Success
GET /Fixtures/GetSubscribedMetadata?FromDate=2026-01-01T00%3A00%3A00.000Z&ToDate=2026-01-01T00%3A00%3A00.000Z&PackageId=1&UserName=text&Password=text HTTP/1.1
Host: stm-api.lsports.eu
Accept: */*
Success
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"subscribedFixtures": [
{
"fixtureId": 1,
"fixtureName": "text",
"startDate": "2026-01-01T00:00:00.000Z",
"lastUpdate": "2026-01-01T00:00:00.000Z",
"sportId": 1,
"locationId": 1,
"leagueId": 1,
"fixtureStatus": 1,
"participants": [
{
"participantId": 1,
"participantName": "text"
}
]
}
]
}
}Success
POST /Leagues/Subscribe HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 111
{
"packageId": 1,
"userName": "text",
"password": "text",
"subscriptions": [
{
"sportId": 1,
"locationId": 1,
"leagueId": 1
}
]
}Success
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"subscription": [
{
"sportId": 1,
"locationId": 1,
"leagueId": 1,
"success": true,
"message": "text"
}
]
}
}Response is limited to 7 days ahead.
Success
POST /Leagues/Unsubscribe HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 111
{
"packageId": 1,
"userName": "text",
"password": "text",
"subscriptions": [
{
"sportId": 1,
"locationId": 1,
"leagueId": 1
}
]
}Success
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"subscription": [
{
"sportId": 1,
"locationId": 1,
"leagueId": 1,
"success": true,
"message": "text"
}
]
}
}Success
POST /Markets/ManualSuspension/GetAll HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 51
{
"packageId": 1,
"userName": "text",
"password": "text"
}Success
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"succeeded": true,
"reason": "text",
"suspensions": [
{
"succeeded": true,
"reason": "text",
"sportId": 1,
"locationId": 1,
"competitionId": 1,
"fixtureId": 1,
"creationDate": "2026-01-01T00:00:00.000Z",
"markets": [
{
"marketId": 1,
"line": "text"
}
]
}
]
}
}Success
POST /Markets/ManualSuspension/Activate HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 169
{
"packageId": 1,
"userName": "text",
"password": "text",
"suspensions": [
{
"sportId": 1,
"locationId": 1,
"competitionId": 1,
"fixtureId": 1,
"markets": [
{
"marketId": 1,
"line": "text"
}
]
}
]
}Success
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"succeeded": true,
"reason": "text",
"suspensions": [
{
"succeeded": true,
"reason": "text",
"sportId": 1,
"locationId": 1,
"competitionId": 1,
"fixtureId": 1,
"creationDate": "2026-01-01T00:00:00.000Z",
"markets": [
{
"marketId": 1,
"line": "text"
}
]
}
]
}
}Success
POST /Markets/ManualSuspension/Deactivate HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 169
{
"packageId": 1,
"userName": "text",
"password": "text",
"suspensions": [
{
"sportId": 1,
"locationId": 1,
"competitionId": 1,
"fixtureId": 1,
"markets": [
{
"marketId": 1,
"line": "text"
}
]
}
]
}Success
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"succeeded": true,
"reason": "text",
"suspensions": [
{
"succeeded": true,
"reason": "text",
"sportId": 1,
"locationId": 1,
"competitionId": 1,
"fixtureId": 1,
"creationDate": "2026-01-01T00:00:00.000Z",
"markets": [
{
"marketId": 1,
"line": "text"
}
]
}
]
}
}Success
POST /Outright/Subscribe HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 111
{
"packageId": 1,
"userName": "text",
"password": "text",
"subscriptions": [
{
"sportId": 1,
"locationId": 1,
"leagueId": 1
}
]
}Success
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"subscription": [
{
"sportId": 1,
"locationId": 1,
"leagueId": 1,
"success": true,
"message": "text"
}
]
}
}Success
POST /Outright/Unsubscribe HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 111
{
"packageId": 1,
"userName": "text",
"password": "text",
"subscriptions": [
{
"sportId": 1,
"locationId": 1,
"leagueId": 1
}
]
}Success
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"subscription": [
{
"sportId": 1,
"locationId": 1,
"leagueId": 1,
"success": true,
"message": "text"
}
]
}
}Success
POST /Package/GetPackageQuota HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 51
{
"packageId": 1,
"userName": "text",
"password": "text"
}Success
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"creditRemaining": 1,
"creditLimit": 1,
"usedCredit": 1,
"usedPremiumCredit": 1,
"currentPeriodStartDate": "2026-01-01T00:00:00.000Z",
"currentPeriodEndDate": "2026-01-01T00:00:00.000Z"
}
}Success
POST /Fixtures/InPlaySchedule HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 100
{
"packageId": 1,
"userName": "text",
"password": "text",
"sportsId": [
1
],
"locationsId": [
1
],
"leaguesId": [
1
]
}Success
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"fixtures": [
{
"participants": [
{
"id": 1,
"position": 1,
"name": "text"
}
],
"status": 1,
"lastUpdate": "2026-01-01T00:00:00.000Z",
"startDate": "2026-01-01T00:00:00.000Z",
"league": {
"id": 1,
"name": "text"
},
"location": {
"id": 1,
"name": "text"
},
"sport": {
"id": 1,
"name": "text"
},
"fixtureId": 1
}
]
}
}Note: This endpoint can only be called from a browser. It won't work when called through Postman or similar tools.
OK
No content
GET /Archive/Download?FixtureId=text&PackageId=1&UserName=text&Password=text HTTP/1.1
Host: stm-api.lsports.eu
Accept: */*
OK
No content
OK
POST /Fixtures/Subscribe HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 66
{
"packageId": 1,
"userName": "text",
"password": "text",
"fixtures": [
1
]
}OK
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"fixtures": [
{
"fixtureId": 1,
"success": true,
"errorMessage": "text"
}
]
}
}OK
POST /Fixtures/Unsubscribe HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 66
{
"packageId": 1,
"userName": "text",
"password": "text",
"fixtures": [
1
]
}OK
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"fixtures": [
{
"fixtureId": 1,
"success": true,
"errorMessage": "text"
}
]
}
}OK
GET /Fixtures/GetSubscribedMetadata?PackageId=1&UserName=text&Password=text HTTP/1.1
Host: stm-api.lsports.eu
Accept: */*
OK
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"subscribedFixtures": [
{
"fixtureId": 1,
"fixtureName": "text",
"startDate": "2026-01-01T00:00:00.000Z",
"lastUpdate": "2026-01-01T00:00:00.000Z",
"sportId": 1,
"locationId": 1,
"leagueId": 1,
"fixtureStatus": 1,
"participants": [
{
"participantId": 1,
"participantName": "text"
}
]
}
]
}
}Response is limited to 7 days ahead.
OK
POST /Leagues/Subscribe HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 111
{
"packageId": 1,
"userName": "text",
"password": "text",
"subscriptions": [
{
"sportId": 1,
"locationId": 1,
"leagueId": 1
}
]
}OK
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"subscription": [
{
"sportId": 1,
"locationId": 1,
"leagueId": 1,
"success": true,
"message": "text"
}
]
}
}OK
POST /Leagues/Unsubscribe HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 111
{
"packageId": 1,
"userName": "text",
"password": "text",
"subscriptions": [
{
"sportId": 1,
"locationId": 1,
"leagueId": 1
}
]
}OK
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"subscription": [
{
"sportId": 1,
"locationId": 1,
"leagueId": 1,
"success": true,
"message": "text"
}
]
}
}OK
POST /Markets/ManualSuspension/GetAll HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 51
{
"packageId": 1,
"userName": "text",
"password": "text"
}OK
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"succeeded": true,
"reason": "text",
"suspensions": [
{
"succeeded": true,
"reason": "text",
"sportId": 1,
"locationId": 1,
"competitionId": 1,
"fixtureId": 1,
"creationDate": "2026-01-01T00:00:00.000Z",
"markets": [
{
"marketId": 1,
"line": "text"
}
]
}
]
}
}OK
POST /Markets/ManualSuspension/Activate HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 169
{
"packageId": 1,
"userName": "text",
"password": "text",
"suspensions": [
{
"sportId": 1,
"locationId": 1,
"competitionId": 1,
"fixtureId": 1,
"markets": [
{
"marketId": 1,
"line": "text"
}
]
}
]
}OK
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"succeeded": true,
"reason": "text",
"suspensions": [
{
"succeeded": true,
"reason": "text",
"sportId": 1,
"locationId": 1,
"competitionId": 1,
"fixtureId": 1,
"creationDate": "2026-01-01T00:00:00.000Z",
"markets": [
{
"marketId": 1,
"line": "text"
}
]
}
]
}
}OK
POST /Markets/ManualSuspension/Deactivate HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 169
{
"packageId": 1,
"userName": "text",
"password": "text",
"suspensions": [
{
"sportId": 1,
"locationId": 1,
"competitionId": 1,
"fixtureId": 1,
"markets": [
{
"marketId": 1,
"line": "text"
}
]
}
]
}OK
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"succeeded": true,
"reason": "text",
"suspensions": [
{
"succeeded": true,
"reason": "text",
"sportId": 1,
"locationId": 1,
"competitionId": 1,
"fixtureId": 1,
"creationDate": "2026-01-01T00:00:00.000Z",
"markets": [
{
"marketId": 1,
"line": "text"
}
]
}
]
}
}OK
POST /Outright/Subscribe HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 111
{
"packageId": 1,
"userName": "text",
"password": "text",
"subscriptions": [
{
"sportId": 1,
"locationId": 1,
"leagueId": 1
}
]
}OK
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"subscription": [
{
"sportId": 1,
"locationId": 1,
"leagueId": 1,
"success": true,
"message": "text"
}
]
}
}OK
POST /Outright/Unsubscribe HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 111
{
"packageId": 1,
"userName": "text",
"password": "text",
"subscriptions": [
{
"sportId": 1,
"locationId": 1,
"leagueId": 1
}
]
}OK
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"subscription": [
{
"sportId": 1,
"locationId": 1,
"leagueId": 1,
"success": true,
"message": "text"
}
]
}
}OK
POST /Package/GetPackageQuota HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 51
{
"packageId": 1,
"userName": "text",
"password": "text"
}OK
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"creditRemaining": 1,
"creditLimit": 1,
"usedCredit": 1,
"usedPremiumCredit": 1,
"currentPeriodStartDate": "2026-01-01T00:00:00.000Z",
"currentPeriodEndDate": "2026-01-01T00:00:00.000Z"
}
}OK
POST /Fixtures/InPlaySchedule HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 100
{
"packageId": 1,
"userName": "text",
"password": "text",
"sportsId": [
1
],
"locationsId": [
1
],
"leaguesId": [
1
]
}OK
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"fixtures": [
{
"participants": [
{
"id": 1,
"position": 1,
"name": "text"
}
],
"status": 1,
"lastUpdate": "2026-01-01T00:00:00.000Z",
"startDate": "2026-01-01T00:00:00.000Z",
"league": {
"id": 1,
"name": "text"
},
"location": {
"id": 1,
"name": "text"
},
"sport": {
"id": 1,
"name": "text"
},
"fixtureId": 1
}
]
}
}Last updated
Was this helpful?