GET /mashup/portfolio/analyze
Analyze a portfolio of mixed assets (cryptocurrencies, fiat currencies, and commodities) in a single request. Provide a comma-separated list of asset identifiers and get back current values, performance metrics, correlation data, and diversification analysis. Supports crypto coin IDs (bitcoin, ethereum), fiat currency codes (EUR, NOK), and gold. Ideal for portfolio tracking dashboards, investment analysis tools, and wealth management platforms that span multiple asset classes.
assets
required
Comma-separated asset IDs (e.g., bitcoin,ethereum,EUR,gold)
base
optional
default: USD
Base currency for valuation
| Name | Required | Default | Description |
|---|---|---|---|
assets |
Yes | - | Comma-separated asset IDs (e.g., bitcoin,ethereum,EUR,gold) |
base |
No | USD | Base currency for valuation |
curl "https://nordapi.ee/api/v1/mashup/portfolio/analyze?assets=bitcoin,ethereum,EUR,gold"
curl "https://nordapi.ee/api/v1/mashup/portfolio/analyze?assets=bitcoin,ethereum,EUR,gold"
curl "https://nordapi.ee/api/v1/mashup/portfolio/analyze?assets=bitcoin,ethereum,solana&base=EUR"
curl "https://nordapi.ee/api/v1/mashup/portfolio/analyze?assets=NOK,SEK,DKK&base=USD"
{
"analysis": {
"asset_class_mix": "2 crypto, 1 commodity, 1 fiat",
"recommendation": "Good asset class diversification across crypto, commodities, and fiat"
},
"asset_count": 4,
"assets": [
{
"change_24h": 0.1795,
"change_7d": 1.6122,
"id": "bitcoin",
"market_cap": 1350911111792.0,
"name": "Bitcoin",
"price_usd": 67445.0,
"symbol": "BTC",
"type": "crypto"
},
{
"change_24h": -0.0866,
"change_7d": 3.5345,
"id": "ethereum",
"market_cap": 249557663837.0,
"name": "Ethereum",
"price_usd": 2066.43,
"symbol": "ETH",
"type": "crypto"
},
{
"id": "EUR",
"name": "EUR",
"rate_vs_base": 0.86767896,
"type": "fiat",
"volatility_30d": 0.35936938373961186
},
{
"id": "gold",
"name": "Gold (Troy Ounce)",
"price_usd": 3045.0,
"type": "commodity",
"unit": "troy_oz"
}
],
"base_currency": "USD",
"composition": {
"commodity": 1,
"crypto": 2,
"fiat": 1
},
"diversification_grade": "C",
"geographic_regions": 1,
"inflation_context": {
"us_inflation": 2.9495,
"year": 2024
},
"success": true
}