JSON FEED

Historical index guide for AI and external systems

Documentation for backward_data.php for AI and external systems that need a machine-readable index of all historical lottery markets.

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

When to use it

  • Use it when you need a machine-readable index of all historical markets from backward.php.
  • Suitable for agents that need to discover available markets before calling historical_data.php or lucky_data.php.
  • Use historical_data.php for one market history, and backward_data.php when you need the full market index.

Main fields

Field Meaning
groups Lottery groups with the markets inside each group.
markets Flat market list for easier search and filtering by systems.
market_slug Slug used to route into historical.php, historical_data.php, lucky.php, and lucky_data.php.
historical_feed_url Machine-readable per-lottery historical feed URL.
lucky_feed_url Machine-readable per-lottery lucky analysis feed URL.

Sample 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": "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"
                }
            ]
        }
    ],
    "markets": [
        {
            "group_name_th": "หวยรัฐบาล",
            "group_display_name": "Government Lottery",
            "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"
        }
    ]
}