Skip to main content

What you can build

RocketFi exposes a REST API for instruments, market statistics, account state, vaults, bridge activity, and submitting transactions where the OpenAPI allows. A WebSocket API on /ws streams live updates: public feeds for books, marks, funding, and candles, and private feeds for orders, trades, and balances — see Public WebSocket streams and Private WebSocket streams. Subscription kinds and payloads are defined in AsyncAPI. Integrations are usually asynchronous: treat REST success as acceptance into processing, then confirm outcomes on the socket or with follow-up REST reads.

Where to go next

Live contracts for automation and codegen: Pin the URLs for your target environment (beta, testnet, or devnet) in CI when you need reproducible codegen — see Environments.