JSON FEED
Hướng dẫn dữ liệu lịch sử kết quả cho AI và hệ thống ngoài
Tài liệu hướng dẫn historical_data.php với các tham số lotto, page và date cho dữ liệu lịch sử kết quả ở dạng machine-readable.
https://www.gjl365n.xyz/historical_data.php?lotto=thai
Các tham số hỗ trợ
| Parameter | Ý nghĩa |
|---|---|
| lotto | Bắt buộc. Slug của đài như thai, saving, baac hoặc hanoi. |
| page | Không bắt buộc. Chọn trang lịch sử, mặc định là 1. |
| date | Không bắt buộc. Dùng định dạng YYYY-MM-DD để chọn kỳ quay hiển thị trong latest_result. |
Ví dụ 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
Ví dụ 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": "Chính phủ Thái Lan",
"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"
}
]
}