Endpoint cheatsheet
Every endpoint the playground knows about. Sourced from lib/endpoints.ts.
/iserver/auth/statusCurrent session/auth state
/iserver/auth/ssodh/initRe-establish brokerage session
Body: {publish:true,compete:true}
/iserver/reauthenticateTries to reauthenticate session
/sso/validateValidate current SSO session
/tickleKeepalive — call every 60s
/logoutEnd session
/iserver/accountsTradeable accounts
/portfolio/accountsViewable accounts (preflight)
/portfolio/subaccountsFA subaccounts (≤100)
/portfolio/subaccounts2FA subaccounts (>100, paginated)
/iserver/accountSwitch active trading account
/portfolio/{accountId}/ledgerCash by currency
/portfolio/{accountId}/summaryEquity, margin, BP
/portfolio/{accountId}/metaAccount metadata
/portfolio/{accountId}/allocationAllocation by asset class / sector
/portfolio/{accountId}/combopositionsCombo positions
/iserver/account/pnl/partitionedDaily PnL by account/conid
/portfolio/{accountId}/positions/0Open positions (page 0)
/portfolio/{accountId}/position/{conid}Single position by conid
/portfolio/positions/{conid}Position across all accounts
/portfolio/{accountId}/positions/invalidateForce position cache refresh
/trsrv/stocks?symbols={symbols}Symbol → conid for stocks
/trsrv/secdefBulk contract details by conids (≤200)
/trsrv/futures?symbols={symbols}Future contracts by symbol
/iserver/contract/{conid}/infoContract info by conid
/iserver/secdef/rulesTrading rules for an instrument
/iserver/secdef/searchSearch contracts (e.g., for options)
/iserver/secdef/strikes?conid={conid}§ype={sectype}&month={month}Option strikes for a month
/iserver/secdef/info?conid={conid}§ype={sectype}&month={month}&strike={strike}&right={right}Option contract details
/trsrv/secdef/schedule?assetClass={assetClass}&symbol={symbol}Trading hours schedule
/iserver/currency/pairs?currency={currency}Available FX pairs
/iserver/exchangerate?source={source}&target={target}FX rate
/iserver/marketdata/snapshot?conids={conids}&fields={fields}Top-of-book snapshot
First call primes the stream and returns empty.
/iserver/marketdata/history?conid={conid}&period={period}&bar={bar}Historical bars (e.g., period=1d, bar=1min)
/hmds/history?conid={conid}&period={period}&bar={bar}HMDS historical (longer lookback than iserver)
/iserver/marketdata/unsubscribeStop streaming for specific conids
/iserver/marketdata/unsubscribeallStop all streaming
/md/regsnapshot?conid={conid}Regulatory (delayed) snapshot, no live data subscription needed
/iserver/account/ordersLive + recent orders
/iserver/account/order/status/{orderId}Single order status
/iserver/account/trades?days={days}Recent fills (≤7 days)
/iserver/account/{accountId}/orders/whatifOrder preview (commission + margin)
/iserver/account/{accountId}/ordersSubmit order ticket(s)
Body is array. May return reply messages requiring confirmation.
/iserver/account/{accountId}/order/{orderId}Modify unfilled order (full ticket)
/iserver/account/{accountId}/order/{orderId}Cancel order
/iserver/reply/{messageId}Confirm an order reply message
Body: {confirmed:true}
/iserver/questions/suppressPre-suppress order reply messages
/iserver/questions/suppress/resetRestore all order reply messages
/iserver/watchlistsList watchlists
/iserver/watchlist?id={id}Get watchlist by id
/iserver/watchlistCreate watchlist
/iserver/watchlist?id={id}Delete watchlist
/iserver/scanner/paramsAvailable scan parameters
/iserver/scanner/runRun a market scanner
/hmds/scanner/paramsHMDS scanner parameters
/hmds/scanner/runRun HMDS scanner
/iserver/account/{accountId}/alertsList configured alerts
/iserver/account/{accountId}/alertCreate / modify alert
/iserver/account/alert/{alertId}Get alert details
/iserver/account/{accountId}/alert/activateActivate alert
/iserver/account/{accountId}/alert/{alertId}Delete alert
/iserver/account/mtaMobile trading alert config
/fyi/notifications?max={max}Account activity notifications
/fyi/notifications/more?id={id}Paginate older FYIs
/fyi/unreadnumberUnread FYI count
/fyi/notifications/{id}Mark notification read
/fyi/settingsFYI subscription settings
/fyi/settings/{typecode}Set FYI subscription for typecode
/fyi/disclaimer/{typecode}FYI disclaimer text
/fyi/deliveryoptionsFYI delivery channels
/sso/validateValidate SSO session, returns user/feature flags
/iserver/contract/{conid}/infoFull contract details (replaces older /trsrv calls)
/iserver/contract/{conid}/info-and-rulesContract details + trading rules (margin, etc)
/portfolio/{accountId}/positions/cashCash positions only
/portfolio/{accountId}/newsNews for portfolio holdings
/iserver/bulletinsBrokerage bulletins
/pa/transactionsDetailed transaction history (per conid)
Body: {acctIds:[id], conids:[#], currency:"USD", days:90}
/pa/summaryPortfolio summary metrics
Body: {acctIds:[id]}
/pa/performanceNAV / return time series
Body: {acctIds:[id], period:"1Y"}
/pa/allperiodsPerformance across periods
ws: smd+{conid}+{...}Stream top-of-book; cancel with umd+
ws: sbd+{conid}+{...}Stream depth-of-book; cancel with ubd+
ws: sor+{}Stream order updates; cancel with uor+
ws: sld+{accountId}Stream ledger changes; cancel with uld+
ws: ssd+{accountId}Stream account summary; cancel with usd+
ws: spl+{accountId}Stream PnL; cancel with upl+
ws: blt+{accountId}Stream bulletins
ws: ntf+{}Stream FYI notifications
ws: sts+{}Stream session status