JSON FEED

面向 AI 与外部系统的历史结果数据指南

说明 historical_data.php 的用法,包括 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"
        }
    ]
}