JSON FEED

Hướng dẫn chỉ mục lịch sử cho AI và hệ thống ngoài

Tài liệu mô tả backward_data.php cho AI và hệ thống ngoài cần chỉ mục machine-readable của toàn bộ các đài lịch sử.

https://www.gjl365n.xyz/backward_data.php

Khi nào nên dùng

  • Dùng khi cần chỉ mục machine-readable của toàn bộ đài lịch sử từ backward.php.
  • Phù hợp cho agent cần biết có những đài nào trước khi gọi historical_data.php hoặc lucky_data.php.
  • Nếu cần lịch sử của một đài, dùng historical_data.php trực tiếp; nếu cần danh sách toàn bộ đài, dùng backward_data.php.

Các field chính

Field Ý nghĩa
groups Nhóm xổ số cùng danh sách đài trong từng nhóm.
markets Danh sách đài dạng phẳng để hệ thống dễ tìm và lọc.
market_slug Slug dùng để đi tiếp sang historical.php, historical_data.php, lucky.php và lucky_data.php.
historical_feed_url URL feed machine-readable của lịch sử từng đài.
lucky_feed_url URL feed machine-readable của phân tích số nổi bật từng đài.

Ví dụ JSON

{
    "site": "GJL365N",
    "page_type": "historical_market_index",
    "canonical_url": "https://www.gjl365n.xyz/backward.php",
    "generated_at": "2026-04-14T12:00:00Z",
    "group_count": 2,
    "market_count": 3,
    "groups": [
        {
            "group_name_th": "หวยรัฐบาล",
            "group_display_name": "Government Lottery",
            "market_count": 2,
            "markets": [
                {
                    "market_slug": "thai",
                    "market_name_th": "Chính phủ Thái Lan",
                    "market_display_name": "Thai Government Lottery",
                    "historical_url": "https://www.gjl365n.xyz/historical.php?lotto=thai",
                    "historical_feed_url": "https://www.gjl365n.xyz/historical_data.php?lotto=thai",
                    "lucky_url": "https://www.gjl365n.xyz/lucky.php?lotto=thai",
                    "lucky_feed_url": "https://www.gjl365n.xyz/lucky_data.php?lotto=thai"
                }
            ]
        }
    ],
    "markets": [
        {
            "group_name_th": "หวยรัฐบาล",
            "group_display_name": "Government Lottery",
            "market_slug": "thai",
            "market_name_th": "Chính phủ Thái Lan",
            "market_display_name": "Thai Government Lottery",
            "historical_url": "https://www.gjl365n.xyz/historical.php?lotto=thai",
            "historical_feed_url": "https://www.gjl365n.xyz/historical_data.php?lotto=thai",
            "lucky_url": "https://www.gjl365n.xyz/lucky.php?lotto=thai",
            "lucky_feed_url": "https://www.gjl365n.xyz/lucky_data.php?lotto=thai"
        }
    ]
}