---
title: "Gate WebSocket examples | Siebly"
description: "Browse 6 Gate example files under Gate/Websocket."
canonical: "https://siebly.io/examples/Gate/Websocket"
robots: "index,follow"
---

# Gate WebSocket examples

Browse 6 Gate example files under Gate/Websocket.

**Path:** [Home](/) / [Examples](/examples) / [Gate](/examples/Gate) / [Websocket](/examples/Gate/Websocket)

[View source on GitHub](https://github.com/sieblyio/crypto-api-examples/tree/master/examples/Gate/Websocket)

[Open the Gate JavaScript SDK guide](/sdk/gate/javascript)

## Folders

- [WS-API](/examples/Gate/Websocket/WS-API): 3 example files

## Files

- [ws-private-perp-futures.ts](/examples/Gate/Websocket/ws-private-perp-futures)
- [ws-private-spot.ts](/examples/Gate/Websocket/ws-private-spot)
- [ws-public.ts](/examples/Gate/Websocket/ws-public)
