← Back to directory

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_calc

Overview

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.

Protocol x402 (POST)
Price $0.0030
Payment Asset USDC
Payment Network base
Category data
Provider All AI LLC (All AI Data API)
Source self-registered
Indexed 2026-12-04 17:29:57

Health

Status healthy
Latency (p50) 946ms
Uptime (30d) 100.0%
Reliability Score 82/100
Last Checked 2026-12-05 01:34:14
Last Healthy 2026-12-05 01:34:14
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

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