ตลาด

ตลาดทำนายทั้งหมดของ PredictAsiaX ที่เปิดอยู่ ข้อมูลดึงจาก GET /v1/markets คลิกที่การ์ดเพื่อดูมุมมอง API แบบ raw ทุกตลาดมี widget ที่สามารถฝังได้ — ดู การฝังตลาด

politics open

Will the Supreme Court rule for the petitioner in Republican National Committee v. Mi Familia Vota by 2027-07-02?

YES 50.2%
NO 49.8%
Vol $9.4k
scotus-25-1017-rnc-mi-familia-vota
Crypto open

Will Bitcoin reach $200,000 by end of 2026?

YES 8.0%
NO 92.0%
Vol $1.6k
btc-200000-hit-2026
Crypto open

Will Ethereum hit $4,000 by December 31, 2026?

YES 38.0%
NO 62.0%
Vol $10.7k
eth-4000-hit-2026
politics open

Will the Supreme Court rule for the petitioner in Grant v. Higgins by 2027-06-25?

YES 50.0%
NO 50.0%
Vol $42.9k
seed_politics_07db280cc82c
politics open

Will the Supreme Court rule for the petitioner in Viramontes v. Cook County by 2027-06-25?

YES 50.0%
NO 50.0%
Vol $3.2k
seed_politics_24335da6a04f
politics open

Will the Supreme Court rule for the petitioner in Suncor Energy v. Boulder County by 2027-06-27?

YES 51.2%
NO 48.8%
Vol $3.3k
seed_politics_fea10f7ad2a1
Sports open

Will Alex Albon be the 2026 F1 Drivers' Champion?

YES 2.7%
NO 97.3%
Vol $5.6k
albon-f1-2026
Sports open

Will Fernando Alonso be the 2026 F1 Drivers' Champion?

YES 1.0%
NO 99.0%
Vol $7.9k
alonso-f1-2026
Sports open

Will Andrea Kimi Antonelli be the 2026 F1 Drivers' Champion?

YES 2.5%
NO 97.5%
Vol $5.3k
antonelli-f1-2026
Politics open

Will Alexandria Ocasio-Cortez win the 2028 Democratic presidential nomination?

YES 30.2%
NO 69.8%
Vol $18.5k
aoc-2028
Sports open

Will Aston Martin win the 2026 F1 Constructors' Championship?

YES 4.2%
NO 95.8%
Vol $1.1k
aston-martin-f1-constructors
Politics open

Will Andy Beshear win the 2028 Democratic presidential nomination?

YES 4.8%
NO 95.2%
Vol $14.7k
beshear-2028
Sports open

Will Gabriel Bortoleto be the 2026 F1 Drivers' Champion?

YES 2.2%
NO 97.8%
Vol $5.5k
bortoleto-f1-2026
Sports open

Will Beneil Dariush be UFC Lightweight Champion on December 31, 2026?

YES 4.3%
NO 95.7%
Vol $8.7k
dariush-ufc-lw
Sports open

Will Jack Doohan be the 2026 F1 Drivers' Champion?

YES 3.1%
NO 96.9%
Vol $3.3k
doohan-f1-2026
Sports open

Will Ferrari win the 2026 F1 Constructors' Championship?

YES 16.2%
NO 83.8%
Vol $2.9k
ferrari-f1-constructors
Sports open

Will Rafael Fiziev be UFC Lightweight Champion on December 31, 2026?

YES 2.9%
NO 97.1%
Vol $3.6k
fiziev-ufc-lw
Sports open

Will Mateusz Gamrot be UFC Lightweight Champion on December 31, 2026?

YES 3.7%
NO 96.3%
Vol $5.4k
gamrot-ufc-lw
Sports open

Will Pierre Gasly be the 2026 F1 Drivers' Champion?

YES 1.7%
NO 98.4%
Vol $420.35
gasly-f1-2026
Sports open

Will Isack Hadjar be the 2026 F1 Drivers' Champion?

YES 29.5%
NO 70.5%
Vol $32.6k
hadjar-f1-2026
Sports open

Will Lewis Hamilton be the 2026 F1 Drivers' Champion?

YES 2.5%
NO 97.5%
Vol $3.0k
hamilton-f1-2026
Politics open

Will Kamala Harris win the 2028 Democratic presidential nomination?

YES 11.6%
NO 88.4%
Vol $10.9k
harris-2028
Sports open

