JSON FEED
คู่มือข้อมูลผลหวยย้อนหลังสำหรับ AI และระบบภายนอก
เอกสารอธิบายวิธีใช้ historical_data.php สำหรับดึงผลหวยย้อนหลังรายหวยแบบ machine-readable พร้อมพารามิเตอร์ lotto, page และ date
https://www.gjl365n.xyz/historical_data.php?lotto=thai
พารามิเตอร์ที่รองรับ
| Parameter | ความหมาย |
|---|---|
| lotto | จำเป็น ใช้ระบุ slug ของหวย เช่น thai, saving, baac, hanoi |
| page | ไม่บังคับ เลือกหน้าของผลย้อนหลัง ค่าเริ่มต้นคือ 1 |
| date | ไม่บังคับ ใช้รูปแบบ YYYY-MM-DD เพื่อเลือกงวดที่ต้องการให้แสดงใน latest_result |
ตัวอย่าง URL
https://gjl365n.xyz/historical_data.php?lotto=thai
https://gjl365n.xyz/historical_data.php?lotto=hanoi&page=2
https://gjl365n.xyz/historical_data.php?lotto=lao_pathana&date=2026-04-10
ตัวอย่าง JSON
{
"site": "GJL365N",
"page_type": "historical_lottery_results",
"canonical_url": "https://www.gjl365n.xyz/historical.php?lotto=thai&page=1",
"generated_at": "2026-04-14T12:00:00Z",
"market_slug": "thai",
"market_name_th": "รัฐบาลไทย",
"market_display_name": "Thai Government Lottery",
"selected_date": "",
"current_page": 1,
"per_page": 20,
"history_total": 120,
"history_total_pages": 6,
"latest_result": {
"draw_date": "2026-04-14",
"draw_date_display": "14 เมษายน 2569",
"top_3": "",
"bottom_2": "34",
"draw_result": "",
"first_prize": "123456",
"front_digits": "12, 34",
"back_digits": "56, 78"
},
"history_rows": [
{
"draw_date": "2026-04-14",
"draw_date_display": "14 เมษายน 2569",
"top_3": "",
"bottom_2": "34",
"draw_result": "",
"first_prize": "123456",
"front_digits": "12, 34",
"back_digits": "56, 78",
"page_url": "historical.php?lotto=thai&page=1&date=2026-04-14"
}
]
}