JSON FEED
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://saihauy.com/index_data.php
Sample JSON
{
"site": "saihauy",
"page_type": "homepage_overview",
"canonical_url": "https://saihauy.com/",
"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://saihauy.com/result.php",
"feed_url": "https://saihauy.com/result_data.php",
"guide_url": "https://saihauy.com/result_data_guide.php"
},
{
"section_key": "historical_index",
"page_url": "https://saihauy.com/backward.php",
"feed_url": "https://saihauy.com/backward_data.php",
"guide_url": "https://saihauy.com/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://saihauy.com/historical.php?lotto=thai",
"historical_feed_url": "https://saihauy.com/historical_data.php?lotto=thai",
"lucky_url": "https://saihauy.com/lucky.php?lotto=thai",
"lucky_feed_url": "https://saihauy.com/lucky_data.php?lotto=thai"
}
]
}
]
}