Sportbook APISportbook API
  • 1. 创建用户 (通用)
  • 2. 更改密码 (常用)
  • 3. 更改状态 (常用)
  • 4. 重定向登录 (通用)
  • 5. 获取个人资料和余额(通用)
  • 6. 普通存款和提款
  • 7. 存款和提款待处理交易
  • 8. 根据存款ID获取盈亏 (通用)
  • 9. 通过 DepositID 获取投注历史(通用)
  • 10. 获取 WinLose 和 Turnover(通用)
  • 11. 获取按日期的输赢和投注量
  • 12. 游戏列表(通用)
  • 13. 开始游戏 (通用)
  • 14. 游戏详情(通用)
  • 15. 开始彩票游戏 (通用)
  • 16. 获取多个存款ID的盈亏 (通用)
  • 17. 报告盈亏账户
  • 18. 获取提供商前缀列表(通用)
  • 19. 通过提供商获取游戏列表(通用)
  • 20. 获取普通百家乐投注量(通用)
  • 21. 获取存款和提款交易(通用)
  • 22. 通过用户名获取存款和提款交易(通用)
  • 23. 获取代理信用(通用)
  • 24. 获取最近游戏(通用)
  • 25. 收藏的游戏
  • /zh/common/dashboard.html
  • 27. Get Url Start Tournament (Common)
  • 游戏类型详情
  • 速率限制
  • 错误代码
  • English
  • ภาษาไทย
  • 简体中文
  • 1. 创建用户 (通用)
  • 2. 更改密码 (常用)
  • 3. 更改状态 (常用)
  • 4. 重定向登录 (通用)
  • 5. 获取个人资料和余额(通用)
  • 6. 普通存款和提款
  • 7. 存款和提款待处理交易
  • 8. 根据存款ID获取盈亏 (通用)
  • 9. 通过 DepositID 获取投注历史(通用)
  • 10. 获取 WinLose 和 Turnover(通用)
  • 11. 获取按日期的输赢和投注量
  • 12. 游戏列表(通用)
  • 13. 开始游戏 (通用)
  • 14. 游戏详情(通用)
  • 15. 开始彩票游戏 (通用)
  • 16. 获取多个存款ID的盈亏 (通用)
  • 17. 报告盈亏账户
  • 18. 获取提供商前缀列表(通用)
  • 19. 通过提供商获取游戏列表(通用)
  • 20. 获取普通百家乐投注量(通用)
  • 21. 获取存款和提款交易(通用)
  • 22. 通过用户名获取存款和提款交易(通用)
  • 23. 获取代理信用(通用)
  • 24. 获取最近游戏(通用)
  • 25. 收藏的游戏
  • /zh/common/dashboard.html
  • 27. Get Url Start Tournament (Common)
  • 游戏类型详情
  • 速率限制
  • 错误代码
  • English
  • ภาษาไทย
  • 简体中文
  • 概述
  • 1. 创建用户 (通用)
  • 2. 更改密码 (常用)
  • 3. 更改状态 (常用)
  • 4. 重定向登录 (通用)
  • 5. 获取个人资料和余额(通用)
  • 6. 普通存款和提款
  • 7. 存款和提款待处理交易
  • 8. 根据存款ID获取盈亏 (通用)
  • 9. 通过 DepositID 获取投注历史(通用)
  • 10. 获取 WinLose 和 Turnover(通用)
  • 11. 获取按日期的输赢和投注量
  • 12. 游戏列表(通用)
  • 13. 开始游戏 (通用)
  • 14. 游戏详情(通用)
  • 15. 开始彩票游戏 (通用)
  • 16. 获取多个存款ID的盈亏 (通用)
  • 17. 报告盈亏账户
  • 18. 获取提供商前缀列表(通用)
  • 19. 通过提供商获取游戏列表(通用)
  • 20. 获取普通百家乐投注量(通用)
  • 21. 获取存款和提款交易(通用)
  • 22. 通过用户名获取存款和提款交易(通用)
  • 23. 获取代理信用(通用)
  • 24. 获取最近游戏(通用)
  • 25. 收藏的游戏
  • /zh/common/dashboard.html
  • 27. Get Url Start Tournament (Common)
  • 28. Leader Board