Will Dan Hooker be UFC Lightweight Champion on December 31, 2026?

YES 4.8%
NO 95.2%
Vol $5.8k
hooker-ufc-lw
Sports open

Will Nico Hülkenberg be the 2026 F1 Drivers' Champion?

YES 1.0%
NO 99.0%
Vol $1.8k
hulkenberg-f1-2026
Politics open

Will the next US-Iran diplomatic meeting be held in Oman?

YES 48.0%
NO 52.0%
Vol $3.5k
iran-meeting-oman
Politics open

Will the next US-Iran diplomatic meeting be held in Qatar?

YES 17.4%
NO 82.6%
Vol $11.8k
iran-meeting-qatar
Politics open

Will the next US-Iran diplomatic meeting be held in Saudi Arabia?

YES 1.0%
NO 99.0%
Vol $18.1k
iran-meeting-saudi
Politics open

Will the next US-Iran diplomatic meeting be held in Switzerland?

YES 24.6%
NO 75.4%
Vol $21.9k
iran-meeting-switzerland
Politics open

Will the next US-Iran diplomatic meeting be held in Turkey?

YES 9.0%
NO 91.0%
Vol $5.6k
iran-meeting-turkey
Politics open

Will Amy Klobuchar win the 2028 Democratic presidential nomination?

YES 4.1%
NO 95.9%
Vol $6.6k
klobuchar-2028
Sports open

Will Charles Leclerc be the 2026 F1 Drivers' Champion?

YES 16.5%
NO 83.5%
Vol $4.9k
leclerc-f1-2026
Sports open

Will Islam Makhachev be UFC Lightweight Champion on December 31, 2026?

YES 30.4%
NO 69.6%
Vol $1.9k
makhachev-ufc-lw
Sports open

Will McLaren win the 2026 F1 Constructors' Championship?

YES 18.2%
NO 81.8%
Vol $3.6k
mclaren-f1-constructors
Sports open

Will Mercedes win the 2026 F1 Constructors' Championship?

YES 13.5%
NO 86.5%
Vol $12.4k
mercedes-f1-constructors
Sports open

Will Lando Norris be the 2026 F1 Drivers' Champion?

YES 6.9%
NO 93.1%
Vol $7.5k
norris-f1-2026
Sports open

Will Esteban Ocon be the 2026 F1 Drivers' Champion?

YES 2.8%
NO 97.2%
Vol $6.8k
ocon-f1-2026
Sports open

Will Charles Oliveira be UFC Lightweight Champion on December 31, 2026?

YES 9.5%
NO 90.5%
Vol $13.9k
oliveira-ufc-lw
Sports open

Will Oscar Piastri be the 2026 F1 Drivers' Champion?

YES 5.2%
NO 94.8%
Vol $4.6k
piastri-f1-2026
Sports open

Will Dustin Poirier be UFC Lightweight Champion on December 31, 2026?

YES 6.2%
NO 93.8%
Vol $1.7k
poirier-ufc-lw
Politics open

Will Jared Polis win the 2028 Democratic presidential nomination?

YES 2.1%
NO 97.9%
Vol $5.4k
polis-2028
Politics open

Will J.B. Pritzker win the 2028 Democratic presidential nomination?

YES 4.3%
NO 95.7%
Vol $4.0k
pritzker-2028
Sports open

Will Racing Bulls win the 2026 F1 Constructors' Championship?

YES 16.1%
NO 83.9%
Vol $6.2k
rb-f1-constructors
Sports open

Will Red Bull Racing win the 2026 F1 Constructors' Championship?

YES 16.4%
NO 83.6%
Vol $5.3k
redbull-f1-constructors
Sports open

Will George Russell be the 2026 F1 Drivers' Champion?

YES 2.7%
NO 97.3%
Vol $1.1k
russell-f1-2026
Sports open

Will Carlos Sainz Jr. be the 2026 F1 Drivers' Champion?

YES 2.1%
NO 97.9%
Vol $1.6k
sainz-f1-2026
Sports open

Will Oliver Lawson be the 2026 F1 Drivers' Champion?

YES 2.2%
NO 97.8%
Vol $3.9k
sainz-haas-f1-2026
Politics open

Will Bernie Sanders win the 2028 Democratic presidential nomination?

YES 3.2%
NO 96.8%
Vol $9.6k
sanders-2028
Sports open

Will Kick Sauber win the 2026 F1 Constructors' Championship?

