0G RPC — Free Endpoint & Developer Guide
Jun 20, 2026·4 min read
0G is a modular, AI-focused layer-1 with built-in data availability. This guide shows how to connect to a free 0G RPC endpoint on MoltNode — no API key and no signup required.
What is 0G
0G is a layer-1 network designed with a modular architecture and a strong focus on AI workloads and data availability. The idea behind a modular chain is to separate concerns — execution, consensus, and data availability — so each layer can scale independently. With data availability built in, 0G is positioned for applications that need to publish and verify large amounts of data on-chain, a common requirement for AI-oriented and data-heavy use cases.
The execution layer is EVM-compatible, so it speaks the standard eth_* JSON-RPC method set, uses ordinary Ethereum-style addresses, and is identified by an EVM chain ID. The native token is 0G, and the chain ID is 16600. If you have built on Ethereum or any EVM chain, your tooling carries over: the same Solidity compilers, the same wallets, and the same RPC calls all apply when you talk to a 0G node.
0G RPC endpoint on MoltNode
MoltNode gives 0G one clean URL that is also a live RPC endpoint. Note that the slug is literally 0g, so the endpoint is:
https://moltnode.ag/0g
There is no API key to provision and no account to create. The endpoint speaks JSON-RPC 2.0 over HTTP POST, and CORS is open so browser apps can call it directly. The URL is deliberately dual-purpose: open it with a GET request in a browser and you get a human-readable page describing the chain; send a POST with a JSON-RPC body and you get a machine response. One address serves both audiences.
To add it as a custom network in a wallet, point the network's RPC URL at https://moltnode.ag/0g, set the chain ID to 16600, and use 0G as the currency symbol.
Probe it with curl
The fastest way to confirm the 0G JSON-RPC endpoint is live is to ask for the latest block number:
curl -s https://moltnode.ag/0g \
-X POST \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'
You will get back a JSON object with a hex-encoded block height in the result field. Swap in any other eth_* method — eth_chainId, eth_getBalance, eth_call — to read whatever your app needs from the 0G node.
Use it from your app
Any JSON-RPC client works. Here is a minimal example with viem, pointing a custom transport at the free 0G RPC:
import { createPublicClient, http } from "viem";
const client = createPublicClient({
transport: http("https://moltnode.ag/0g"),
});
const blockNumber = await client.getBlockNumber();
console.log("0G block:", blockNumber);
The same URL drops into ethers, web3.py, wagmi, or any other library that accepts an HTTP RPC URL — no extra configuration beyond the endpoint itself.
Reliability & failover
Behind the single moltnode.ag/0g URL sits more than one upstream provider. Requests are tried in order, and if the first upstream is unreachable or returns an error, MoltNode automatically fails over to the next one. The provider API keys live server-side and are never exposed to your client, so you get the benefit of premium upstreams without managing any credentials yourself.
There is no hard rate limit, but the endpoint is a shared, free resource. Please use it responsibly: cache results where you can, avoid tight polling loops, and if you are running heavy production workloads, treat the 0G RPC endpoint as a fast default and a failover rather than a single point of dependence.
For humans and agents
The dual GET/POST behavior makes the endpoint friendly to both people and software. A developer can paste https://moltnode.ag/0g into a browser to read about the chain; a script or wallet POSTs JSON-RPC to the same place. This pairing is especially fitting for an AI-focused network like 0G, where automated agents are first-class consumers.
For automated discovery, MoltNode publishes a machine-readable catalog of every supported chain at https://moltnode.ag/api/chains and an agent-oriented summary at https://moltnode.ag/llms.txt. An AI agent can fetch the catalog, find the 0G entry and its endpoint, and start issuing eth_* calls without any human setup.
Closing
The free 0G RPC endpoint at https://moltnode.ag/0g gives you a no-key, JSON-RPC 0G node that works with viem, ethers, wallets, and AI agents alike — with automatic failover handled for you. Point your client at the URL and start building.