$0.01
per call · USD Coin on Base
API request: /api/v1/developer/wallet/balances/history
Endpoint
POST https://agents.allium.so/api/v1/developer/wallet/balances/history3
Calls / 30d
1
Unique payers / 30d
Aug 30
Last called
exact
Payment scheme
Call this service
TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://agents.allium.so/api/v1/developer/wallet/balances/history", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"addresses": [
{
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"chain": "ethereum"
}
],
"end_timestamp": "2025-06-17T00:00:00Z",
"start_timestamp": "2025-06-01T00:00:00Z"
}),
});
const data = await res.json();cURL
curl -X POST \
"https://agents.allium.so/api/v1/developer/wallet/balances/history" \
-H "Content-Type: application/json" \
-d '{"addresses":[{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","chain":"ethereum"}],"end_timestamp":"2025-06-17T00:00:00Z","start_timestamp":"2025-06-01T00:00:00Z"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"items": [
{
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"block_number": 20000000,
"block_timestamp": "2025-06-17T00:00:00Z",
"chain": "ethereum",
"raw_balance": 1500000000000000000,
"raw_balance_str": "1500000000000000000",
"token": {
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"chain": "ethereum",
"decimals": 18,
"info": {
"name": "Wrapped Ether",
"symbol": "WETH"
},
"object": "token",
"type": "evm_erc20"
}
}
]
}Payment details
Pay to
0x417e809f1edcf2468730573e16077221754f54c9Asset
USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913NetworksBase, Solana, Polygon, X Layer
Schemesexact
Is this your API?
Pin it to the top of Onchain Data and the homepage with a featured placement.
More from Allium & similar services
Allium · Queries RUN Async
agents.allium.so
API request: /api/v1/explorer/queries/run-async
POSTBaseOnchain Data
$0.01 / call26 calls / 30d
C
Chain · Operations
agents.chain.link
Chainlink For Agents: execute a catalog workflow by workflow name.
POSTBaseOnchain Data
$0.01 / call39k calls / 30d
C
Chain · Operations Submit
agents.chain.link
Chainlink For Agents: submit a signed operation payload.
POSTBaseOnchain Data
$0.002 / call17k calls / 30d