JSON FEED
Historical results data guide for AI and external systems
Documentation for historical_data.php, including the lotto, page, and date parameters for machine-readable historical lottery results.
https://www.gjl365n.xyz/historical_data.php?lotto=thai
Supported parameters
| Parameter | Meaning |
|---|---|
| lotto | Required. The lottery slug such as thai, saving, baac, or hanoi. |
| page | Optional. Selects the history page, default is 1. |
| date | Optional. Use YYYY-MM-DD to set the selected draw for latest_result. |
Example URLs
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
Sample 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": "Thai Government",
"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"
}
]
}