Μετάβαση στο περιεχόμενο
GET /v1/rates

NBT official rate for every currency vs the somoni

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/nbt-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "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
…