How to Get a Solana RPC Endpoint
Step-by-step guide to getting a fast, reliable Solana RPC endpoint.
Solana is the go-to chain for high-frequency trading, DeFi, and real-time applications — which means your RPC infrastructure needs to keep up.
A Solana RPC endpoint is a URL that connects your application to a Solana validator node. Through this endpoint, your app can:
Query account balances and token holdings (
getBalance,getTokenAccountsByOwner)Fetch transaction data (
getTransaction,getSignaturesForAddress)Submit transactions (
sendTransaction)Monitor real-time events via WebSocket (
accountSubscribe,logsSubscribe)Access slot and block information (
getSlot,getBlock)
Solana's JSON-RPC API follows a different specification than Ethereum — it's not EVM-based, so you'll use Solana-specific libraries like @solana/web3.js or solana-py.
Endpoint format:
https://shared.eu-central-1.getblock.io/<YOUR-ACCESS-TOKEN>/Step-by-Step: Get Your Solana RPC Endpoint
Create a GetBlock Account
Go to GetBlock Dashboard and sign up. You can register with email or via Google/GitHub OAuth.
Create a Solana Endpoint
Once logged in:
Click "Shared Nodes" in the left sidebar
Click "Create New Endpoint" or the "+" button

Select:
Protocol: Solana (SOL)
Network: Mainnet or Devnet
API Interface: JSON-RPC or WebSocket or MEV protected (JSON-RPC)
Region: Frankfurt (EU), New York (US), or Singapore (APAC)

Click "Create": Your endpoint URL will be generated immediately.
Copy Your Endpoint URL
Your endpoint URL looks like this:
https://shared.<region>.getblock.io/a1b2c3d4e5f6789012345678abcdef01/<region> is eu-central-1 (Frankfurt), us-east-1 (New York), or ap-southeast-1 (Singapore) — whichever you picked in step 2.
The long string after the host is your access token — keep it private.
Code Examples
import { Connection, PublicKey, LAMPORTS_PER_SOL } from "@solana/web3.js";
const connection = new Connection(
"https://shared.eu-central-1.getblock.io/<YOUR-ACCESS-TOKEN>/",
"confirmed"
);
// Get current slot
const slot = await connection.getSlot();
console.log("Current slot:", slot);
// Get SOL balance
const pubkey = new PublicKey("7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU");
const balance = await connection.getBalance(pubkey);
console.log(`Balance: ${balance / LAMPORTS_PER_SOL} SOL`);
// Get recent blockhash (needed for transactions)
const { blockhash } = await connection.getLatestBlockhash();
console.log("Blockhash:", blockhash);from solana.rpc.api import Client
from solders.pubkey import Pubkey
client = Client("https://shared.eu-central-1.getblock.io/<YOUR-ACCESS-TOKEN>/")
# Get current slot
slot = client.get_slot()
print(f"Current slot: {slot.value}")
# Get SOL balance
pubkey = Pubkey.from_string("7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU")
balance = client.get_balance(pubkey)
print(f"Balance: {balance.value / 1e9} SOL")
# Get recent transactions for an address
sigs = client.get_signatures_for_address(pubkey, limit=5)
for sig in sigs.value:
print(f" TX: {sig.signature}")WebSocket for Real-Time Solana Data
Solana's WebSocket API is essential for real-time monitoring:
Why You Need a Dedicated RPC Provider for Solana
Solana is especially demanding on RPC infrastructure:
Rate limits
Aggressive (2-5 RPS)
Up to 500 RPS
getSignaturesForAddress depth
Often limited to recent
Full history available
WebSocket stability
Frequent disconnects
Persistent connections
getProgramAccounts support
Usually blocked
Available
MEV protection
None
Available (Dedicated)
gRPC streaming (Yellowstone)
Not available
Available as add-on
Archive/historical data
Limited
Full history
Transaction landing rate
Low priority
High via LandFirst
Advanced Solana Infrastructure on GetBlock
1. Yellowstone gRPC (Geyser Plugin)
For applications that need the fastest possible data e.g., trading bots, MEV searchers, indexers. GetBlock offers managed Yellowstone gRPC endpoints as an add-on to Dedicated Solana Nodes.
Why Yellowstone gRPC over standard RPC:
Near-zero latency: streams data directly from validators
Millions of events per minute: handles Solana's full throughput
Rich filtering: subscribe only to accounts/programs you care about
Protobuf encoding: parsed, typed data instead of base64
Learn more about Yellowstone gRPC
2. StreamFirst: Ultra-Low Latency Data
GetBlock's proprietary StreamFirst infrastructure delivers on-chain data faster than standard Yellowstone by combining:
Accelerated Yellowstone gRPC with optimized serialization
Shred-stream delivery: receives block fragments directly via UDP before blocks are fully confirmed
The Frankfurt data center provides 6ms latency within Europe and is positioned near the highest density of Solana validators.
3. LandFirst: Smart Transaction Routing
For sending transactions with high landing probability:
SWQoS connections to high-stakes validators
Jito Block Engine integration for bundle support
Intelligent routing based on leader schedule and network conditions
4. TradeFirst — Complete HFT Infrastructure
Combines StreamFirst (data) + LandFirst (execution) + Jito integration for high-frequency trading:
See opportunities ~17ms faster than standard RPC
Execute trades via optimal routing paths
Bundle support for atomic multi-transaction operations
What's Next?
Building something ambitious on Solana? Talk to our team about custom infrastructure — we specialize in high-performance Solana deployments.
Last updated
Was this helpful?