Skip to main content

hl_unsubscribe JSON-RPC Method

Unsubscribes from specified Hyperliquid streams via WebSocket.

Updated on
May 07, 2026
Access to /hypercore JSON-RPC methods requires a Build plan or higher. View pricing to upgrade. For complete stream type definitions and filtering options, see the datasets documentation.

Parameters

streamType
string
REQUIRED

Stream type to unsubscribe from: 'trades', 'orders', 'book_updates', 'twap', 'events', 'writer_actions'. Always required, including when unsubscribing a named filter

filterName
string

Name of the specific filter to unsubscribe from (if subscription was created with a filterName). Must be passed together with streamType

Returns

result
object

Returns confirmation of successfully unsubscribed stream or filter

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free