# Allium Wallet Balance History

> Allium Wallet Balance History is a paid API for AI agents from agents.allium.so, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Retrieves historical token balance snapshots for a wallet address over time on-chain

## Facts

- Endpoint: POST https://agents.allium.so/api/v1/developer/wallet/balances/history
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agents-allium-so-a91a4025
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HEIN7k79YylMiC-_7629V

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agents-allium-so-a91a4025 -d '<json body>'
```

Example prompt: Pull the historical token balance history for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum over the last 90 days so I can see how the portfolio changed month by month.

## When to prefer this

Use this endpoint when you need time-series balance data for a wallet — e.g. for portfolio performance analysis, auditing, or charting balance changes. Prefer over the current-balances endpoint when historical snapshots matter. Prefer over raw SQL endpoints when you want a structured, pre-built response without writing queries.

## Known failure modes

- Invalid or malformed wallet address returns 400 error
- Unsupported blockchain network returns error or empty result
- Date range too large may return partial data or timeout
- No balance history found for new or empty wallets returns empty array
- Insufficient payment or missing x402 payment header returns 402 error

## How this service works

API request: /api/v1/developer/wallet/balances/history

## Output

Returns a time-series of wallet token balances, including token symbols, amounts held, and optionally USD values at each recorded snapshot, allowing analysis of how holdings evolved over the specified time period.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "addresses": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "chain",
     "address"
    ],
    "properties": {
     "chain": {
      "type": "string",
      "description": "Blockchain network (e.g. ethereum, solana, base)"
     },
     "address": {
      "type": "string",
      "description": "Wallet address"
     }
    }
   }
  },
  "end_timestamp": {
   "type": "string",
   "format": "date-time",
   "description": "ISO 8601 timestamp"
  },
  "start_timestamp": {
   "type": "string",
   "format": "date-time",
   "description": "ISO 8601 timestamp"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "chain": "ethereum",
    "token": {
     "info": {
      "name": "Wrapped Ether",
      "symbol": "WETH"
     },
     "type": "evm_erc20",
     "chain": "ethereum",
     "object": "token",
     "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
     "decimals": 18
    },
    "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
    "raw_balance": 1500000000000000000,
    "block_number": 20000000,
    "block_timestamp": "2025-06-17T00:00:00Z",
    "raw_balance_str": "1500000000000000000"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agents-allium-so-a91a4025/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.allium.so](https://www.zero.xyz/host/agents.allium.so/llms.txt)
