Generate a Smartbet

Returns a Smartbet generated based on input parameters

POST https://api.betstack.io/bc/smartbets/{code}

json payload

{
    "stake": 2000,
    "win": 25000,
    "risk": "1.25-4.99"
}

Response example

{
    "price": 2000,
    "stake": 1778,
    "total_odds": 18.24,
    "ext": 12.5,
    "ext_amount": 222,
    "wht": 20,
    "wht_amount": 6131,
    "gross_payout": 32431,
    "net_payout": 26300,
    "risk": "1.25-1.99",
    "events": [
        {
            "starts": "2024-07-17T17:00:00.000000",
            "operator_time_starts": "2024-07-17T19:00:00.000000",
            "category": {
                "league_id": 18450000,
                "league_slug": "football/finland/kakkonen-group-a",
                "league_name": "Kakkonen Group A",
                "country_id": 1880000,
                "country_slug": "finland",
                "country_name": "Finland"
            },
            "home_team": {
                "slug": "ppj",
                "name": "PPJ",
                "id": 1141060000
            },
            "away_team": {
                "slug": "japs-47",
                "name": "JaPS/47",
                "id": 1222480000
            },
            "bet": {
                "id": 1,
                "bet_code": "1",
                "bet_name": "Home",
                "market_code": "MRFT",
                "market_name": "Match Result Full Time",
                "line_code": null,
                "line_name": null,
                "odds": 1.95,
                "updated": "2024-07-16T06:45:11"
            },
            "id": 292275
        },
        {
            "starts": "2024-07-17T16:00:00.000000",
            "operator_time_starts": "2024-07-17T18:00:00.000000",
            "category": {
                "league_id": 2014,
                "league_slug": "football/finland/kakkonen-group-b",
                "league_name": "Kakkonen Group B",
                "country_id": 1880000,
                "country_slug": "finland",
                "country_name": "Finland"
            },
            "home_team": {
                "slug": "tampere-united",
                "name": "Tampere United",
                "id": 1145580000
            },
            "away_team": {
                "slug": "poxyt",
                "name": "Poxyt",
                "id": 1231090000
            },
            "bet": {
                "id": 1,
                "bet_code": "1",
                "bet_name": "Home",
                "market_code": "MRFT",
                "market_name": "Match Result Full Time",
                "line_code": null,
                "line_name": null,
                "odds": 1.22,
                "updated": "2024-07-16T09:45:10"
            },
            "id": 292283
        },
        {
            "starts": "2024-07-17T10:00:00.00000000",
            "operator_time_starts": "2024-07-17T12:00:00.00000000",
            "category": {
                "league_id": 14440000,
                "league_slug": "football/south-korea/fa-cup",
                "league_name": "FA Cup",
                "country_id": 2060000,
                "country_slug": "south-korea",
                "country_name": "South Korea"
            },
            "home_team": {
                "slug": "ulsan-hyundai",
                "name": "Ulsan Hyundai",
                "id": 1083280000
            },
            "away_team": {
                "slug": "incheon-united",
                "name": "Incheon United",
                "id": 1083290000
            },
            "bet": {
                "id": 1,
                "bet_code": "1",
                "bet_name": "Home",
                "market_code": "MRFT",
                "market_name": "Match Result Full Time",
                "line_code": null,
                "line_name": null,
                "odds": 1.64,
                "updated": "2024-07-16T09:21:10"
            },
            "id": 291394
        },
        {
            "starts": "2024-07-17T10:00:00.000000",
            "operator_time_starts": "2024-07-17T12:00:00.000000",
            "category": {
                "league_id": 14440000,
                "league_slug": "football/south-korea/fa-cup",
                "league_name": "FA Cup",
                "country_id": 2060000,
                "country_slug": "south-korea",
                "country_name": "South Korea"
            },
            "home_team": {
                "slug": "gwangju",
                "name": "Gwangju",
                "id": 1083270000
            },
            "away_team": {
                "slug": "seongnam-ilhwa-chunma",
                "name": "Seongnam Ilhwa Chunma",
                "id": 1083320000
            },
            "bet": {
                "id": 1,
                "bet_code": "1",
                "bet_name": "Home",
                "market_code": "MRFT",
                "market_name": "Match Result Full Time",
                "line_code": null,
                "line_name": null,
                "odds": 1.53,
                "updated": "2024-07-16T07:06:12"
            },
            "id": 292290
        },
        {
            "starts": "2024-07-17T15:30:00.000000",
            "operator_time_starts": "2024-07-17T17:30:00.000000",
            "category": {
                "league_id": 2014,
                "league_slug": "football/finland/kakkonen-group-b",
                "league_name": "Kakkonen Group B",
                "country_id": 1880000,
                "country_slug": "finland",
                "country_name": "Finland"
            },
            "home_team": {
                "slug": "fc-honka",
                "name": "FC Honka",
                "id": 1070520000
            },
            "away_team": {
                "slug": "vjs-vantaa",
                "name": "VJS Vantaa",
                "id": 1138340000
            },
            "bet": {
                "id": 3,
                "bet_code": "2",
                "bet_name": "Away",
                "market_code": "MRFT",
                "market_name": "Match Result Full Time",
                "line_code": null,
                "line_name": null,
                "odds": 1.67,
                "updated": "2024-07-16T09:00:10"
            },
            "id": 292284
        },
        {
            "starts": "2024-07-17T10:00:00.000000",
            "operator_time_starts": "2024-07-17T12:00:00.000000",
            "category": {
                "league_id": 14440000,
                "league_slug": "football/south-korea/fa-cup",
                "league_name": "FA Cup",
                "country_id": 2060000,
                "country_slug": "south-korea",
                "country_name": "South Korea"
            },
            "home_team": {
                "slug": "gimpo-citizen",
                "name": "Gimpo Citizen",
                "id": 1093350000
            },
            "away_team": {
                "slug": "jeju-united",
                "name": "Jeju United",
                "id": 1083350000
            },
            "bet": {
                "id": 3,
                "bet_code": "2",
                "bet_name": "Away",
                "market_code": "MRFT",
                "market_name": "Match Result Full Time",
                "line_code": null,
                "line_name": null,
                "odds": 1.83,
                "updated": "2024-07-16T07:06:12"
            },
            "id": 292289
        }
    ]
}

If a Smartbet can't be generated due to lack of events an error response is retured with status code 400

{
  "code": 104,
  "message": "Not enough data to generate a Smartbet 4253A4"
}

Last updated