Pick Jackpot Bets

POST https://api.betstack.io/bc/jackpots/pick-bets?mode={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:

[
    {
        "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):

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

Response example (for mode=favourite):

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

Last updated