When to use which API
- Live trading state (open orders, collateral, positions, transaction submit) → core Private REST-API and WebSocket streams.
- OHLCV candles, fill history, portfolio curves, vault history, leaderboard → Indexer REST-API endpoint reference.
- Current instrument list with OI / funding snapshot → core GET /instruments; historical instrument rows or 24h stats from the indexer → indexer GET /instruments and GET /instrument-details.
Hosts
See Environments for beta, testnet, and devnet hosts. Indexer routes are always under the/indexer prefix on the same cluster hostname.