Skip to main content
The Derive v3 API is JSON-RPC 2.0. Every method — market data, trading, account, vaults — shares one request/response envelope and is reachable over two transports: a persistent WebSocket connection or a single HTTP POST. The method name and its params are identical across both; only the framing differs.

The envelope

A request carries an id, the protocol version, the method path, and a params object.
A response is either a result or an error — never both — and echoes the request id.