Parti for developers¶
Parti runs a prediction-market central limit order book (CLOB). Funds are custodied as USDC in an on-chain vault on Fogo (a Solana-VM chain); you identify yourself by a Solana Ed25519 public key and balances are tracked in micro-USDC (1 USDC = 1,000,000 micro). This section is the full programmatic reference for builders, liquidity providers, and market makers.
QuickstartRegister a session, read markets, place your first order.
AuthenticationSign the bootstrap message, get a session cookie, what it gates.
LP integrationThe full deposit → trade → withdraw → LP-bot guide, split by topic.
Market maker onboardingThree paths: in-browser bot, direct API, and hands-off server-managed.
API referenceInteractive OpenAPI reference (public API spec).
Error codes & rate limitsEvery machine code, HTTP status, idempotency, and the rate buckets.
Base URLs¶
CORS is gated on Origin, not Host.
The Parti API — auth/session, orders, withdrawals, LP, markets, balances, positions, WebSocket:
| Env | URL |
|---|---|
| Production | https://oracle-api.parti.com |
WebSocket = the API base with http→ws + /v1/ws (e.g.
wss://oracle-api.parti.com/v1/ws).
Deposit service — per-user deposit address derivation + deposit progress:
| Env | URL |
|---|---|
| Production | https://oracle-deposit.parti.com |
Availability¶
Some endpoints may be limited during rollout and return 403 with a specific
error code when unavailable:
| Surface | When unavailable |
|---|---|
| Deposits / withdrawals / markets | always open |
Trading — POST /v1/orders |
403 { "error": "trading_disabled" } when trading is not currently open |
LP bot — all of /v1/lp-bot/* |
403 { "error": "lp_disabled" } when LP is not currently open |
Plan your integration to tolerate trading_disabled / lp_disabled until each
surface is open.