API Documentation
  • Introduction
  • Getting Started
  • Signature
  • Bet Card API
    • Calculator
      • Finance details
    • Jackpot
      • Get Jackpot Cards
      • Get Jackpot Card by code
      • Pick Jackpot Bets
    • Quicktip
      • Get Quicktip Cards
      • Get Quicktip Card by code
    • Smartbet
      • Get Smartbert cards
      • Get Smartbet Card by code
      • Generate a Smartbet
    • Quickbet
      • Get Quickbet Cards
      • Get Quickbet Card by code
    • Superbet
      • Get Superbet Cards
      • Get Superbet Card by code
  • Bet Engine API
    • Headers
    • Create ticket endpoint
      • Quicktip
      • Smartbet
      • Quickbet
      • Superbet
      • Jackpot
    • Reserve ticket endpoint
      • Quicktip
      • Smartbet
      • Quickbet
      • Superbet
      • Jackpot
    • Paid ticket endpoint
    • Get ticket endpoint
    • Get ticket list endpoint
    • Fields
    • Error codes
  • PAM Platform API
    • Headers
    • Signature
    • Ping
    • Identify
    • Create a ticket
    • Reserve the ticket
    • Update the ticket
    • Close the ticket
    • Refund the ticket
    • Win the ticket
    • Lose the ticket
    • Void the ticket
    • Discard the ticket
    • Rollback the ticket
  • SMS notifications
    • Headers
    • Signature
    • Notification types
      • otp
      • ticket_status
      • bet_result (not supported)
  • API Docs
    • [api /bc] Bet Card
    • [api /be] Bet Engine
Powered by GitBook
On this page
  1. Bet Card API
  2. Smartbet

Get Smartbet Card by code

PreviousGet Smartbert cardsNextGenerate a Smartbet

Last updated 9 months ago

Returns Smartbet card by specified code

GET {code}

Response example

{
    "code": "F2964C",
    "title": "World",
    "description": "Smartbet description",
    "sitename": null,
    "domain": null,
    "preview_img": null,
    "operator": "acme",
    "prices": [
        500,
        1000,
        1500,
        2000
    ],
    "ext": 12.5,
    "ext_amounts": [
        56,
        111,
        167,
        222
    ],
    "stakes": [
        444,
        889,
        1333,
        1778
    ],
    "wht": 20,
    "potential_net_payouts": [
        2500000,
        5000000,
        7500000,
        10000000
    ],
    "potential_gross_payouts": [
        3125000,
        6250000,
        9375000,
        12500000
    ],
    "multibonus_odds": 1.25,
    "min_odds": 1.25,
    "max_odds": 4.99,
    "medium_risk_tips": {
        "min_odds": 1.9,
        "max_odds": 4.99
    },
    "low_risk_tips": {
        "min_odds": 1.25,
        "max_odds": 4.99
    },
    "markets": [
        {
            "code": "MRHT",
            "lines": [],
            "bets": [
                "1"
            ]
        },
        {
            "code": "MRSH",
            "lines": [],
            "bets": [
                "2",
                "X"
            ]
        },
        {
            "code": "MRFT",
            "lines": [],
            "bets": [
                "2"
            ]
        },
        {
            "code": "AHHT",
            "lines": [
                "-275"
            ],
            "bets": [
                "1"
            ]
        },
        {
            "code": "AHSH",
            "lines": [
                "-225"
            ],
            "bets": [
                "1"
            ]
        },
        {
            "code": "AHFT",
            "lines": [
                "-3"
            ],
            "bets": [
                "1"
            ]
        }
    ],
    "events_start_before": 1000,
    "enabled": true,
    "leagues": [],
    "created": "2024-07-15T13:28:20.877540",
    "operator_time_created": "2024-07-15T15:28:20.877540"
}

If the card with specified code was not found error response is returned with status code 400

{
  "code": 102,
  "message": "Betcard `B57AFBA` was not found"
}
https://api.betstack.io/bc/smartbets/