JSON FEED

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

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

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

ใช้เมื่อไร

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

field หลัก

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

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