DEVELOPER API · v1.0.1

Build on Web3-native prediction markets

REST + WebSocket · Uniform response shape · Deterministic market IDs · HMAC + Bearer + API key auth · Sandbox tier · OpenAPI 3.1 + AsyncAPI 2.6 specs

Get StartedREST ReferenceSign in to get keys
Uniform response shape
Top-level fields are a single canonical shape across product surfaces. One price, one size, one response envelope.
Deterministic market IDs
Idempotent create — network retries never double-book. IDs are unforgeable without server-side inputs.
Web3 privacy first
Email, phone, IP stripped from external responses by default. Self-view paths preserve. X-PII-Redacted header on every reply.
Money as decimal string
USDT 6dp, BTC 8dp, ETH 18dp — never JavaScript numbers. Zero precision loss on client parse.
Sandbox tier
Same host, self_serve tier caps orders at 10 USDT per order and 100 USDT daily notional. Simulated fills at mid-price. No key rotation to promote to production.
Standard HMAC signing
POLY_ADDRESS + POLY_SIGNATURE + POLY_TIMESTAMP + POLY_NONCE + POLY_API_KEY header pattern — deterministic HMAC-SHA256, spec at docs.predictasiax.com/auth.

Get running in 30 seconds

1. List markets (public read):
curl https://predictasiax.com/api/v1/markets \
  -H "X-Api-Key: sk_live_YOUR_KEY_HERE"
2. Subscribe to real-time price ticks:
wscat -c wss://predictasiax.com/ws
> {"method":"SUBSCRIBE","params":["fast_tick"]}
3. Place an order (HMAC-signed):
# See docs.predictasiax.com/auth for signing code
# (Python / Node / Bash examples available)
curl -X POST https://predictasiax.com/api/v1/orders \
  -H "POLY_ACCESS_KEY: sk_live_..." \
  -H "POLY_TIMESTAMP: 1786000000000" \
  -H "POLY_PASSPHRASE: ..." \
  -H "POLY_SIGNATURE: <signature>" \
  -d '{"market_id":"m_...","outcome_id":"yes","side":"buy","order_type":"market","size":"100"}'

Specs, tooling & SDKs

OpenAPI 3.1 (REST)
18 endpoints across Discovery, Market Data, Account, Trading, Sandbox, Keys.
Open Redoc →
AsyncAPI 2.6 (WebSocket)
48 event types across market data, fast round, account, security, ops.
Open AsyncAPI →
Postman + codegen
Postman collection + sandbox/prod environments. OpenAPI-generator supports 50+ target languages.
Get files →
Sandbox (launching Aug 15)
Same host as production, self_serve tier (10 USDT per order, 100 USDT daily notional cap, simulated fills). Zero risk to real funds.
Read overview →
Authentication
3 schemes: API Key (sk_live_/sk_test_), HMAC (5×POLY_* headers, deterministic SHA-256), Session Bearer.
Read auth guide →
Errors & rate limits
40+ error codes with resolution steps. Sliding-window rate limits with clear headers.
Read errors →

Who's building on PAX

Trading bots
Systematic strategies, arbitrage bots, market-making. HMAC signing per-request, WebSocket for real-time fills, 10 keys per account.
Aggregators
Multi-venue dashboards showing PAX markets alongside other prediction sources. Public read endpoints, no auth needed for market data.
Mobile apps
Session bearer auth for browser/mobile client flows. WebSocket for live prices and account events. Multi-locale support (13 languages).
iGaming operators
Embed prediction markets in existing casino/sportsbook UIs. Coming Q1 2027: Operator Track with Seamless Wallet + RGS integration.
Data providers
Historical trades tape (30d), OHLCV candles (90d), settlement records. Full audit trail per market.
Research / academic
Public read-only access. Prediction market research on Asia-focused events. No cost for read endpoints during early access.

Support

Partners & onboarding
support@PredictAsiaX_.com
API key requests, partner-tier rate limits, integration questions.
Twitter
@PredictAsiaX_
Release announcements, incident updates, community.
API Terms
predictasiax.com/terms
Terms of service governing API usage.