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

Moonbeam RPC Endpoint and API

An Ethereum-compatible smart contract parachain on Polkadot.

Moonbeam

Connect to Moonbeam Mainnet with chain ID 1284 and GLMR. Use OnFinality's public RPC for EVM and Substrate requests, then create an authenticated endpoint for your application.

Chain ID1284
CurrencyGLMR
Create a free API key for 400,000 response units per day and up to 40 response units/second. Method weights apply.
Open In Polkadot JS

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":"chain_getBlock"}' 'https://moonbeam.api.onfinality.io/public'
curl -H 'Content-Type: application/json' -d '{"id":1,"jsonrpc":"2.0","method":"chain_getBlock"}' 'https://moonbeam.api.onfinality.io/public'
HTTPs
https://moonbeam.api.onfinality.io/public
https://moonbeam.api.onfinality.io/public
Websocket
wss://moonbeam.api.onfinality.io/public-ws
wss://moonbeam.api.onfinality.io/public-ws
GET CONNECTED

Connect to Moonbeam

Connect to Moonbeam with OnFinality RPC. Get chain ID 1284, GLMR and HTTPS or WebSocket endpoints for EVM apps and Substrate tools on the Polkadot parachain.

Try the public interface

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

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 Moonbeam
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

Moonbeam Mainnet RPC settings

Moonbeam is an Ethereum-compatible parachain on Polkadot. Its endpoint supports both Ethereum JSON-RPC and Substrate RPC, so use the interface that matches your application.

Network
Moonbeam Mainnet
EVM chain ID
1284 (0x504)
Gas token
GLMR
OnFinality public HTTPS
https://moonbeam.api.onfinality.io/public
OnFinality public WebSocket
wss://moonbeam.api.onfinality.io/public-ws
EVM explorer
Moonscan
Substrate explorer
Subscan

The Moonbeam network guide lists OnFinality's public endpoint and the chain settings.

NETWORK REFERENCE

Check the Moonbeam connection

For an EVM wallet, ethers or viem client, check the chain ID before reading a block:

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

A Moonbeam Mainnet response has result equal to 0x504. For Substrate tooling, the Quick Start above uses chain_getBlock; chain_getBlockHash returns the latest block hash. Both interfaces were checked on 13 November 2026.

NETWORK REFERENCE

Choose access for your workload

Use the shared public endpoint for a connection check. Create an authenticated endpoint to review usage and choose a plan for sustained traffic. The service supports dedicated Moonbeam nodes; check your workload's historical state or trace requirements and the Trace API documentation before choosing a plan.

Moonbeam Mainnet, Moonriver and Moonbase Alpha are separate networks. Moonriver uses chain ID 1285 and Moonbase Alpha testnet uses 1287. See the official network configurations and the Moonriver RPC page when switching environments.

BUILT FOR YOUR WORKLOAD

Build with Moonbeam

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