API reference
Basket metrics
GET/baskets/{basket_id}/metrics
Period returns, intraday change, and 30d volatility.
120 requests / minute per key (read tier). Returns its payload natively - no envelope.
Authorizations
Authorizationstringheaderrequired
Bearer token - an ito_* key (from Settings) holding the baskets:read scope.
Path parameters
basket_idstringrequired
Basket identifier
Request
curl "https://itomarkets.com/api/v1/baskets/ai-frontier/metrics" \ -H "Authorization: Bearer $ITO_API_KEY"ResponseJSON
{ "basket_id": "ai-frontier", "basket_name": "AI Frontier", "current_price": 42.5, "change_1d": 1.8, "change_1w": 3.2, "change_1m": 5.6, "volatility": 11.4}