Sportbook APISportbook API
  • 1. สมาชิก

    • 1.1 Create User (Common)
    • 1.2 Change Password (Common)
    • 1.3 Change Status (Common)
    • 1.4 Redirect Login (Common)
    • 1.5 Get Profile And Credit (Common)
  • 2. ฝาก-ถอน

    • 2.1 Normal Deposit And Withdraw
    • 2.2 Deposit And Withdraw Pending Transaction
    • 2.3 Get Deposit And Withdraw Transaction (Common)
    • 2.4 Get Deposit And Withdraw Transaction By User (Common)
    • 2.5 Get Credit Agent (Common)
    • 2.6 Get Deposit And Withdraw Transaction By Time (Common)
  • 3. เกม

    • 3.1 Get Provider Prefix List (Common)
    • 3.2 Game List (Common)
    • 3.3 Get Game List By Provider (Common)
    • 3.4 Game Detail (Common)
    • 3.5 Start Games (Common)
    • 3.6 Start Lotto (Common)
    • 3.7 Get Recently Games (Common)
    • 3.8 Favourite Games
  • 4. ได้เสีย & รายงาน

    • 4.1 Get WinLose By DepositID (Common)
    • 4.2 Get WinLose Multi DepositID (Common)
    • 4.3 Get Bet History By DepositID (Common)
    • 4.4 Get WinLose And Turnover (Common)
    • 4.5 Get Winlose By Date
    • 4.6 Get Normal Baccarat Turnover (Common)
    • 4.7 Report Winlose Account
    • 4.8 Dashboard
    • 4.9 Win/Lose Detail Report
    • 4.10 Get WinLose And Turnover By Time (Common)
  • 5. โปรโมชั่น

    • 5.1 Get Url Start Tournament (Common)
    • 5.2 Leader Board
    • 5.3 Free Spin
  • Detail Types
  • Rate Limit
  • Error Code
  • English
  • ภาษาไทย
  • 简体中文
  • 1. สมาชิก

    • 1.1 Create User (Common)
    • 1.2 Change Password (Common)
    • 1.3 Change Status (Common)
    • 1.4 Redirect Login (Common)
    • 1.5 Get Profile And Credit (Common)
  • 2. ฝาก-ถอน

    • 2.1 Normal Deposit And Withdraw
    • 2.2 Deposit And Withdraw Pending Transaction
    • 2.3 Get Deposit And Withdraw Transaction (Common)
    • 2.4 Get Deposit And Withdraw Transaction By User (Common)
    • 2.5 Get Credit Agent (Common)
    • 2.6 Get Deposit And Withdraw Transaction By Time (Common)
  • 3. เกม

    • 3.1 Get Provider Prefix List (Common)
    • 3.2 Game List (Common)
    • 3.3 Get Game List By Provider (Common)
    • 3.4 Game Detail (Common)
    • 3.5 Start Games (Common)
    • 3.6 Start Lotto (Common)
    • 3.7 Get Recently Games (Common)
    • 3.8 Favourite Games
  • 4. ได้เสีย & รายงาน

    • 4.1 Get WinLose By DepositID (Common)
    • 4.2 Get WinLose Multi DepositID (Common)
    • 4.3 Get Bet History By DepositID (Common)
    • 4.4 Get WinLose And Turnover (Common)
    • 4.5 Get Winlose By Date
    • 4.6 Get Normal Baccarat Turnover (Common)
    • 4.7 Report Winlose Account
    • 4.8 Dashboard
    • 4.9 Win/Lose Detail Report
    • 4.10 Get WinLose And Turnover By Time (Common)
  • 5. โปรโมชั่น

    • 5.1 Get Url Start Tournament (Common)
    • 5.2 Leader Board
    • 5.3 Free Spin
  • Detail Types
  • Rate Limit
  • Error Code
  • English
  • ภาษาไทย
  • 简体中文
  • Overview
  • 1. สมาชิก

    • 1.1 Create User (Common)
    • 1.2 Change Password (Common)
    • 1.3 Change Status (Common)
    • 1.4 Redirect Login (Common)
    • 1.5 Get Profile And Credit (Common)
  • 2. ฝาก-ถอน

    • 2.1 Normal Deposit And Withdraw
    • 2.2 Deposit And Withdraw Pending Transaction
    • 2.3 Get Deposit And Withdraw Transaction (Common)
    • 2.4 Get Deposit And Withdraw Transaction By User (Common)
    • 2.5 Get Credit Agent (Common)
    • 2.6 Get Deposit And Withdraw Transaction By Time (Common)
  • 3. เกม

    • 3.1 Get Provider Prefix List (Common)
    • 3.2 Game List (Common)
    • 3.3 Get Game List By Provider (Common)
    • 3.4 Game Detail (Common)
    • 3.5 Start Games (Common)
    • 3.6 Start Lotto (Common)
    • 3.7 Get Recently Games (Common)
    • 3.8 Favourite Games
  • 4. ได้เสีย & รายงาน

    • 4.1 Get WinLose By DepositID (Common)
    • 4.2 Get WinLose Multi DepositID (Common)
    • 4.3 Get Bet History By DepositID (Common)
    • 4.4 Get WinLose And Turnover (Common)
    • 4.5 Get Winlose By Date
    • 4.6 Get Normal Baccarat Turnover (Common)
    • 4.7 Report Winlose Account
    • 4.8 Dashboard
    • 4.9 Win/Lose Detail Report
    • 4.10 Get WinLose And Turnover By Time (Common)
  • 5. โปรโมชั่น

    • 5.1 Get Url Start Tournament (Common)
    • 5.2 Leader Board
    • 5.3 Free Spin

