How to Connect MetaMask to Base
Base is Coinbase’s Ethereum L2, built on the OP Stack. To use Base in MetaMask, you need to add it as a custom network with an RPC URL. This guide walks through the setup using a free SwiftNodes RPC endpoint — takes under two minutes.
- Network name: Base
- Chain ID: 8453
- RPC URL:
https://rpc.swiftnodes.io/rpc/base?key=YOUR_API_KEY - Currency symbol: ETH
- Block explorer URL: https://basescan.org
Step 1 — Get a free SwiftNodes API key
Visit swiftnodes.io and sign up with either a crypto wallet (MetaMask, WalletConnect) or an email address. The free tier allows 2 HTTP requests/sec and 1 WebSocket message/sec, which is plenty for personal MetaMask use. No credit card or KYC required.
Once signed in, copy the API key from your dashboard. It looks like a long hex string — keep it private, treat it like a password.
Step 2 — Open the MetaMask network menu
In MetaMask, click the network dropdown at the top of the window (it usually shows “Ethereum Mainnet” by default). Click “Add network”. On the screen that opens, click “Add a network manually” at the bottom.
Step 3 — Fill in the Base network details
Paste the following values:
https://rpc.swiftnodes.io/rpc/base?key=YOUR_API_KEYReplace YOUR_API_KEY with the key from your SwiftNodes dashboard.
Step 4 — Save and switch to Base
Click Save. MetaMask will validate the RPC connection (you should see a green check or a balance update). Then select Basefrom the network dropdown. That’s it — MetaMask is now connected to Base through your SwiftNodes endpoint.
Optional: add the WebSocket endpoint
MetaMask doesn’t use WebSocket directly, but if you’re building a dApp that subscribes to events or new blocks on Base, use the WebSocket endpoint:
wss://rpc.swiftnodes.io/ws/base?key=YOUR_API_KEYWhy not the default Base RPC?
The public RPC at https://mainnet.base.orgworks for casual use but is heavily rate-limited and shared by every user without an API key. For any real usage — transactions, dApp interactions, contract reads in a loop — you’ll get faster, more reliable responses from a dedicated provider.
SwiftNodes load-balances across multiple upstream Base nodes with automatic failover, so a single upstream outage doesn’t take you down.
Frequently asked questions
Is the Base RPC free?
Yes — the SwiftNodes free tier covers Base along with 74 other chains. Upgrade only if you need higher request rates.
What’s Base’s chain ID?
Base mainnet is chain ID 8453. The native currency is ETH (bridged from Ethereum L1).
Can I use the same API key on other chains?
Yes — one SwiftNodes API key works across all 75+ supported chains. Just change /rpc/baseto /rpc/eth or /rpc/arbitrum or any other chain slug.
Want the full Base details? See the Base RPC reference page for all supported methods, code examples (ethers, viem, web3.py, curl), bridging info, and the live status of Base on SwiftNodes.