# InPlay Outright

Use these endpoints to retrieve snapshots of InPlay outright events, fixtures, markets, and scores.

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

***

## GetOutrightEvents

Retrieve a full snapshot of all active InPlay outright events.

## POST /InPlay/GetOutrightEvents

>

```json
{"openapi":"3.0.1","info":{"title":"Snapshot","version":"v1.0"},"paths":{"/InPlay/GetOutrightEvents":{"post":{"tags":["InPlay"],"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}}}}
```

***

## GetOutrightFixture

Retrieve a snapshot of a specific InPlay outright fixture.

## POST /InPlay/GetOutrightFixture

>

```json
{"openapi":"3.0.1","info":{"title":"Snapshot","version":"v1.0"},"paths":{"/InPlay/GetOutrightFixture":{"post":{"tags":["InPlay"],"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}}}}
```

***

## GetOutrightFixtureMarkets

Retrieve a snapshot of markets for InPlay outright fixtures.

## POST /InPlay/GetOutrightFixtureMarkets

>

```json
{"openapi":"3.0.1","info":{"title":"Snapshot","version":"v1.0"},"paths":{"/InPlay/GetOutrightFixtureMarkets":{"post":{"tags":["InPlay"],"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}}}}
```

***

## GetOutrightScores

Retrieve a snapshot of scores for InPlay outright events.

## POST /InPlay/GetOutrightScores

>

```json
{"openapi":"3.0.1","info":{"title":"Snapshot","version":"v1.0"},"paths":{"/InPlay/GetOutrightScores":{"post":{"tags":["InPlay"],"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}}}}
```
