77trust / 100

Wallet Balances

by Wallet Portfolio in Onchain & crypto

x402 APIPassing, checked 7 h ago

Everything an EVM wallet holds across Base, Ethereum, Arbitrum, Optimism and Polygon in one call: native coin and every ERC-20 balance priced in USD, sorted by value, with per-chain and overall totals and the top 10 holdings. Spam and unpriced tokens are counted, not listed. Optional chains limits which networks are read. Errors return 4xx/5xx JSON and aren't charged.

GET
https://onchaincheck.dev/wallet/balances
Price
$0.003
per call in USDC
Uptime
97.1%
last 30 days
Response time
124 ms
633 ms slowest 5%
Last check
Passed
7 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://onchaincheck.dev/wallet/balances

Each call costs $0.003 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://onchaincheck.dev/wallet/balances?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045

Parameters

ParameterTypeRequiredDescription
addressstringYesEVM wallet address
chainsstringNoComma-separated subset of base, eth, arbitrum, optimism, polygon (default all)

Example response

The provider's example. We can't check it without paying.

Example response, 231 lines
{
  "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
  "chains": [
    {
      "chain": "eth",
      "dustTokens": 1,
      "name": "Ethereum",
      "native": {
        "balance": 5.7938195,
        "priceUsd": 2114.8295488,
        "symbol": "ETH",
        "valueUsd": 12252.94
      },
      "tokens": [
        {
          "address": "0x01995a697752266d8e748738aaa3f06464b8350b",
          "balance": 0.01,
          "confidence": 0.99,
          "priceUsd": 18.8695,
          "symbol": "CANA",
          "valueUsd": 0.19
        }
      ],
      "totalUsd": 12253.13,
      "unpricedTokens": 54
    },
    {
      "chain": "optimism",
      "dustTokens": 5,
      "name": "OP Mainnet",
      "native": {
        "balance": 0.18107959,
        "priceUsd": 2114.8295488,
        "symbol": "ETH",
        "valueUsd": 382.95
      },
      "tokens": [
        {
          "address": "0x676f784d19c7f1ac6c6beaeaac78b02a73427852",
          "balance": 29422361,
          "confidence": 0.98,
          "priceUsd": 0.00022474,
          "symbol": "OPP",
          "valueUsd": 6612.38
        },
        {
          "address": "0x4200000000000000000000000000000000000006",
          "balance": 0.034930324,
          "confidence": 0.99,
          "priceUsd": 2116.11,
          "symbol": "WETH",
          "valueUsd": 73.92
        },
        {
          "address": "0x0b2c639c533813f4aa9d7837caf62653d097ff85",
          "balance": 24.433911,
          "confidence": 0.999,
          "priceUsd": 0.999784,
          "symbol": "USDC",
          "valueUsd": 24.43
        },
        {
          "address": "0x0a7b751fcdbbaa8bb988b9217ad5fb5cfe7bf7a0",
          "balance": 569.00328,
          "confidence": 0.99,
          "priceUsd": 0.00503665,
          "symbol": "ITP",
          "valueUsd": 2.87
        },
        {
          "address": "0x4f604735c1cf31399c6e711d5962b2b3e0225ad3",
          "balance": 0.46,
          "confidence": 0.99,
          "priceUsd": 1.00156,
          "symbol": "USDGLO",
          "valueUsd": 0.46
        }
      ],
      "totalUsd": 7097.31,
      "unpricedTokens": 61
    },
    {
      "chain": "base",
      "dustTokens": 0,
      "name": "Base",
      "native": {
        "balance": 3.1288532,
        "priceUsd": 2114.8295488,
        "symbol": "ETH",
        "valueUsd": 6616.99
      },
      "tokens": [
        {
          "address": "0x06abb84958029468574b28b6e7792a770ccaa2f6",
          "balance": 16849,
          "confidence": 0.99,
          "priceUsd": 0.000144632,
          "symbol": "MONK",
          "valueUsd": 2.44
        }
      ],
      "totalUsd": 6619.43,
      "unpricedTokens": 84
    },
    {
      "chain": "arbitrum",
      "dustTokens": 10,
      "name": "Arbitrum One",
      "native": {
        "balance": 0.15941176,
        "priceUsd": 2114.8295488,
        "symbol": "ETH",
        "valueUsd": 337.13
      },
      "tokens": [
        {
          "address": "0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f",
          "balance": 0.00109695,
          "confidence": 0.99,
          "priceUsd": 74502.5,
          "symbol": "WBTC",
          "valueUsd": 81.73
        },
        {
          "address": "0x25d887ce7a35172c62febfd67a1856f20faebb00",
          "balance": 568013.3,
          "confidence": 0.999,
          "priceUsd": 0.00000527611,
          "symbol": "PEPE",
          "valueUsd": 3
        },
        {
          "address": "0x46850ad61c2b7d64d08c9c754f45254596696984",
          "balance": 1.843193,
          "confidence": 0.999,
          "priceUsd": 0.999419,
          "symbol": "PYUSD",
          "valueUsd": 1.84
        },
        {
          "address": "0x09e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
          "balance": 194246620000,
          "confidence": 0.99,
          "priceUsd": 7.11098e-12,
          "symbol": "aidoge",
          "valueUsd": 1.38
        },
        {
          "address": "0x13ad51ed4f1b7e9dc168d8a00cb3f4ddd85efa60",
          "balance": 1,
          "confidence": 0.999,
          "priceUsd": 0.327181,
          "symbol": "LDO",
          "valueUsd": 0.33
        }
      ],
      "totalUsd": 425.41,
      "unpricedTokens": 78
    },
    {
      "chain": "polygon",
      "dustTokens": 1,
      "name": "Polygon PoS",
      "native": {
        "balance": 592.71987,
        "priceUsd": 0.08836337920000001,
        "symbol": "POL",
        "valueUsd": 52.37
      },
      "tokens": [
        {
          "address": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
          "balance": 16.112138,
          "confidence": 0.99,
          "priceUsd": 0.0881198,
          "symbol": "WMATIC",
          "valueUsd": 1.42
        },
        {
          "address": "0x0da0bd2f57a27a70665d53db4ea71e1f26f77a46",
          "balance": 1,
          "confidence": 0.99,
          "priceUsd": 0.260721,
          "symbol": "CROW",
          "valueUsd": 0.26
        },
        {
          "address": "0x0b3f868e0be5597d5db7feb59e1cadbb0fdda50a",
          "balance": 1.1830042,
          "confidence": 0.999,
          "priceUsd": 0.177273,
          "symbol": "SUSHI",
          "valueUsd": 0.21
        }
      ],
      "totalUsd": 54.26,
      "unpricedTokens": 72
    }
  ],
  "checkedAt": "2026-11-10T07:18:53.879Z",
  "notes": "Balances read live from each chain (Alchemy); USD prices from DefiLlama. Tokens DefiLlama can't price are counted in unpricedTokens and left out of the totals (mostly spam airdrops); holdings under $0… (240 chars, truncated in this example)",
  "topHoldings": [
    {
      "chain": "eth",
      "symbol": "ETH",
      "valueUsd": 12252.94
    },
    {
      "chain": "base",
      "symbol": "ETH",
      "valueUsd": 6616.99
    },
    {
      "address": "0x676f784d19c7f1ac6c6beaeaac78b02a73427852",
      "chain": "optimism",
      "symbol": "OPP",
      "valueUsd": 6612.38
    },
    {
      "chain": "optimism",
      "symbol": "ETH",
      "valueUsd": 382.95
    },
    {
      "chain": "arbitrum",
      "symbol": "ETH",
      "valueUsd": 337.13
    }
  ],
  "totalUsd": 26449.55
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.003.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://onchaincheck.dev/wallet/balances?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://onchaincheck.dev/wallet/balances?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fonchaincheck.dev%2Fwallet%2Fbalances
const res = await pay("https://onchaincheck.dev/wallet/balances?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://onchaincheck.dev/wallet/balances?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045")
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
7 h agoPassed40236 ms$0.003
17 h agoPassed40277 ms$0.003
28 h agoPassed402135 ms$0.003
2 days agoTimed out---
4 days agoTimed out---
Show 10 older checks
5 days agoPassed40219 ms$0.003
5 days agoPassed402268 ms$0.003
6 days agoPassed402687 ms$0.003
6 days agoPassed40288 ms$0.003
7 days agoPassed402633 ms$0.003
7 days agoPassed402147 ms$0.003
7 days agoPassed402602 ms$0.003
8 days agoPassed402535 ms$0.003
8 days agoPassed402104 ms$0.003
8 days agoPassed40299 ms$0.003