> For the complete documentation index, see [llms.txt](https://developer.betstack.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.betstack.io/bet-card-api/jackpot/pick-jackpot-bets.md).

# Pick Jackpot Bets

`POST` [https://api.betstack.io/bc/jackpots/pick-bets?mode](https://api.betstack.io/bc/jackpots/pick-bets?mode=favourite)={mode}

Modes available: `random` or `favourite`.

`random` mode will pick up one random bet for each event. All requests to this endpoint with the same body should generate different shuffles.

`favourite` mode will pick up one bet with lowest odds for each event. All requests to this endpoint with the same body should generate the same shuffle (if odds didn't change).

Request example:

```json
[
    {
        "event_id": 269875,
        "bets": [
            {
                "id": 1,
                "odds": 2.35
            },
            {
                "id": 2,
                "odds": 3.8
            },
            {
                "id": 3,
                "odds": 1.4
            }
        ]
    },
    {
        "event_id": 269876,
        "bets": [
            {
                "id": 4,
                "odds": 2.34
            },
            {
                "id": 5,
                "odds": 3.25
            },
            {
                "id": 6,
                "odds": 1.85
            }
        ]
    },
    {
        "event_id": 269877,
        "bets": [
            {
                "id": 7,
                "odds": 2.06
            }
        ]
    }
]
```

Response example (for `mode=random`):

```json
[
    {
        "event_id": 269875,
        "bet_id": 1
    },
    {
        "event_id": 269876,
        "bet_id": 4
    },
    {
        "event_id": 269877,
        "bet_id": 7
    }
]
```

Response example (for `mode=favourite`):

```json
[
    {
        "event_id": 269875,
        "bet_id": 3
    },
    {
        "event_id": 269876,
        "bet_id": 6
    },
    {
        "event_id": 269877,
        "bet_id": 7
    }
]
```
