OnFinality
New RPC users get 35% off their first monthView the offer
Sonic logo

Sonic RPC Endpoint and API

A high-performance EVM Layer 1 with sub-second finality and high throughput for next-generation dApps.

Connect to Sonic Mainnet with chain ID 146 and S. Use OnFinality HTTPS or WebSocket RPC for wallets, smart contracts and backends, or create an authenticated endpoint for your app.

Chain ID146
CurrencyS
Create a free API key for 400,000 response units per day and up to 40 response units/second. Method weights apply.

Public endpoints are shared and rate-limited. View public rate limits

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

Connect to Sonic

Connect to Sonic Mainnet with OnFinality RPC. Find chain ID 146, S and public endpoints for EVM wallets, DeFi apps, smart contracts and transaction backends.

Try the public interface

First request
curl 'https://sonic.api.onfinality.io/public' \
  -H 'Content-Type: application/json' \
  --data '{"id":1,"jsonrpc":"2.0","method":"eth_blockNumber"}'

Use the interface and request shown above for an initial check, then test the methods and traffic pattern your application actually needs.

02

Create your own access

  1. Open the dashboard and select this network.
  2. Create an endpoint and copy the access details supplied by the dashboard.
  3. Validate your application's methods, peak traffic and error handling before production.
Create an RPC endpoint for Sonic
RPC API

RPC API plans & response units

Choose a shared RPC plan by response-unit allowance and peak throughput. Method weights and network-specific availability still apply.

Developer

Free
Included response units
400,000/day
Rate limit
Up to 40 RU/s
Extra RU
Not available

Accelerate

$249/month
Included response units
100 million/month
Rate limit
500 RU/s
Extra RU
$3.75/million
Compare RPC plans

Plan figures checked 8 November 2026. RU are not always raw requests; WebSocket responses also count toward limits. Check the current pricing and this network's method documentation. Node charges and applicable taxes are additional.

NETWORK REFERENCE

Sonic Mainnet RPC settings

Sonic is an EVM-compatible Layer 1. Use these settings to connect an Ethereum-compatible wallet or application to Sonic Mainnet.

Network
Sonic Mainnet
EVM chain ID
146 (0x92)
Gas token
S
OnFinality public HTTPS
https://sonic.api.onfinality.io/public
OnFinality public WebSocket
wss://sonic.api.onfinality.io/public-ws
Explorer
SonicScan

The Sonic network guide lists mainnet and testnet settings.

NETWORK REFERENCE

Check your Sonic connection

Confirm the chain ID before connecting a wallet, ethers or viem client:

bash
curl -sS 'https://sonic.api.onfinality.io/public' \
  -H 'Content-Type: application/json' \
  --data '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'

The expected result is 0x92. For live applications, also test the contract reads, logs, transaction receipts and WebSocket reconnection behavior your workload needs.

NETWORK REFERENCE

Choose Sonic RPC access

Use the shared public endpoint for a first connection, then create an authenticated OnFinality endpoint to review usage and choose capacity for sustained traffic. The Sonic method reference lists archive access and debug methods; debug is available on paid plans. Confirm the historical range, method limits and subscription behavior required by your application.

Sonic Mainnet and Sonic Testnet are separate networks. The current Sonic Testnet uses chain ID 14601 and test S; check the official network settings before switching networks.

BUILT FOR YOUR WORKLOAD

Build with Sonic

Plan access around the requests, operational requirements and release workflow your application needs.

Integration

Start with a connection check, then validate the reads, transactions or data workflows required by your application.

Usage planning

Review method-specific limits, plan allowances and usage before increasing traffic. Different methods can consume different response units.

Operations

Use your real client region and request pattern when evaluating latency, retries and service availability.

Never Worry about Infrastructure Again

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

Get Started