# RocketFi > RocketFi API — REST and WebSocket reference for builders. ## Docs - [Authentication](https://api.docs.rocketfi.io/guides/authentication.md): API keys for SDK signing, account-scoped access, and how state-changing REST calls work. - [Environments](https://api.docs.rocketfi.io/guides/environments.md): Base URLs and WebSocket hosts for RocketFi networks. - [Error responses](https://api.docs.rocketfi.io/guides/errors.md): HTTP status codes, JSON errors, and WebSocket error frames. - [Getting started](https://api.docs.rocketfi.io/guides/getting-started.md): Create keys, pick an environment, and make your first API calls. - [HTTP methods](https://api.docs.rocketfi.io/guides/http-methods.md): How RocketFi uses REST verbs. - [Overview](https://api.docs.rocketfi.io/guides/overview.md): How the RocketFi API fits together for traders and integrators. - [Pagination](https://api.docs.rocketfi.io/guides/pagination.md): Page-based listing parameters used by several REST endpoints. - [Private REST-API](https://api.docs.rocketfi.io/guides/private-rest-api.md): Authenticated account, trading, vault, bridge, and testnet endpoints. - [Public REST-API](https://api.docs.rocketfi.io/guides/public-rest-api.md): Market-wide and unauthenticated read endpoints — instruments, candles, fees, and related data. - [Rate limits](https://api.docs.rocketfi.io/guides/rate-limits.md): Throttling expectations for REST and guidance for WebSocket clients. - [SDKs and examples](https://api.docs.rocketfi.io/guides/sdk.md): Official Rust and Python SDKs, plus contracts for codegen and WebSocket types. - [Private WebSocket streams](https://api.docs.rocketfi.io/guides/ws-private.md): Account-scoped WebSocket feeds — orders, balances, positions, and related updates. - [Public WebSocket streams](https://api.docs.rocketfi.io/guides/ws-public.md): Broadcast market data over a single /ws connection — books, marks, funding, and related feeds. - [RocketFi API documentation](https://api.docs.rocketfi.io/index.md): REST, WebSocket, and integration guides for traders and developers building on RocketFi. - [Get account fees](https://api.docs.rocketfi.io/rest-api/private/account/get-account-fees.md): ### Parameters - [Get account nonce](https://api.docs.rocketfi.io/rest-api/private/account/get-account-nonce.md): ### Parameters - [Get collateral](https://api.docs.rocketfi.io/rest-api/private/account/get-collateral.md): ### Parameters - [Get delegate traders](https://api.docs.rocketfi.io/rest-api/private/account/get-delegate-traders.md): ### Parameters - [Get open orders](https://api.docs.rocketfi.io/rest-api/private/account/get-open-orders.md): ### Parameters - [Get position](https://api.docs.rocketfi.io/rest-api/private/account/get-position.md): ### Parameters - [Get faucet claim](https://api.docs.rocketfi.io/rest-api/private/faucet-testnet/get-faucet-claim.md): ### Parameters - [Get order events](https://api.docs.rocketfi.io/rest-api/private/trading/get-order-events.md): ### Parameters - [Submit batch transactions](https://api.docs.rocketfi.io/rest-api/private/trading/submit-batch-transactions.md): ### Response example - [Submit transaction](https://api.docs.rocketfi.io/rest-api/private/trading/submit-transaction.md): ### Response fields - [Get bridge events](https://api.docs.rocketfi.io/rest-api/private/vault-and-bridge/get-bridge-events.md): ### Parameters - [Get vault history](https://api.docs.rocketfi.io/rest-api/private/vault-and-bridge/get-vault-history.md): ### Parameters - [Get vault statistics](https://api.docs.rocketfi.io/rest-api/private/vault-and-bridge/get-vault-statistics.md): ### Parameters - [List vaults](https://api.docs.rocketfi.io/rest-api/private/vault-and-bridge/list-vaults.md): ### Response fields - [Get assets](https://api.docs.rocketfi.io/rest-api/public/market-data/get-assets.md): ### Parameters - [Get candles](https://api.docs.rocketfi.io/rest-api/public/market-data/get-candles.md): ### Parameters - [Get fill volumes by account and instrument type](https://api.docs.rocketfi.io/rest-api/public/market-data/get-fill-volumes-by-account-and-instrument-type.md): ### Parameters - [Get funding rate events](https://api.docs.rocketfi.io/rest-api/public/market-data/get-funding-rate-events.md): ### Parameters - [Get global fees](https://api.docs.rocketfi.io/rest-api/public/market-data/get-global-fees.md): ### Response fields - [Get instruments](https://api.docs.rocketfi.io/rest-api/public/market-data/get-instruments.md): Returns all **tradable instruments** with listing metadata, 24h statistics, current funding snapshots, and daily price change — the RocketFi equivalent of a consolidated **markets** discovery call. - [Get max leverage](https://api.docs.rocketfi.io/rest-api/public/market-data/get-max-leverage.md): ### Parameters - [Get position funding events](https://api.docs.rocketfi.io/rest-api/public/market-data/get-position-funding-events.md): ### Parameters - [WebSocket stream](https://api.docs.rocketfi.io/websocket-stream.md): Single `/ws` connection for subscribe and push messages (orderbooks, prices, account updates, and more). - [Account risk](https://api.docs.rocketfi.io/websocket/private/account-risk.md): Account risk / margin-style updates (`SubscriptionKind::AccountRisk`). - [Collateral](https://api.docs.rocketfi.io/websocket/private/collateral.md): Collateral balance updates (`SubscriptionKind::Collateral`). - [Open orders](https://api.docs.rocketfi.io/websocket/private/open-orders.md): Open order snapshots and updates (`SubscriptionKind::OpenOrders`). - [Order events](https://api.docs.rocketfi.io/websocket/private/order-events.md): Order lifecycle and fill-related events (`SubscriptionKind::OrderEvents`); optional account and instrument filters. - [Position](https://api.docs.rocketfi.io/websocket/private/position.md): Position updates for an account (`SubscriptionKind::Position`). - [Position funding](https://api.docs.rocketfi.io/websocket/private/position-funding.md): Per-account position funding events (`SubscriptionKind::PositionFunding`). - [Asset price feed](https://api.docs.rocketfi.io/websocket/public/asset-price-feed.md): Asset-level price updates (`SubscriptionKind::AssetPriceFeed`). - [Auction fills](https://api.docs.rocketfi.io/websocket/public/auction-fills.md): Auction fill stream per instrument (`SubscriptionKind::AuctionFills`). - [Candle](https://api.docs.rocketfi.io/websocket/public/candle.md): OHLCV candle updates for an instrument and interval (`SubscriptionKind::Candle`). - [Funding rate](https://api.docs.rocketfi.io/websocket/public/funding-rate.md): Funding rate stream per instrument (`SubscriptionKind::FundingRate`). - [Instrument stats](https://api.docs.rocketfi.io/websocket/public/instrument-stats.md): Instrument statistics stream (`SubscriptionKind::InstrumentStats`). - [Last match price](https://api.docs.rocketfi.io/websocket/public/last-match-price.md): Last trade price stream per instrument (`SubscriptionKind::LastMatchPrice`). - [Orderbook](https://api.docs.rocketfi.io/websocket/public/orderbook.md): Real-time order book updates for a single instrument (`SubscriptionKind::Orderbook`). - [Price feed](https://api.docs.rocketfi.io/websocket/public/price-feed.md): Mark / price-style feed per instrument (`SubscriptionKind::PriceFeed`). ## OpenAPI Specs - [openapi](https://api.docs.rocketfi.io/specs/openapi.json) ## AsyncAPI Specs - [asyncapi](https://api.docs.rocketfi.io/specs/asyncapi.yaml)