Quick Start
Connect your app to NodeFlare in under 60 seconds.
Connect to NodeFlare in under 60 seconds. No configuration required — pass your API key and you're live.
Step 1 — Install ethers.js
Terminal
npm install ethersStep 2 — Connect to Ethereum
JavaScript
import { ethers } from 'ethers';
const provider = new ethers.JsonRpcProvider(
`https://rpc.nodeflare.app/eth/v1/${YOUR_KEY}`
);
const block = await provider.getBlockNumber();
console.log(block); // 19842301Step 3 — Get your API key
Create a free account to get your API key. No credit card required.
Endpoint format
All NodeFlare endpoints follow this pattern:
https://rpc.nodeflare.app/{chain}/v1/{YOUR_KEY}| Chain | Endpoint |
|---|---|
| Ethereum | https://rpc.nodeflare.app/eth/v1/{key} |
| Base | https://rpc.nodeflare.app/base/v1/{key} |
| BNB Chain | https://rpc.nodeflare.app/bnb/v1/{key} |
| Arbitrum | https://rpc.nodeflare.app/arb/v1/{key} |
| Optimism | https://rpc.nodeflare.app/op/v1/{key} |
| Hyperliquid | https://rpc.nodeflare.app/hl/v1/{key} |
| Avalanche | https://rpc.nodeflare.app/avax/v1/{key} |