Before you begin
- Use a RocketFi account on the environment you are targeting (for example beta at beta.rocketfi.io).
- Open API management and create an API key for use with the SDK (signing transactions). Store it like a password—it is not sent as an HTTP auth header.
- Point your client at the correct REST base URL and WebSocket host for that network — see Environments.
Where to explore the API
Typical integration path
- Read-only (live): call public core REST routes (instruments, fees, expirations) — no API key in headers.
- History / charts: use Indexer REST-API for candles, trades, portfolio, and similar (
/indexerprefix). - Account data: use core private routes that take an account per OpenAPI; see Authentication.
- Real-time: open WebSocket
/ws, subscribe with the JSON kinds in AsyncAPI, handlePongandError— Public WebSocket streams and Private WebSocket streams. - Trading / writes: build signed requests with the Rust or Python SDK and your API key configuration; submit per the REST API and confirm on the socket where applicable.