Quick Start
Get an API Key
- Sign up at polysimulator.com/signin.
- Open polysimulator.com/api-keys.
- Click Create your first API key, give it a name, and copy
the
ps_live_…value shown once.
Headless / CI: bootstrap from a script (advanced)
Headless / CI: bootstrap from a script (advanced)
If you can’t open a browser (CI runner, containerised dev env)
and you have a Supabase access token in hand, the
Response (201 Created):A free-tier key is read-only (
POST /v1/keys/bootstrap endpoint creates your first key directly:["read"]); trading needs a
paid tier. See API Keys.| Status | Meaning |
|---|---|
201 | Key created — save raw_key |
400 | You already have key(s) — use POST /v1/keys with X-API-Key instead |
401 | Invalid or expired Supabase JWT |
403 | CLOSED_BETA — key issuance is in closed beta (the default for every non-admitted caller, including paying Pro / Pro+). The API_PRO_COMING_SOON variant appears only once self-serve issuance is enabled. Branch on the X-Polysim-Code header; apply via the waitlist (see the callout above). |
429 | Bootstrap rate limit hit — wait and retry |
Authorization: Bearer is accepted on the dashboard surface
(POST /v1/keys/bootstrap, GET/POST/DELETE /v1/keys,
/v1/keys/tiers, /v1/keys/ws-token, GET /v1/me,
/v1/account/me/entitlements, /v1/me/wallets/*).
All trading, market-data, websocket, and account-trading
reads (/v1/account/{balance,positions,portfolio,history,equity})
require X-API-Key — Bearer is rejected on the trade surface.
See the Authentication page for the full
scope table.Place Your First Trade
account_balance is your API wallet balance after the fill,
not the dashboard MAIN wallet. API keys start at 25,000 (Pro+); Free-tier keys are read-only with no API wallet.
Here a 0.09 taker fee (PM-V2 per-category
schedule — see Trading Fees) against the 9,993.41.What’s Next?
- Authentication deep dive — Key management, security, permissions
- Rate Limits — Understand your tier’s request budget
- Build a trading bot — Complete Python example