Page cover

Subscription

This documentation outlines a set of API endpoints for managing and interacting with TRADE360, including fixture subscriptions, data distribution, and market management.

Downloads logs for a specific fixture from the last 14 days

get
Query parameters
FixtureIdstringRequired
PackageIdinteger · int32Required
UserNamestringRequired
PasswordstringRequired
Responses
200
Success
get
GET /Archive/Download HTTP/1.1
Host: stm-api.lsports.eu
Accept: */*
200

Success

No content

Subscribes to specific fixtures based on their IDs.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
fixturesinteger · int32[]Required
Responses
200
Success
post
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
  ]
}
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "fixtures": [
      {
        "fixtureId": 1,
        "success": true,
        "errorMessage": "text"
      }
    ]
  }
}

Unsubscribes from specific fixtures based on their IDs.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
fixturesinteger · int32[]Required
Responses
200
Success
post
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
  ]
}
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "fixtures": [
      {
        "fixtureId": 1,
        "success": true,
        "errorMessage": "text"
      }
    ]
  }
}

Retrieves metadata for subscribed fixtures within a specified date range.

get
Query parameters
FromDatestring · date-timeRequired
ToDatestring · date-timeRequired
PackageIdinteger · int32Required
UserNamestringRequired
PasswordstringRequired
Responses
200
Success
get
GET /Fixtures/GetSubscribedMetadata HTTP/1.1
Host: stm-api.lsports.eu
Accept: */*
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "subscribedFixtures": [
      {
        "fixtureId": 1,
        "fixtureName": "text",
        "startDate": "2025-07-09T08:07:35.392Z",
        "lastUpdate": "2025-07-09T08:07:35.392Z",
        "sportId": 1,
        "locationId": 1,
        "leagueId": 1,
        "fixtureStatus": 1,
        "participants": [
          {
            "participantId": 1,
            "participantName": "text"
          }
        ]
      }
    ]
  }
}

Subscribes to leagues based on provided sport, location, and league IDs.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
Responses
200
Success
post
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
    }
  ]
}
200

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.

Unsubscribes from leagues based on provided sport, location, and league IDs.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
Responses
200
Success
post
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
    }
  ]
}
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "subscription": [
      {
        "sportId": 1,
        "locationId": 1,
        "leagueId": 1,
        "success": true,
        "message": "text"
      }
    ]
  }
}

Retrieves all manually suspended markets.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
Responses
200
Success
post
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"
}
200

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": "2025-07-09T08:07:35.392Z",
        "markets": [
          {
            "marketId": 1,
            "line": "text"
          }
        ]
      }
    ]
  }
}

Activate manual suspension.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
Responses
200
Success
post
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"
        }
      ]
    }
  ]
}
200

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": "2025-07-09T08:07:35.392Z",
        "markets": [
          {
            "marketId": 1,
            "line": "text"
          }
        ]
      }
    ]
  }
}

Remove manual suspension.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
Responses
200
Success
post
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"
        }
      ]
    }
  ]
}
200

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": "2025-07-09T08:07:35.392Z",
        "markets": [
          {
            "marketId": 1,
            "line": "text"
          }
        ]
      }
    ]
  }
}

Subscribes to outright fixture based on provided sport, location, and tournament IDs.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
Responses
200
Success
post
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
    }
  ]
}
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "subscription": [
      {
        "sportId": 1,
        "locationId": 1,
        "leagueId": 1,
        "success": true,
        "message": "text"
      }
    ]
  }
}

Unsubscribe to outright fixture based on provided sport, location, and tournament IDs.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
Responses
200
Success
post
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
    }
  ]
}
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "subscription": [
      {
        "sportId": 1,
        "locationId": 1,
        "leagueId": 1,
        "success": true,
        "message": "text"
      }
    ]
  }
}

Retrieves quota information for a package.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
Responses
200
Success
post
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"
}
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "creditRemaining": 1,
    "creditLimit": 1,
    "usedCredit": 1,
    "usedPremiumCredit": 1,
    "currentPeriodStartDate": "2025-07-09T08:07:35.392Z",
    "currentPeriodEndDate": "2025-07-09T08:07:35.392Z"
  }
}

Retrieves valid scheduled fixtures for in-play betting.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
sportsIdinteger · int32[] | nullableOptional
locationsIdinteger · int32[] | nullableOptional
leaguesIdinteger · int32[] | nullableOptional
Responses
200
Success
post
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
  ]
}
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "fixtures": [
      {
        "participants": [
          {
            "id": 1,
            "position": 1,
            "name": "text"
          }
        ],
        "status": 1,
        "lastUpdate": "2025-07-09T08:07:35.392Z",
        "startDate": "2025-07-09T08:07:35.392Z",
        "league": {
          "id": 1,
          "name": "text"
        },
        "location": {
          "id": 1,
          "name": "text"
        },
        "sport": {
          "id": 1,
          "name": "text"
        },
        "fixtureId": 1
      }
    ]
  }
}

