Skip to content
Fourohtwo

Portfolio of any wallet in one call with total USD

agentsvc.io/api/v1/proxy/wallet-portfolio

Portfolio of any wallet in one call with total USD: for an EVM address the native coin and major tokens on Base, Ethereum, BSC, Arbitrum, Polygon, Avalanche and Optimism at once; for a Solana address SOL and every SPL token with a market price; Bitcoin and Tron addresses too. Per asset amount and USD, totals per chain. For agents that check a counterparty, a treasury or their own funds before acti

PolygonBaseUnchecked
POSThttps://agentsvc.io/api/v1/proxy/wallet-portfolio

UptimeNot checked yet

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://agentsvc.io/api/v1/proxy/wallet-portfolio", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}),
});
console.log(await res.json());

Example input

{
  "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
}