Sandbox

Anonymous self-serve sandbox key in 30 seconds. Same api.predictasiax.com host. Tier-capped so nothing you do can move real money. No email required.

Sandbox is now a tier, not a separate environment. Previously PAX operated a dedicated sandbox.predictasiax.com host with faucet + mock-oracle. As of v2.0.0 (2026-08-19), sandbox lives on the same production API with a per-key tier=sandbox flag that hard-caps orders at $10 each and $100/day. Fills are simulated at mid-price. No faucet, no reset, no waiting.

Mint a sandbox key

Anyone, from any IP, no authentication:

curl -X POST https://api.predictasiax.com/v1/sandbox-keys \
  -H "Content-Type: application/json" \
  -d '{"org_name":"my-test"}'

Response:

{
  "data": {
    "sk": "sk_live_abcdef0123...",       // this is your bearer — shown ONCE
    "api_key_id": "api_sbx_...",
    "builder_id": "bld_sbx_...",
    "app_id":     "app_sbx_...",
    "tier": "sandbox",
    "caps": {
      "max_order_usdt": "10",
      "daily_notional_usdt": "100"
    },
    "expires_at_ms": 1789741484472,      // 30 days out
    "sandbox_url": "https://api.predictasiax.com",
    "docs_url":    "https://docs.predictasiax.com/getting-started",
    "upgrade_url": "https://docs.predictasiax.com/request-access.html",
    "notice":      "Sandbox keys expire in 30 days. ..."
  }
}
Anti-abuse limits. POST /v1/sandbox-keys is rate-limited to 1 mint per IP per day and 1 mint per browser fingerprint per day. Both limits must clear. This protects against key-spam. Every subsequent mint from a hit-limit source returns 429 RATE_LIMITED.

What sandbox tier can do

CapabilitySandbox tierTrade-capped tierTrade-full tier
Read markets, movers, resolutionYesYesYes
Read own portfolio + ordersYesYesYes
Place ordersYes, up to $10 eachYes, up to $100 eachUncapped
Daily notional cap$100$1,000Uncapped
Cancel ordersYesYesYes
Rate limitPer-scope budget, identical at every tier — see Rate Limits
Fee-attribution ledgerYes (fills recorded to fee_ledger)YesYes
Attributable to your appYes — 30% builder share (6 bps: 3 acq + 3 exec), 15% creator share (3 bps)YesYes
Expiry30 days from mintPerpetualPerpetual

Everything else on the API works the same. There is no faucet, reset, or mock-oracle endpoint — sandbox orders fill instantly with a simulated price, so testing requires no waiting.

Use your key

# List markets
curl https://api.predictasiax.com/v1/markets \
  -H "Authorization: Bearer $SK"

# Place a $1 order (well within $10 cap)
curl -X POST https://api.predictasiax.com/v1/orders \
  -H "Authorization: Bearer $SK" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: my-first-order-$(date +%s)" \
  -d '{
    "user_id":         "your-user-id",
    "market_id":       "m_btc_150k_2026",
    "side":            "yes",
    "price":           "0.55",
    "size":            "2",
    "client_order_id": "cli-001"
  }'
# → filled + fee_ledger row + returned split shares

# Order over $10 → 429 TIER_LIMIT_EXCEEDED with detail:
#   { "tier": "sandbox", "cap": "10" }

Moving up from sandbox

Sandbox is for zero-friction exploration. When you're ready to route real user flow, there is no review queue, NDA, or approval step:

  1. Get an attributed production key. Submit Request access and pick a track — every track returns a live sk_live_* key in the response body immediately, on the self_serve tier. No human review, no NDA.
  2. Capability climbs automatically by volume. The graduation cron lifts your key on its own as your 30-day attributed trading volume grows — self_serve → read_live ($100) → trade_capped ($1,000) → trade_full ($10,000) → partner ($1,000,000), with admin_signoff: false on every rung. genesis is a live top-20 volume ranking, auto-granted — never an application. See How Tiers Work.
One prefix, one host, tier-scoped. All sandbox and production keys use the sk_live_* prefix and target api.predictasiax.com/v1. The tier flag on the key controls capability — sandbox caps orders at $10 each / $100 daily with simulated fills, and higher trust tiers raise your per-order and daily notional ceilings (see the table above). Request rate limits are identical at every tier — climbing tiers never changes your request rate. Promote by climbing the automatic volume ladder — no code change, no host switch.