JSON FEED

Homepage guide for AI and external systems

Documentation for /index_data for AI and external systems — site overview, market directory, and homepage latest-result cards (machine-readable, approved crawlers only).

https://saihuay.com/index_data

When to use it

  • Use it when you need a machine-readable overview of the homepage, main sections, and all lottery markets.
  • Suitable for agents that need a stable site starting point before routing into specialized feeds.
  • Use /result_data for the full today-results table, and /index_data for the homepage overview including latest-result cards.
  • Approved bots/crawlers only (known User-Agent) — regular browsers receive HTTP 403, same as /result_data.

Main fields

Field Meaning
homepage_latest_results Homepage latest-result cards (#lottoLatestSection) — filters and cards with top_3, bottom_2, draw_result/first_prize, plus front_digits/back_digits for Thai Government Lottery.
access_policy Value approved_crawlers_only — requires an approved bot User-Agent.
primary_sections Main entry points of the site with page_url, feed_url, and guide_url.
groups Lottery groups with all markets surfaced by the homepage.
supported_languages Languages supported by the public site.

Sample JSON

{
    "site": "saihuay",
    "page_type": "homepage_overview",
    "canonical_url": "https://saihuay.com/",
    "generated_at": "2026-04-14T12:00:00Z",
    "access_policy": "approved_crawlers_only",
    "supported_languages": [
        "th",
        "en",
        "zh",
        "lo",
        "vi"
    ],
    "group_count": 2,
    "market_count": 3,
    "primary_sections": [
        {
            "section_key": "homepage_latest_results",
            "page_url": "https://saihuay.com/",
            "section_anchor": "lottoLatestSection",
            "feed_url": "https://saihuay.com/index_data",
            "guide_url": "https://saihuay.com/index_data_guide"
        },
        {
            "section_key": "latest_results",
            "page_url": "https://saihuay.com/result",
            "feed_url": "https://saihuay.com/result_data",
            "guide_url": "https://saihuay.com/result_data_guide"
        }
    ],
    "homepage_latest_results": {
        "section_title_th": "Lottery ล่าสุด",
        "section_anchor": "lottoLatestSection",
        "card_count": 2,
        "filters": [
            {
                "filter_key": "all",
                "label_th": "ทั้งหมด",
                "groups": []
            },
            {
                "filter_key": "หวยลาว",
                "label_th": "หวยลาว",
                "groups": [
                    "หวยลาว"
                ]
            }
        ],
        "cards": [
            {
                "market_name_th": "Lao STAR",
                "market_slug": "lao_star",
                "market_display_name": "Lao STAR",
                "group_name_th": "หวยลาว",
                "filter_groups": [
                    "หวยลาว"
                ],
                "draw_date_display": "24 มิ.ย. 2569",
                "draw_date_iso": "2026-06-24",
                "scheduled_draw_time": "22:00",
                "has_result": true,
                "top_3": "885",
                "bottom_2": "56",
                "first_prize": "",
                "draw_result": "12345",
                "history_url": "https://saihuay.com/historical?lotto=lao_star"
            },
            {
                "market_name_th": "Thai Government",
                "market_slug": "thai",
                "market_display_name": "Thai Government Lottery",
                "group_name_th": "หวยรัฐบาล",
                "filter_groups": [
                    "หวยรัฐบาล"
                ],
                "draw_date_display": "1 ก.ค. 2569",
                "draw_date_iso": "2026-07-01",
                "scheduled_draw_time": "16:00",
                "has_result": false,
                "top_3": "",
                "bottom_2": "",
                "first_prize": "",
                "draw_result": "",
                "front_digits": "123, 456",
                "back_digits": "789, 012",
                "history_url": "https://saihuay.com/historical?lotto=thai"
            }
        ]
    },
    "groups": [
        {
            "group_name_th": "หวยรัฐบาล",
            "group_display_name": "Government Lottery",
            "market_count": 2,
            "markets": [
                {
                    "market_slug": "thai",
                    "market_name_th": "Thai Government",
                    "market_display_name": "Thai Government Lottery",
                    "historical_url": "https://saihuay.com/historical?lotto=thai",
                    "historical_feed_url": "https://saihuay.com/historical_data?lotto=thai",
                    "lucky_url": "https://saihuay.com/lucky?lotto=thai",
                    "lucky_feed_url": "https://saihuay.com/lucky_data?lotto=thai"
                }
            ]
        }
    ]
}