JSON FEED

Historical index guide for AI and external systems

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

https://saihuay.com/backward_data

When to use it

  • Use it when you need a machine-readable index of all historical markets from /backward.
  • Suitable for agents that need to discover available markets before calling /historical_data or /lucky_data.
  • Use /historical_data for one market history, and /backward_data 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, /historical_data, /lucky, and /lucky_data.
historical_feed_url Machine-readable per-lottery historical feed URL.
lucky_feed_url Machine-readable per-lottery lucky analysis feed URL.

Sample JSON

{
    "site": "saihuay",
    "page_type": "historical_market_index",
    "canonical_url": "https://saihuay.com/backward",
    "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://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"
                }
            ]
        }
    ],
    "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://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"
        }
    ]
}