# Vextorium Crypto Portfolio Valuation

> Vextorium Crypto Portfolio Valuation is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-16).

Values a crypto portfolio by returning current prices, per-asset value and weight, total portfolio value, and optional historical performance metrics (return, annualized volatility, max drawdown) sourced from DefiLlama.

## Facts

- Endpoint: POST https://api.vextorium.com/valorar-cartera-pago?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-crypto-portfolio-valuation-0cd33144
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Nux4EN1BkyYkFzjXDw-_i

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 vextorium-crypto-portfolio-valuation-0cd33144 -d '<json body>'
```

Example prompt: What's my crypto portfolio worth right now, and how has it performed since January 1st 2024? I'm holding 0.1 BTC and 2 ETH.

## When to prefer this

Choose this endpoint when you need a fast, all-in-one crypto portfolio valuation using DefiLlama aggregated prices, especially when you also want historical performance metrics like return, volatility, and max drawdown since a specific date. Prefer it over manual price lookups when handling multi-asset portfolios (up to 20 assets) and needing per-position breakdown with portfolio weight. It is particularly useful for DeFi-native portfolios where DefiLlama coverage is strong.

## Known failure modes

- Unknown or unsupported asset ticker returns null or missing price data
- More than 20 assets in the portfolio may be rejected
- Invalid start date format causes historical block to be absent or errored
- DefiLlama price data unavailable for a given asset at the requested historical date
- Malformed 'posiciones' object (non-numeric quantities) causes a 400-level error
- Missing required 'posiciones' field returns a validation error

## How this service works

Value a crypto portfolio such as {"BTC": 0.1, "ETH": 2}: current value and weight of each holding and total; with a start date, its value then, return, annualized volatility and maximum drawdown. Prices from DefiLlama.

## Output

Returns a JSON object with: a list of positions each containing asset ticker, current price in USD, quantity held, USD value, and portfolio weight percentage; total portfolio value in USD; data source label (DefiLlama); and optionally a 'historico' block with start date, initial portfolio value, return percentage, annualized volatility percentage, and maximum drawdown percentage.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "desde": {
   "type": "string",
   "description": "Start date for performance (optional)"
  },
  "posiciones": {
   "type": "object",
   "description": "Asset -> quantity (up to 20)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "fuente": "Precios agregados de DefiLlama",
  "historico": {
   "desde": "2026-01-01",
   "max_caida_pct": -45.41,
   "rentabilidad_pct": -5.27,
   "valor_inicial_usd": 14747.05,
   "volatilidad_anual_pct": 47.35
  },
  "posiciones": [
   {
    "activo": "BTC",
    "precio": 85593.85189565028,
    "cantidad": 0.1,
    "peso_pct": 61.27,
    "valor_usd": 8559.39
   },
   {
    "activo": "ETH",
    "precio": 2705.514890413392,
    "cantidad": 2,
    "peso_pct": 38.73,
    "valor_usd": 5411.03
   }
  ],
  "valor_total_usd": 13970.41
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-crypto-portfolio-valuation-0cd33144/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
