# PreMatch Outright League

Use these endpoints to retrieve snapshots of PreMatch outright league events, markets, and league data.

For general usage guidelines, request limitations, and time filtering behaviour, see the [Snapshot API overview](https://docs.lsports.eu/u/trade/integration/apis/snapshot).

***

## GetOutrightLeagueEvents

Retrieve a full snapshot of all PreMatch outright league events.

## POST /PreMatch/GetOutrightLeagueEvents

>

```json
{"openapi":"3.0.1","info":{"title":"Snapshot","version":"v1.0"},"paths":{"/PreMatch/GetOutrightLeagueEvents":{"post":{"tags":["PreMatch"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnapshotFilteredRequestDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/SnapshotFilteredRequestDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/SnapshotFilteredRequestDto"}}}},"responses":{"200":{"description":"Success"}}}}},"components":{"schemas":{"SnapshotFilteredRequestDto":{"required":["packageId","password","userName"],"type":"object","properties":{"userName":{"minLength":1,"type":"string"},"password":{"minLength":1,"type":"string"},"packageId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"sports":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"},"nullable":true},"locations":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"},"nullable":true},"leagues":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"},"nullable":true},"tournaments":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"},"nullable":true},"fixtures":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"},"nullable":true},"markets":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"},"nullable":true},"fromDate":{"type":"integer","format":"int64","nullable":true},"toDate":{"type":"integer","format":"int64","nullable":true},"timestamp":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false}}}}
```

<details>

<summary>Example of '/PreMatch/GetOutrightLeagueEvents'</summary>

```json
{
    "Header": {
        "Type": 36,
        "MsgGuid": "f3a1e3c8-ebf2-4544-a8f9-f94ac1f381ed",
        "ServerTimestamp": 1747835424742
    },
    "Body": [
        {
            "Competition": [
                {
                    "Id": 67,
                    "Name": "Premier League",
                    "Type": 3,
                    "Competitions": [
                        {
                            "Id": 2029,
                            "Name": "2023/2024",
                            "Type": 4,
                            "Events": [
                                {
                                    "FixtureId": 24389839,
                                    "Livescore": null,
                                    "Markets": [
                                        {
                                            "Id": 274,
                                            "Name": "Outright Winner",
                                            "Bets": [
                                                {
                                                    "CalculatedMargin": null,
                                                    "Id": 141138292224389839,
                                                    "Name": "Reliable Miss",
                                                    "Status": 3,
                                                    "StartPrice": "1.44",
                                                    "Price": "1.44",
                                                    "Settlement": 2,
                                                    "ProviderBetId": "8",
                                                    "LastUpdate": "2025-05-18T14:29:49.509574",
                                                    "ParticipantId": 52280038
                                                },
                                                {
                                                    "CalculatedMargin": null,
                                                    "Id": 69693361624389839,
                                                    "Name": "Master Black Jack",
                                                    "Status": 3,
                                                    "StartPrice": "26.0",
                                                    "Price": "26",
                                                    "Settlement": 1,
                                                    "ProviderBetId": "8",
                                                    "LastUpdate": "2025-05-18T14:29:49.508065",
                                                    "ParticipantId": 52280041
                                                },
                                                {
                                                    "CalculatedMargin": null,
                                                    "Id": 12286153224389839,
                                                    "Name": "Brian Boru",
                                                    "Status": 3,
                                                    "StartPrice": "8.0",
                                                    "Price": "8",
                                                    "Settlement": 1,
                                                    "ProviderBetId": "8",
                                                    "LastUpdate": "2025-05-18T14:29:49.508064",
                                                    "ParticipantId": 52280040
                                                },
                                                {
                                                    "CalculatedMargin": null,
                                                    "Id": 159209096624389839,
                                                    "Name": "Grandiscoccymelums",
                                                    "Status": 3,
                                                    "StartPrice": "21.0",
                                                    "Price": "21",
                                                    "Settlement": 1,
                                                    "ProviderBetId": "8",
                                                    "LastUpdate": "2025-05-18T14:29:49.508069",
                                                    "ParticipantId": 52280295
                                                },
                                                {
                                                    "CalculatedMargin": null,
                                                    "Id": 199402380124389839,
                                                    "Name": "Twin Spinner",
                                                    "Status": 3,
                                                    "StartPrice": "8.1",
                                                    "Price": "8.1",
                                                    "Settlement": 1,
                                                    "ProviderBetId": "8",
                                                    "LastUpdate": "2025-05-18T14:29:49.50807",
                                                    "ParticipantId": 52289573
                                                },
                                                {
                                                    "CalculatedMargin": null,
                                                    "Id": 209802976324389839,
                                                    "Name": "Spithill",
                                                    "Status": 3,
                                                    "StartPrice": "26.1",
                                                    "Price": "26.1",
                                                    "Settlement": 1,
                                                    "ProviderBetId": "8",
                                                    "LastUpdate": "2025-05-18T14:29:49.508068",
                                                    "ParticipantId": 52280294
                                                },
                                                {
                                                    "CalculatedMargin": null,
                                                    "Id": 199800881624389839,
                                                    "Name": "El Senor",
                                                    "Status": 3,
                                                    "StartPrice": "12.1",
                                                    "Price": "12.1",
                                                    "Settlement": 1,
                                                    "ProviderBetId": "8",
                                                    "LastUpdate": "2025-05-18T14:29:49.508058",
                                                    "ParticipantId": 52280039
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}
```

</details>

***

## GetOutrightLeagues

Retrieve a snapshot of all PreMatch outright leagues.

## POST /PreMatch/GetOutrightLeagues

>

```json
{"openapi":"3.0.1","info":{"title":"Snapshot","version":"v1.0"},"paths":{"/PreMatch/GetOutrightLeagues":{"post":{"tags":["PreMatch"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnapshotFilteredRequestDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/SnapshotFilteredRequestDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/SnapshotFilteredRequestDto"}}}},"responses":{"200":{"description":"Success"}}}}},"components":{"schemas":{"SnapshotFilteredRequestDto":{"required":["packageId","password","userName"],"type":"object","properties":{"userName":{"minLength":1,"type":"string"},"password":{"minLength":1,"type":"string"},"packageId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"sports":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"},"nullable":true},"locations":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"},"nullable":true},"leagues":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"},"nullable":true},"tournaments":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"},"nullable":true},"fixtures":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"},"nullable":true},"markets":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"},"nullable":true},"fromDate":{"type":"integer","format":"int64","nullable":true},"toDate":{"type":"integer","format":"int64","nullable":true},"timestamp":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false}}}}
```

<details>

<summary>Example of '/PreMatch/GetOutrightLeagues'</summary>

```json
{
  "Header": {
    "Type": 36,
    "MsgGuid": "1785a676-bc3e-4e45-a58e-d05b0682f720",
    "ServerTimestamp": 1760261836643
  },
  "Body": [
    {
      "Id": 32972,
      "Name": "Champions League",
      "Type": 3,
      "Competitions": [
        {
          "Id": 2033,
          "Name": "2025/2026",
          "Type": 4,
          "Events": [
            {
              "FixtureId": 16700503,
              "OutrightLeague": {
                "Subscription": {
                  "Type": 2,
                  "Status": 1
                },
                "Sport": {
                  "Id": 35232,
                  "Name": "Ice Hockey"
                },
                "Location": {
                  "Id": 248,
                  "Name": "International"
                },
                "LastUpdate": "2025-09-12T12:21:10.202639Z",
                "Status": 1,
                "ExtraData": [
                  {
                    "Name": "WithLivescore",
                    "Value": "false"
                  },
                  {
                    "Name": "WithInPlay",
                    "Value": "false"
                  }
                ],
                "EndDate": "0001-01-01T00:00:00"
              },
              "Livescore": null,
              "Markets": null
            }
          ]
        }
      ]
    }
  ]
}
```

</details>

***

## GetOutrightLeagueMarkets

Retrieve a snapshot of markets for PreMatch outright leagues.

## POST /PreMatch/GetOutrightLeagueMarkets

>

```json
{"openapi":"3.0.1","info":{"title":"Snapshot","version":"v1.0"},"paths":{"/PreMatch/GetOutrightLeagueMarkets":{"post":{"tags":["PreMatch"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnapshotFilteredRequestDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/SnapshotFilteredRequestDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/SnapshotFilteredRequestDto"}}}},"responses":{"200":{"description":"Success"}}}}},"components":{"schemas":{"SnapshotFilteredRequestDto":{"required":["packageId","password","userName"],"type":"object","properties":{"userName":{"minLength":1,"type":"string"},"password":{"minLength":1,"type":"string"},"packageId":{"maximum":2147483647,"minimum":1,"type":"integer","format":"int32"},"sports":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"},"nullable":true},"locations":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"},"nullable":true},"leagues":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"},"nullable":true},"tournaments":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"},"nullable":true},"fixtures":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"},"nullable":true},"markets":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"},"nullable":true},"fromDate":{"type":"integer","format":"int64","nullable":true},"toDate":{"type":"integer","format":"int64","nullable":true},"timestamp":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false}}}}
```
