API ผลหวยหุ้นฟรี (JSON) ไม่ต้องสมัคร ไม่ต้องมีคีย์

สำหรับนักพัฒนา บอท LINE / Telegram / Discord หรือเว็บที่อยากจัดหน้าแสดงผลเอง เรียกได้จากเบราว์เซอร์โดยตรง (เปิด CORS) แคช 60 วินาที

Endpoint

GET https://huaywidget.com/api/all          ผลล่าสุดทุกตลาด
GET https://huaywidget.com/api/dowjones       ผลดาวโจนส์
GET https://huaywidget.com/api/nikkei         ผลนิเคอิ
GET https://huaywidget.com/api/hangseng       ผลฮั่งเส็ง
GET https://huaywidget.com/api/china          ผลหุ้นจีน
GET https://huaywidget.com/api/taiwan         ผลหุ้นไต้หวัน
GET https://huaywidget.com/api/singapore      ผลหุ้นสิงคโปร์

รูปแบบข้อมูล

{
  "id": "dowjones", "name": "ดาวโจนส์", "site": "https://dowjonesth.com",
  "pm": { "round": "2026-10-10", "top3": "495", "bot2": "31", "close": 51654.95, "chg": 423.31 },
  "am": { ... }   // เฉพาะตลาดที่มีรอบเช้า (นิเคอิ ฮั่งเส็ง)
}

ตัวอย่าง JavaScript

fetch('https://huaywidget.com/api/dowjones')
  .then(r => r.json())
  .then(d => console.log('ดาวโจนส์', d.pm.round, d.pm.top3, d.pm.bot2));

เงื่อนไข

ใช้ฟรีทั้งเชิงส่วนตัวและเชิงพาณิชย์ ขอเพียงแสดง "ข้อมูลจาก" พร้อมลิงก์ไปเว็บผลของตลาดนั้น (ค่า site ในข้อมูล) · กรุณาแคชฝั่งคุณอย่างน้อย 1 นาที