Endpoints
Hostnames, ports and transports for every constant-k product and region.
Each dedicated region has its own hostname for each product. One API key works in every region.
Endpoint reference
| Product | Transport | Plans | |||
|---|---|---|---|---|---|
| Solana RPC | rpc-newyork.constant-k.com | rpc-frankfurt.constant-k.com | rpc-amsterdam.constant-k.com | HTTPS, port 443 | All plans |
| Solana RPC (WebSocket) | ws-newyork.constant-k.com:1337 | ws-frankfurt.constant-k.com:1337 | ws-amsterdam.constant-k.com:1337 | WSS, port 1337, path /ws | OperatorBlade RunnerNexus |
Staked sendTransaction (SWQoS) | staked-rpc-newyork.constant-k.com | staked-rpc-frankfurt.constant-k.com | staked-rpc-amsterdam.constant-k.com | HTTPS, port 443 | OperatorBlade RunnerNexus |
| Kaldera gRPC | kaldera-newyork.constant-k.com | kaldera-frankfurt.constant-k.com | kaldera-amsterdam.constant-k.com | gRPC over TLS, port 8443 | Blade RunnerNexus |
| Turbo Kaldera (aRPC) | turbo-kaldera-newyork.constant-k.com | turbo-kaldera-frankfurt.constant-k.com | turbo-kaldera-amsterdam.constant-k.com | gRPC over TLS, port 8443 | Nexus |
| ShredPrism | prism-newyork.constant-k.com:55577 | prism-frankfurt.constant-k.com:55577 | prism-amsterdam.constant-k.com:55577 | gRPC over TLS, port 55577 | Nexus |
| ShredQuasar | Pushed to your server | Pushed to your server | Pushed to your server | UDP, pushed to a destination you register | Its own per-region product |
ShredQuasar is the one entry above with nothing to connect to. Packets are pushed to the IPv4 address and UDP port registered on My Account. See ShredQuasar.
rpc.constant-k.com and ws.constant-k.com are geo-routed hostnames: DNS sends each client to the nearest of the three regions. aRPC, anticipatory RPC, is constant-k's name for pre-execution transaction streaming; Data Stages sets out the stage each product delivers at.
ShredPrism requires TLS
Port 55577 accepts TLS connections only, even where the connection details show the endpoint as grpc://…:55577.
URL formats
Solana RPC takes the key in the URL, so these paste straight into a wallet, bot or SDK:
HTTP JSON-RPC
| Region | URL |
|---|---|
https://rpc-newyork.constant-k.com/?api-key=YOUR_API_KEY | |
https://rpc-frankfurt.constant-k.com/?api-key=YOUR_API_KEY | |
https://rpc-amsterdam.constant-k.com/?api-key=YOUR_API_KEY | |
| Nearest region (geo-routed) | https://rpc.constant-k.com/?api-key=YOUR_API_KEY |
Staked sendTransaction over SWQoS
| Region | URL |
|---|---|
https://staked-rpc-newyork.constant-k.com/?api-key=YOUR_API_KEY | |
https://staked-rpc-frankfurt.constant-k.com/?api-key=YOUR_API_KEY | |
https://staked-rpc-amsterdam.constant-k.com/?api-key=YOUR_API_KEY |
WebSocket subscriptions
| Region | URL |
|---|---|
wss://ws-newyork.constant-k.com:1337/ws?api-key=YOUR_API_KEY | |
wss://ws-frankfurt.constant-k.com:1337/ws?api-key=YOUR_API_KEY | |
wss://ws-amsterdam.constant-k.com:1337/ws?api-key=YOUR_API_KEY | |
| Nearest region (geo-routed) | wss://ws.constant-k.com:1337/ws?api-key=YOUR_API_KEY |
The gRPC products take the host and port from the table above, and the key goes in the x-token header. Kaldera and Turbo Kaldera use the same Yellowstone protocol; Turbo Kaldera serves pre-execution data. See Authentication for how to send the key with each protocol.
Staked send path
A sendTransaction call sent to a staked hostname takes the stake-weighted QoS (SWQoS) path. Every other method behaves there as on the regular RPC hostname. The same API key applies, and staked sends have their own rate limit. See Sending Transactions.
Failover
Each regional hostname fails over on its own, and clients keep using the same hostname. If a region is unavailable, the hostname moves to the 1st failover region, then the 2nd.
| Region | 1st failover | 2nd failover |
|---|---|---|
| then | then | |
| then | then | |
| then | then | |
Nearest region (rpc.constant-k.com, ws.constant-k.com) | then The next nearest healthy region | then The remaining region |
When a hostname moves
| Event | What happens |
|---|---|
| A product in a region is unavailable for 1 minute | That product's hostnames point to the next region in the table |
| DNS caches | Clients follow within about 30 seconds (records have a 30-second TTL) |
| The region recovers | The hostname returns to its own region after it has been healthy for about 30 seconds plus the DNS time |
- Each product fails over separately: Solana RPC, WebSocket, staked
sendTransaction, Kaldera, Turbo Kaldera, ShredPrism and Neon Zero. A problem in one product does not move the others. Solana RPC and Neon Zero share their backend, so they move together. - Open connections (WebSocket, gRPC streams) end when the region fails, and a reconnect reaches the new region. Clients should reconnect with backoff.
- After a move, requests are served by the other region. Its own rate limits apply, and its transaction history window can differ (Plans & Limits, Transaction history).
Choosing a region
- Distance to the node. Network distance is often the largest part of total latency. The region closest to your servers is the fastest.
- One region per trading flow. Each node follows the chain on its own, so two nodes can briefly report different latest slots. A single flow, such as fetch blockhash, send, confirm, belongs on one regional hostname. The geo-routed hostname suits general reads.
- A second region for headroom. Limits apply separately in each region (Plans & Limits). Regional hostnames already fail over on their own (see Failover); a second region adds capacity.
The lowest latency comes from running your code in the same facility as the node. Hosting Providers lists the provider and data center for each region.
Region health: RPC Status.