4.10 Get WinLose And Turnover By Time (Common)

สำหรับ Merchant ดึงยอดได้เสียและยอดเทิร์นของ member หนึ่งคนตามช่วงวัน และเวลา ผลเหมือน 4.4 Get WinLose And Turnover ทุกอย่าง ต่างกันแค่ startDate / endDate ใส่เวลาได้ และเลือกโซนเวลาได้

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

Request Body

{
    "agentUsername": "{{agentUsername}}",
    "key": "{{key}}",
    "username": "{{agentUsername}}ninemb01",
    "startDate": "01-11-2026 00:00:00",
    "endDate": "01-11-2026 23:59:59",
    "gmt": "+07:00",
    "web": "{{whiteLabel}}"
}
KeyTypeExample ValueDescription
agentUsernameStringtestagเอเย่นต์ที่ใช้งาน
keyStringtnyENKDWvOkBXpvm6UZVaคีย์ของเอเย่นต์
usernameStringtestagninemb01member ยาว 5–24 ตัว อยู่ใต้เอเย่นต์โดยตรง
startDateString01-11-2026 00:00:00เวลาเริ่ม DD-MM-YYYY HH:mm:ss นับรวม
endDateString01-11-2026 23:59:59เวลาสิ้นสุด DD-MM-YYYY HH:mm:ss นับรวมจนจบวินาทีนั้น
gmtString+07:00ไม่บังคับ โซนเวลาของ startDate / endDate รูปแบบ +HH:MM หรือ -HH:MM (นาทีเป็น 00, 15, 30 หรือ 45 ตั้งแต่ -12:00 ถึง +14:00) ไม่ส่ง = เวลาไทย (GMT+7)
webStringsportbook101เว็บที่ใช้งาน

