Skip to content
GET /v1/meta

Service metadata

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/malaysia-fx-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "name": "Bank Negara Malaysia FX & Rates API",
        "source": "Bank Negara Malaysia Open API (api.bnm.gov.my)",
        "endpoints": [
            {
                "path": "/v1/exchange-rates",
                "description": "All BNM FX reference rates (optional ?symbols=USD,EUR)"
            },
            {
                "path": "/v1/rate",
                "description": "Reference rate for one currency (?code=USD)"
            },
            {
                "path": "/v1/convert",
                "description": "Convert between currencies or MYR (?from=USD&to=MYR&amount=100)"
            },
            {
                "path": "/v1/gold",
                "description": "Kijang Emas gold bullion buying/selling prices"
            },
            {
                "path": "/v1/opr",
                "description": "Current Overnight Policy Rate"
            },
            {
                "path": "/v1/base-rates",
                "description": "Per-bank base and lending rates"
            },
            {
                "path": "/v1/meta",
                "description": "This metadata document"
            }
        ],
        "disclaimer": "Unofficial proxy of the public Bank Negara Malaysia Open API. Not affiliated with BNM. Reference data only.",
        "description": "Official foreign-exchange reference rates (base MYR), Kijang Emas gold bullion prices, the Overnight Policy Rate and per-bank base lending rates, published by Bank Negara Malaysia (the central bank of Malaysia).",
        "base_currency": "MYR",
        "quantity_note": "Each FX row carries the BNM quoting unit (e.g. JPY is quoted per 100) plus a normalized myr_per_unit so conversions are unambiguous."
    },
    "meta": {
        "timestamp": "2026-06-15T11:15:27.192Z",
        "request_id": "ef14c836-6523-4252-80f2-5cf54c6678b4"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}