REST + WebSocket · Format respons seragam · ID market deterministik · Bearer sk_live_* + OAuth 2.1 · Tier sandbox anonim · Spesifikasi OpenAPI 3.1 + AsyncAPI 2.6
curl -X POST https://api.predictasiax.com/v1/sandbox-keys \
-H "Content-Type: application/json" \
-d '{"org_name":"my-test"}'
# → { "api_key": "sk_live_...", "tier": "self_serve", ... }curl https://api.predictasiax.com/v1/markets \ -H "Authorization: Bearer sk_live_YOUR_KEY_HERE"
wscat -c wss://predictasiax.com/ws
> {"op":"SUBSCRIBE","params":["fast_tick"]}IDEM=$(uuidgen | tr -d '-' | cut -c1-24)
curl -X POST https://api.predictasiax.com/v1/orders \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-H "Idempotency-Key: ${IDEM}" \
-d '{"market_id":"m_...","side":"yes","price":"0.55","size":"2","client_order_id":"cli-001"}'POST /v1/sandbox-keys.sk_live_* (live) · OAuth 2.1 + PKCE untuk aplikasi hosted (live) · Jalur Enterprise HMAC didokumentasikan untuk mitra yang diproses oleh ops.