Somnia RPC Endpoint
Flat-rate Somnia RPC provider and Somnia RPC node access: free tier, no KYC, HTTP & WebSocket. Somnia mainnet chain ID 5031.
https://rpc.swiftnodes.io/rpc/somnia?key=YOUR_API_KEYwss://rpc.swiftnodes.io/ws/somnia?key=YOUR_API_KEYSomnia is an EVM-compatible Layer 1 optimised for very high transaction volume with sub-second finality, using a MultiStream consensus design and a purpose-built state database called IceDB.
somniaSomnia on the SwiftNodes fleet, right now
7 of 12 probed RPC methods supported (archive, batch, debug_traceCall, eth_getBlockReceipts). The gaps are listed per chain in the method support matrix.
Status and latency from our health checks, refreshed about every 5 minutes. Uptime history. Method support probed automatically on 2026-10-11. Network status
Somnia developer facts, measured
- Block time:
- ~101 ms (average of the last 1,000 blocks)
- Finality:
- the latest block is already reported as finalized
- eth_getLogs range:
- 1,000-block ranges accepted; the next size we test was refused
- Historical state:
- readable at least 1,000,000 blocks back
Measured 2026-10-11 through this page's endpoint, re-measured weekly. Limits can differ between the upstream nodes behind it. All chains: measured chain facts.
About Somnia
Somnia was built by Improbable together with the Somnia Foundation and reached mainnet with its SOMI token in September 2025, following a testnet period that processed billions of transactions. The chain markets itself in seven figures of TPS for simple transfers, which matters mainly for applications — games, agent economies, high-frequency consumer apps — where per-transaction cost has to be near zero.
Contracts are standard Solidity against an EVM, so porting is usually a configuration change. SOMI pays gas and secures the network through staking. The engineering trade-off to be aware of is that throughput claims of this size generally assume simple transaction shapes; complex contract calls cost proportionally more, so measure your own workload rather than the headline number.
Common Use Cases on Somnia
- On-chain games
- AI agent transactions
- Consumer social apps
- High-frequency micro-payments
Somnia Mainnet RPC URL (HTTP)
https://rpc.swiftnodes.io/rpc/somnia?key=YOUR_API_KEYSomnia WebSocket RPC URL
wss://rpc.swiftnodes.io/ws/somnia?key=YOUR_API_KEYQuick Start: Connect to Somnia
cURL
curl -X POST https://rpc.swiftnodes.io/rpc/somnia?key=YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'ethers.js
import { JsonRpcProvider } from "ethers";
const provider = new JsonRpcProvider(
"https://rpc.swiftnodes.io/rpc/somnia?key=YOUR_API_KEY"
);
const blockNumber = await provider.getBlockNumber();
console.log("Somnia block:", blockNumber);viem
import { createPublicClient, http } from "viem";
const client = createPublicClient({
transport: http("https://rpc.swiftnodes.io/rpc/somnia?key=YOUR_API_KEY"),
});
const blockNumber = await client.getBlockNumber();web3.py
from web3 import Web3
w3 = Web3(Web3.HTTPProvider("https://rpc.swiftnodes.io/rpc/somnia?key=YOUR_API_KEY"))
print("Somnia block:", w3.eth.block_number)Add Somnia to MetaMask
https://rpc.swiftnodes.io/rpc/somnia?key=YOUR_API_KEYwss://rpc.swiftnodes.io/ws/somnia?key=YOUR_API_KEYFeatures of SwiftNodes for Somnia
- Load-balanced across multiple upstream nodes wherever a chain has more than one, with automatic failover
- Health-checked every 2 minutes with automatic failover
- Free tier available — no credit card or KYC required
- Flat-rate monthly pricing with no per-request fees
- HTTP and WebSocket support
- One API key works across all 75+ supported chains, including Somnia
Rate Limits
| Plan | Price | HTTP req/s | WS msg/s |
|---|---|---|---|
| Free | $0/mo | 2 | 1 |
| Starter | $49/mo | 50 | 25 |
| Growth | $89/mo | 150 | 75 |
| Scale | $149/mo | 300 | 150 |
| Pro | $249/mo | 500 | 250 |
Related EVM chains
Explore RPC endpoints for other EVM networks on SwiftNodes:
Ready to start building on Somnia? Connect your wallet and get a free API key in 30 seconds. No email or KYC required.