JSON FEED

Homepage guide for AI and external systems

Documentation for index_data.php for AI and external systems that need a machine-readable overview of the site, its main sections, and lottery markets.

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

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.php for latest results directly, and index_data.php when you need the whole-site overview.

Main fields

Field Meaning
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": "GJL365N",
    "page_type": "homepage_overview",
    "canonical_url": "https://www.gjl365n.xyz/",
    "generated_at": "2026-04-14T12:00:00Z",
    "supported_languages": [
        "th",
        "en",
        "zh",
        "lo",
        "vi"
    ],
    "group_count": 2,
    "market_count": 3,
    "primary_sections": [
        {
            "section_key": "latest_results",
            "page_url": "https://www.gjl365n.xyz/result.php",
            "feed_url": "https://www.gjl365n.xyz/result_data.php",
            "guide_url": "https://www.gjl365n.xyz/result_data_guide.php"
        },
        {
            "section_key": "historical_index",
            "page_url": "https://www.gjl365n.xyz/backward.php",
            "feed_url": "https://www.gjl365n.xyz/backward_data.php",
            "guide_url": "https://www.gjl365n.xyz/backward_data_guide.php"
        }
    ],
    "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://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"
                }
            ]
        }
    ]
}