28. Leader Board

28.1 Get Big Win (Common)

UI 示例 — 接入后,可根据 response 数据构建如下的 Big Win UI:

Big Win UI example

Use for Merchant Get list of big win members

Method : [Post]
Path : {{domain}}/ext/bigwin/{{prefix}}/{{agentUsername}}
Content-Type : application/json

Request Body

{
    "agentUsername": "{{agentUsername}}",
    "key": "{{key}}",
    "web": "{{whiteLabel}}"
}
KeyTypeExample ValueDescription
agentUsernameStringtestopupapixxThe agent's username.
keyStringpbR-P0cnKwLVirSOCvf53The agent's unique key.
webStringsportbook101Active websites.

Response

{
    "code": 0,
    "msg": "SUCCESS",
    "data": [
        {
            "username": "testopupboat201",
            "bet": 50,
            "payout": 17392.5,
            "winlose": 17342.5,
            "multiplier": 347.85,
            "currency": "THB",
            "gameName": "Super Ace X",
            "gameImage": {
                "vertical": "https://ambimgcdn2.co/img/sportsbook/game/AMBS/L/AMBS_Super%20Ace%20X_1762182840.webp",
                "horizontal": "https://ambimgcdn2.co/img/sportsbook/game/AMBS/S/AMBS_Super%20Ace%20X_1762182846.webp",
                "square": "https://ambimgcdn2.co/img/sportsbook/game/AMBS/AMBS_Super%20Ace%20X_1765519034.webp"
            },
            "gameId": "68f203d0e7de6b01caf9748c",
            "providerName": "Pragmatic Play",
            "providerCode": "RPG",
            "providerImage": {
                "logo": "https://ambimgcdn2.co/img/sportsbook/provider/RPG/RPG_1762422974.webp",
                "transparent": "https://ambimgcdn2.co/img/sportsbook/provider/RPG/RPG_1762422978.webp",
                "horizontal": "https://ambimgcdn2.co/img/sportsbook/provider/RPG/RPG_1762422984.webp",
                "horizontalWhite": "https://ambimgcdn2.co/img/sportsbook/provider/RPG/RPG_1769158273.png"
            },
            "ref1": "3YyXR9QTlAD8unQu",
            "timestamp": 1782915078
        }
    ]
}
KeyTypeExample ValueDescription
codeNumber0Response code of API
msgStringsuccessdescription of code
dataArray[ ... ]List of big win members
usernameStringtestopupboat201Member username
betNumber50Bet amount
payoutNumber17392.5Total payout amount
winloseNumber17342.5Win/Lose amount (payout - bet)
multiplierNumber347.85Win multiplier
currencyStringTHBCurrency
gameNameStringSuper Ace XGame name
gameImageObject{ vertical, horizontal, square }Game image URLs in different aspect ratios
gameImage.verticalStringhttps://ambimgcdn2.co/...L/...webpVertical (portrait) game image URL
gameImage.horizontalStringhttps://ambimgcdn2.co/...S/...webpHorizontal (landscape) game image URL
gameImage.squareStringhttps://ambimgcdn2.co/...webpSquare game image URL
gameIdString68f203d0e7de6b01caf9748cGame id
providerNameStringPragmatic PlayProvider name
providerCodeStringRPGProvider code
providerImageObject{ logo, transparent, horizontal, horizontalWhite }Provider image URLs in different styles
providerImage.logoStringhttps://ambimgcdn2.co/...webpProvider logo image URL
providerImage.transparentStringhttps://ambimgcdn2.co/...webpTransparent provider image URL
providerImage.horizontalStringhttps://ambimgcdn2.co/...webpHorizontal provider image URL
providerImage.horizontalWhiteStringhttps://ambimgcdn2.co/...pngHorizontal white provider image URL
ref1String3YyXR9QTlAD8unQuReference id of the bet round (used in 28.2)
timestampNumber1782915078Unix timestamp of the bet (used in 28.2)

Error Code