YES 1.9%
NO 98.1%
Vol $4.1k
sauber-f1-constructors
Politics open

Will Josh Shapiro win the 2028 Democratic presidential nomination?

YES 4.8%
NO 95.2%
Vol $14.9k
shapiro-2028
Sports open

Will Lance Stroll be the 2026 F1 Drivers' Champion?

YES 2.0%
NO 98.0%
Vol $2.5k
stroll-f1-2026

GET /v1/markets?limit=50 ·

สร้างตลาด

ทุกตลาดบน PredictAsiaX ถูกสร้างโดยตรงผ่าน POST /v1/composer/markets (POST /v1/composer/proposals เป็น alias เพื่อความเข้ากันได้กับเวอร์ชันก่อนหน้า — ทั้งสอง endpoint เรียกใช้ handler เดียวกันและสร้างตลาดทันที) การสร้างตลาดได้รับอนุญาตสำหรับ Builder ทุกระดับตั้งแต่ read_live ขึ้นไป (เลื่อนระดับอัตโนมัติเมื่อมีปริมาณการซื้อขาย 30 วันถึง $100) ส่วนแบ่งค่าธรรมเนียม market_creator (2–3 bps ของทุกการจับคู่คำสั่งภายใต้โมเดล PAF 7-actor ดู Fee Architecture) จะสะสมเข้ากระเป๋า Builder ของคุณตลอดอายุของตลาด

ประเภทตลาด

เทมเพลต + กฎการชำระบัญชี

PAX เตรียมชุด market templates ที่มี type ให้ — แต่ละ template จะระบุ schema ของกฎการชำระบัญชี (resolution rule), กรณีขอบ (edge cases) และแหล่งข้อมูลที่ต้องการ คุณสามารถเลือกสร้างตลาดจาก template ได้ เพื่อให้กฎการชำระบัญชีผ่านการตรวจสอบล่วงหน้าและคำแปลถูก cache ไว้ล่วงหน้า หรือจะส่งตลาดแบบกำหนดเองทั้งหมดก็ได้ แคตตาล็อก template เป็นสาธารณะและไม่ต้องใช้ auth:

GET /v1/composer/templates              # list seeded templates
GET /v1/composer/templates/{tpl_id}     # read a single template + param schema

ทุกเทมเพลตจะแสดงผลกฎการตัดสินผลและข้อความสำหรับกรณีขอบเขตใน 13 ภาษา (English, 简中, 繁中, 日本語, 한국어, Bahasa, Tiếng Việt, ไทย, हिंदी, Español, Português, Русский, العربية) ตัวอย่างที่เรนเดอร์แล้วคือสิ่งที่ผู้ใช้ปลายทางของคุณจะเห็น — ไม่ใช่ชื่อพารามิเตอร์ดิบ

ส่ง + ติดตาม

POST /v1/composer/markets
  {
    "title":                 "Will BTC close above $150,000 on 2026-12-31?",
    "rules_text":            "Resolves YES if the CoinGecko BTC/USD 4pm ET close on 2026-12-31 is > 150000.00 (fallback: mean of Coinbase + Kraken 4pm ET)",
    "resolution_rule":       "asset_above_by",
    "primary_source_url":    "https://www.coingecko.com/en/coins/bitcoin",
    "backup_source_urls":    ["https://api.coinbase.com/v2/prices/BTC-USD/spot"],
    "cutoff_time_ms":        1798761600000,
    "resolution_deadline_ms": 1798848000000,
    "edge_cases_text":       "If CoinGecko is unavailable at 4pm ET, use the mean of Coinbase + Kraken 4pm ET.",
    "proposed_template_id":  "tpl_asset_above_by"       // optional
  }
→ { data: { market: { id: "m_...", status: "open", creator_id: "...", created: true } } }   # 201 Created

GET /v1/composer/markets/{market_id}   # read the market + translation progress

แถวตลาดจะถูกสร้างทันทีที่ status: "open" — ไม่มีคิวข้อเสนอและไม่มีขั้นตอนการกำหนดขอบเขตสิทธิ์โดยผู้ดูแลระบบ (POST /v1/composer/proposals ยังคงไว้เป็น alias เพื่อความเข้ากันได้กับเวอร์ชันก่อนหน้า ซึ่งชี้ไปยังการสร้างแบบ self-serve เดียวกัน; แนวคิด proposal / pending_review ถูกยกเลิกแล้ว) จากสถานะ open วงจรชีวิตคือ open → pending_translation → trading → resolving → settled; trading คือช่วงที่เปิดให้ซื้อขาย market_creator สำหรับการระบุที่มาจะถูกตั้งค่าเมื่อสร้างและไม่สามารถแก้ไขได้ การสร้างเป็น idempotent ด้วย Idempotency-Key และ market_id แบบ deterministic — การส่งคำขอสร้างซ้ำจะคืนค่าตลาดเดิม (created: false)