กติกาช่วงเวลา

  • รูปแบบต้องตรงเป๊ะ วัน เดือน ชั่วโมง นาที วินาที ต้องเป็นเลขสองหลัก เช่น 01-11-2026 09:05:00 ส่งแค่วันที่ไม่มีเวลาจะได้ 50013
  • นับรวมทั้งสองปลาย และ endDate นับถึงสิ้นวินาทีนั้น 01-11-2026 00:00:00 → 01-11-2026 23:59:59 คือทั้งวัน · ถ้าจะดึงเป็นช่วงต่อกัน ให้จบก่อนช่วงถัดไปหนึ่งวินาที เช่น 00:00:00–00:59:59, 01:00:00–01:59:59
  • startDate เท่ากับ endDate ได้ (หนึ่งวินาที) แต่ห้ามมากกว่า (50014)
  • เวลาเดียวกันที่ส่งคนละโซนได้ผลเท่ากัน: 01-11-2026 07:00:00 กับ +07:00 = 01-11-2026 00:00:00 กับ +00:00
  • นับตาม เวลาแทง · สล็อต ยิงปลา และเกมแบบเดียวกันถูกรวมเป็นก้อนละ 5 นาที นับตามเวลาแทงครั้งแรกของก้อน เกมกลุ่มนี้จึงละเอียดประมาณ 5 นาที
  • ผลถูกแคชไว้ 5 นาที ยิงซ้ำด้วยค่าเดิมภายใน 5 นาทีจะได้ตัวเลขเดิม ช่วงที่จบที่ "ตอนนี้" จึงยังไม่เห็นบิลใน 5 นาทีล่าสุดจนกว่าแคชหมดอายุ

Response

{
    "code": 0,
    "msg": "SUCCESS",
    "data": {
        "hdp": { "vl": 1500, "wl": -320.5, "com": 7.5, "stake": 3 },
        "mixParlay": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "mixStep": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "casino": { "vl": 20000, "wl": 1180, "com": 0, "stake": 12 },
        "slot": { "vl": 1868, "wl": -633, "com": 0, "stake": 48 },
        "card": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "lotto": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "keno": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "trade": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "poker": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "esport": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "cock": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "saba": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "sbo": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "dbs": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "fbs": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "plb": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "umb": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "vsb": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "afb": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "lali": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "wss": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "m8": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "ufa": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "obx": { "vl": 0, "wl": 0, "com": 0, "stake": 0 },
        "pdx": { "vl": 0, "wl": 0, "com": 0, "stake": 0 }
    }
}
KeyTypeDescription
codeNumberรหัสผลลัพธ์ของ API
msgStringคำอธิบายของรหัส
dataObjectหนึ่งช่องต่อหนึ่งประเภทเกม มีครบทุก key เสมอ ไม่มีการเล่น = 0 · key เดียวกับ 4.4
data.*.vlNumberยอดเล่นจริง (เทิร์น)
data.*.wlNumberได้เสียของ member
data.*.comNumberค่าคอม
data.*.stakeNumberจำนวนบิล

ประเภทเกม: hdp กีฬาบิลเดี่ยว, mixParlay บอลสเต็ป, mixStep คอมโบ, casino คาสิโน, slot สล็อต, card เกมไพ่, lotto หวยทั้งหมด, keno คีโน, trade เทรด, poker โป๊กเกอร์, esport อีสปอร์ต, cock ไก่ชน, saba Ibcbet, sbo Sbobet, dbs Panda sport, fbs FB sport, plb Parlaybay, umb Um bet, vsb Virtual Sport Pragmatic, afb AFB88, lali Lalika bet, ufa UFA+, pdx Saba Sport (PDX) และ wss, m8, obx คือค่ายกีฬาตามรหัสนั้น · ยอดเงินเป็นทศนิยม 2 ตำแหน่ง

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 5 and 24 character.
100012Key not found.
100013Agent not found.
100014Member not found. (รวมกรณี member ไม่ได้อยู่ใต้เอเย่นต์โดยตรง)
104missing 'startDate' field
105missing 'endDate' field
50012Invalid 'gmt' field. Expected format '+07:00'.
50013Invalid 'startDate' or 'endDate'. Expected format 'DD-MM-YYYY HH:mm:ss'.
50014'startDate' must not be after 'endDate'.
50010Something went wrong please try again. (ผิดพลาดชั่วคราว ลองใหม่)
ก่อนหน้า
4.9 Win/Lose Detail Report