/v1/rates
NBT official rate for every currency vs the somoni
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/nbt-api/v1/rates" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nbt-api/v1/rates", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nbt-api/v1/rates");
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/nbt-api/v1/rates",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"base": "TJS",
"date": "2026-06-10",
"count": 36,
"rates": [
{
"name": "UAE Dirham",
"value": 2.5464,
"nominal": 1,
"currency": "AED",
"tjs_per_unit": 2.5464
},
{
"name": "Afghanian Afghani",
"value": 1.454,
"nominal": 10,
"currency": "AFN",
"tjs_per_unit": 0.1454
},
{
"name": "Armenian Dram",
"value": 2.5381,
"nominal": 100,
"currency": "AMD",
"tjs_per_unit": 0.025381
},
{
"name": "Australian Dollar",
"value": 6.6037,
"nominal": 1,
"currency": "AUD",
"tjs_per_unit": 6.6037
},
{
"name": "Azeri Manat",
"value": 5.5022,
"nominal": 1,
"currency": "AZN",
"tjs_per_unit": 5.5022
},
{
"name": "New Belarusian Ruble",
"value": 3.4047,
"nominal": 1,
"currency": "BYN",
"tjs_per_unit": 3.4047
},
{
"name": "Canadian Dollar",
"value": 6.7143,
"nominal": 1,
"currency": "CAD",
"tjs_per_unit": 6.7143
},
{
"name": "Swiss Frank",
"value": 11.7524,
"nominal": 1,
"currency": "CHF",
"tjs_per_unit": 11.7524
},
{
"name": "Chinese Yuan",
"value": 1.3814,
"nominal": 1,
"currency": "CNY",
"tjs_per_unit": 1.3814
},
{
"name": "Danish Krone",
"value": 1.4479,
"nominal": 1,
"currency": "DKK",
"tjs_per_unit": 1.4479
},
{
"name": "EURO",
"value": 10.8232,
"nominal": 1,
"currency": "EUR",
"tjs_per_unit": 10.8232
},
{
"name": "British Pound Sterling",
"value": 12.5349,
"nominal": 1,
"currency": "GBP",
"tjs_per_unit": 12.5349
},
{
"name": "Georgian Lari",
"value": 3.5131,
"nominal": 1,
"currency": "GEL",
"tjs_per_unit": 3.5131
},
{
"name": "Indian Rupee",
"value": 0.9809,
"nominal": 10,
"currency": "INR",
"tjs_per_unit
…