การสะสมค่าธรรมเนียมสำหรับผู้สร้าง

การจับคู่คำสั่ง (fill) ทุกครั้งในตลาดของคุณจะบันทึกเหตุการณ์ FEE_MARKET_CREATOR (3 bps สำหรับระดับ auto / trade_full, 2 bps สำหรับ genesis/partner) ลงในบัญชีการเงินของแพลตฟอร์ม โดยจะเครดิตเข้า creator:<user_id>. ดู GET /v1/revenue สำหรับสถานะการสะสม (แยกตามบทบาท) และ POST /v1/builders/me/settle เพื่อย้ายจำนวนเงินที่ชำระแล้วไปยังการถอนเงิน USDT. ดูเส้นทาง การชำระบัญชี ทั้งหมดใน Fee Architecture / Payout flow.

ความรับผิดชอบของ Oracle / resolver

ระบบอัตโนมัติจะตรวจสอบความถูกต้องกับแหล่งข้อมูลที่ระบุไว้ (price APIs, sports APIs, หน่วยงานทางการ) สำหรับตลาดที่ติดป้าย admin_reviewed ตอนสร้าง หรือเมื่อระบบตรวจสอบอัตโนมัติคืนค่า indeterminate ตลาดดังกล่าวจะถูกส่งเข้าคิว resolver — Builder ในสาย Oracle Provider ต้องวางหลักประกัน PAX ต่อการรับรองแต่ละครั้งเพื่อส่งหลักฐานการตัดสิน ผลลัพธ์เป็น URL หลักฐานสาธารณะ + โมเดลการโต้แย้งและการปกป้อง; การรับรองที่มีข้อพิพาทจะได้รับการตัดสินโดยตัดหลักประกัน PAX ของฝ่ายที่แพ้ ทุกการตัดสินจะเขียนเหตุการณ์ตรวจสอบ (audit event) ที่สามารถยืนยันได้ทาง /verify

ฝังตลาด

ทุกตลาดมี widget URL แบบ self-contained ที่ผู้เผยแพร่สามารถฝังผ่าน iframe ได้ ซึ่งแสดงชื่อตลาด + ราคาแบบเรียลไทม์ + ปุ่ม CTA "Trade on PredictAsiaX" แทนที่ YOUR_APP_ID ด้วย app ID ของคุณเพื่อติดแท็กกับลิงก์คำสั่งซื้อขาย (ref_app) ลิงก์นี้จะนำ builder id ของคุณไปด้วย ผู้เยี่ยมชมที่สมัครสมาชิกจากลิงก์นี้จะมี builder ของคุณถูกบันทึกเป็น acquisition builder (ลิงก์แรกภายใน 30 วัน ตั้งค่าครั้งเดียว) หลังจากนั้น คำสั่งซื้อขายทั้งหมดที่ผู้ใช้เหล่านี้ดำเนินการ ไม่ว่าจะผ่าน predictasiax.com หรือผ่าน API จะถูก attribute ให้ builder ของคุณ (คะแนน acquisition และรายงาน affiliate) จะบันทึกเฉพาะ builder id ที่ active และไม่ใช่ sandbox เท่านั้น

<iframe
  src="https://docs.predictasiax.com/embed?id=m_btc_150k_2026&theme=dark&app_id=YOUR_APP_ID"
  width="360" height="240"
  style="border:0; border-radius:10px"
  loading="lazy"
  title="PredictAsiaX market embed">
</iframe>

Query params: id (จำเป็น, market ID). theme = dark | light. app_id = app id ของคุณสำหรับการระบุที่มาเมื่อคลิกผ่าน.

เรียกดู endpoint แบบ raw

curl "https://api.predictasiax.com/v1/markets?category=crypto&q=btc&limit=20"

Response envelope { data: { markets: [...], page: { next_cursor } }, meta: {...} }. ดู OpenAPI spec สำหรับ Market schema ฉบับเต็ม