HOT DEALเปิดแพ็กเกจ 3 เดือน ฿16,900 (ถูกกว่าตลาด ฿2,100 + แถม Sub-Key) · โปรย้ายค่ายลด 25% ·

Interactive API Playground & ระบบตรวจสอบสถานะคีย์

REST v3.0

Production Base URL: https://lnwthailive.online

ติดต่อซัพพอร์ต
GET/api/public/matches
สิทธิ์: ฟุตบอลสด

ตารางแข่งขันและผลฟุตบอลสดวันนี้ (Live Matches Feed)

ดึงรายการแข่งขันฟุตบอลทั้งหมดประจำวัน พร้อมสถานะสด (LIVE / HT / FT / Upcoming), สกอร์ปัจจุบัน, นาทีในสนาม, โลโก้ทีม และรหัสแมตช์ (เช่น rb_4447596) สำหรับนำไปดึงเหตุการณ์สดและรายละเอียดเชิงลึกต่อ

⏱️ แนะนำ Cache TTL: 10–15 วินาที

Headers & Parameters

x-api-keyHeader • Required

API 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"
⚡ ทดสอบยิง Endpoint จริง (Live Playground)
GET/api/public/matches/live-incidents
สิทธิ์: เหตุการณ์สด / อีเว้นท์

เหตุการณ์สำคัญสดในสนาม (Live Match Incidents)

ดึงเหตุการณ์ระหว่างแข่งขันแบบกลุ่ม (Batch) รองรับสูงสุดหลายคู่พร้อมกัน เช่น จังหวะยิงประตู, ผู้แอสซิสต์, ใบเหลือง/ใบแดง, จุดโทษ, VAR และการเปลี่ยนตัวผู้เล่น

⏱️ แนะนำ Cache TTL: 10–15 วินาที

Headers & Parameters

x-api-keyHeader • Required

API 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"
⚡ ทดสอบยิง Endpoint จริง (Live Playground)(ดึงรหัสแมตช์สดอัตโนมัติ: rb_4447596)
GET/api/public/matches/{matchId}/details
สิทธิ์: รายละเอียดแมตช์ / วิเคราะห์บอล

รายละเอียดแมตช์ สถิติเชิงลึก & 11 ตัวจริง (Match Details & Lineups)

ดึงข้อมูลเชิงลึกรายคู่: สถิติในเกม (ครองบอล, ยิงเข้ากรอบ, เตะมุม, ฟาวล์), รายชื่อ 11 ผู้เล่นตัวจริงพร้อมแผนการเล่น (Formation), ตัวสำรอง และสถิติพบกันย้อนหลัง (H2H)

⏱️ แนะนำ Cache TTL: 30 วินาที

Headers & Parameters

x-api-keyHeader • Required

API 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"
⚡ ทดสอบยิง Endpoint จริง (Live Playground)(ดึงรหัสแมตช์สดอัตโนมัติ: rb_4447596)
GET/api/public/standings
สิทธิ์: ผลย้อนหลัง & ตารางคะแนน

ตารางคะแนนฟุตบอลลีกชั้นนำอัปเดตสด (Live League Standings)

ดึงตารางคะแนนฤดูกาลปัจจุบันครบทุกลีกหลัก (พรีเมียร์ลีก, ลาลีกา, กัลโช่ เซเรียอา, บุนเดสลีกา, ลีกเอิง, ไทยลีก, ยูฟ่า แชมเปียนส์ลีก) พร้อมอันดับ แข่ง ชนะ เสมอ แพ้ ลูกได้เสีย และแต้มรวม

⏱️ แนะนำ Cache TTL: 5 นาที

Headers & Parameters

x-api-keyHeader • Required

API 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"
⚡ ทดสอบยิง Endpoint จริง (Live Playground)
GET/api/public/results
สิทธิ์: ผลย้อนหลัง & ตารางคะแนน

สรุปผลฟุตบอลสด & ย้อนหลังรายวัน (Live & Archive Results)

ดึงผลการแข่งขันฟุตบอลจบเกมและกำลังแข่งขัน เลือกดูย้อนหลังตามวันที่ YYYY-MM-DD หรือเฉพาะคู่สด (inplay)

⏱️ แนะนำ Cache TTL: 30–60 วินาที

Headers & Parameters

x-api-keyHeader • Required

API 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"
⚡ ทดสอบยิง Endpoint จริง (Live Playground)
GET/api/analyse/today
สิทธิ์: รายละเอียดแมตช์ / วิเคราะห์บอล

บทวิเคราะห์ฟุตบอลวันนี้ & ทรรศนะความน่าจะเป็น

ดึงบทวิเคราะห์ก่อนเกมประจำวันนี้ สภาพความพร้อมนักเตะ ฟอร์มหลังสุด และแนวโน้มผลการแข่งขัน (รองรับ /api/analyse/tomorrow สำหรับวันพรุ่งนี้)

⏱️ แนะนำ Cache TTL: 5–10 นาที

Headers & Parameters

x-api-keyHeader • Required

API 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"
⚡ ทดสอบยิง Endpoint จริง (Live Playground)
GET/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

