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

# Gate WebSocket WebSocket API examples

Browse 3 Gate example files under Gate/Websocket/WS-API.

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

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

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

## Files

- [ws-api-client.ts](/examples/Gate/Websocket/WS-API/ws-api-client)
- [ws-private-perp-futures-wsapi.ts](/examples/Gate/Websocket/WS-API/ws-private-perp-futures-wsapi)
- [ws-private-spot-wsapi.ts](/examples/Gate/Websocket/WS-API/ws-private-spot-wsapi)
