0G RPC Endpoint

Flat-rate 0G RPC provider and 0G RPC node access: free tier, no KYC, HTTP & WebSocket. 0G mainnet chain ID 16661.

0G mainnet RPC URL: https://rpc.swiftnodes.io/rpc/0g?key=YOUR_API_KEY
WebSocket: wss://rpc.swiftnodes.io/ws/0g?key=YOUR_API_KEY

0G (ZeroGravity) is an EVM-compatible Layer 1 that bundles a data-availability layer, distributed storage and compute networking into one chain, aimed at applications that need large datasets kept close to on-chain logic.

Network: 0G
Type: EVM
Chain ID: 16661
Slug: 0g
Native token: 0G (0G)
Mainnet: September 2025
Category: Layer 1

0G on the SwiftNodes fleet, right now

Status: online
Latency: 66 ms
Latest block: 47,316,327
WebSocket: available

9 of 12 probed RPC methods supported (archive, batch, debug_traceCall, eth_getProof). 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

0G developer facts, measured

Block time:
~892 ms (average of the last 1,000 blocks)
Finality:
the finalized tag trails the head by ~20 blocks (~18 s)
eth_getLogs range:
50,000-block ranges accepted (the largest we test)
Historical state:
readable 10,000 blocks back, not 1,000,000

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 0G

0G launched its Aristotle mainnet in September 2025 after two testnets. Its architecture splits data movement into two lanes: a publishing lane that only pushes small metadata through consensus for availability guarantees, and a storage lane that moves the bulk payload into 0G Storage, with data erasure-coded and distributed across storage nodes.

For developers the execution layer is ordinary EVM, so contracts and tooling work unchanged; the differentiated parts are the storage and DA APIs that sit alongside it. 0G is the gas and staking token, with a fixed one billion supply. Applications typically use the chain where model artefacts, datasets or provenance need to live next to the settlement logic.

Common Use Cases on 0G

  • AI model and dataset storage
  • RAG pipelines with on-chain provenance
  • Verifiable compute
  • DePIN data markets

0G Mainnet RPC URL (HTTP)

https://rpc.swiftnodes.io/rpc/0g?key=YOUR_API_KEY

0G WebSocket RPC URL

wss://rpc.swiftnodes.io/ws/0g?key=YOUR_API_KEY

Quick Start: Connect to 0G

cURL

curl -X POST https://rpc.swiftnodes.io/rpc/0g?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/0g?key=YOUR_API_KEY"
);

const blockNumber = await provider.getBlockNumber();
console.log("0G block:", blockNumber);

viem

import { createPublicClient, http } from "viem";

const client = createPublicClient({
  transport: http("https://rpc.swiftnodes.io/rpc/0g?key=YOUR_API_KEY"),
});

const blockNumber = await client.getBlockNumber();

web3.py

from web3 import Web3

w3 = Web3(Web3.HTTPProvider("https://rpc.swiftnodes.io/rpc/0g?key=YOUR_API_KEY"))
print("0G block:", w3.eth.block_number)

Add 0G to MetaMask

Network Name: 0G (SwiftNodes)
RPC URL: https://rpc.swiftnodes.io/rpc/0g?key=YOUR_API_KEY
Chain ID: 16661
Currency Symbol: 0G
WebSocket: wss://rpc.swiftnodes.io/ws/0g?key=YOUR_API_KEY

Features of SwiftNodes for 0G

  • 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 0G

Rate Limits

PlanPriceHTTP req/sWS msg/s
Free$0/mo21
Starter$49/mo5025
Growth$89/mo15075
Scale$149/mo300150
Pro$249/mo500250

Related EVM chains

Explore RPC endpoints for other EVM networks on SwiftNodes:

Ready to start building on 0G? Connect your wallet and get a free API key in 30 seconds. No email or KYC required.