Skip to main content
By using the RocketFi API, you agree to the RocketFi terms and privacy policy that apply to your use of the product. If you do not agree, do not use the API. This documentation is maintained alongside the live beta API and will change as we ship new functionality. If something is unclear or missing, share feedback through your usual RocketFi channel so we can improve it.

Welcome

Welcome to the RocketFi API documentation. It is written for traders and developers who want to integrate automated strategies, dashboards, custody workflows, and other systems with RocketFi. RocketFi offers a REST API for request and response workflows (instruments, market data, account state, vaults, and transaction submission where supported) and a WebSocket API on a single /ws endpoint where you subscribe to logical streams for live prices, books, funding, and account-scoped updates. The exact subscription kinds and payloads are defined in the AsyncAPI reference. Trading integrations are often asynchronous: a successful REST response can arrive before matching, vault, or downstream processing has finished. Combine REST with WebSocket subscriptions when you need authoritative live state, fills, or order lifecycle events.

How to navigate these docs

Start with Overview for how the pieces fit together, then Getting started for API keys, SDK signing, and first requests. REST is split three ways: Public REST-API for live market-wide reads, Private REST-API for account state and signed transactions, and Indexer REST-API for historical and aggregated data (/indexer prefix). WebSockets follow the same idea: Public WebSocket streams for broadcast-style data, and Private WebSocket streams for account-scoped feeds (with Subscription reference from AsyncAPI). You can exercise REST interactively in Swagger UI (core) and indexer Swagger on the beta cluster. Machine-readable contracts: OpenAPI, indexer OpenAPI, and AsyncAPI.