80trust / 100
Chain Balance
by Losbeto Market Intelligence in Onchain & crypto
x402 APIPassing, checked 3 h ago
Native ETH balance + ERC-20 balances (batched eth_call, up to 20 tokens; defaults to USDC/WETH/cbBTC) for any address on Base, plus tx-count nonce, a heuristic wallet_class (ghost/newcomer/steady/degen/whale) and reve...
GET https://api.losbeto.xyz/chain-balance
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 183 ms typical, 183 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.losbeto.xyz/chain-balance?address=0xd8dA6BF26964aF9E7eEd9e03E53415D37aA96045&tokens=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913+%28CSV%2C+optional%2C+up+to+20%29"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.losbeto.xyz%2Fchain-balance
const res = await pay("https://api.losbeto.xyz/chain-balance?address=0xd8dA6BF26964aF9E7eEd9e03E53415D37aA96045&tokens=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913+%28CSV%2C+optional%2C+up+to+20%29");
console.log(await res.json());Example input
{
"address": "0xd8dA6BF26964aF9E7eEd9e03E53415D37aA96045",
"tokens": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 (CSV, optional, up to 20)"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 183 ms | $0.002 |