GET /convert
Convertissez un montant monétaire spécifique de one currency to another en utilisant le latest taux de change. Prend en charge an optional margin parameter pour adding business markup (e.g., 2% fee on top of le market rate), et an optional date parameter pour historical conversions. Renvoie le converted amount, le rate used, et query details. Idéal pour les e-commerce checkout flows, invoicing systems, et travel budobtenir tools.
from
requis
Source currency
to
requis
Target currency
amount
requis
Amount to convert
margin
optionnel
Business markup percentage
date
optionnel
Historical date (YYYY-MM-DD)
| Nom | Requis | Par défaut | Description |
|---|---|---|---|
from |
Oui | - | Source currency |
to |
Oui | - | Target currency |
amount |
Oui | - | Amount to convert |
margin |
Non | - | Business markup percentage |
date |
Non | - | Historical date (YYYY-MM-DD) |
curl "https://nordapi.ee/api/v1/convert?from=USD&to=EUR&amount=100"
curl "https://nordapi.ee/api/v1/convert?from=USD&to=EUR&amount=100"
curl "https://nordapi.ee/api/v1/convert?from=USD&to=EUR&amount=100&margin=2.5"
curl "https://nordapi.ee/api/v1/convert?from=GBP&to=NOK&amount=500&date=2026-01-15"
curl "https://nordapi.ee/api/v1/convert?from=JPY&to=NOK&amount=1000000"
{
"query": {
"amount": 100.0,
"from": "USD",
"to": "EUR"
},
"rate": 0.86767896,
"result": 86.767896,
"success": true
}
{"success":true,"query":{"from":"USD","to":"EUR","amount":100.0},"result":86.54,"rate":0.8654}