Moonbeam API

Token balances with prices, transaction history and token approvals for any Moonbeam address, indexed from genesis to the latest block, plus JSON-RPC for Moonbeam with archive depth. One API key, no nodes to run.

// Token balances on Moonbeam: 1 credit
const chain = "moonbeam-mainnet";
const address = "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045";
const url = "https://api.covalenthq.com/v1/" + chain +
  "/address/" + address + "/balances_v2/";

const key = process.env.GOLDRUSH_API_KEY;
const res = await fetch(url, {
  headers: { Authorization: `Bearer ${key}` },
});
const { data } = await res.json();

for (const token of data.items) {
  // balance, quote (USD value), quote_rate …
  console.log(token.contract_ticker_symbol, token.pretty_quote);
}

Used by EY, Fidelity and Consensys

  • EY
  • Fidelity
  • Consensys
  • Jump
  • Ondo
  • ThorWallet
  • Rainbow
  • Matcha
  • Velora
  • AtomicWallet
  • Atlas Wallet
  • OneKey

Query Moonbeam data

REST endpoints that return decoded, priced Moonbeam data in one call, billed in credits per request. The same key works on every other chain GoldRush supports.

Every endpoint supported on Moonbeam

Moonbeam RPC endpoint

Standard eth_*, net_* and web3_* methods plus debug_* and trace_*, with archive depth, drop-in for viem, ethers, web3.js and web3.py. GoldRush routes each call to the best of several upstream providers, from regional edge locations, with a 99.9% production SLA. It uses the same API key and credits as the rest of GoldRush.

  • Standard: eth_*, net_* and web3_* methods0.01 credits per call
  • Trace: debug_* and trace_* methods0.015 credits per call
// ethers v6, pointed at the GoldRush endpoint
import { ethers } from "ethers";

const url = "https://rpc.goldrushdata.com/v1/moonbeam-mainnet";
const req = new ethers.FetchRequest(url);
const key = process.env.GOLDRUSH_API_KEY;
req.setHeader("Authorization", `Bearer ${key}`);
const provider = new ethers.JsonRpcProvider(req);

console.log(await provider.getBlockNumber());

Moonbeam on GoldRush

GoldRush serves decoded Moonbeam data through one REST API. Network covered: moonbeam-mainnet (chain ID 1284, 6-second blocks), with block explorer data from moonscan.io. The Foundational API returns token balances, historical transactions and wallet activity, and token approvals data.

moonbeam-mainnetCommunity chain
Chain name
moonbeam-mainnet
Chain ID
1284
Block time
6 s
Gas token
GLMR
Block explorer
moonscan.io
Last synced block
Loading...
JSON-RPC endpoint
https://rpc.goldrushdata.com/v1/moonbeam-mainnet
Data last updated . The last synced block refreshes every 5 seconds.

Chain details from the Moonbeam chain reference.

What teams build on Moonbeam

  • Wallets and portfolio trackers

    Show what any Moonbeam address holds, priced in USD, next to its full transaction history.

    Crypto wallet API
  • Crypto tax and accounting

    Pull every Moonbeam transaction for a client's addresses and reconcile it into reports.

    Tax and accounting data
  • DeFi dashboards

    Track Moonbeam positions, tokens and protocol activity without running an indexer.

    DeFi data
  • Risk and compliance

    Review Moonbeam counterparties and their activity before you onboard or pay them.

    Risk and compliance data
  • Analytics and research

    Answer questions about Moonbeam wallets and tokens from indexed history instead of raw RPC.

    Analytics data
  • AI agents

    Give Claude, Cursor and other agents Moonbeam data through the hosted GoldRush MCP server.

    GoldRush MCP server

Start building on Moonbeam

Every account starts with a 14-day free trial: 25,000 credits at 4 requests per second, no credit card. After that, Vibe Coding is $10 a month for prototypes and side projects, and Professional is $250 a month with 50 requests per second for production.

Moonbeam FAQ

Yes. https://rpc.goldrushdata.com/v1/moonbeam-mainnet serves Moonbeam JSON-RPC on your GoldRush API key, sent as an Authorization: Bearer header. Standard methods cost 0.01 credits per call and debug and trace methods 0.015. See the JSON-RPC quickstart.

Moonbeam API docs

Start here

Reference

More