# Gate WebSocket API v4

**Canonical:** https://apis.io/apis/gate-io/gate-websocket-api-v4/  
**Provider:** Gate.io — https://apis.io/providers/gate-io/  
**Base URL:** wss://api.gateio.ws/ws/v4/  
**Documentation:** https://www.gate.com/docs/developers/apiv4/en/

Gate WebSocket API v4 is one of 5 APIs that [Gate.io](https://apis.io/providers/gate-io/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include WebSocket, Real-Time, Market Data, and Streaming. The published artifact set on APIs.io includes API documentation and a GitHub repository.

Real-time WebSocket streams for market data (order books, trades, tickers, candlesticks) and private channels for order updates, balance changes, and position events across spot, futures, and options markets.

## Machine-readable artifacts (2)

- **Documentation** — https://www.gate.com/docs/developers/apiv4/en/
- **GitHubRepository** — https://github.com/gateio/gatews

## Other Gate.io APIs (4)

- [Gate API v4 — Spot & Margin](https://apis.io/apis/gate-io/gate-api-v4-spot-margin/)
- [Gate API v4 — Futures & Perpetuals](https://apis.io/apis/gate-io/gate-api-v4-futures-perpetuals/)
- [Gate API v4 — Options](https://apis.io/apis/gate-io/gate-api-v4-options/)
- [Gate API v4 — Wallet & Account](https://apis.io/apis/gate-io/gate-api-v4-wallet-account/)

## Tags

WebSocket, Real-Time, Market Data, Streaming

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/gate-io/gate-websocket-api-v4/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/gate-io/.
