/v1/convert
Convert an amount between two currencies at BNM rates
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/bnm-api/v1/convert" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bnm-api/v1/convert", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bnm-api/v1/convert");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/bnm-api/v1/convert",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"to": "EUR",
"date": "2026-06-10",
"from": "USD",
"rate": 0.86460093,
"amount": 100,
"result": 86.460093,
"source": "National Bank of Moldova",
"mdl_per_to": 20.0703,
"mdl_per_from": 17.3528
},
"meta": {
"timestamp": "2026-06-10T13:59:59.935Z",
"request_id": "0c2c70ee-11b2-4c79-b6da-6891215af49a"
},
"status": "ok",
"message": "Conversion completed successfully",
"success": true
}