Apechain logo

Apechain Mainnet

RPC Endpoints

Chain ID: 0x8173 · APE

Other Apechain networks:Curtis Testnet
How to add Apechain to MetaMask or other wallets

Apechain Mainnet uses APE as its native currency. Chain ID: 33139 (0x8173). Below is a public RPC endpoint you can use to connect wallets, dApps, and developer tools to Apechain Mainnet.

StatusRPC EndpointChain IDCurrencyExplorerWallet
Checking
https://rpc.apechain.com/http
0x8173APEExplorer

Connect to Apechain Mainnet with ethers.js

import { ethers } from "ethers";

const provider = new ethers.JsonRpcProvider("https://rpc.apechain.com/http");

const network = await provider.getNetwork();
console.log(network.chainId); // 33139n

Apechain Mainnet — common questions

What is the RPC URL for Apechain Mainnet?
The public RPC URL for Apechain Mainnet is https://rpc.apechain.com/http.
What is the Chain ID for Apechain Mainnet?
The Chain ID for Apechain Mainnet is 33139 (0x8173 in hexadecimal).
What is the native currency of Apechain Mainnet?
The native currency of Apechain Mainnet is APE.
How do I add Apechain Mainnet to MetaMask?
Use the "Add to Wallet" button on this page to add Apechain Mainnet to MetaMask automatically, or follow our step-by-step guide for Apechain.