Free Thai Lottery API - ตรวจหวยฟรี สำหรับนักพัฒนา
https://lottocheck.org/api/v1/lottery/latest
Cache system ช่วยให้การเรียกใช้เร็วขึ้น
ไม่ต้องสมัคร ไม่ต้องใช้ API Key
เรียกใช้ได้จากทุกที่ ทุก domain
GET /api/v1/lottery/latest
ดึงข้อมูลผลหวยงวดล่าสุด
{
"status": "success",
"source": "cache",
"data": {
"date": "16 ธันวาคม 2567",
"prizes": [{
"id": "prizeFirst",
"name": "รางวัลที่ 1",
"reward": "6000000",
"amount": 1,
"number": ["835729"]
}],
"runningNumbers": [...]
}
}
fetch('https://lottocheck.org/api/v1/lottery/latest')
.then(res => res.json())
.then(data => console.log(data));
GET /api/v1/lottery/{date}
ดึงข้อมูลผลหวยตามวันที่ที่ระบุ
Parameter | Type | Description |
---|---|---|
date | string | วันที่ในรูปแบบ DDMMYYYY เช่น 16122024 |
https://lottocheck.org/api/v1/lottery/16122024
GET /api/v1/lottery/list
ดึงรายการงวดหวยย้อนหลัง
Parameter | Type | Default | Description |
---|---|---|---|
limit | number | 24 | จำนวนงวดที่ต้องการ |
page | number | 1 | หน้าที่ต้องการ |
https://lottocheck.org/api/v1/lottery/list?limit=10&page=1
POST /api/v1/lottery/check
ตรวจสอบว่าเลขที่ส่งมาถูกรางวัลหรือไม่
{
"number": "123456", // เลข 6 หลัก (required)
"date": "latest" // งวดที่ต้องการตรวจ (optional)
}
{
"status": "success",
"lottery_date": "16 ธันวาคม 2567",
"number_checked": "123456",
"is_winner": true,
"total_reward": 6000000,
"prizes_won": [{
"prize_id": "prizeFirst",
"prize_name": "รางวัลที่ 1",
"reward": "6000000",
"match_type": "exact"
}]
}
หากพบปัญหาหรือต้องการความช่วยเหลือ สามารถติดต่อได้ที่: