Skip to content
Fourohtwo

base.kagurazaka.dev/v1/balance

The ETH balance and ERC-20 balances of an address on Base, for the tokens you name or a default list of well-known tokens (USDC, WETH, cbBTC, AERO, DAI, USDT, DEGEN, VIRTUAL and others), with USD values for ETH, stablecoins and up to five other held tokens priced from their pools.

BaseAnswering
GEThttps://base.kagurazaka.dev/v1/balance

Uptime100% of 1 check 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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://base.kagurazaka.dev/v1/balance?address=0x5672C104c5A7F931843DD0b4Cc12BA0B525C7BCB");
console.log(await res.json());

Example input

{
  "address": "0x5672C104c5A7F931843DD0b4Cc12BA0B525C7BCB"
}

More from x402 Base Tools