All AI Data API - Portfolio rebalancing: trades to restore target weights, with optional cash contribution and drift bands
https://allai-api.allaihq.workers.dev/v1/tools/rebalance_calcOverview
Computes the buy and sell amounts (and units, when prices are given) that bring a portfolio back to target weights, optionally using a new cash contribution without selling, honouring drift bands (only trade assets outside the band), and reporting current weights, drift, turnover and the post-trade weights. $0.003 per successful call (USDC on Base). 3 free trial calls a day. Operated by All AI LLC.
Health
x402 Payment Validation
Recent Health Checks
| Time | Status | HTTP | Latency | Error |
|---|---|---|---|---|
| 2026-12-05 01:34:14 | healthy | 402 | 396ms | |
| 2026-12-04 18:47:53 | healthy | 402 | 946ms |