Metadata

This documentation describes the available API endpoints for retrieving metadata and translations.

Retrieves a list of fixtures based on provided sport, location, and league IDs.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
sportIdsinteger · int32[] | nullableOptional
locationIdsinteger · int32[] | nullableOptional
leagueIdsinteger · int32[] | nullableOptional
Responses
200
Success
post
POST /Fixtures/Get HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 100

{
  "packageId": 1,
  "userName": "text",
  "password": "text",
  "sportIds": [
    1
  ],
  "locationIds": [
    1
  ],
  "leagueIds": [
    1
  ]
}
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "fixtures": [
      1
    ]
  }
}

Retrieves a list of leagues based on sport and location IDs.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
sportIdsinteger · int32[] | nullableOptional
locationIdsinteger · int32[] | nullableOptional
subscriptionStatusinteger · enumOptionalPossible values:
languageIdinteger · int32 | nullableOptional
Responses
200
Success
post
POST /Leagues/Get HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 122

{
  "packageId": 1,
  "userName": "text",
  "password": "text",
  "sportIds": [
    1
  ],
  "locationIds": [
    1
  ],
  "subscriptionStatus": 0,
  "languageId": 1
}
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "leagues": [
      {
        "id": 1,
        "name": "text",
        "season": "text",
        "sportId": 1,
        "locationId": 1
      }
    ]
  }
}

Retrieves a list of locations.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
languageIdinteger · int32 | nullableOptional
Responses
200
Success
post
POST /Locations/Get HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 66

{
  "packageId": 1,
  "userName": "text",
  "password": "text",
  "languageId": 1
}
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "locations": [
      {
        "id": 1,
        "name": "text"
      }
    ]
  }
}

Retrieves a list of markets based on various filters like sport, location, league, and market type.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
sportsIdinteger · int32[] | nullableOptional
locationsIdinteger · int32[] | nullableOptional
leaguesIdinteger · int32[] | nullableOptional
marketsIdinteger · int32[] | nullableOptional
isSettleableboolean | nullableOptional
marketTypeinteger · enumOptionalPossible values:
languageIdinteger · int32 | nullableOptional
Responses
200
Success
post
POST /Markets/Get HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 166

{
  "packageId": 1,
  "userName": "text",
  "password": "text",
  "sportsId": [
    1
  ],
  "locationsId": [
    1
  ],
  "leaguesId": [
    1
  ],
  "marketsId": [
    1
  ],
  "isSettleable": true,
  "marketType": 0,
  "languageId": 1
}
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "markets": [
      {
        "id": 1,
        "name": "text",
        "isSettleable": true
      }
    ]
  }
}

Retrieves a list of sports.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
languageIdinteger · int32 | nullableOptional
Responses
200
Success
post
POST /Sports/Get HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 66

{
  "packageId": 1,
  "userName": "text",
  "password": "text",
  "languageId": 1
}
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "sports": [
      {
        "id": 1,
        "name": "text"
      }
    ]
  }
}
  • Last Update Timestamp: The LastUpdate field for each incident represents the last time the incident was sent from the TRADE360 system. It does not reflect the time when the incident itself was last modified or updated.

  • Creation Date Handling: For incidents created before May 28, 2025, the CreationDate field is set to a default placeholder value of 01/01/00. Incidents created on or after May 28, 2025 will reflect their actual creation date in the CreationDate field.

Retrieves translations for various entities (sports, locations, leagues, markets, participants) for specified languages.

post
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
languagesinteger · int32[]Required
sportIdsinteger · int32[] | nullableOptional
locationIdsinteger · int32[] | nullableOptional
leagueIdsinteger · int32[] | nullableOptional
marketIdsinteger · int32[] | nullableOptional
participantIdsinteger · int32[] | nullableOptional
Responses
200
Success
post
POST /Translation/Get HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 153

{
  "packageId": 1,
  "userName": "text",
  "password": "text",
  "languages": [
    1
  ],
  "sportIds": [
    1
  ],
  "locationIds": [
    1
  ],
  "leagueIds": [
    1
  ],
  "marketIds": [
    1
  ],
  "participantIds": [
    1
  ]
}
200

Success

{
  "header": {
    "httpStatusCode": 1,
    "errors": [
      {
        "message": "text"
      }
    ]
  },
  "body": {
    "sports": {
      "ANY_ADDITIONAL_PROPERTY": [
        {
          "languageId": 1,
          "value": "text"
        }
      ]
    },
    "locations": {
      "ANY_ADDITIONAL_PROPERTY": [
        {
          "languageId": 1,
          "value": "text"
        }
      ]
    },
    "leagues": {
      "ANY_ADDITIONAL_PROPERTY": [
        {
          "languageId": 1,
          "value": "text"
        }
      ]
    },
    "markets": {
      "ANY_ADDITIONAL_PROPERTY": [
        {
          "languageId": 1,
          "value": "text"
        }
      ]
    },
    "participants": {
      "ANY_ADDITIONAL_PROPERTY": [
        {
          "languageId": 1,
          "value": "text"
        }
      ]
    }
  }
}
  • You must supply at least one of the non-mandatory fields to request the IDs you want to translate.

  • If the request has no optional field to translate, the response will return an ErrorCode 400, and the message will include the error.

  • If the request is without a Languages field, the response will return an error with an informative message.

Last updated

Was this helpful?