⏱️ แนะนำ Cache TTL: 15–30 วินาที

Headers & Parameters

x-api-keyHeader • Required

API 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"
⚡ ทดสอบยิง Endpoint จริง (Live Playground)
GET/api/public/boxing
สิทธิ์: มวยไทย / มวยสากล

โปรแกรมมวยไทยวันนี้ เรตมวย & ช่องถ่ายทอดสด (Muay Thai)

ดึงรายการศึกมวยไทยประจำวัน เวทีลุมพินี ราชดำเนิน ช่อง 7 สี ศึกจ้าวมวยไทย พร้อมคู่มวย มุมแดง-น้ำเงิน พิกัดน้ำหนัก และลิงก์ช่องถ่ายทอดสด

⏱️ แนะนำ Cache TTL: 30–60 วินาที

Headers & Parameters

x-api-keyHeader • Required

API 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"
⚡ ทดสอบยิง Endpoint จริง (Live Playground)
GET/api/public/muay-pakyok
สิทธิ์: มวยพักยก (Live Odds)

เรตมวยพักยกสด & ตัวเล่นมวยพักยกแท้ (Muay Pakyok Live Odds & Native Stream)

ดึงข้อมูลเรตมวยพักยกสดแบบ Real-time จากขอบเวที พร้อมสถานะยกปัจจุบันและลิงก์ตัวเล่นถ่ายทอดสดแท้ของ OneBX (iframe / H5LINKROW)

⏱️ แนะนำ Cache TTL: ไม่ควรแคชลิงก์สตรีม (สด 0 วินาที)

Headers & Parameters

x-api-keyHeader • Required

API 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"
⚡ ทดสอบยิง Endpoint จริง (Live Playground)
GET/api/public/wuachon
สิทธิ์: วัวชน & ไก่ชน

ตารางและสตรีมสดวัวชนแดนใต้ & ไก่ชน (Bullfighting & Cockfighting)

ดึงรายการแข่งขันวัวชนและไก่ชนประจำวัน พร้อมชื่อโค/ไก่ สนามแข่งขัน เงินรางวัล และลิงก์ HLS Stream พร้อม Token

⏱️ แนะนำ Cache TTL: 30 วินาที

Headers & Parameters

x-api-keyHeader • Required

API 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"
⚡ ทดสอบยิง Endpoint จริง (Live Playground)
GET/api/streams/{matchId}
สิทธิ์: ฟุตบอลสด

ดึงลิงก์สตรีมถ่ายทอดสดกีฬา (HLS .m3u8 Proxy & Embed Player)

ดึงลิงก์สตรีมสด HLS (.m3u8) ที่เข้ารหัสผ่าน Proxy พร้อมใช้งานกับ Hls.js / Video.js หรือนำ URL ไปฝังผ่าน iframe player

⏱️ แนะนำ Cache TTL: ห้ามแคชเกิน 15 วินาที (Token มีอายุจำกัด)

Headers & Parameters

x-api-keyHeader • Required

API 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"
⚡ ทดสอบยิง Endpoint จริง (Live Playground)(ดึงรหัสแมตช์สดอัตโนมัติ: rb_4447596)
GET/api/iptv/channels
สิทธิ์: ทีวีสด IPTV

รายชื่อช่องทีวีสด IPTV ทั้งหมดพร้อมโลโก้และหมวดหมู่

ดึงรายการช่องทีวีออนไลน์ทั้งหมด (ช่องกีฬาพรีเมียม ฟรีทีวีดิจิทัล ข่าว ภาพยนตร์ และสารคดี) แยกตามหมวดหมู่

⏱️ แนะนำ Cache TTL: 5 นาที

Headers & Parameters

x-api-keyHeader • Required

API 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"
⚡ ทดสอบยิง Endpoint จริง (Live Playground)
GET/api/iptv/stream/{channelId}
สิทธิ์: ทีวีสด IPTV

ดึงสัญญาณถ่ายทอดสดช่อง IPTV รายช่อง (HLS Stream)

ดึงสัญญาณ HLS Playlist (.m3u8) ของช่องทีวี IPTV ตามรหัส channelId ที่ได้จาก /api/iptv/channels

⏱️ แนะนำ Cache TTL: ห้ามแคช (Stream Manifest สด)

Headers & Parameters

x-api-keyHeader • Required

API 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"
⚡ ทดสอบยิง Endpoint จริง (Live Playground)
GET/api/portal/verify
สิทธิ์: ฟุตบอลสด

ตรวจสอบสถานะคีย์ วันหมดอายุ และตารางสิทธิ์ทั้ง 25 หมวดหมู่

ใช้สำหรับให้ระบบหลังบ้านของลูกค้าตรวจสอบความพร้อมของ API Key ตัวเอง (สถานะ Active, วันคงเหลือ, Rate Limit และสิทธิ์ allow_* ทั้ง 25 หมวดหมู่)

⏱️ แนะนำ Cache TTL: ไม่ต้องแคช

Headers & Parameters

x-api-keyHeader • Required

API 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"
⚡ ทดสอบยิง Endpoint จริง (Live Playground)