0G RPC Endpoint

Fast, flat-rate 0G RPC node provider — free tier, no KYC, HTTP & WebSocket.

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

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

HTTP Endpoint

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

WebSocket Endpoint

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

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

Rate Limits

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

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