Somnia RPC Endpoint
Fast, flat-rate Somnia RPC node provider — free tier, no KYC, HTTP & WebSocket.
Somnia 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.
somniaAbout 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
HTTP Endpoint
https://rpc.swiftnodes.io/rpc/somnia?key=YOUR_API_KEYWebSocket Endpoint
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
- Multiple load-balanced upstream nodes for high availability
- Health-checked every 60 seconds 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 |
Ready to start building on Somnia? Connect your wallet and get a free API key in 30 seconds. No email or KYC required.