Downloads logs for a specific fixture from the last 14 days.

get
Query parameters
FixtureIdstringRequired
PackageIdinteger · int32Required
UserNamestringRequired
PasswordstringRequired
Responses
200
Success
get
GET /Archive/Download HTTP/1.1
Host: stm-api.lsports.eu
Accept: */*
200

Success

No content

Subscribes to specific fixtures based on their IDs.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
fixturesinteger · int32[]Required
Responses
200
Success
post
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
  ]
}
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "fixtures": [
      {
        "fixtureId": 1,
        "success": true,
        "errorMessage": "text"
      }
    ]
  }
}

Unsubscribes from specific fixtures based on their IDs.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
fixturesinteger · int32[]Required
Responses
200
Success
post
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
  ]
}
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "fixtures": [
      {
        "fixtureId": 1,
        "success": true,
        "errorMessage": "text"
      }
    ]
  }
}

Retrieves metadata for subscribed fixtures within a specified date range.

get
Query parameters
FromDatestring · date-timeOptional
ToDatestring · date-timeOptional
PackageIdinteger · int32Required
UserNamestringRequired
PasswordstringRequired
Responses
200
Success
get
GET /Fixtures/GetSubscribedMetadata HTTP/1.1
Host: stm-api.lsports.eu
Accept: */*
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "subscribedFixtures": [
      {
        "fixtureId": 1,
        "fixtureName": "text",
        "startDate": "2025-07-09T08:07:35.392Z",
        "lastUpdate": "2025-07-09T08:07:35.392Z",
        "sportId": 1,
        "locationId": 1,
        "leagueId": 1,
        "fixtureStatus": 1,
        "participants": [
          {
            "participantId": 1,
            "participantName": "text"
          }
        ]
      }
    ]
  }
}
  • Response is limited to 7 days ahead.

Subscribes to leagues based on provided sport, location, and league IDs.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
Responses
200
Success
post
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
    }
  ]
}
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "subscription": [
      {
        "sportId": 1,
        "locationId": 1,
        "leagueId": 1,
        "success": true,
        "message": "text"
      }
    ]
  }
}

Unsubscribes from leagues based on provided sport, location, and league IDs.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
Responses
200
Success
post
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
    }
  ]
}
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "subscription": [
      {
        "sportId": 1,
        "locationId": 1,
        "leagueId": 1,
        "success": true,
        "message": "text"
      }
    ]
  }
}

Retrieves all manually suspended markets.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
Responses
200
Success
post
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"
}
200

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": "2025-07-09T08:07:35.392Z",
        "markets": [
          {
            "marketId": 1,
            "line": "text"
          }
        ]
      }
    ]
  }
}

Activate manual suspension.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
Responses
200
Success
post
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"
        }
      ]
    }
  ]
}
200

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": "2025-07-09T08:07:35.392Z",
        "markets": [
          {
            "marketId": 1,
            "line": "text"
          }
        ]
      }
    ]
  }
}

Remove manual suspension.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
Responses
200
Success
post
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"
        }
      ]
    }
  ]
}
200

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": "2025-07-09T08:07:35.392Z",
        "markets": [
          {
            "marketId": 1,
            "line": "text"
          }
        ]
      }
    ]
  }
}

Subscribes to outright fixture based on provided sport, location, and tournament IDs.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
Responses
200
Success
post
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
    }
  ]
}
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "subscription": [
      {
        "sportId": 1,
        "locationId": 1,
        "leagueId": 1,
        "success": true,
        "message": "text"
      }
    ]
  }
}

Unsubscribe to outright fixture based on provided sport, location, and tournament IDs.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
Responses
200
Success
post
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
    }
  ]
}
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "subscription": [
      {
        "sportId": 1,
        "locationId": 1,
        "leagueId": 1,
        "success": true,
        "message": "text"
      }
    ]
  }
}

Retrieves quota information for a package.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
Responses
200
Success
post
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"
}
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "creditRemaining": 1,
    "creditLimit": 1,
    "usedCredit": 1,
    "currentPeriodStartDate": "2025-07-09T08:07:35.392Z",
    "currentPeriodEndDate": "2025-07-09T08:07:35.392Z"
  }
}

Retrieves valid scheduled fixtures for in-play betting.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
sportsIdinteger · int32[] | nullableOptional
locationsIdinteger · int32[] | nullableOptional
leaguesIdinteger · int32[] | nullableOptional
Responses
200
Success
post
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
  ]
}
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "fixtures": [
      {
        "participants": [
          {
            "id": 1,
            "position": 1,
            "name": "text"
          }
        ],
        "status": 1,
        "lastUpdate": "2025-07-09T08:07:35.392Z",
        "startDate": "2025-07-09T08:07:35.392Z",
        "league": {
          "id": 1,
          "name": "text"
        },
        "location": {
          "id": 1,
          "name": "text"
        },
        "sport": {
          "id": 1,
          "name": "text"
        },
        "fixtureId": 1
      }
    ]
  }
}

Last updated

Was this helpful?