API Keys
Get Ws Token
Mint a short-lived JWT for authenticating WebSocket connections.
Usage:
- Call this endpoint with X-API-Key header.
- Connect to
ws://.../v1/ws/prices?token=<jwt> - Token expires in 60 seconds — reconnect with fresh token.
POST
Get Ws Token
Authorizations
Issue from /v1/keys (or admin-issued for enterprise tier).
Headers
Your PolySimulator API key
Polymarket-CLOB-compat alias for X-API-Key (underscore form). SDK clients ported from Polymarket can authenticate without changing header names. X-API-Key takes precedence when both are provided.
PM-CLOB-compat: Authorization: Bearer ps_live_... (or ps_test_...) is accepted as an alias for X-API-Key so py-clob-client and other ported SDKs authenticate without header name changes. Bearer JWTs are NOT accepted here — use the dashboard-auth endpoints for those.
Previous
List My WalletsList the user's wallets in display order (MAIN, SANDBOX, API, COMPETITION).
Includes ACTIVE, FROZEN, and ARCHIVED so the UI can render generation
history. DELETED wallets are hidden.
Per-user 5s Redis cache (override via ``ME_CACHE_TTL_S`` env). Wallet
balance/baseline/status mutations on this user (top-up webhook, MAIN
reset, archive, etc.) intentionally don't bust this cache — the
short TTL is the staleness contract. If you need fresh-immediate
after a write, the writer hits the wallet directly via SQL.
Next
Get Ws Token