# RPC WebSocket

This endpoint upgrades the connection to a WebSocket rather than answering with a body.

_Source: https://beta.taostats.io/docs/api-reference/rpc-live/get-rpc-ws-target_

_Last reviewed: 2026-09-17_

```http
GET wss://api.taostats.io/api/v1/rpc/ws/{target}
```

Requires an API key in the `authorization` query parameter.

This endpoint upgrades the connection to a WebSocket rather than answering with a body. The `target` path parameter selects the node, and the API key goes in the `authorization` query parameter.

- RPC light node: `wss://api.taostats.io/api/v1/rpc/ws/finney_lite?authorization=API_KEY`
- RPC archive: `wss://api.taostats.io/api/v1/rpc/ws/finney_archive?authorization=API_KEY`

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `target` | path | `string` | Yes | One of `finney_lite`, `finney_archive`. |

## Responses

_This endpoint has no documented responses._

Every connection needs your API key in the `authorization` query parameter — see [Getting started with the Taostats API](https://beta.taostats.io/docs/start-here/getting-started-with-taostats-api).
