JSON FEED

Latest results data guide for AI and external systems

Documentation for the result_data.php structure for AI agents and external systems that need machine-readable latest lottery results.

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

When to use it

  • Use it when you need machine-readable latest results without parsing HTML from result.php.
  • Suitable for AI agents, bots, and external consumers that need explicit fields such as market_slug or history_url.
  • result.php remains the human-facing page, while result_data.php is the machine-facing feed.

Main fields

Field Meaning
site GJL365N
page_type Feed type
canonical_url Human-facing page URL
generated_at Feed generation time in ISO 8601
draw_date_iso Latest draw date as YYYY-MM-DD
groups Markets grouped by lottery category
markets Flat market list for simpler machine consumption
market_slug Slug used for historical.php links
history_url Public historical page for the market

Sample JSON

{
    "site": "GJL365N",
    "page_type": "latest_lottery_results",
    "canonical_url": "https://www.gjl365n.xyz/result.php",
    "generated_at": "2026-04-14T12:00:00Z",
    "draw_date_iso": "2026-04-14",
    "draw_date_display_th": "14 เมษายน 2569",
    "market_count": 2,
    "groups": [
        {
            "group_name_th": "หวยรัฐบาล",
            "markets": [
                {
                    "group_name_th": "หวยรัฐบาล",
                    "market_name_th": "Thai Government",
                    "market_slug": "thai",
                    "draw_date": "2026-04-14",
                    "history_url": "https://www.gjl365n.xyz/historical.php?lotto=thai",
                    "top_3": "",
                    "bottom_2": "34",
                    "first_prize": "123456",
                    "front_digits": "12, 34",
                    "back_digits": "56, 78"
                }
            ]
        }
    ]
}