Valuemsg
0Success
100001Missing 'agent Username' field.
100002Agent username is type string.
100003Missing 'key' field.
100004Key is type string.
100012Key not found.
100013Agent not found.

28.2 Get Big Win Bet Detail (Common)

Use for Merchant Get bet detail (result page url) of a big win record

Method : [Post]
Path : {{domain}}/ext/bigwin/betDetail/{{prefix}}/{{agentUsername}}
Content-Type : application/json

Request Body

{
    "agentUsername": "{{agentUsername}}",
    "key": "{{key}}",
    "ref1": "3YyXR9QTlAD8unQu",
    "timestamp": "1782915078",
    "web": "{{whiteLabel}}"
}
KeyTypeExample ValueDescription
agentUsernameStringtestopupapixxThe agent's username.
keyStringpbR-P0cnKwLVirSOCvf53The agent's unique key.
ref1String3YyXR9QTlAD8unQuReference id of the bet (from 28.1).
timestampString1782915078Unix timestamp of the bet.
webStringsportbook101Active websites.

Response

{
    "code": 0,
    "msg": "SUCCESS",
    "data": {
        "url": "https://report-uat.askmeslot-demo.com/result/?t=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3ODI5MTU2MzYsInJvdW5kSWQiOiIzWXlYUjlRVGxBRDh1blF1IiwidXNlcm5hbWUiOiJhbWJzYW1iMDAwNnU5NSIsImxhbmciOiJlbiIsInJhdGVDdXJyZW5jeSI6MSwiY3VycmVuY3kiOiJUSEIifQ.ptNTGuXUjM7tBL2fI86zZW6tVixGV3wbHYQeVZGLSzs"
    }
}
KeyTypeExample ValueDescription
codeNumber0Response code of API
msgStringsuccessdescription of code
dataObject{ "url": "..." }Bet detail of the big win record
urlStringhttps://report-uat.askmeslot-demo.com/result/?t=...Result page URL of the bet round

Error Code

Valuemsg
0Success
100001Missing 'agent Username' field.
100002Agent username is type string.
100003Missing 'key' field.
100004Key is type string.
100012Key not found.
100013Agent not found.

28.3 Get Leaderboard Score (Common)

UI 示例 — 接入后,可根据 response 数据构建如下的 Leaderboard UI:

Leaderboard UI example

Use for Merchant Get leaderboard score ranking

Method : [Post]
Path : {{domain}}/ext/leaderboard/score/{{prefix}}/{{agentUsername}}
Content-Type : application/json

Request Body

{
    "agentUsername": "{{agentUsername}}",
    "key": "{{key}}",
    "lastWeek": false,
    "web": "{{whiteLabel}}"
}
KeyTypeExample ValueDescription
agentUsernameStringtestopupapixxThe agent's username.
keyStringpbR-P0cnKwLVirSOCvf53The agent's unique key.
lastWeekBooleanfalsefalse = current week ranking, true = last week ranking.
webStringsportbook101Active websites.

Response

