{"uid":"cap_Nux4EN1BkyYkFzjXDw-_i","slug":"vextorium-crypto-portfolio-valuation-0cd33144","name":"Vextorium Crypto Portfolio Valuation","description":"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.","url":"https://api.vextorium.com/valorar-cartera-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"desde":{"type":"string","description":"Start date for performance (optional)"},"posiciones":{"type":"object","description":"Asset -> quantity (up to 20)"}}},"responseSchema":{"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}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OYFH_vuQHdr3Eq31RZmBE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Current crypto portfolio snapshot","prompt":"I have 0.5 BTC, 3 ETH, and 1000 SOL — can you tell me what each position is worth right now, what percentage of my portfolio each one represents, and the total value?"},{"title":"Portfolio performance since year start","prompt":"How did my crypto portfolio of 0.1 BTC and 2 ETH do since January 1st 2025? I want to see the initial value, how much it's returned, the annualized volatility, and the worst drawdown it hit."},{"title":"Crypto allocation rebalancing check","prompt":"I'm holding 0.05 BTC, 1.5 ETH, and 500 USDC — show me the current USD value of each and the portfolio weights so I can see if I need to rebalance."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:48:03.039Z","isFirstParty":false,"canonicalSlug":"vextorium-crypto-portfolio-valuation-0cd33144"}