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 ethers

Step 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); // 19842301

Step 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}
ChainEndpoint
Ethereumhttps://rpc.nodeflare.app/eth/v1/{key}
Basehttps://rpc.nodeflare.app/base/v1/{key}
BNB Chainhttps://rpc.nodeflare.app/bnb/v1/{key}
Arbitrumhttps://rpc.nodeflare.app/arb/v1/{key}
Optimismhttps://rpc.nodeflare.app/op/v1/{key}
Hyperliquidhttps://rpc.nodeflare.app/hl/v1/{key}
Avalanchehttps://rpc.nodeflare.app/avax/v1/{key}