74trust / 100
Balances History
by Allium in Onchain & crypto
x402 APIPassing, checked 3 h ago
API request: /api/v1/developer/wallet/balances/history
POST
https://agents.allium.so/api/v1/developer/wallet/balances/history- Price
- $0.01
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 1.2 s
- 6.2 s slowest 5%
- Last check
- Passed
- 3 h ago, next any minute now
Reliability
All checks passedSome failedAll failedNot checked
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://agents.allium.so/api/v1/developer/wallet/balances/history
Each call costs $0.01 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.
POST https://agents.allium.so/api/v1/developer/wallet/balances/history
content-type: application/json
{
"addresses": [
{
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"chain": "ethereum"
}
],
"end_timestamp": "2025-06-17T00:00:00Z",
"start_timestamp": "2025-06-01T00:00:00Z"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
addresses | array of object | Yes | |
end_timestamp | string (date-time) | Yes | ISO 8601 timestamp |
start_timestamp | string (date-time) | Yes | ISO 8601 timestamp |
Example response
The provider's example. We can't check it without paying.
{
"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"
}
}
]
}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.01.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://agents.allium.so/api/v1/developer/wallet/balances/history' \
-H 'content-type: application/json' \
--data-raw '{"addresses":[{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","chain":"ethereum"}],"end_timestamp":"2025-06-17T00:00:00Z","start_timestamp":"2025-06-01T00:00:00Z"}'
# 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 - -X POST 'https://agents.allium.so/api/v1/developer/wallet/balances/history' \
-H 'content-type: application/json' \
--data-raw '{"addresses":[{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","chain":"ethereum"}],"end_timestamp":"2025-06-17T00:00:00Z","start_timestamp":"2025-06-01T00:00:00Z"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: 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.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
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.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagents.allium.so%2Fapi%2Fv1%2Fdeveloper%2Fwallet%2Fbalances%2Fhistory&method=POST
const res = await pay("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"
}),
});
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.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://agents.allium.so/api/v1/developer/wallet/balances/history",
json={
"addresses": [
{
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"chain": "ethereum",
},
],
"end_timestamp": "2025-06-17T00:00:00Z",
"start_timestamp": "2025-06-01T00:00:00Z",
},
)
print(res.status_code, res.text)Security scan
1 finding
- Payment address changed recently in payment
Payment address on Base changed from 0xe3a386d5115ac8469e1e24c6a4dc01d2365f6cd1 to 0xc81ffd1e92b4100369145ff9a0179fc82f9b4e37; Payment address on Solana changed from AFQHkA2uxWnAXuNoha2kSZ9y4iQT6wXE7KoYecaaKH5T to FhaDaskYxavsFvyDt65Q9fejfMpjMooS34kFuEE6hWDE
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 1.1 s | $0.01 |
| 8 h ago | Passed | 402 | 884 ms | $0.01 |
| 13 h ago | Passed | 402 | 952 ms | $0.01 |
| 18 h ago | Passed | 402 | 2.0 s | $0.01 |
| 23 h ago | Passed | 402 | 1.1 s | $0.01 |
Show 10 older checks
| 28 h ago | Passed | 402 | 1.3 s | $0.01 |
| 32 h ago | Passed | 402 | 939 ms | $0.01 |
| 37 h ago | Passed | 402 | 952 ms | $0.01 |
| 41 h ago | Passed | 402 | 4.9 s | $0.01 |
| 46 h ago | Passed | 402 | 1.2 s | $0.01 |
| 2 days ago | Passed | 402 | 941 ms | $0.01 |
| 2 days ago | Passed | 402 | 3.9 s | $0.01 |
| 2 days ago | Passed | 402 | 1.3 s | $0.01 |
| 3 days ago | Passed | 402 | 1.4 s | $0.01 |
| 3 days ago | Passed | 402 | 1.3 s | $0.01 |
History
| 17 Oct 2026 | Payment address on Base changed from 0xe3a386d5115ac8469e1e24c6a4dc01d2365f6cd1 to 0xc81ffd1e92b4100369145ff9a0179fc82f9b4e37; Payment address on Solana changed from AFQHkA2uxWnAXuNoha2kSZ9y4iQT6wXE7KoYecaaKH5T to FhaDaskYxavsFvyDt65Q9fejfMpjMooS34kFuEE6hWDE |
| 17 Oct 2026 | Payment address on Base changed from 0x872af6437f75ac2d716f33394af70e389be769c8 to 0xe3a386d5115ac8469e1e24c6a4dc01d2365f6cd1; Payment address on Solana changed from C1w5bHRBZLxQ4odxooixjM71GcreX73sbTSCCNb6s5ny to AFQHkA2uxWnAXuNoha2kSZ9y4iQT6wXE7KoYecaaKH5T |
| 17 Oct 2026 | Payment address on Base changed from 0x4652d6350f627ecc1baeb6ae4899deb59fba067a to 0x872af6437f75ac2d716f33394af70e389be769c8; Payment address on Solana changed from GsT9ZxSbkkKcGwBjLwS1uCtDMK33BGGU9NiWXqHZ76bJ to C1w5bHRBZLxQ4odxooixjM71GcreX73sbTSCCNb6s5ny |
| 17 Oct 2026 | Payment address on Base changed from 0x1142190b302a4bd9b8f0238d3dd98d4b24e24b34 to 0x4652d6350f627ecc1baeb6ae4899deb59fba067a; Payment address on Solana changed from HFgzjCNrMcKtRWeVZXnZffVGqhjaeQTtDegF6PkzCynT to GsT9ZxSbkkKcGwBjLwS1uCtDMK33BGGU9NiWXqHZ76bJ |
| 16 Oct 2026 | Payment address on Base changed from 0xa3805cc74ab9811f03885bdfbff04c193338dbcf to 0x1142190b302a4bd9b8f0238d3dd98d4b24e24b34; Payment address on Solana changed from 9pCVSKN3jChDibbmgUfPQ6KD2wf95mtP8UJtQF3y16dd to HFgzjCNrMcKtRWeVZXnZffVGqhjaeQTtDegF6PkzCynT |
| 16 Oct 2026 | Payment address on Base changed from 0x810944fe34ddb2f6d398ad4e5bdf038d751329bf to 0xa3805cc74ab9811f03885bdfbff04c193338dbcf; Payment address on Solana changed from 6ePdtQaXycNVdcaLmFEscHXozCyDAHZSubrDuoEVsMw9 to 9pCVSKN3jChDibbmgUfPQ6KD2wf95mtP8UJtQF3y16dd |
| 16 Oct 2026 | Payment address on Base changed from 0x6b84e7ebaceb4fd124b0e60d95b7f80715b3336a to 0x810944fe34ddb2f6d398ad4e5bdf038d751329bf; Payment address on Solana changed from dBZX7jccz2rWA3d8MgPTj6Xhkwq5SBNjycgaTq2aMS7 to 6ePdtQaXycNVdcaLmFEscHXozCyDAHZSubrDuoEVsMw9 |
| 16 Oct 2026 | Payment address on Base changed from 0x87d5025a96ba46ed7d22fca05e6efa28c950b8ac to 0x6b84e7ebaceb4fd124b0e60d95b7f80715b3336a; Payment address on Solana changed from HTycj4QKRwzu8BzbQYkceEGSyWp5Wk71ZMuj8c9ZpdEt to dBZX7jccz2rWA3d8MgPTj6Xhkwq5SBNjycgaTq2aMS7 |
| 16 Oct 2026 | Payment address on Base changed from 0xe6bb012dcc52d1b938d9fa5996f5ff5f99218357 to 0x87d5025a96ba46ed7d22fca05e6efa28c950b8ac; Payment address on Solana changed from FwsV5SjUpbshY3bxa1LhoU72K8DU6JbpgdgMwUNuh2As to HTycj4QKRwzu8BzbQYkceEGSyWp5Wk71ZMuj8c9ZpdEt |
| 15 Oct 2026 | Payment address on Base changed from 0x0182ae5aa342395b2cca84594010cadeb1220828 to 0xe6bb012dcc52d1b938d9fa5996f5ff5f99218357; Payment address on Solana changed from 76sBWMSvNnwWNERKYXz1HaWUt7VcQxsBP4TGTJ549uhc to FwsV5SjUpbshY3bxa1LhoU72K8DU6JbpgdgMwUNuh2As |
| 15 Oct 2026 | Payment address on Base changed from 0x6c83d8c12ae0cf29a73b5079d405a0c300155bdd to 0x0182ae5aa342395b2cca84594010cadeb1220828; Payment address on Solana changed from t2Q9ixqd7PMguh3Bs2KetoF8U1zfuLuQyAvQetq3JRL to 76sBWMSvNnwWNERKYXz1HaWUt7VcQxsBP4TGTJ549uhc |
| 15 Oct 2026 | Payment address on Base changed from 0x0051c77f3ec0faf0db711c78baa3f169e796e4a4 to 0x6c83d8c12ae0cf29a73b5079d405a0c300155bdd; Payment address on Solana changed from 3ctMNpwKtma7jTpZwubw1tYG5zbgwAxUfZRFgC3Q6c36 to t2Q9ixqd7PMguh3Bs2KetoF8U1zfuLuQyAvQetq3JRL |
| 15 Oct 2026 | Payment address on Base changed from 0xab960b4b4a74e41717f45af3d4c879fa525cc0ce to 0x0051c77f3ec0faf0db711c78baa3f169e796e4a4; Payment address on Solana changed from 2neD94NLgskfy9XB7NrFsAaqirRkQc4GmGBLrmUEXM3Y to 3ctMNpwKtma7jTpZwubw1tYG5zbgwAxUfZRFgC3Q6c36 |
| 15 Oct 2026 | Payment address changed from 0x723437a0b4d772637e473aec3bd81249480a8409 to 0xab960b4b4a74e41717f45af3d4c879fa525cc0ce |
| 15 Oct 2026 | Payment address changed from 0x588ebfcf0da377fdcecc1231646bbd6763d53a39 to 0x723437a0b4d772637e473aec3bd81249480a8409 |