Skip to content
Fourohtwo

Multi-chain balances API

rpc.nodeflare.app/data/balances/x402

Multi-chain balances API: native + ERC-20 token balances for one address across up to 17 EVM chains (Ethereum, Base, Arbitrum, Optimism, BNB, and young chains like Robinhood, Ink that Alchemy/Moralis omit) in a single request. Pay per call in USDC, no account or API key - built for AI agents. Priced about $0.0003 per chain.

BasePolygonArbitrumAnswering
POSThttps://rpc.nodeflare.app/data/balances/x402

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://rpc.nodeflare.app/data/balances/x402", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","chains":["ethereum","base"],"tokens":{"base":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}}),
});
console.log(await res.json());

Example input

{
  "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
  "chains": [
    "ethereum",
    "base"
  ],
  "tokens": {
    "base": [
      "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
    ]
  }
}

More from NodeFlareProvider status