---
title: "WebSocket connection for events"
method: GET
path: "/v1/cryptos/{cryptoCode}/connect"
tags: ["Events"]
---

# WebSocket connection for events

`GET /v1/cryptos/{cryptoCode}/connect`

Establishes a WebSocket connection to receive real-time events for the specified cryptocurrency.

## Path parameters

- `cryptoCode` string, required

## Other responses

- `101` — Switching protocols to WebSocket.

## Changes

- **2024-11-25** `de4c3fa16384` — 2 info
  - api tag `Events` added
  - api tag `WebSocket` removed
- **2024-11-25** `72a2dfa26976` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/btcpayserver/apis/nbxplorer-api/changes/v1/cryptos/:cryptoCode/connect/get.md)

---

[API](https://skmtc.dev/btcpayserver/apis/nbxplorer-api.md) · [All operations](https://skmtc.dev/btcpayserver/apis/nbxplorer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/btcpayserver/nbxplorer-api/revisions/cfaf4efd4ea8/schema)
