← Finanzen & Währung

Währung umrechnen

GET /convert

Konvertieren Sie einen specific monetary amount from one currency to another using the latest Wechselkurse. Unterstützt an optional margin parameter for adding business markup (e.g., 2% fee on top of the market rate), und an optional date parameter for historical conversions. Liefert die converted amount, the rate used, und query details. Ideal für e-commerce checkout flows, invoicing systems, und travel budget tools.

Parameter

from erforderlich

Source currency

to erforderlich

Target currency

amount erforderlich

Amount to convert

margin optional

Business markup percentage

date optional

Historical date (YYYY-MM-DD)

Beispielanfragen

Grundlegende Verwendung
curl "https://nordapi.ee/api/v1/convert?from=USD&to=EUR&amount=100"
Convert USD to Euro
curl "https://nordapi.ee/api/v1/convert?from=USD&to=EUR&amount=100"
Convert with 2.5% business markup
curl "https://nordapi.ee/api/v1/convert?from=USD&to=EUR&amount=100&margin=2.5"
Historical conversion on a specific date
curl "https://nordapi.ee/api/v1/convert?from=GBP&to=NOK&amount=500&date=2026-01-15"
Large amount JPY to NOK
curl "https://nordapi.ee/api/v1/convert?from=JPY&to=NOK&amount=1000000"

Live-Antwort

{
  "query": {
    "amount": 100.0,
    "from": "USD",
    "to": "EUR"
  },
  "rate": 0.86767896,
  "result": 86.767896,
  "success": true
}

Beispielantwort

{"success":true,"query":{"from":"USD","to":"EUR","amount":100.0},"result":86.54,"rate":0.8654}