How it works
The order router is the shared trading surface for both traders and builders. You use the same order endpoints either way. The only builder-specific delta is impersonation and optional fee escrow on create-order requests.Authentication modes
| Mode | How credentials work | Best for |
|---|---|---|
| Stored (self onboard) | POST /onboard once with your credentials, trade forever | Most users |
| Managed wallet | POST /onboard with mode: "managed", we handle keys | UI traders |
| Per-request | Pass creds per-request via X-Exchange-Credentials header | Pro traders, builders |
| Builder impersonation | X-Builder-Customer-Id header routes to end-user | Builders |
Direct Trader
Store credentials and trade via API.
Managed Wallet
We create and manage a wallet for you.
Per-Request
Pass credentials with each request.
First trade checklist
- Pick an auth mode from Trading Setup.
- Onboard the exchange first if you are using stored or managed credentials.
- Find the market with
/markets, then inspect liquidity with/execution-priceor/orderbook. - Place the order with
POST /orders. - Monitor status with
/orders,/fills, and/positions.
For Traders
If you are trading your own account, pick one credential mode from Trading Setup, onboard if needed, then use the normal order endpoints directly with your API key.Order lifecycle
Order types
| Type | Behavior | Supported |
|---|---|---|
gtc | Good-til-cancelled (default) | All exchanges |
ioc | Immediate-or-cancel | Polymarket, Kalshi |
fok | Fill-or-kill | Polymarket |
params.order_type in the create order request body. Unsupported combinations return 501.
Supported exchanges
| Exchange | Trading | Positions | Balance | Fills | Orderbook | Price History | Onboarding |
|---|---|---|---|---|---|---|---|
| Polymarket | Yes | Yes | Yes | Yes | Yes | Yes | Managed + Self |
| Kalshi | Yes | Yes | Yes | Yes | Yes | Yes | Self |
| Limitless | Data only | — | — | — | Yes | Yes | — |
| Opinion | Data only | — | — | — | Polling | Yes | — |
| Predict.fun | Data only | — | — | — | Polling | Yes | — |
POST /onboard (Polymarket and Kalshi) or passed per-request via X-Exchange-Credentials.
Use GET /exchanges to see the full capability matrix at runtime.
For Builders
Builders route orders on behalf of end-users by adding theX-Builder-Customer-Id header. All order endpoints work the same — Parsec
resolves the end-user’s credentials automatically.
/markets,
/orderbook, /trades,
/price, and /events do not
require X-Builder-Customer-Id.
For fee collection on builder orders, include the fee_auth object in the
create order request. See Fee Escrow and the
Create Order reference for the full field list.
For the full builder flow, use:
Pre-trade checks
Before placing an order, you can use these endpoints to assess liquidity and readiness:| Endpoint | Purpose |
|---|---|
GET /execution-price | Estimate VWAP + slippage for a hypothetical order |
GET /orderbook | Inspect the live orderbook |
GET /ping | Verify exchange connectivity and auth status |