> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Connection Monitoring

> Monitor active WebSocket connections associated with your Uniblock API key.

To check the number of active WebSocket connections currently associated with your account, use the `/connections` endpoint.

## Endpoint

`GET https://api.uniblock.dev/v1/wss/connections`

## Authentication

This endpoint requires your Uniblock API key in the request header.

| Header      | Value            |
| ----------- | ---------------- |
| `X-API-KEY` | `<YOUR_API_KEY>` |

## Current Limits

* **Max Concurrent Connections:** `10` per API key.

## Best Practices

* **Connection Pooling:** Reuse existing connections where possible instead of opening new connections for every subscription.
* **Graceful Shutdown:** Explicitly close WebSocket connections when they are no longer needed to stay within usage limits.
* **Monitoring:** Periodically poll the `/connections` endpoint in large-scale distributed applications to avoid hitting hard caps.
