← Intelligenz-Mashups

Anlageleistung

GET /mashup/performance/compare

Vergleichen Sie die Performance verschiedener Anlageklassen nebeneinander: Kryptowährungen (Bitcoin, Ethereum usw.), Fiat-Währungen (relativ zum USD) und Gold. Liefert aktuelle Werte, jüngste Preisänderungen und vergleichende Performance-Metriken. Nützlich für Investment-Dashboards, die mehrere Anlageklassen umfassen, Tools zur Analyse der Portfoliodiversifikation und Finanzbildungsplattformen, die zeigen, wie sich verschiedene Wertaufbewahrungsmittel relativ zueinander entwickeln.

Parameter

crypto optional

Crypto coins

fiat optional

Fiat currencies

Beispielanfragen

Grundlegende Verwendung
curl "https://nordapi.ee/api/v1/mashup/performance/compare?crypto=bitcoin,ethereum&fiat=EUR,NOK"
Compare Bitcoin, Ethereum against EUR and NOK
curl "https://nordapi.ee/api/v1/mashup/performance/compare?crypto=bitcoin,ethereum&fiat=EUR,NOK"
Compare just Bitcoin against major fiat currencies
curl "https://nordapi.ee/api/v1/mashup/performance/compare?crypto=bitcoin&fiat=USD,EUR,GBP"
Compare top cryptos against Nordic currencies
curl "https://nordapi.ee/api/v1/mashup/performance/compare?crypto=bitcoin,ethereum,solana&fiat=NOK,SEK"

Live-Antwort

{
  "base_currency": "USD",
  "commodities": [
    {
      "name": "Gold",
      "price_usd": 4382.2998,
      "type": "commodity",
      "unit": "troy_oz"
    },
    {
      "name": "Silver",
      "price_usd": 63.26,
      "type": "commodity",
      "unit": "troy_oz"
    }
  ],
  "crypto": [
    {
      "change_24h_pct": -0.5,
      "change_7d_pct": -1.0,
      "market_cap_usd": 1276649609078.0,
      "name": "Bitcoin",
      "price_usd": 63615.0,
      "symbol": "BTC",
      "type": "crypto"
    },
    {
      "change_24h_pct": 0.7,
      "change_7d_pct": 0.8,
      "market_cap_usd": 227516876024.0,
      "name": "Ethereum",
      "price_usd": 1885.22,
      "symbol": "ETH",
      "type": "crypto"
    }
  ],
  "fiat": [
    {
      "code": "EUR",
      "performance": {
        "1_month_ago": {
          "change": -0.00879901,
          "change_pct": -1.0051989024643326,
          "date": "2026-07-13",
          "rate": 0.87535014
        },
        "1_week_ago": {
          "change": 0.00105,
          "change_pct": 0.12131699932038217,
          "date": "2026-08-05",
          "rate": 0.86550113
        },
        "1_year_ago": null,
        "3_months_ago": {
          "change": 0.01199635,
          "change_pct": 1.4038128720080414,
          "date": "2026-05-14",
          "rate": 0.85455478
        },
        "today": {
          "change": 0.0,
          "change_pct": 0.0,
          "date": "2026-08-11",
          "rate": 0.86655113
        },
        "yesterday": {
          "change": 0.0,
          "change_pct": 0.0,
          "date": "2026-08-11",
          "rate": 0.86655113
        }
      },
      "type": "fiat",
      "volatility_30d": 0.39508937359251595
    },
    {
      "code": "NOK",
      "performance": {
        "1_month_ago": {
          "change": -0.26197076,
          "change_pct": -2.68179932937276,
          "date": "2026-07-13",
          "rate": 9.76846989
        },
        "1_week_ago": {
          "change": 2.6752e-4,
          "change_pct": 0.0028141540304844307,
          "date": "2026-08-05",
          "rate": 9.50623161
        },
        "1_year_ago": null,
        "3_months_ago": {
          "change": 0.27901665,
          "change_pct": 3.0237570280382693,
          "date": "2026-05-14",
          "rate": 9.22748248
        },
        "today": {
          "change": 0.0,
          "change_pct": 0.0,
          "date": "2026-08-11",
          "rate": 9.50649913
        },
        "yesterday": {
          "change": 0.0,
          "change_pct": 0.0,
          "date": "2026-08-11",
          "rate": 9.50649913
        }
      },
      "type": "fiat",
      "volatility_30d": 0.6123329219487529
    }
  ],
  "inflation": {
    "annual_rate": 2.9495,
    "year": 2024
  },
  "success": true
}