{
    "code": 0,
    "msg": "SUCCESS",
    "data": [
        {
            "rank": 1,
            "prefix": "TEST",
            "username": "testopupboat201",
            "currency": "THB",
            "bet": 50,
            "payout": 17392.5,
            "multiplier": 347.85,
            "gameName": "Super Ace X",
            "gameImage": {
                "vertical": "https://ambimgcdn2.co/img/sportsbook/game/AMBS/L/AMBS_Super%20Ace%20X_1762182840.webp",
                "horizontal": "https://ambimgcdn2.co/img/sportsbook/game/AMBS/S/AMBS_Super%20Ace%20X_1762182846.webp",
                "square": "https://ambimgcdn2.co/img/sportsbook/game/AMBS/AMBS_Super%20Ace%20X_1765519034.webp"
            },
            "gameId": "68f203d0e7de6b01caf9748c",
            "providerName": "Pragmatic Play",
            "providerCode": "RPG",
            "providerImage": {
                "logo": "https://ambimgcdn2.co/img/sportsbook/provider/RPG/RPG_1762422974.webp",
                "transparent": "https://ambimgcdn2.co/img/sportsbook/provider/RPG/RPG_1762422978.webp",
                "horizontal": "https://ambimgcdn2.co/img/sportsbook/provider/RPG/RPG_1762422984.webp",
                "horizontalWhite": "https://ambimgcdn2.co/img/sportsbook/provider/RPG/RPG_1769158273.png"
            }
        }
    ]
}
KeyTypeExample ValueDescription
codeNumber0Response code of API
msgStringsuccessdescription of code
dataArray[ ... ]Leaderboard ranking list
rankNumber1Ranking position
prefixStringTESTAgent prefix of the member
usernameStringtestopupboat201Member username
currencyStringTHBCurrency
betNumber50Bet amount
payoutNumber17392.5Total payout amount
multiplierNumber347.85Win multiplier used to rank
gameNameStringSuper Ace XGame name
gameImageObject{ vertical, horizontal, square }Game image URLs in different aspect ratios
gameImage.verticalStringhttps://ambimgcdn2.co/...L/...webpVertical (portrait) game image URL
gameImage.horizontalStringhttps://ambimgcdn2.co/...S/...webpHorizontal (landscape) game image URL
gameImage.squareStringhttps://ambimgcdn2.co/...webpSquare game image URL
gameIdString68f203d0e7de6b01caf9748cGame id
providerNameStringPragmatic PlayProvider name
providerCodeStringRPGProvider code
providerImageObject{ logo, transparent, horizontal, horizontalWhite }Provider image URLs in different styles
providerImage.logoStringhttps://ambimgcdn2.co/...webpProvider logo image URL
providerImage.transparentStringhttps://ambimgcdn2.co/...webpTransparent provider image URL
providerImage.horizontalStringhttps://ambimgcdn2.co/...webpHorizontal provider image URL
providerImage.horizontalWhiteStringhttps://ambimgcdn2.co/...pngHorizontal white provider image URL

Error Code

Valuemsg
0Success
100001Missing 'agent Username' field.
100002Agent username is type string.
100003Missing 'key' field.
100004Key is type string.
100012Key not found.
100013Agent not found.

28.4 Get Leaderboard Bet Detail (Common)

Use for Merchant Get leaderboard bet detail (result page url) of a member

Method : [Post]
Path : {{domain}}/ext/leaderboard/betDetail/{{prefix}}/{{agentUsername}}
Content-Type : application/json

Request Body

{
    "agentUsername": "{{agentUsername}}",
    "key": "{{key}}",
    "username": "{{agentUsername}}xxx",
    "lastWeek": false,
    "web": "{{whiteLabel}}"
}
KeyTypeExample ValueDescription
agentUsernameStringtestopupapixxThe agent's username.
keyStringpbR-P0cnKwLVirSOCvf53The agent's unique key.
usernameStringtestopupapixxxMember username to view the leaderboard bet detail.
lastWeekBooleanfalsefalse = current week, true = last week.
webStringsportbook101Active websites.

Response

{
    "code": 0,
    "msg": "SUCCESS",
    "data": {
        "url": "https://report-uat.askmeslot-demo.com/result/?t=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3ODI5MTU1NDksInJvdW5kSWQiOiIzWXlYUjlRVGxBRDh1blF1IiwidXNlcm5hbWUiOiJhbWJzYW1iMDAwNnU5NSIsImxhbmciOiJlbiIsInJhdGVDdXJyZW5jeSI6MSwiY3VycmVuY3kiOiJUSEIifQ.9mPGE3WUs9dBgzNl0G9Ni4uCcBZXEYWn1fUUNn56ovc"
    }
}
KeyTypeExample ValueDescription
codeNumber0Response code of API
msgStringsuccessdescription of code
dataObject{ "url": "..." }Leaderboard bet detail of the member
urlStringhttps://report-uat.askmeslot-demo.com/result/?t=...Result page URL of the bet round

Error Code

Valuemsg
0Success
100001Missing 'agent Username' field.
100002Agent username is type string.
100003Missing 'key' field.
100004Key is type string.
100005Missing 'username' field.
100006Username is type string.
100009Your username must be between 8 and 24 character.
100012Key not found.
100013Agent not found.
100014Member not found.
以前的
27. Get Url Start Tournament (Common)