---
title: "GET /v2/rpc-ws/{chain_id}"
method: GET
path: "/v2/rpc-ws/{chain_id}"
tags: ["RPC WebSocket"]
---

# GET /v2/rpc-ws/{chain_id}

`GET /v2/rpc-ws/{chain_id}`

## Request

- Base URL: `https://api.arbital.xyz` (the document declares no server; this is the origin it was published from)
- URL: `https://api.arbital.xyz/v2/rpc-ws/{chain_id}`
- Auth: API key in header `Sec-WebSocket-Protocol`

Upgrades to the browser-safe, read-only JSON-RPC subscription gateway. Clients offer both arbital.rpc.v1 and the ticket_protocol returned by the ticket endpoint as WebSocket subprotocols.

## Path parameters

- `chain_id` 'eip155:1' | 'eip155:56' | 'eip155:143' | 'eip155:999' | 'eip155:4663' | 'eip155:5042' | 'eip155:8453' | 'eip155:42161' | 'solana:mainnet-beta', required

## Other responses

- `101`: WebSocket protocol arbital.rpc.v1
- `400`: Stable machine-readable problem. HTTP 429 and 503 responses include retry and cache-validity fields plus Retry-After and X-Request-ID headers.
- `401`: Stable machine-readable problem. HTTP 429 and 503 responses include retry and cache-validity fields plus Retry-After and X-Request-ID headers.
- `403`: Stable machine-readable problem. HTTP 429 and 503 responses include retry and cache-validity fields plus Retry-After and X-Request-ID headers.
- `408`: Stable machine-readable problem. HTTP 429 and 503 responses include retry and cache-validity fields plus Retry-After and X-Request-ID headers.
- `413`: Stable machine-readable problem. HTTP 429 and 503 responses include retry and cache-validity fields plus Retry-After and X-Request-ID headers.
- `429`: Stable machine-readable problem. HTTP 429 and 503 responses include retry and cache-validity fields plus Retry-After and X-Request-ID headers.
- `503`: Stable machine-readable problem. HTTP 429 and 503 responses include retry and cache-validity fields plus Retry-After and X-Request-ID headers.

---

[API](https://skmtc.dev/arbital/apis/arbital-api.md) - [All operations](https://skmtc.dev/arbital/apis/arbital-api/llms.txt) - [OpenAPI document](https://skmtc.dev/arbital/apis/arbital-api/revisions/bb0185edf43a?raw)
