Zum Inhalt springen
GET /v1/latest

All CBM reference rates

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/myanmar-fx-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/myanmar-fx-api/v1/latest" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/myanmar-fx-api/v1/latest", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/myanmar-fx-api/v1/latest");
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/myanmar-fx-api/v1/latest",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "base": "MMK",
        "date": "2026-06-12",
        "count": 3,
        "rates": [
            {
                "base": "MMK",
                "currency": "EUR",
                "quoted_per": 1,
                "quoted_rate": 2429.49,
                "mmk_per_unit": 2429.49
            },
            {
                "base": "MMK",
                "currency": "THB",
                "quoted_per": 1,
                "quoted_rate": 64.08,
                "mmk_per_unit": 64.08
            },
            {
                "base": "MMK",
                "currency": "USD",
                "quoted_per": 1,
                "quoted_rate": 2100,
                "mmk_per_unit": 2100
            }
        ],
        "timestamp": 1781251200
    },
    "meta": {
        "timestamp": "2026-06-15T11:15:28.547Z",
        "request_id": "c6912385-0438-481c-8968-09dd3639adae"
    },
    "status": "ok",
    "message": "Rates retrieved successfully",
    "success": true
}