Logo
New RPC users get 35% off their first monthView the offer
Solana logo

Solana RPC Endpoint & API for Mainnet

Connect to Solana Mainnet through OnFinality's managed JSON-RPC API over HTTPS and WebSocket. Query accounts and transactions, submit and simulate transactions, subscribe to live updates, and access historical Solana data without operating your own RPC infrastructure.

CurrencySOL
Sign up for a Free Plan to unlock up to 40 req/sec and API Usage and Performance Insights. Get Started

Public endpoint rate limit: 5 req/sec

Quick Start
curl -H 'Content-Type: application/json' -d '{"id":1,"jsonrpc":"2.0","method":"getHealth"}' 'https://solana.api.onfinality.io/public'
curl -H 'Content-Type: application/json' -d '{"id":1,"jsonrpc":"2.0","method":"getHealth"}' 'https://solana.api.onfinality.io/public'
HTTPs
https://solana.api.onfinality.io/public
https://solana.api.onfinality.io/public
Websocket
wss://solana.api.onfinality.io/public-ws
wss://solana.api.onfinality.io/public-ws

Go to Growth Plan

  • High Performance
  • Powerful RPC Analytics
  • Up to 500 rps
  • No daily response limit
  • Priority Support
  • Decentralized Servers
Get Started

Solana RPC details

Item
Value
Network
Solana Mainnet
Native Token
SOL
RPC API
Solana JSON-RPC
HTTPS
Supported
WebSocket
Supported
Archive Access
Supported
Public Rate Limit
5 RPS
Authenticated
Up to 500 RPS
Regions
N. Virginia / Hong Kong
Devnet
Supported
Dedicated Nodes
Available
Service Status
Independent Benchmark

Supported Solana JSON-RPC methods

Use Solana JSON-RPC methods to read accounts and program data, inspect blocks and transactions, submit or simulate transactions, and monitor the current network state.

Account & program data

getAccountInfo getMultipleAccounts getProgramAccounts getTokenAccountsByOwner

Blocks & transaction history

getBlock getTransaction getSignaturesForAddress getSignatureStatuses

Transaction execution

getLatestBlockhash simulateTransaction sendTransaction getRecentPrioritizationFees

Network state

getSlot getBlockHeight getEpochInfo

Solana WebSocket RPC

Solana WebSocket RPC delivers live account, program, log, signature, slot, and block updates without repeated polling. Connect to thewss://solana.api.onfinality.io/public-ws endpoint for wallets, dashboards, trading systems, and transaction monitors that need real-time chain events.

Subscription
Typical use
accountSubscribe
Wallet/account balance updates
programSubscribe
Program-owned account changes
logsSubscribe
Program logs and trading events
signatureSubscribe
Transaction confirmation
slotSubscribe
Real-time slot progression
blockSubscribe
New block streaming

Solana Archive RPC

Query historical blocks, transactions, signatures, and older chain data through OnFinality's archive-capable Solana RPC infrastructure.

Solana RPC for trading bots

Trading systems can combine getLatestBlockhash, getRecentPrioritizationFees, transaction simulation and WebSocket subscriptions to prepare, submit and monitor transactions.

Solana Public RPC vs Managed RPC

Solana Public RPC
OnFinality
Development/testing
Yes
Yes
Production traffic
Not recommended
Yes
Authenticated API
No
Yes
Higher rate limits
No guarantee
Up to 500 RPS
WebSocket
Yes
Yes
Usage analytics
No
Yes
Archive access
Limited by public service
Supported
Dedicated infrastructure
No
Available

Never Worry about Infrastructure Again

OnFinality takes away the heavy lifting of DevOps so you can build smarter and faster.

Get Started