JSON FEED

คู่มือดัชนีหน้าผลหวยย้อนหลังสำหรับ AI และระบบภายนอก

เอกสารอธิบาย /backward_data สำหรับ AI และระบบภายนอกที่ต้องการรายการหวยย้อนหลังทั้งหมดแบบ machine-readable

https://saihuay.com/backward_data

ใช้เมื่อไร

  • ใช้เมื่อต้องการดัชนีรายชื่อหวยย้อนหลังทั้งหมดจากหน้า /backward แบบ machine-readable
  • เหมาะกับ agent ที่ต้องการรู้ว่ามีตลาดอะไรบ้างก่อนจะไปต่อที่ /historical_data หรือ /lucky_data
  • ถ้าต้องการข้อมูลงวดย้อนหลังของหวยเดียว ให้ใช้ /historical_data โดยตรง แต่ถ้าต้องการรายการตลาดทั้งหมด ให้ใช้ /backward_data

field หลัก

Field ความหมาย
groups กลุ่มหวยพร้อมรายการตลาดภายในแต่ละกลุ่ม
markets รายการตลาดแบบ flat เพื่อให้ระบบค้นหาและ filter ได้ง่าย
market_slug slug ที่ใช้ต่อไปยัง /historical, /historical_data, /lucky และ /lucky_data
historical_feed_url URL สำหรับผลย้อนหลังรายหวยแบบ machine-readable
lucky_feed_url URL สำหรับข้อมูลเลขเด่นรายหวยแบบ machine-readable

ตัวอย่าง 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": "รัฐบาลไทย",
                    "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": "รัฐบาลไทย",
            "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"
        }
    ]
}