/api/public/matchesตารางแข่งขันและผลฟุตบอลสดวันนี้ (Live Matches Feed)
ดึงรายการแข่งขันฟุตบอลทั้งหมดประจำวัน พร้อมสถานะสด (LIVE / HT / FT / Upcoming), สกอร์ปัจจุบัน, นาทีในสนาม, โลโก้ทีม และรหัสแมตช์ (เช่น rb_4447596) สำหรับนำไปดึงเหตุการณ์สดและรายละเอียดเชิงลึกต่อ
Headers & Parameters
x-api-keyHeader • RequiredAPI Key สำหรับยืนยันตัวตน (หรือใช้ Authorization: Bearer)
sportquery • string • ตัวเลือกระบุชนิดกีฬา เช่น football, basketball, volleyball, tennis, badminton, motogp
ตัวอย่างโครงสร้าง JSON Response (200 OK)
{
"ok": true,
"tier": "starter",
"sport": "football",
"count": 48,
"data": [
{
"id": "rb_4447596",
"league": "Premier League",
"teamHome": "Arsenal",
"teamAway": "Liverpool",
"score": "2 - 1",
"status": "LIVE",
"minute": "68'",
"isLive": true,
"hasStream": true
}
]
}curl -X GET "https://lnwthailive.online/api/public/matches?sport=football" \ -H "x-api-key: YOUR_API_KEY" \ -H "Accept: application/json"
/api/public/matches/live-incidentsเหตุการณ์สำคัญสดในสนาม (Live Match Incidents)
ดึงเหตุการณ์ระหว่างแข่งขันแบบกลุ่ม (Batch) รองรับสูงสุดหลายคู่พร้อมกัน เช่น จังหวะยิงประตู, ผู้แอสซิสต์, ใบเหลือง/ใบแดง, จุดโทษ, VAR และการเปลี่ยนตัวผู้เล่น
Headers & Parameters
x-api-keyHeader • RequiredAPI Key สำหรับยืนยันตัวตน (หรือใช้ Authorization: Bearer)
idsquery • string • บังคับรหัสแมตช์ที่ได้จาก /api/public/matches คั่นด้วยลูกน้ำ เช่น rb_4447596,rb_4447597
ตัวอย่างโครงสร้าง JSON Response (200 OK)
{
"success": true,
"count": 1,
"incidents": {
"rb_4447596": [
{
"type": "goal",
"minute": 34,
"team": "home",
"player": "Bukayo Saka",
"assist": "Martin Odegaard",
"score": "1 - 0"
}
]
}
}curl -X GET "https://lnwthailive.online/api/public/matches/live-incidents?ids=rb_4447596" \ -H "x-api-key: YOUR_API_KEY" \ -H "Accept: application/json"
rb_4447596)/api/public/matches/{matchId}/detailsรายละเอียดแมตช์ สถิติเชิงลึก & 11 ตัวจริง (Match Details & Lineups)
ดึงข้อมูลเชิงลึกรายคู่: สถิติในเกม (ครองบอล, ยิงเข้ากรอบ, เตะมุม, ฟาวล์), รายชื่อ 11 ผู้เล่นตัวจริงพร้อมแผนการเล่น (Formation), ตัวสำรอง และสถิติพบกันย้อนหลัง (H2H)
Headers & Parameters
x-api-keyHeader • RequiredAPI Key สำหรับยืนยันตัวตน (หรือใช้ Authorization: Bearer)
matchIdpath • string • บังคับรหัสแมตช์จาก /api/public/matches เช่น rb_4447596
sportquery • string • ตัวเลือกชนิดกีฬาของแมตช์นั้น (ค่าเริ่มต้น football)
ตัวอย่างโครงสร้าง JSON Response (200 OK)
{
"ok": true,
"tier": "starter",
"data": {
"id": "rb_4447596",
"statistics": [
{ "name": "Ball Possession", "home": "56%", "away": "44%" },
{ "name": "Shots on Goal", "home": 7, "away": 4 }
],
"lineups": {
"homeFormation": "4-3-3",
"awayFormation": "4-2-3-1"
}
}
}curl -X GET "https://lnwthailive.online/api/public/matches/rb_4447596/details" \ -H "x-api-key: YOUR_API_KEY" \ -H "Accept: application/json"
rb_4447596)/api/public/standingsตารางคะแนนฟุตบอลลีกชั้นนำอัปเดตสด (Live League Standings)
ดึงตารางคะแนนฤดูกาลปัจจุบันครบทุกลีกหลัก (พรีเมียร์ลีก, ลาลีกา, กัลโช่ เซเรียอา, บุนเดสลีกา, ลีกเอิง, ไทยลีก, ยูฟ่า แชมเปียนส์ลีก) พร้อมอันดับ แข่ง ชนะ เสมอ แพ้ ลูกได้เสีย และแต้มรวม
Headers & Parameters
x-api-keyHeader • RequiredAPI Key สำหรับยืนยันตัวตน (หรือใช้ Authorization: Bearer)
ตัวอย่างโครงสร้าง JSON Response (200 OK)
{
"ok": true,
"tier": "starter",
"isStale": false,
"count": 8,
"data": [
{
"id": "premier-league",
"name": "Premier League",
"rows": [
{ "rank": 1, "team": "Liverpool", "played": 30, "won": 22, "draw": 5, "lost": 3, "gd": 41, "points": 71 }
]
}
]
}curl -X GET "https://lnwthailive.online/api/public/standings" \ -H "x-api-key: YOUR_API_KEY" \ -H "Accept: application/json"
/api/public/resultsสรุปผลฟุตบอลสด & ย้อนหลังรายวัน (Live & Archive Results)
ดึงผลการแข่งขันฟุตบอลจบเกมและกำลังแข่งขัน เลือกดูย้อนหลังตามวันที่ YYYY-MM-DD หรือเฉพาะคู่สด (inplay)
Headers & Parameters
x-api-keyHeader • RequiredAPI Key สำหรับยืนยันตัวตน (หรือใช้ Authorization: Bearer)
datequery • string • ตัวเลือกเว้นว่าง = วันนี้, ระบุ YYYY-MM-DD เพื่อดูย้อนหลัง หรือระบุ inplay เฉพาะคู่กำลังแข่ง
ตัวอย่างโครงสร้าง JSON Response (200 OK)
{
"ok": true,
"tier": "starter",
"leagues": [
{
"league": "Premier League",
"matches": [
{ "home": "Chelsea", "away": "Everton", "score": "3 - 0", "status": "FT" }
]
}
]
}curl -X GET "https://lnwthailive.online/api/public/results" \ -H "x-api-key: YOUR_API_KEY" \ -H "Accept: application/json"
/api/analyse/todayบทวิเคราะห์ฟุตบอลวันนี้ & ทรรศนะความน่าจะเป็น
ดึงบทวิเคราะห์ก่อนเกมประจำวันนี้ สภาพความพร้อมนักเตะ ฟอร์มหลังสุด และแนวโน้มผลการแข่งขัน (รองรับ /api/analyse/tomorrow สำหรับวันพรุ่งนี้)
Headers & Parameters
x-api-keyHeader • RequiredAPI Key สำหรับยืนยันตัวตน (หรือใช้ Authorization: Bearer)
ตัวอย่างโครงสร้าง JSON Response (200 OK)
{
"ok": true,
"data": [
{
"id": "an_1024",
"league": "Premier League",
"home": "Arsenal",
"away": "Liverpool",
"summary": "ปืนใหญ่ฟอร์มในบ้านแข็งแกร่ง..."
}
]
}curl -X GET "https://lnwthailive.online/api/analyse/today" \ -H "x-api-key: YOUR_API_KEY" \ -H "Accept: application/json"
/api/public/matchesตารางแข่งและสกอร์สดกีฬาสากล 20+ ชนิด (Multi-Sport Live)
เปลี่ยนพารามิเตอร์ ?sport= เพื่อดึงกีฬาแต่ละชนิดตามสิทธิ์ที่ได้รับอนุญาต: basketball, volleyball, tennis, badminton, futsal, motogp, golf, baseball, ice_hockey, rugby, fighting, cricket, darts, athletics, cycling, netball, australian_football
Headers & Parameters
x-api-keyHeader • RequiredAPI Key สำหรับยืนยันตัวตน (หรือใช้ Authorization: Bearer)
sportquery • string • บังคับรหัสชนิดกีฬา เช่น basketball, volleyball, tennis, badminton, motogp, futsal, fighting
ตัวอย่างโครงสร้าง JSON Response (200 OK)
{
"ok": true,
"sport": "basketball",
"count": 12,
"data": [
{
"id": "rb_551209",
"league": "NBA",
"teamHome": "LA Lakers",
"teamAway": "Boston Celtics",
"score": "108 - 104",
"status": "Q4"
}
]
}curl -X GET "https://lnwthailive.online/api/public/matches?sport=basketball" \ -H "x-api-key: YOUR_API_KEY" \ -H "Accept: application/json"
/api/public/boxingโปรแกรมมวยไทยวันนี้ เรตมวย & ช่องถ่ายทอดสด (Muay Thai)
ดึงรายการศึกมวยไทยประจำวัน เวทีลุมพินี ราชดำเนิน ช่อง 7 สี ศึกจ้าวมวยไทย พร้อมคู่มวย มุมแดง-น้ำเงิน พิกัดน้ำหนัก และลิงก์ช่องถ่ายทอดสด
Headers & Parameters
x-api-keyHeader • RequiredAPI Key สำหรับยืนยันตัวตน (หรือใช้ Authorization: Bearer)
datequery • string • ตัวเลือกวันที่ต้องการดึงข้อมูล YYYY-MM-DD (เว้นว่าง = วันนี้)
ตัวอย่างโครงสร้าง JSON Response (200 OK)
{
"ok": true,
"tier": "pro",
"events": [
{
"program": "ศึกมวยไทย 7 สี",
"stadium": "เวทีมวยช่อง 7",
"bouts": [
{ "boutNo": 1, "red": "เพชรดำ", "blue": "ยอดขุนพล", "weight": "122 ปอนด์" }
]
}
]
}curl -X GET "https://lnwthailive.online/api/public/boxing" \ -H "x-api-key: YOUR_API_KEY" \ -H "Accept: application/json"
/api/public/muay-pakyokเรตมวยพักยกสด & ตัวเล่นมวยพักยกแท้ (Muay Pakyok Live Odds & Native Stream)
ดึงข้อมูลเรตมวยพักยกสดแบบ Real-time จากขอบเวที พร้อมสถานะยกปัจจุบันและลิงก์ตัวเล่นถ่ายทอดสดแท้ของ OneBX (iframe / H5LINKROW)
Headers & Parameters
x-api-keyHeader • RequiredAPI Key สำหรับยืนยันตัวตน (หรือใช้ Authorization: Bearer)
ตัวอย่างโครงสร้าง JSON Response (200 OK)
{
"ok": true,
"source": "onebx-native",
"data": [
{
"id": 62007,
"league": "ศึกวันลุมพินี",
"redCorner": { "name": "เสกสรร" },
"blueCorner": { "name": "ซุปเปอร์เล็ก" },
"round": "ยก 4",
"odds": { "redPrice": "5/4", "torSide": "red" },
"hasLiveStream": true,
"tvLink": "8801",
"iframeUrl": "https://lnwthailive.online/player/iframe?matchId=62007&sport=muay_pakyok&tvLink=8801",
"stream": {
"url": "https://lnwthailive.online/api/onebx/stream?matchId=62007&tvLink=8801&redirect=true",
"embedUrl": "https://www.326821905591.com/livetv/...",
"type": "iframe",
"source": "onebx-native"
}
}
]
}curl -X GET "https://lnwthailive.online/api/public/muay-pakyok" \ -H "x-api-key: YOUR_API_KEY" \ -H "Accept: application/json"
/api/public/wuachonตารางและสตรีมสดวัวชนแดนใต้ & ไก่ชน (Bullfighting & Cockfighting)
ดึงรายการแข่งขันวัวชนและไก่ชนประจำวัน พร้อมชื่อโค/ไก่ สนามแข่งขัน เงินรางวัล และลิงก์ HLS Stream พร้อม Token
Headers & Parameters
x-api-keyHeader • RequiredAPI Key สำหรับยืนยันตัวตน (หรือใช้ Authorization: Bearer)
typequery • string • ตัวเลือกกรองประเภท: all (ทั้งหมด), wuachon (วัวชน), cock (ไก่ชน)
ตัวอย่างโครงสร้าง JSON Response (200 OK)
{
"ok": true,
"total": 6,
"data": [
{
"id": 102,
"type": "wuachon",
"stadium": "สนามชนโคทุ่งโพธิ์",
"redCorner": { "name": "โคโหนดหลังขาว" },
"blueCorner": { "name": "โคนิลสิงห์ดำ" },
"isLive": true
}
]
}curl -X GET "https://lnwthailive.online/api/public/wuachon?type=all" \ -H "x-api-key: YOUR_API_KEY" \ -H "Accept: application/json"
/api/streams/{matchId}ดึงลิงก์สตรีมถ่ายทอดสดกีฬา (HLS .m3u8 Proxy & Embed Player)
ดึงลิงก์สตรีมสด HLS (.m3u8) ที่เข้ารหัสผ่าน Proxy พร้อมใช้งานกับ Hls.js / Video.js หรือนำ URL ไปฝังผ่าน iframe player
Headers & Parameters
x-api-keyHeader • RequiredAPI Key สำหรับยืนยันตัวตน (หรือใช้ Authorization: Bearer)
matchIdpath • string • บังคับรหัสแมตช์จาก /api/public/matches เช่น rb_4447596
channelquery • string • ตัวเลือกรหัสช่องสัญญาณสำรอง (เว้นว่างใช้ช่องหลัก)
sportquery • string • ตัวเลือกชนิดกีฬา เช่น football, basketball
ตัวอย่างโครงสร้าง JSON Response (200 OK)
{
"source": "https://lnwthailive.online/api/proxy/default/...m3u8",
"embedUrl": "https://lnwthailive.online/player/iframe?matchId=rb_4447596"
}curl -X GET "https://lnwthailive.online/api/streams/rb_4447596" \ -H "x-api-key: YOUR_API_KEY" \ -H "Accept: application/json"
rb_4447596)/api/iptv/channelsรายชื่อช่องทีวีสด IPTV ทั้งหมดพร้อมโลโก้และหมวดหมู่
ดึงรายการช่องทีวีออนไลน์ทั้งหมด (ช่องกีฬาพรีเมียม ฟรีทีวีดิจิทัล ข่าว ภาพยนตร์ และสารคดี) แยกตามหมวดหมู่
Headers & Parameters
x-api-keyHeader • RequiredAPI Key สำหรับยืนยันตัวตน (หรือใช้ Authorization: Bearer)
ตัวอย่างโครงสร้าง JSON Response (200 OK)
{
"categories": [
{
"id": "sports",
"name": "กีฬาสด (Sports HD)",
"channels": [
{ "id": 1, "name": "True Premier Football 1 HD", "logo": "https://lnwthailive.online/..." }
]
}
]
}curl -X GET "https://lnwthailive.online/api/iptv/channels" \ -H "x-api-key: YOUR_API_KEY" \ -H "Accept: application/json"
/api/iptv/stream/{channelId}ดึงสัญญาณถ่ายทอดสดช่อง IPTV รายช่อง (HLS Stream)
ดึงสัญญาณ HLS Playlist (.m3u8) ของช่องทีวี IPTV ตามรหัส channelId ที่ได้จาก /api/iptv/channels
Headers & Parameters
x-api-keyHeader • RequiredAPI Key สำหรับยืนยันตัวตน (หรือใช้ Authorization: Bearer)
channelIdpath • number • บังคับรหัสช่องทีวี เช่น 1
ตัวอย่างโครงสร้าง JSON Response (200 OK)
#EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:6 /api/iptv/segment/1/chunklist_b2500000.ts
curl -X GET "https://lnwthailive.online/api/iptv/stream/1" \ -H "x-api-key: YOUR_API_KEY" \ -H "Accept: application/json"
/api/portal/verifyตรวจสอบสถานะคีย์ วันหมดอายุ และตารางสิทธิ์ทั้ง 25 หมวดหมู่
ใช้สำหรับให้ระบบหลังบ้านของลูกค้าตรวจสอบความพร้อมของ API Key ตัวเอง (สถานะ Active, วันคงเหลือ, Rate Limit และสิทธิ์ allow_* ทั้ง 25 หมวดหมู่)
Headers & Parameters
x-api-keyHeader • RequiredAPI Key สำหรับยืนยันตัวตน (หรือใช้ Authorization: Bearer)
ตัวอย่างโครงสร้าง JSON Response (200 OK)
{
"ok": true,
"data": {
"maskedKey": "tgl-star****ca3a",
"tier": "starter",
"status": "active",
"daysRemaining": 25,
"rateLimit": 300,
"grantedCategories": ["football", "events", "analysis", "results"]
}
}curl -X GET "https://lnwthailive.online/api/portal/verify" \ -H "x-api-key: YOUR_API_KEY" \ -H "Accept: application/json"