Tools / Crypto
Base wallet lookup
Reads an address on Base mainnet: native ETH balance, USDC balance, any extra ERC-20 tokens you list (with symbol, name and decimals), transaction count and whether it is a contract.
- Price per call
- $0.002 USDC
- Endpoint
- GET https://x402-tools.com/v1/wallet
- Also accepts
- POST with a JSON body
- Payment
- x402, exact scheme, USDC on Base
- Returns
- application/json
Parameters
| Name | Type | Description |
|---|---|---|
| address required | string | 0x address on Base. |
| tokens | string | Optional comma-separated ERC-20 contract addresses to include (max 10). |
Call it from an agent
import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.AGENT_PRIVATE_KEY);
const paidFetch = wrapFetchWithPayment(fetch, account);
const res = await paidFetch("https://x402-tools.com/v1/wallet?address=0x4200000000000000000000000000000000000006&tokens=0x4200000000000000000000000000000000000006");
// costs $0.002 in USDC on Base
Without a payment the endpoint answers 402 with the price, so you can inspect it first:
curl -i "https://x402-tools.com/v1/wallet?address=0x4200000000000000000000000000000000000006&tokens=0x4200000000000000000000000000000000000006"
Example response
{
"address": "0x…",
"chain": "base",
"chain_id": 8453,
"is_contract": false,
"transaction_count": 42,
"native": {
"symbol": "ETH",
"balance": "0.0153",
"balance_raw": "15300000000000000"
},
"tokens": [
{
"token": "0x8335…2913",
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"balance": "12.5",
"balance_raw": "12500000"
}
]
}
If the tool fails or your input is invalid, the payment is not settled.
Other tools
Web page to markdown$0.003
Turn any URL (HTML, PDF, Office docs) into clean markdown an agent can read.
Website screenshot$0.01
A PNG screenshot of any web page, rendered in a real browser.
Summarize text or a URL$0.005
A faithful short, medium or long summary of any text or web page.
Extract structured data$0.01
Pull JSON fields out of any text or web page, matching your schema.
Translate text$0.003
Translate text into any language, keeping formatting and tone.
Generate an image$0.02
Text-to-image with FLUX.1 schnell, returned in seconds.