Base RPC Endpoints
Mainnet
Sepolia
HTTPS
https://api-base-mainnet-archive.n.dwellir.com/<API_Keys_Are_Not_Made_for_Bots>
WSS
wss://api-base-mainnet-archive.n.dwellir.com/<API_Keys_Are_Not_Made_for_Bots>
Quick Start
BASH
curl -sS -X POST https://api-base-mainnet-archive.n.dwellir.com/<API_Keys_Are_Not_Made_for_Bots> \-H 'Content-Type: application/json' \-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
JAVASCRIPT
import { JsonRpcProvider } from 'ethers';const provider = new JsonRpcProvider('https://api-base-mainnet-archive.n.dwellir.com/<API_Keys_Are_Not_Made_for_Bots>');const latest = await provider.getBlockNumber();console.log('block', latest);
PYTHON
import requestsurl = 'https://api-base-mainnet-archive.n.dwellir.com/<API_Keys_Are_Not_Made_for_Bots>'payload = { 'jsonrpc': '2.0', 'id': 1, 'method': 'eth_blockNumber', 'params': [] }resp = requests.post(url, json=payload)print(resp.json())
GO
package mainimport ("bytes""fmt""net/http""io/ioutil")func main() {url := "https://api-base-mainnet-archive.n.dwellir.com/<API_Keys_Are_Not_Made_for_Bots>"payload := []byte("{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"eth_blockNumber\",\"params\":[]}")resp, err := http.Post(url, "application/json", bytes.NewBuffer(payload))if err != nil { panic(err) }defer resp.Body.Close()body, _ := ioutil.ReadAll(resp.Body)fmt.Println(string(body))}
Base is an Ethereum Layer 2 (L2) solution designed to be secure, low-cost, and builder-friendly, aiming to onboard the next billion users to the blockchain. It is powered by Optimism's open-source OP Stack and is scaled by Coinbase, offering seamless integrations and easy fiat onramps. Base is EVM equivalent, allowing developers to deploy any EVM codebase and onramp users and assets from Ethereum L1, Coinbase, and other interoperable chains.
Pricing
How many calls do you make per month?
/ month
Growth
$299
/month
- 500 Responses /sec
- Dedicated Account Manager
150,000,000 responses ≈ 150.0M • Base $299 + Overages $0
Base Dedicated Node
$561/month
- Unlimited RPS & Responses
- HTTP & Websocket APIs
- Trace APIs
- Debug APIs
- Dedicated Account Manager
- Pay in Crypto
- Tailored load balancing
- Access to Engineering teams
- Global data centers
Developer Resources
FAQs
What is Base?
How is Base powered and scaled?
What are the key features of Base?
Get your API key
and join other leading Web3 companies using Dwellir's infrastructure