Skip to content
Fourohtwo

Check a wallet's live balance on Base mainnet

x402-seller.onrender.com/chain/balance

Check a wallet's live balance on Base mainnet: native ETH (e.g. to confirm it has enough for gas) plus an optional ERC20 token balance (e.g. USDC) when a token contract address is supplied. Sourced from Base's official public RPC.

BaseAnswering
GEThttps://x402-seller.onrender.com/chain/balance

Uptime100% of 3 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://x402-seller.onrender.com/chain/balance?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045");
console.log(await res.json());

Example input

{
  "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
}

More from Data Lookup APIProvider status