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

# Solana RPC URLs and Endpoints

> Helius provides multiple endpoint types to suit different application needs. This guide outlines all available connection options for interacting with the Helius API.

RPC (Remote Procedure Call) endpoints are your application's gateway to Solana. These HTTPS URLs allow you to query account data, fetch transaction history, monitor program state, and interact with Solana programs. For optimized transaction sending with built-in routing and MEV protection, instead of using `sendTransaction`, see [Sender](/sending-transactions/sender).

## Solana RPC Endpoints

High-performance RPC endpoints providing full Solana API compatibility with enhanced reliability and throughput.

These endpoints support [all Solana JSON-RPC methods](https://www.helius.dev/docs/api-reference/rpc/http-methods) and now **use staked connections by default** for all paid plans, providing optimal transaction landing rates:

* **Mainnet**: `https://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY`
* **Mainnet (Gatekeeper Beta)**: `https://beta.helius-rpc.com/?api-key=YOUR_API_KEY`
* **Devnet**: `https://devnet.helius-rpc.com/?api-key=YOUR_API_KEY`

<Tip>
  **Want the fastest experience?** Try our [Gatekeeper (Beta)](/gatekeeper/overview) endpoint for significantly lower latency. Your API key works on both standard and beta endpoints without any changes.
</Tip>

## Secure RPC Endpoints

Secure RPC URLs are specifically masked and IP rate-limited at 5 TPS, making them safe to use directly from frontend applications while [protecting your API keys](https://www.helius.dev/docs/rpc/protect-your-keys):

* **Mainnet**: `https://abc-456-fast-mainnet.helius-rpc.com`
* **Devnet**: `https://123-xyz-fast-devnet.helius-rpc.com`

## LaserStream WebSocket Endpoints

[LaserStream WebSocket](/rpc/websocket) serves both the standard Solana WebSocket subscription methods and Helius's extensions (`transactionSubscribe`, enhanced `accountSubscribe`) on a single unified endpoint per network:

* **Mainnet**: `wss://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY`
* **Mainnet (Gatekeeper Beta)**: `wss://beta.helius-rpc.com/?api-key=YOUR_API_KEY`
* **Devnet**: `wss://devnet.helius-rpc.com/?api-key=YOUR_API_KEY`

<Tip>
  LaserStream WebSocket reduces latency by \~200 ms compared to standard Agave RPC-based WebSockets. Standard Solana methods are available on all plans; the Helius extensions require a Developer, Business, or Professional plan. No code changes required.
</Tip>

### Key Features

* **Backed by LaserStream**: shares its backend with [LaserStream gRPC](/laserstream), delivering data up to 200 ms faster than standard Agave RPC-based WebSockets
* **Standard Solana subscriptions** (all plans): `accountSubscribe`, `programSubscribe`, `signatureSubscribe`, `slotSubscribe`, `logsSubscribe`, and more — fully compatible with Solana's WebSocket API
* **Helius extensions** (Developer, Business, Professional plans): [`transactionSubscribe`](/rpc/websocket/transaction-subscribe) and an enhanced [`accountSubscribe`](/rpc/websocket/account-subscribe) with advanced filtering
* **Connection management**: WebSockets have a 10-minute inactivity timer; implement health checks and send pings every minute to keep connections alive
* **Best for**: apps that need to monitor account changes, track transactions, or get real-time updates on Solana activity

## Staked Connection Endpoints (Deprecated)

<Warning>
  The staked endpoint (`staked.helius-rpc.com`) is deprecated. Use the regular endpoint (`mainnet.helius-rpc.com`), which uses staked connections by default for all paid plans.
</Warning>

* **Cost**: 1 credit per `sendTransaction` request (reduced from 10 credits)
* **Automatic optimization**: All transactions are sent over optimized network infrastructure (Asia, Europe, and North America)
* **Higher landing rates**: Guaranteed access to staked connections during congestion
* **No code changes**: Existing apps automatically benefit from staked connections

## Next Steps

<CardGroup cols={3}>
  <Card title="Signup" icon="rocket" href="https://www.helius.dev/docs/api-reference/authentication">
    Sign up for free to generate a new API key
  </Card>

  <Card title="Agent Signup" icon="arrow-trend-up" href="https://www.helius.dev/docs/api-reference/helius-cli">
    Use the Helius CLI to sign up agentically
  </Card>

  <Card title="Enterprise" icon="building" href="https://www.helius.dev/contact">
    Contact sales for enterprise pricing.
  </Card>
</CardGroup>
