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 generated 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.| Topic | Page |
|---|---|
| Base URLs, Swagger, and schema links | Environments |
| Verbs and conventions | HTTP methods |
| API keys & SDK signing | Authentication |
| Throttling and retries | Rate limits |
| List endpoints and cursors | Pagination |
HTTP status codes and socket Error frames | Error responses |
| Clients and codegen | SDKs and examples |