Gemini Crypto Exchange Logo
Version 2

Unsubscribe

Unsubscribe from data feeds by sending a message in the following format.

Fields

Field NameTypeValues
typestringunsubscribe
subscriptionsarray
-- namestringl2, candles_1m, etc.
-- symbolsarray["BTCUSD", "ETHBTC", ...]

Examples

Unsubscribe message

JSONCode
{ "type": "unsubscribe", "subscriptions": [ { "name": "l2", "symbols": ["BTCUSD", "ETHBTC"] }, { "name": "candles_1m", "symbols": ["BTCUSD", "ETHBTC"] } ] }
Last modified on