Skip to content
Fourohtwo

data.kagurazaka.dev/v1/spend

What a wallet spent on x402 APIs on Base in the last days, read from the chain: total, per seller (named by the Bazaar listings that pay to it), per day, and the recent payments, with other USDC transfers counted apart. For a wallet with very many payments, complete is false and from says how far back it was read.

BaseAnswering
GEThttps://data.kagurazaka.dev/v1/spend

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

// 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://data.kagurazaka.dev/v1/spend?days=7&payer=0x5672C104c5A7F931843DD0b4Cc12BA0B525C7BCB");
console.log(await res.json());

Example input

{
  "days": 7,
  "payer": "0x5672C104c5A7F931843DD0b4Cc12BA0B525C7BCB"
}

More from x402 Data APIProvider status